Bump minimum Node.js version to 18.18 (up from 18.17) (#67274)
This commit is contained in:
parent
83a085acc7
commit
5bdffad843
13 changed files with 21 additions and 18 deletions
|
@ -21,7 +21,7 @@
|
|||
"strip-ansi": "^7.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.17.0"
|
||||
"node": ">=18.18.0"
|
||||
},
|
||||
"packageManager": "pnpm@9.4.0"
|
||||
}
|
||||
|
|
2
.github/actions/next-stats-action/Dockerfile
vendored
2
.github/actions/next-stats-action/Dockerfile
vendored
|
@ -9,7 +9,7 @@ RUN apt install unzip wget curl nano htop screen build-essential pkg-config libs
|
|||
|
||||
RUN ln $(which python3) /usr/bin/python
|
||||
|
||||
RUN curl -sfLS https://install-node.vercel.app/v18.17.0 | bash -s -- -f
|
||||
RUN curl -sfLS https://install-node.vercel.app/v18.18.2 | bash -s -- -f
|
||||
RUN corepack enable
|
||||
|
||||
WORKDIR /next-stats
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"typescript": "5.1.6"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.17.0"
|
||||
"node": ">=18.18.0"
|
||||
},
|
||||
"packageManager": "pnpm@9.4.0"
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"@vercel/ncc": "^0.36.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.17.0"
|
||||
"node": ">=18.18.0"
|
||||
},
|
||||
"packageManager": "pnpm@9.4.0"
|
||||
}
|
||||
|
|
10
.github/workflows/build_and_test.yml
vendored
10
.github/workflows/build_and_test.yml
vendored
|
@ -197,7 +197,7 @@ jobs:
|
|||
group: [1/5, 2/5, 3/5, 4/5, 5/5]
|
||||
uses: ./.github/workflows/build_reusable.yml
|
||||
with:
|
||||
nodeVersion: 18.17.0
|
||||
nodeVersion: 18.18.2
|
||||
afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-dev-tests-manifest.json" TURBOPACK=1 TURBOPACK_DEV=1 node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type integration
|
||||
stepName: 'test-turbopack-integration-${{ matrix.group }}'
|
||||
secrets: inherit
|
||||
|
@ -213,7 +213,7 @@ jobs:
|
|||
group: [1/5, 2/5, 3/5, 4/5, 5/5]
|
||||
uses: ./.github/workflows/build_reusable.yml
|
||||
with:
|
||||
nodeVersion: 18.17.0
|
||||
nodeVersion: 18.18.2
|
||||
afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-build-tests-manifest.json" TURBOPACK=1 TURBOPACK_BUILD=1 NEXT_TEST_MODE=start node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type production
|
||||
stepName: 'test-turbopack-production-${{ matrix.group }}'
|
||||
secrets: inherit
|
||||
|
@ -229,7 +229,7 @@ jobs:
|
|||
group: [1/5, 2/5, 3/5, 4/5, 5/5]
|
||||
uses: ./.github/workflows/build_reusable.yml
|
||||
with:
|
||||
nodeVersion: 18.17.0
|
||||
nodeVersion: 18.18.2
|
||||
afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-build-tests-manifest.json" TURBOPACK=1 TURBOPACK_BUILD=1 node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type integration
|
||||
stepName: 'test-turbopack-production-integration-${{ matrix.group }}'
|
||||
secrets: inherit
|
||||
|
@ -366,7 +366,7 @@ jobs:
|
|||
- 12/12
|
||||
uses: ./.github/workflows/build_reusable.yml
|
||||
with:
|
||||
nodeVersion: 18.17.0
|
||||
nodeVersion: 18.18.2
|
||||
afterBuild: node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type integration
|
||||
stepName: 'test-integration-${{ matrix.group }}'
|
||||
secrets: inherit
|
||||
|
@ -391,7 +391,7 @@ jobs:
|
|||
|
||||
uses: ./.github/workflows/build_reusable.yml
|
||||
with:
|
||||
nodeVersion: 18.17.0
|
||||
nodeVersion: 18.18.2
|
||||
afterBuild: __NEXT_EXPERIMENTAL_PPR=true NEXT_EXTERNAL_TESTS_FILTERS="test/ppr-tests-manifest.json" node run-tests.js --timings -c ${TEST_CONCURRENCY} --type integration
|
||||
stepName: 'test-ppr-integration'
|
||||
secrets: inherit
|
||||
|
|
|
@ -34,7 +34,7 @@ pr:
|
|||
variables:
|
||||
PNPM_CACHE_FOLDER: $(Pipeline.Workspace)/.pnpm-store
|
||||
NEXT_TELEMETRY_DISABLED: '1'
|
||||
node_version: ^18.17.0
|
||||
node_version: ^18.18.2
|
||||
|
||||
stages:
|
||||
- stage: Test
|
||||
|
|
|
@ -262,7 +262,7 @@
|
|||
"scheduler": "0.25.0-rc-6230622a1a-20240610"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.17.0",
|
||||
"node": ">=18.18.0",
|
||||
"pnpm": "9.4.0"
|
||||
},
|
||||
"packageManager": "pnpm@9.4.0",
|
||||
|
|
|
@ -50,6 +50,6 @@
|
|||
"validate-npm-package-name": "5.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.17.0"
|
||||
"node": ">=18.18.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
"dependencies": {
|
||||
"@next/eslint-plugin-next": "15.0.0-canary.55",
|
||||
"@rushstack/eslint-patch": "^1.3.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0",
|
||||
"@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.2 || ^6.0.0 || ^7.0.0",
|
||||
"@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || ^7.0.0",
|
||||
"eslint-import-resolver-node": "^0.3.6",
|
||||
"eslint-import-resolver-typescript": "^3.5.2",
|
||||
"eslint-plugin-import": "^2.28.1",
|
||||
|
|
|
@ -341,6 +341,6 @@
|
|||
"vercel"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=18.17.0"
|
||||
"node": ">=18.18.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -780,10 +780,10 @@ importers:
|
|||
specifier: ^1.3.3
|
||||
version: 1.3.3
|
||||
'@typescript-eslint/eslint-plugin':
|
||||
specifier: ^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0
|
||||
specifier: ^5.4.2 || ^6.0.0 || ^7.0.0
|
||||
version: 6.14.0(@typescript-eslint/parser@6.14.0(eslint@8.56.0)(typescript@5.5.3))(eslint@8.56.0)(typescript@5.5.3)
|
||||
'@typescript-eslint/parser':
|
||||
specifier: ^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0
|
||||
specifier: ^5.4.2 || ^6.0.0 || ^7.0.0
|
||||
version: 6.14.0(eslint@8.56.0)(typescript@5.5.3)
|
||||
eslint:
|
||||
specifier: ^7.23.0 || ^8.0.0
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"react-dom": "19.0.0-rc-6230622a1a-20240610"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.17.0"
|
||||
"node": ">=18.18.0"
|
||||
},
|
||||
"packageManager": "pnpm@9.4.0"
|
||||
}
|
||||
|
|
|
@ -406,6 +406,9 @@ exports[`Next Build production mode first time setup with TypeScript 1`] = `
|
|||
"no-loss-of-precision": [
|
||||
"off",
|
||||
],
|
||||
"no-new-native-nonconstructor": [
|
||||
"off",
|
||||
],
|
||||
"no-new-symbol": [
|
||||
"off",
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue