diff --git a/.github/actions/next-integration-stat/package.json b/.github/actions/next-integration-stat/package.json index 772150d1a4..bf2580cdd1 100644 --- a/.github/actions/next-integration-stat/package.json +++ b/.github/actions/next-integration-stat/package.json @@ -21,7 +21,7 @@ "strip-ansi": "^7.0.1" }, "engines": { - "node": ">=18.17.0" + "node": ">=18.18.0" }, "packageManager": "pnpm@9.4.0" } diff --git a/.github/actions/next-stats-action/Dockerfile b/.github/actions/next-stats-action/Dockerfile index acdb4b43b9..bf40f16aec 100644 --- a/.github/actions/next-stats-action/Dockerfile +++ b/.github/actions/next-stats-action/Dockerfile @@ -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 diff --git a/.github/actions/next-stats-action/package.json b/.github/actions/next-stats-action/package.json index 6d9dbcf158..abf896a326 100644 --- a/.github/actions/next-stats-action/package.json +++ b/.github/actions/next-stats-action/package.json @@ -18,7 +18,7 @@ "typescript": "5.1.6" }, "engines": { - "node": ">=18.17.0" + "node": ">=18.18.0" }, "packageManager": "pnpm@9.4.0" } diff --git a/.github/actions/upload-turboyet-data/package.json b/.github/actions/upload-turboyet-data/package.json index 024bb458f9..3eac9f8318 100644 --- a/.github/actions/upload-turboyet-data/package.json +++ b/.github/actions/upload-turboyet-data/package.json @@ -12,7 +12,7 @@ "@vercel/ncc": "^0.36.0" }, "engines": { - "node": ">=18.17.0" + "node": ">=18.18.0" }, "packageManager": "pnpm@9.4.0" } diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 6ca40f938f..ef11c9f5cf 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -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 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 14c69e0bbc..0eb0969806 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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 diff --git a/package.json b/package.json index 2debc41390..a26be4d5eb 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/create-next-app/package.json b/packages/create-next-app/package.json index a7525dc563..322eed1cbf 100644 --- a/packages/create-next-app/package.json +++ b/packages/create-next-app/package.json @@ -50,6 +50,6 @@ "validate-npm-package-name": "5.0.1" }, "engines": { - "node": ">=18.17.0" + "node": ">=18.18.0" } } diff --git a/packages/eslint-config-next/package.json b/packages/eslint-config-next/package.json index 9a0b8a1b32..08d234aff1 100644 --- a/packages/eslint-config-next/package.json +++ b/packages/eslint-config-next/package.json @@ -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", diff --git a/packages/next/package.json b/packages/next/package.json index 38431801fe..13beaf4a4c 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -341,6 +341,6 @@ "vercel" ], "engines": { - "node": ">=18.17.0" + "node": ">=18.18.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6836de64f3..953d0e50fb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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 diff --git a/test/.stats-app/package.json b/test/.stats-app/package.json index ce70fbebad..29d062f458 100644 --- a/test/.stats-app/package.json +++ b/test/.stats-app/package.json @@ -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" } diff --git a/test/production/eslint/test/__snapshots__/next-build-and-lint.test.ts.snap b/test/production/eslint/test/__snapshots__/next-build-and-lint.test.ts.snap index 6ee5b00a60..69441c9cd8 100644 --- a/test/production/eslint/test/__snapshots__/next-build-and-lint.test.ts.snap +++ b/test/production/eslint/test/__snapshots__/next-build-and-lint.test.ts.snap @@ -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", ],