diff --git a/.github/workflows/aws-lambda.yml b/.github/workflows/aws-lambda.yml index c5e373200cb4..a19de99a2d23 100644 --- a/.github/workflows/aws-lambda.yml +++ b/.github/workflows/aws-lambda.yml @@ -21,7 +21,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: "14" + node-version: "16" # Note! # We need to install all node modules in each of the 3 directories. diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index 6f52f6a67a27..d7279f1606ca 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -66,7 +66,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: "14" + node-version: "16" - name: Cache node_modules uses: actions/cache@v3 diff --git a/.github/workflows/developing.yml b/.github/workflows/developing.yml index bc778426d1fd..95348bd195bd 100644 --- a/.github/workflows/developing.yml +++ b/.github/workflows/developing.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: "14" + node-version: "16" cache: "yarn" - name: Cache node_modules diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index d1a3997fe393..065ef894624a 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: "14" + node-version: "16" - name: Cache node_modules uses: actions/cache@v3 diff --git a/.github/workflows/npm-published-simulation.yml b/.github/workflows/npm-published-simulation.yml index aa362e40b8f8..be3a51ddca7b 100644 --- a/.github/workflows/npm-published-simulation.yml +++ b/.github/workflows/npm-published-simulation.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: "14" + node-version: "16" cache: "npm" - name: Cache node_modules diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index a22f9efe04ce..42c637b5c833 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -27,7 +27,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: "14" + node-version: "16" - name: Cache node_modules uses: actions/cache@v3 diff --git a/.github/workflows/pr-docs.yml b/.github/workflows/pr-docs.yml index 45ced1f38e99..1d044761e402 100644 --- a/.github/workflows/pr-docs.yml +++ b/.github/workflows/pr-docs.yml @@ -16,7 +16,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: "14" + node-version: "16" cache: "npm" - name: Lint markdown files diff --git a/.github/workflows/pr-kumascript.yml b/.github/workflows/pr-kumascript.yml index 33812eadadd6..d9455068034c 100644 --- a/.github/workflows/pr-kumascript.yml +++ b/.github/workflows/pr-kumascript.yml @@ -26,7 +26,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: "14" + node-version: "16" - name: Cache node_modules uses: actions/cache@v3 diff --git a/.github/workflows/prod-build.yml b/.github/workflows/prod-build.yml index 925e941a906e..64493b385a3e 100644 --- a/.github/workflows/prod-build.yml +++ b/.github/workflows/prod-build.yml @@ -89,7 +89,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: "14" + node-version: "16" - name: Cache node_modules uses: actions/cache@v3 diff --git a/.github/workflows/stage-build.yml b/.github/workflows/stage-build.yml index 9bc8fc43293f..db8eac4d2db4 100644 --- a/.github/workflows/stage-build.yml +++ b/.github/workflows/stage-build.yml @@ -89,7 +89,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: "14" + node-version: "16" - name: Cache node_modules uses: actions/cache@v3 diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index bd6d62da72c8..66a89ec1b9c7 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: "14" + node-version: "16" cache: "npm" - name: Cache node_modules diff --git a/deployer/aws-lambda/content-origin-request/package-lock.json b/deployer/aws-lambda/content-origin-request/package-lock.json index 82713fa0cedf..915e351b4a4f 100644 --- a/deployer/aws-lambda/content-origin-request/package-lock.json +++ b/deployer/aws-lambda/content-origin-request/package-lock.json @@ -21,22 +21,27 @@ "dotenv": "^16.0.1" }, "engines": { - "node": ">=14.x" + "node": ">=14.x", + "npm": ">=8.0.0" } }, "../../../libs/constants": { + "name": "@yari-internal/constants", "version": "0.0.1", "license": "MPL-2.0" }, "../../../libs/fundamental-redirects": { + "name": "@yari-internal/fundamental-redirects", "version": "0.0.1", "license": "MPL-2.0" }, "../../../libs/get-locale": { + "name": "@yari-internal/get-locale", "version": "0.0.1", "license": "MPL-2.0" }, "../../../libs/slug-utils": { + "name": "@yari-internal/slug-utils", "version": "0.0.1", "license": "MPL-2.0", "dependencies": { diff --git a/deployer/aws-lambda/content-origin-request/package.json b/deployer/aws-lambda/content-origin-request/package.json index 462ebb9dc3fa..45eae8c9b8d6 100644 --- a/deployer/aws-lambda/content-origin-request/package.json +++ b/deployer/aws-lambda/content-origin-request/package.json @@ -27,7 +27,8 @@ "dotenv": "^16.0.1" }, "engines": { - "node": ">=14.x" + "node": ">=14.x", + "npm": ">=8.0.0" }, "aws": { "name": "mdn-content-origin-request", diff --git a/deployer/aws-lambda/content-origin-response/package-lock.json b/deployer/aws-lambda/content-origin-response/package-lock.json index 98e447773415..a3990b44aa1b 100644 --- a/deployer/aws-lambda/content-origin-response/package-lock.json +++ b/deployer/aws-lambda/content-origin-response/package-lock.json @@ -12,10 +12,12 @@ "@yari-internal/constants": "file:../../../libs/constants" }, "engines": { - "node": ">=14.x" + "node": ">=14.x", + "npm": ">=8.0.0" } }, "../../../libs/constants": { + "name": "@yari-internal/constants", "version": "0.0.1", "license": "MPL-2.0" }, diff --git a/deployer/aws-lambda/content-origin-response/package.json b/deployer/aws-lambda/content-origin-response/package.json index 5fa454d93d2f..f96763cf1ab0 100644 --- a/deployer/aws-lambda/content-origin-response/package.json +++ b/deployer/aws-lambda/content-origin-response/package.json @@ -12,7 +12,8 @@ "@yari-internal/constants": "file:../../../libs/constants" }, "engines": { - "node": ">=14.x" + "node": ">=14.x", + "npm": ">=8.0.0" }, "aws": { "name": "mdn-content-origin-response", diff --git a/deployer/aws-lambda/mdn-stripe-price-ids/package-lock.json b/deployer/aws-lambda/mdn-stripe-price-ids/package-lock.json index 320c381b92bc..33f745d92b5a 100644 --- a/deployer/aws-lambda/mdn-stripe-price-ids/package-lock.json +++ b/deployer/aws-lambda/mdn-stripe-price-ids/package-lock.json @@ -15,7 +15,8 @@ "jest": "27.5.1" }, "engines": { - "node": ">=14.x" + "node": ">=14.x", + "npm": ">=8.0.0" } }, "node_modules/@ampproject/remapping": { diff --git a/deployer/aws-lambda/mdn-stripe-price-ids/package.json b/deployer/aws-lambda/mdn-stripe-price-ids/package.json index 65a2ac3e10f3..617832580331 100644 --- a/deployer/aws-lambda/mdn-stripe-price-ids/package.json +++ b/deployer/aws-lambda/mdn-stripe-price-ids/package.json @@ -16,7 +16,8 @@ "jest": "27.5.1" }, "engines": { - "node": ">=14.x" + "node": ">=14.x", + "npm": ">=8.0.0" }, "aws": { "name": "mdn-stripe-price-ids", diff --git a/deployer/aws-lambda/tests/package-lock.json b/deployer/aws-lambda/tests/package-lock.json index d76c656badc6..39557e074843 100644 --- a/deployer/aws-lambda/tests/package-lock.json +++ b/deployer/aws-lambda/tests/package-lock.json @@ -17,10 +17,12 @@ "polka": "0.5.2" }, "engines": { - "node": ">=14.x" + "node": ">=14.x", + "npm": ">=8.0.0" } }, "../content-origin-request": { + "name": "@yari-internal/content-origin-request", "version": "0.0.1", "license": "MPL-2.0", "dependencies": { @@ -36,17 +38,20 @@ "dotenv": "^16.0.1" }, "engines": { - "node": ">=14.x" + "node": ">=14.x", + "npm": ">=8.0.0" } }, "../content-origin-response": { + "name": "@yari-internal/content-origin-response", "version": "0.0.1", "license": "MPL-2.0", "dependencies": { "@yari-internal/constants": "file:../../../libs/constants" }, "engines": { - "node": ">=14.x" + "node": ">=14.x", + "npm": ">=8.0.0" } }, "node_modules/@arr/every": { diff --git a/deployer/aws-lambda/tests/package.json b/deployer/aws-lambda/tests/package.json index 200722be562e..98cae9210809 100644 --- a/deployer/aws-lambda/tests/package.json +++ b/deployer/aws-lambda/tests/package.json @@ -19,6 +19,7 @@ "polka": "0.5.2" }, "engines": { - "node": ">=14.x" + "node": ">=14.x", + "npm": ">=8.0.0" } } diff --git a/package-lock.json b/package-lock.json index c00838f68b8f..ca5ced4d286b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -155,7 +155,8 @@ "webpack-node-externals": "^3.0.0" }, "engines": { - "node": ">=14.0.0 <17.0.0" + "node": ">=16.11.0", + "npm": ">=8.0.0" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 8a63ef097f94..340d637cb43f 100644 --- a/package.json +++ b/package.json @@ -200,6 +200,7 @@ "webpack-node-externals": "^3.0.0" }, "engines": { - "node": ">=14.0.0 <17.0.0" + "node": ">=16.11.0", + "npm": ">=8.0.0" } }