diff --git a/.github/actions/datadog/action.yml b/.github/actions/datadog/action.yml index a35bcc51fc..8440688ae3 100644 --- a/.github/actions/datadog/action.yml +++ b/.github/actions/datadog/action.yml @@ -9,6 +9,13 @@ runs: steps: - name: Send metrics to Datadog run : | + # For the datadog cli, it must be installed via python + # to install python packages on CI environment, we must activate the virtual env + # or otherwise it throws error: externally-managed-environment + python3 -m venv venv + source venv/bin/activate + pip install datadog + # Add a dogrc so we can submit metrics to datadog printf "[Connection]\napikey = ${{inputs.datadog_api_key}}\nappkey =\n" > ~/.dogrc diff --git a/.github/actions/setup_ubuntu/action.yml b/.github/actions/setup_ubuntu/action.yml index 73e5d6db77..6d71302bb5 100644 --- a/.github/actions/setup_ubuntu/action.yml +++ b/.github/actions/setup_ubuntu/action.yml @@ -9,12 +9,6 @@ runs: steps: - name: Install Dependencies run: |- - # Install system dependencies - sudo apt-get update -yq - sudo apt-get install python2 python3-pip time -yq - sudo pip install -U pip setuptools - sudo pip install awscli==1.18.85 datadog==0.40.1 - # Install node dependencies node ./scripts/gtime.js monorepo_install npm ci diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ce59bdac5..1cf44c6ea2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,21 +31,25 @@ jobs: pwa-kit: strategy: matrix: - node: [14, 16, 18] - npm: [6, 7, 8, 9] + node: [14, 16, 18, 20] + npm: [6, 7, 8, 9, 10] exclude: + - node: 14 + npm: 9 + - node: 14 + npm: 10 - node: 16 npm: 6 + - node: 16 + npm: 10 - node: 18 npm: 6 - - node: 14 - npm: 9 runs-on: ubuntu-latest env: # The "default" npm is the one that ships with a given version of node. # For more: https://nodejs.org/en/download/releases/ - IS_DEFAULT_NPM: ${{ matrix.node == 14 && matrix.npm == 6 || matrix.node == 16 && matrix.npm == 8 || matrix.node == 18 && matrix.npm == 9 }} - IS_LATEST_NPM: ${{ matrix.node == 16 && matrix.npm == 8 }} + IS_DEFAULT_NPM: ${{ matrix.node == 14 && matrix.npm == 6 || matrix.node == 16 && matrix.npm == 8 || matrix.node == 18 && matrix.npm == 9 || matrix.node == 20 && matrix.npm == 10 }} + IS_LATEST_NPM: ${{ matrix.node == 20 && matrix.npm == 10 }} steps: - name: Checkout uses: actions/checkout@v3 @@ -120,19 +124,23 @@ jobs: pwa-kit-windows: strategy: matrix: - node: [14, 16, 18] - npm: [6, 7, 8, 9] + node: [14, 16, 18, 20] + npm: [6, 7, 8, 9, 10] exclude: + - node: 14 + npm: 9 + - node: 14 + npm: 10 - node: 16 npm: 6 + - node: 16 + npm: 10 - node: 18 npm: 6 - - node: 14 - npm: 9 env: # The "default" npm is the one that ships with a given version of node. # For more: https://nodejs.org/en/download/releases/ - IS_DEFAULT_NPM: ${{ matrix.node == 14 && matrix.npm == 6 || matrix.node == 16 && matrix.npm == 8 || matrix.node == 18 && matrix.npm == 9 }} + IS_DEFAULT_NPM: ${{ matrix.node == 14 && matrix.npm == 6 || matrix.node == 16 && matrix.npm == 8 || matrix.node == 18 && matrix.npm == 9 || matrix.node == 20 && matrix.npm == 10 }} runs-on: windows-latest steps: - name: Checkout @@ -178,7 +186,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Setup Ubuntu Machine uses: "./.github/actions/setup_ubuntu" @@ -274,7 +282,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Setup Windows Machine uses: "./.github/actions/setup_windows" diff --git a/lerna.json b/lerna.json index e71a45ca13..1d18b49fa4 100644 --- a/lerna.json +++ b/lerna.json @@ -3,7 +3,7 @@ "packages": [ "packages/*" ], - "version": "2.8.4", + "version": "2.9.0-preview.0", "publish": { "allowBranch": [ "master" diff --git a/package-lock.json b/package-lock.json index 8cf54ae075..3e659f6fce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pwa-kit", - "version": "2.8.4", + "version": "2.9.0-preview.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pwa-kit", - "version": "2.8.3", + "version": "2.9.0-preview.0", "hasInstallScript": true, "devDependencies": { "commander": "^2.20.3", @@ -15,8 +15,8 @@ "shelljs": "^0.8.5" }, "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" } }, "node_modules/@babel/code-frame": { @@ -18289,4 +18289,4 @@ "dev": true } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index dac7646f90..ed69f2757e 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "pwa-kit", - "version": "2.8.4", + "version": "2.9.0-preview.0", "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "devDependencies": { "commander": "^2.20.3", diff --git a/packages/internal-lib-build/configs/babel.config.js b/packages/internal-lib-build/configs/babel.config.js index b3d0c99dc9..c297e6cec3 100644 --- a/packages/internal-lib-build/configs/babel.config.js +++ b/packages/internal-lib-build/configs/babel.config.js @@ -10,7 +10,7 @@ const config = { require('@babel/preset-env'), { targets: { - node: 18 + node: 20 } } ], diff --git a/packages/internal-lib-build/package-lock.json b/packages/internal-lib-build/package-lock.json index 567992e9fd..39a6fb2132 100644 --- a/packages/internal-lib-build/package-lock.json +++ b/packages/internal-lib-build/package-lock.json @@ -1,12 +1,12 @@ { "name": "internal-lib-build", - "version": "2.8.4", + "version": "2.9.0-preview.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "internal-lib-build", - "version": "2.8.3", + "version": "2.9.0-preview.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@babel/cli": "^7.21.0", @@ -62,8 +62,8 @@ "typescript": "4.8.3" }, "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "peerDependencies": { "typescript": "4.8.3" diff --git a/packages/internal-lib-build/package.json b/packages/internal-lib-build/package.json index 859c9adc8e..8dfcce7f37 100644 --- a/packages/internal-lib-build/package.json +++ b/packages/internal-lib-build/package.json @@ -1,9 +1,9 @@ { "name": "internal-lib-build", - "version": "2.8.4", + "version": "2.9.0-preview.0", "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "private": true, "description": "Build tools for *libraries* in the monorepo", diff --git a/packages/pwa-kit-create-app/CHANGELOG.md b/packages/pwa-kit-create-app/CHANGELOG.md index b8df867b11..e81cde2bd6 100644 --- a/packages/pwa-kit-create-app/CHANGELOG.md +++ b/packages/pwa-kit-create-app/CHANGELOG.md @@ -1,3 +1,5 @@ +## v2.9.0-preview.0 (Jan 10, 2025) +- Support Node 20 and NPM 10 in PWA Kit v2 [#2189](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2189) ## v2.8.1 (Nov 8, 2023) ## v2.8.0 (Nov 3, 2023) ## v2.7.1 (May 11, 2023) diff --git a/packages/pwa-kit-create-app/package-lock.json b/packages/pwa-kit-create-app/package-lock.json index 119b121589..6b7fe8b258 100644 --- a/packages/pwa-kit-create-app/package-lock.json +++ b/packages/pwa-kit-create-app/package-lock.json @@ -1,12 +1,12 @@ { "name": "pwa-kit-create-app", - "version": "2.8.4", + "version": "2.9.0-preview.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pwa-kit-create-app", - "version": "2.8.3", + "version": "2.9.0-preview.0", "license": "See license in LICENSE", "dependencies": { "commander": "^9.5.0", @@ -24,8 +24,8 @@ "verdaccio": "^5.22.1" }, "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" } }, "node_modules/@babel/runtime": { diff --git a/packages/pwa-kit-create-app/package.json b/packages/pwa-kit-create-app/package.json index 8012bfd2ae..df9d9dc6b9 100644 --- a/packages/pwa-kit-create-app/package.json +++ b/packages/pwa-kit-create-app/package.json @@ -1,6 +1,6 @@ { "name": "pwa-kit-create-app", - "version": "2.8.4", + "version": "2.9.0-preview.0", "description": "Salesforce's project generator tool", "author": "cc-pwa-kit@salesforce.com", "license": "See license in LICENSE", @@ -26,8 +26,8 @@ "test": "internal-lib-build test" }, "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "dependencies": { "commander": "^9.5.0", @@ -39,7 +39,7 @@ "tar": "^6.1.13" }, "devDependencies": { - "internal-lib-build": "^2.8.4", + "internal-lib-build": "^2.9.0-preview.0", "verdaccio": "^5.22.1" } } diff --git a/packages/pwa-kit-dev/CHANGELOG.md b/packages/pwa-kit-dev/CHANGELOG.md index 61937f014c..d0ba093680 100644 --- a/packages/pwa-kit-dev/CHANGELOG.md +++ b/packages/pwa-kit-dev/CHANGELOG.md @@ -1,3 +1,5 @@ +## v2.9.0-preview.0 (Jan 10, 2025) +- Support Node 20 and NPM 10 in PWA Kit v2 [#2189](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2189) ## v2.8.4 (Jul 12, 2024) ## v2.8.3 (Apr 09, 2024) - Upgrade vulnerable dependency [#1737](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/1737) diff --git a/packages/pwa-kit-dev/package-lock.json b/packages/pwa-kit-dev/package-lock.json index 0883a7996c..76a0c52d87 100644 --- a/packages/pwa-kit-dev/package-lock.json +++ b/packages/pwa-kit-dev/package-lock.json @@ -1,12 +1,12 @@ { "name": "pwa-kit-dev", - "version": "2.8.4", + "version": "2.9.0-preview.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pwa-kit-dev", - "version": "2.8.3", + "version": "2.9.0-preview.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@babel/cli": "^7.21.0", @@ -92,8 +92,8 @@ "supertest": "^4.0.2" }, "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "peerDependencies": { "@loadable/component": "^5.15.0" diff --git a/packages/pwa-kit-dev/package.json b/packages/pwa-kit-dev/package.json index 617783f68a..41696a2bbd 100644 --- a/packages/pwa-kit-dev/package.json +++ b/packages/pwa-kit-dev/package.json @@ -1,6 +1,6 @@ { "name": "pwa-kit-dev", - "version": "2.8.4", + "version": "2.9.0-preview.0", "description": "Build tools for pwa-kit", "repository": { "type": "git", @@ -90,7 +90,7 @@ "minimatch": "3.1.2", "open": "^8.4.2", "prettier": "^2.8.6", - "pwa-kit-runtime": "^2.8.4", + "pwa-kit-runtime": "^2.9.0-preview.0", "react-refresh": "^0.14.0", "replace-in-file": "^6.3.5", "request": "^2.88.0", @@ -111,7 +111,7 @@ }, "devDependencies": { "@loadable/component": "^5.15.3", - "internal-lib-build": "^2.8.4", + "internal-lib-build": "^2.9.0-preview.0", "nock": "^13.3.0", "superagent": "^6.1.0", "supertest": "^4.0.2" @@ -120,8 +120,8 @@ "@loadable/component": "^5.15.0" }, "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "publishConfig": { "directory": "dist" diff --git a/packages/pwa-kit-dev/src/configs/babel/babel-config.js b/packages/pwa-kit-dev/src/configs/babel/babel-config.js index ea714e0103..ec97e40dc4 100644 --- a/packages/pwa-kit-dev/src/configs/babel/babel-config.js +++ b/packages/pwa-kit-dev/src/configs/babel/babel-config.js @@ -11,7 +11,7 @@ const config = { require('@babel/preset-env'), { targets: { - node: 18 + node: 20 } } ], diff --git a/packages/pwa-kit-react-sdk/CHANGELOG.md b/packages/pwa-kit-react-sdk/CHANGELOG.md index 33e2e3fd54..3c2bdc0f27 100644 --- a/packages/pwa-kit-react-sdk/CHANGELOG.md +++ b/packages/pwa-kit-react-sdk/CHANGELOG.md @@ -1,3 +1,5 @@ +## v2.9.0-preview.0 (Jan 10, 2025) +- Support Node 20 and NPM 10 in PWA Kit v2 [#2189](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2189) ## v2.8.4 (Jul 12, 2024) - Updated StorefrontPreview component to make siteId available [#1876](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/1876) diff --git a/packages/pwa-kit-react-sdk/package-lock.json b/packages/pwa-kit-react-sdk/package-lock.json index 847551e9ae..8005193e6b 100644 --- a/packages/pwa-kit-react-sdk/package-lock.json +++ b/packages/pwa-kit-react-sdk/package-lock.json @@ -1,12 +1,12 @@ { "name": "pwa-kit-react-sdk", - "version": "2.8.4", + "version": "2.9.0-preview.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pwa-kit-react-sdk", - "version": "2.8.3", + "version": "2.9.0-preview.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@loadable/babel-plugin": "^5.15.3", @@ -37,8 +37,8 @@ "supertest": "^4.0.2" }, "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "peerDependencies": { "@loadable/component": "^5.15.0", diff --git a/packages/pwa-kit-react-sdk/package.json b/packages/pwa-kit-react-sdk/package.json index 9a45f134d8..fc1895f525 100644 --- a/packages/pwa-kit-react-sdk/package.json +++ b/packages/pwa-kit-react-sdk/package.json @@ -1,10 +1,10 @@ { "name": "pwa-kit-react-sdk", - "version": "2.8.4", + "version": "2.9.0-preview.0", "description": "A library that supports the isomorphic React rendering pipeline for Commerce Cloud Managed Runtime apps", "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "files": [ "CHANGELOG.md", @@ -49,7 +49,7 @@ "event-emitter": "^0.3.5", "hoist-non-react-statics": "^3.3.2", "prop-types": "^15.8.1", - "pwa-kit-runtime": "^2.8.4", + "pwa-kit-runtime": "^2.9.0-preview.0", "react-ssr-prepass": "^1.5.0", "react-uid": "^2.3.2", "serialize-javascript": "^6.0.1", @@ -60,7 +60,7 @@ "@loadable/component": "^5.15.3", "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0", "enzyme": "^3.11.0", - "internal-lib-build": "^2.8.4", + "internal-lib-build": "^2.9.0-preview.0", "node-html-parser": "^3.3.6", "react": "^17.0.2", "react-dom": "^17.0.2", diff --git a/packages/pwa-kit-runtime/CHANGELOG.md b/packages/pwa-kit-runtime/CHANGELOG.md index cf5bb7994d..8553e39b9b 100644 --- a/packages/pwa-kit-runtime/CHANGELOG.md +++ b/packages/pwa-kit-runtime/CHANGELOG.md @@ -1,3 +1,5 @@ +## v2.9.0-preview.0 (Jan 10, 2025) +- Support Node 20 and NPM 10 in PWA Kit v2 [#2189](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2189) ## v2.8.4 (Jul 12, 2024) ## v2.8.3 (Apr 09, 2024) diff --git a/packages/pwa-kit-runtime/package-lock.json b/packages/pwa-kit-runtime/package-lock.json index aa8a5a225a..a961d14b5b 100644 --- a/packages/pwa-kit-runtime/package-lock.json +++ b/packages/pwa-kit-runtime/package-lock.json @@ -1,12 +1,12 @@ { "name": "pwa-kit-runtime", - "version": "2.8.4", + "version": "2.9.0-preview.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pwa-kit-runtime", - "version": "2.8.3", + "version": "2.9.0-preview.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@loadable/babel-plugin": "^5.15.3", @@ -36,11 +36,11 @@ "watch": "1.0.2" }, "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "peerDependencies": { - "pwa-kit-dev": "^2.8.3" + "pwa-kit-dev": "^2.9.0-preview.0" }, "peerDependenciesMeta": { "pwa-kit-dev": { diff --git a/packages/pwa-kit-runtime/package.json b/packages/pwa-kit-runtime/package.json index 46f1a4f40f..48462e9f63 100644 --- a/packages/pwa-kit-runtime/package.json +++ b/packages/pwa-kit-runtime/package.json @@ -1,6 +1,6 @@ { "name": "pwa-kit-runtime", - "version": "2.8.4", + "version": "2.9.0-preview.0", "description": "The PWAKit Runtime", "repository": { "type": "git", @@ -50,7 +50,7 @@ "@serverless/event-mocks": "^1.1.1", "aws-lambda-mock-context": "^3.2.1", "fs-extra": "^10.1.0", - "internal-lib-build": "^2.8.4", + "internal-lib-build": "^2.9.0-preview.0", "nock": "^13.3.0", "sinon": "^13.0.2", "superagent": "^6.1.0", @@ -58,7 +58,7 @@ "watch": "1.0.2" }, "peerDependencies": { - "pwa-kit-dev": "^2.8.4" + "pwa-kit-dev": "^2.9.0-preview.0" }, "peerDependenciesMeta": { "pwa-kit-dev": { @@ -66,8 +66,8 @@ } }, "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "publishConfig": { "directory": "dist" diff --git a/packages/template-express-minimal/package-lock.json b/packages/template-express-minimal/package-lock.json index 075dfa4364..a4f0a4279e 100644 --- a/packages/template-express-minimal/package-lock.json +++ b/packages/template-express-minimal/package-lock.json @@ -1,12 +1,12 @@ { "name": "template-express-minimal", - "version": "2.8.4", + "version": "2.9.0-preview.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "template-express-minimal", - "version": "2.8.3", + "version": "2.9.0-preview.0", "license": "See license in LICENSE", "devDependencies": { "supertest": "^4.0.2" diff --git a/packages/template-express-minimal/package.json b/packages/template-express-minimal/package.json index e7cb1d24ea..75d5fa2532 100644 --- a/packages/template-express-minimal/package.json +++ b/packages/template-express-minimal/package.json @@ -1,11 +1,11 @@ { "name": "template-express-minimal", - "version": "2.8.4", + "version": "2.9.0-preview.0", "license": "See license in LICENSE", "private": true, "devDependencies": { - "pwa-kit-dev": "^2.8.4", - "pwa-kit-runtime": "^2.8.4", + "pwa-kit-dev": "^2.9.0-preview.0", + "pwa-kit-runtime": "^2.9.0-preview.0", "supertest": "^4.0.2" }, "scripts": { diff --git a/packages/template-mrt-reference-app/package-lock.json b/packages/template-mrt-reference-app/package-lock.json index 7135e3b208..e8efd927d9 100644 --- a/packages/template-mrt-reference-app/package-lock.json +++ b/packages/template-mrt-reference-app/package-lock.json @@ -1,12 +1,12 @@ { "name": "template-mrt-reference-app", - "version": "2.8.4", + "version": "2.9.0-preview.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "template-mrt-reference-app", - "version": "2.8.3", + "version": "2.9.0-preview.0", "license": "See license in LICENSE", "devDependencies": { "@loadable/component": "^5.15.0", @@ -15,8 +15,8 @@ "supertest": "^4.0.2" }, "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" } }, "node_modules/@babel/runtime": { diff --git a/packages/template-mrt-reference-app/package.json b/packages/template-mrt-reference-app/package.json index 60b3fca249..a5f2c67807 100644 --- a/packages/template-mrt-reference-app/package.json +++ b/packages/template-mrt-reference-app/package.json @@ -1,9 +1,9 @@ { "name": "template-mrt-reference-app", - "version": "2.8.4", + "version": "2.9.0-preview.0", "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "license": "See license in LICENSE", "private": true, @@ -11,8 +11,8 @@ "@loadable/component": "^5.15.0", "cross-fetch": "^3.1.4", "express-basic-auth": "^1.2.0", - "pwa-kit-dev": "^2.8.4", - "pwa-kit-runtime": "^2.8.4", + "pwa-kit-dev": "^2.9.0-preview.0", + "pwa-kit-runtime": "^2.9.0-preview.0", "supertest": "^4.0.2" }, "scripts": { diff --git a/packages/template-retail-react-app/CHANGELOG.md b/packages/template-retail-react-app/CHANGELOG.md index 5e6de84407..0773c7c09b 100644 --- a/packages/template-retail-react-app/CHANGELOG.md +++ b/packages/template-retail-react-app/CHANGELOG.md @@ -1,3 +1,8 @@ +## v2.9.0-preview.0 (Jan 10, 2025) +- Support Node 20 and NPM 10 in PWA Kit v2 [#2189](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2189) +- Update Auth class to pass required `channel_id` to SLAS [#2189](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2189) + - For more information about the SLAS changes, please see [the Salesforce developer docs](https://developer.salesforce.com/docs/commerce/commerce-api/guide/slas.html#guest-tokens) and the [release notes for `v2.8.4`](https://github.com/SalesforceCommerceCloud/pwa-kit/releases/tag/v2.8.4). + ## v2.8.4 (May 2, 2024) - Fixed createCodeVerifier adding entropy to be successfully indexed by Google Search Console. [#1765](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/1765) diff --git a/packages/template-retail-react-app/app/commerce-api/auth.js b/packages/template-retail-react-app/app/commerce-api/auth.js index 00fc3397ef..85e8b6239e 100644 --- a/packages/template-retail-react-app/app/commerce-api/auth.js +++ b/packages/template-retail-react-app/app/commerce-api/auth.js @@ -190,6 +190,7 @@ class Auth { data.append('code_verifier', codeVerifier) data.append('client_id', this._config.parameters.clientId) data.append('redirect_uri', redirectUri) + data.append('channel_id', this._config.parameters.siteId) const options = { headers: { @@ -401,6 +402,7 @@ class Auth { parameters: { redirect_uri: `${getAppOrigin()}${slasCallbackEndpoint}`, client_id: this._config.parameters.clientId, + channel_id: this._config.parameters.siteId, code_challenge: codeChallenge, response_type: 'code', hint: 'guest' diff --git a/packages/template-retail-react-app/app/pages/checkout/index.test.js b/packages/template-retail-react-app/app/pages/checkout/index.test.js index 4740639340..f81a75cda5 100644 --- a/packages/template-retail-react-app/app/pages/checkout/index.test.js +++ b/packages/template-retail-react-app/app/pages/checkout/index.test.js @@ -306,7 +306,7 @@ test('Can proceed through checkout steps as guest', async () => { // Fill out credit card payment form user.type(screen.getByLabelText(/card number/i), '4111111111111111') user.type(screen.getByLabelText(/name on card/i), 'Testy McTester') - user.type(screen.getByLabelText(/expiration date/i), '1224') + user.type(screen.getByLabelText(/expiration date/i), '1240') user.type(screen.getByLabelText(/security code/i), '123') // Same as shipping checkbox selected by default diff --git a/packages/template-retail-react-app/package-lock.json b/packages/template-retail-react-app/package-lock.json index 838da3d20f..a7708bb0e2 100644 --- a/packages/template-retail-react-app/package-lock.json +++ b/packages/template-retail-react-app/package-lock.json @@ -1,12 +1,12 @@ { "name": "retail-react-app", - "version": "2.8.4", + "version": "2.9.0-preview.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "retail-react-app", - "version": "2.8.3", + "version": "2.9.0-preview.0", "license": "See license in LICENSE", "devDependencies": { "@chakra-ui/icons": "^1.1.7", @@ -54,8 +54,8 @@ "seedrandom": "^3.0.5" }, "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "peerDependencies": { "@chakra-ui/system": "^1.12.1" @@ -3704,17 +3704,30 @@ } }, "node_modules/enquirer": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", - "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz", + "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==", "dev": true, "dependencies": { - "ansi-colors": "^4.1.1" + "ansi-colors": "^4.1.1", + "strip-ansi": "^6.0.1" }, "engines": { "node": ">=8.6" } }, + "node_modules/enquirer/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -5477,9 +5490,9 @@ } }, "node_modules/js-library-detector": { - "version": "6.6.0", - "resolved": "https://registry.npmjs.org/js-library-detector/-/js-library-detector-6.6.0.tgz", - "integrity": "sha512-z8OkDmXALZ22bIzBtIW8cpJ39MV93/Zu1rWrFdhsNw+sity2rOLaGT2kfWWQ6mnRTWs4ddONY5kiroA8e98Gvg==", + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/js-library-detector/-/js-library-detector-6.7.0.tgz", + "integrity": "sha512-c80Qupofp43y4cJ7+8TTDN/AsDwLi5oOm/plBrWI+iQt485vKXCco+yVmOwEgdo9VOdsYTuV0UlTeetVPTriXA==", "dev": true, "engines": { "node": ">=12" @@ -5653,9 +5666,9 @@ "dev": true }, "node_modules/lighthouse-stack-packs": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/lighthouse-stack-packs/-/lighthouse-stack-packs-1.11.0.tgz", - "integrity": "sha512-sRr0z1S/I26VffRLq9KJsKtLk856YrJlNGmcJmbLX8dFn3MuzVPUbstuChEhqnSxZb8TZmVfthuXuwhG9vRoSw==", + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/lighthouse-stack-packs/-/lighthouse-stack-packs-1.12.2.tgz", + "integrity": "sha512-Ug8feS/A+92TMTCK6yHYLwaFMuelK/hAKRMdldYkMNwv+d9PtWxjXEg6rwKtsUXTADajhdrhXyuNCJ5/sfmPFw==", "dev": true }, "node_modules/lighthouse/node_modules/chrome-launcher": { @@ -5961,9 +5974,9 @@ } }, "node_modules/make-dir/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -6703,9 +6716,9 @@ } }, "node_modules/package-json/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -7006,9 +7019,9 @@ "dev": true }, "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", "dev": true, "dependencies": { "end-of-stream": "^1.1.0", @@ -8670,9 +8683,9 @@ "dev": true }, "node_modules/whatwg-fetch": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz", - "integrity": "sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA==", + "version": "3.6.20", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz", + "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==", "dev": true }, "node_modules/whatwg-url": { @@ -8834,9 +8847,9 @@ } }, "node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "dev": true, "engines": { "node": ">=8.3.0" @@ -11892,12 +11905,24 @@ } }, "enquirer": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", - "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz", + "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==", "dev": true, "requires": { - "ansi-colors": "^4.1.1" + "ansi-colors": "^4.1.1", + "strip-ansi": "^6.0.1" + }, + "dependencies": { + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + } } }, "error-ex": { @@ -13274,9 +13299,9 @@ "dev": true }, "js-library-detector": { - "version": "6.6.0", - "resolved": "https://registry.npmjs.org/js-library-detector/-/js-library-detector-6.6.0.tgz", - "integrity": "sha512-z8OkDmXALZ22bIzBtIW8cpJ39MV93/Zu1rWrFdhsNw+sity2rOLaGT2kfWWQ6mnRTWs4ddONY5kiroA8e98Gvg==", + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/js-library-detector/-/js-library-detector-6.7.0.tgz", + "integrity": "sha512-c80Qupofp43y4cJ7+8TTDN/AsDwLi5oOm/plBrWI+iQt485vKXCco+yVmOwEgdo9VOdsYTuV0UlTeetVPTriXA==", "dev": true }, "js-tokens": { @@ -13552,9 +13577,9 @@ } }, "lighthouse-stack-packs": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/lighthouse-stack-packs/-/lighthouse-stack-packs-1.11.0.tgz", - "integrity": "sha512-sRr0z1S/I26VffRLq9KJsKtLk856YrJlNGmcJmbLX8dFn3MuzVPUbstuChEhqnSxZb8TZmVfthuXuwhG9vRoSw==", + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/lighthouse-stack-packs/-/lighthouse-stack-packs-1.12.2.tgz", + "integrity": "sha512-Ug8feS/A+92TMTCK6yHYLwaFMuelK/hAKRMdldYkMNwv+d9PtWxjXEg6rwKtsUXTADajhdrhXyuNCJ5/sfmPFw==", "dev": true }, "lines-and-columns": { @@ -13674,9 +13699,9 @@ }, "dependencies": { "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true } } @@ -14215,9 +14240,9 @@ }, "dependencies": { "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true } } @@ -14444,9 +14469,9 @@ "dev": true }, "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", "dev": true, "requires": { "end-of-stream": "^1.1.0", @@ -15716,9 +15741,9 @@ "dev": true }, "whatwg-fetch": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz", - "integrity": "sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA==", + "version": "3.6.20", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz", + "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==", "dev": true }, "whatwg-url": { @@ -15852,9 +15877,9 @@ } }, "ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "dev": true, "requires": {} }, diff --git a/packages/template-retail-react-app/package.json b/packages/template-retail-react-app/package.json index 269c96b3fe..0733798114 100644 --- a/packages/template-retail-react-app/package.json +++ b/packages/template-retail-react-app/package.json @@ -1,11 +1,11 @@ { "name": "retail-react-app", - "version": "2.8.4", + "version": "2.9.0-preview.0", "license": "See license in LICENSE", "private": true, "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "devDependencies": { "@chakra-ui/icons": "^1.1.7", @@ -41,9 +41,9 @@ "nanoid": "^3.3.4", "njwt": "^1.2.0", "prop-types": "^15.8.1", - "pwa-kit-dev": "^2.8.4", - "pwa-kit-react-sdk": "^2.8.4", - "pwa-kit-runtime": "^2.8.4", + "pwa-kit-dev": "^2.9.0-preview.0", + "pwa-kit-react-sdk": "^2.9.0-preview.0", + "pwa-kit-runtime": "^2.9.0-preview.0", "query-string": "^7.1.3", "raf": "^3.4.1", "randomstring": "^1.2.3", diff --git a/packages/template-typescript-minimal/package-lock.json b/packages/template-typescript-minimal/package-lock.json index 67d52d0751..09e041ed9e 100644 --- a/packages/template-typescript-minimal/package-lock.json +++ b/packages/template-typescript-minimal/package-lock.json @@ -1,12 +1,12 @@ { "name": "typescript-minimal", - "version": "2.8.4", + "version": "2.9.0-preview.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "typescript-minimal", - "version": "2.8.3", + "version": "2.9.0-preview.0", "devDependencies": { "@loadable/component": "^5.15.3", "@tanstack/react-query": "^4.28.0", @@ -18,8 +18,8 @@ "react-router-dom": "^5.3.4" }, "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" } }, "node_modules/@babel/runtime": { diff --git a/packages/template-typescript-minimal/package.json b/packages/template-typescript-minimal/package.json index 61dac6d95a..8cc83ca57b 100644 --- a/packages/template-typescript-minimal/package.json +++ b/packages/template-typescript-minimal/package.json @@ -1,9 +1,9 @@ { "name": "typescript-minimal", - "version": "2.8.4", + "version": "2.9.0-preview.0", "engines": { - "node": "^14.0.0 || ^16.0.0 || ^18.0.0", - "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0" + "node": "^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0", + "npm": "^6.14.4 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "private": true, "devDependencies": { @@ -11,9 +11,9 @@ "@tanstack/react-query": "^4.28.0", "@types/react": "^17.0.53", "@types/react-dom": "^17.0.19", - "pwa-kit-dev": "^2.8.4", - "pwa-kit-react-sdk": "^2.8.4", - "pwa-kit-runtime": "^2.8.4", + "pwa-kit-dev": "^2.9.0-preview.0", + "pwa-kit-react-sdk": "^2.9.0-preview.0", + "pwa-kit-runtime": "^2.9.0-preview.0", "react": "^17.0.2", "react-dom": "^17.0.2", "react-helmet": "^6.1.0",