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"
|
"strip-ansi": "^7.0.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.17.0"
|
"node": ">=18.18.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@9.4.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 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
|
RUN corepack enable
|
||||||
|
|
||||||
WORKDIR /next-stats
|
WORKDIR /next-stats
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"typescript": "5.1.6"
|
"typescript": "5.1.6"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.17.0"
|
"node": ">=18.18.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@9.4.0"
|
"packageManager": "pnpm@9.4.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"@vercel/ncc": "^0.36.0"
|
"@vercel/ncc": "^0.36.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.17.0"
|
"node": ">=18.18.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@9.4.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]
|
group: [1/5, 2/5, 3/5, 4/5, 5/5]
|
||||||
uses: ./.github/workflows/build_reusable.yml
|
uses: ./.github/workflows/build_reusable.yml
|
||||||
with:
|
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
|
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 }}'
|
stepName: 'test-turbopack-integration-${{ matrix.group }}'
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
@ -213,7 +213,7 @@ jobs:
|
||||||
group: [1/5, 2/5, 3/5, 4/5, 5/5]
|
group: [1/5, 2/5, 3/5, 4/5, 5/5]
|
||||||
uses: ./.github/workflows/build_reusable.yml
|
uses: ./.github/workflows/build_reusable.yml
|
||||||
with:
|
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
|
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 }}'
|
stepName: 'test-turbopack-production-${{ matrix.group }}'
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
@ -229,7 +229,7 @@ jobs:
|
||||||
group: [1/5, 2/5, 3/5, 4/5, 5/5]
|
group: [1/5, 2/5, 3/5, 4/5, 5/5]
|
||||||
uses: ./.github/workflows/build_reusable.yml
|
uses: ./.github/workflows/build_reusable.yml
|
||||||
with:
|
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
|
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 }}'
|
stepName: 'test-turbopack-production-integration-${{ matrix.group }}'
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
@ -366,7 +366,7 @@ jobs:
|
||||||
- 12/12
|
- 12/12
|
||||||
uses: ./.github/workflows/build_reusable.yml
|
uses: ./.github/workflows/build_reusable.yml
|
||||||
with:
|
with:
|
||||||
nodeVersion: 18.17.0
|
nodeVersion: 18.18.2
|
||||||
afterBuild: node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type integration
|
afterBuild: node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type integration
|
||||||
stepName: 'test-integration-${{ matrix.group }}'
|
stepName: 'test-integration-${{ matrix.group }}'
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
@ -391,7 +391,7 @@ jobs:
|
||||||
|
|
||||||
uses: ./.github/workflows/build_reusable.yml
|
uses: ./.github/workflows/build_reusable.yml
|
||||||
with:
|
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
|
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'
|
stepName: 'test-ppr-integration'
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
|
@ -34,7 +34,7 @@ pr:
|
||||||
variables:
|
variables:
|
||||||
PNPM_CACHE_FOLDER: $(Pipeline.Workspace)/.pnpm-store
|
PNPM_CACHE_FOLDER: $(Pipeline.Workspace)/.pnpm-store
|
||||||
NEXT_TELEMETRY_DISABLED: '1'
|
NEXT_TELEMETRY_DISABLED: '1'
|
||||||
node_version: ^18.17.0
|
node_version: ^18.18.2
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- stage: Test
|
- stage: Test
|
||||||
|
|
|
@ -262,7 +262,7 @@
|
||||||
"scheduler": "0.25.0-rc-6230622a1a-20240610"
|
"scheduler": "0.25.0-rc-6230622a1a-20240610"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.17.0",
|
"node": ">=18.18.0",
|
||||||
"pnpm": "9.4.0"
|
"pnpm": "9.4.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@9.4.0",
|
"packageManager": "pnpm@9.4.0",
|
||||||
|
|
|
@ -50,6 +50,6 @@
|
||||||
"validate-npm-package-name": "5.0.1"
|
"validate-npm-package-name": "5.0.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.17.0"
|
"node": ">=18.18.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@next/eslint-plugin-next": "15.0.0-canary.55",
|
"@next/eslint-plugin-next": "15.0.0-canary.55",
|
||||||
"@rushstack/eslint-patch": "^1.3.3",
|
"@rushstack/eslint-patch": "^1.3.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^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 - 7.2.0",
|
"@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || ^7.0.0",
|
||||||
"eslint-import-resolver-node": "^0.3.6",
|
"eslint-import-resolver-node": "^0.3.6",
|
||||||
"eslint-import-resolver-typescript": "^3.5.2",
|
"eslint-import-resolver-typescript": "^3.5.2",
|
||||||
"eslint-plugin-import": "^2.28.1",
|
"eslint-plugin-import": "^2.28.1",
|
||||||
|
|
|
@ -341,6 +341,6 @@
|
||||||
"vercel"
|
"vercel"
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.17.0"
|
"node": ">=18.18.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -780,10 +780,10 @@ importers:
|
||||||
specifier: ^1.3.3
|
specifier: ^1.3.3
|
||||||
version: 1.3.3
|
version: 1.3.3
|
||||||
'@typescript-eslint/eslint-plugin':
|
'@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)
|
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':
|
'@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)
|
version: 6.14.0(eslint@8.56.0)(typescript@5.5.3)
|
||||||
eslint:
|
eslint:
|
||||||
specifier: ^7.23.0 || ^8.0.0
|
specifier: ^7.23.0 || ^8.0.0
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"react-dom": "19.0.0-rc-6230622a1a-20240610"
|
"react-dom": "19.0.0-rc-6230622a1a-20240610"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.17.0"
|
"node": ">=18.18.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@9.4.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": [
|
"no-loss-of-precision": [
|
||||||
"off",
|
"off",
|
||||||
],
|
],
|
||||||
|
"no-new-native-nonconstructor": [
|
||||||
|
"off",
|
||||||
|
],
|
||||||
"no-new-symbol": [
|
"no-new-symbol": [
|
||||||
"off",
|
"off",
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue