From 0e54e72bffc9dd4415b6b4b82917e0092f8ce50d Mon Sep 17 00:00:00 2001 From: Matthew Wright Date: Mon, 19 Feb 2024 08:40:59 -0600 Subject: [PATCH 1/3] init commit --- .github/workflows/e2e-next-example.yml | 2 +- .../workflows/e2e-next-faustwp-example.yml | 2 +- .github/workflows/e2e-nightly-build.yml | 2 +- .github/workflows/e2e-test-plugin.yml | 2 +- .github/workflows/lint-packages.yml | 2 +- .github/workflows/test-packages.yml | 2 +- .nvmrc | 2 +- .../next/faustwp-getting-started/package.json | 2 +- package-lock.json | 76 ++----------------- package.json | 2 +- packages/block-editor-utils/package.json | 2 +- packages/blocks/package.json | 2 +- packages/faustwp-cli/package.json | 2 +- packages/faustwp-core/package.json | 2 +- 14 files changed, 21 insertions(+), 81 deletions(-) diff --git a/.github/workflows/e2e-next-example.yml b/.github/workflows/e2e-next-example.yml index 9e25815b2..baa3aca0d 100644 --- a/.github/workflows/e2e-next-example.yml +++ b/.github/workflows/e2e-next-example.yml @@ -14,7 +14,7 @@ jobs: PR_BRANCH: ${{github.event.pull_request.head.ref}} strategy: matrix: - node: ['16', '18', '20'] + node: '18', '20'] defaults: run: working-directory: ./ diff --git a/.github/workflows/e2e-next-faustwp-example.yml b/.github/workflows/e2e-next-faustwp-example.yml index 47d201b8b..3642e2087 100644 --- a/.github/workflows/e2e-next-faustwp-example.yml +++ b/.github/workflows/e2e-next-faustwp-example.yml @@ -14,7 +14,7 @@ jobs: PR_BRANCH: ${{github.event.pull_request.head.ref}} strategy: matrix: - node: ['16', '18', '20'] + node: '18', '20'] defaults: run: working-directory: ./ diff --git a/.github/workflows/e2e-nightly-build.yml b/.github/workflows/e2e-nightly-build.yml index 4f1e06f83..3dcb1e518 100644 --- a/.github/workflows/e2e-nightly-build.yml +++ b/.github/workflows/e2e-nightly-build.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node: ['16', '18', '20'] + node: '18', '20'] defaults: run: working-directory: ./ diff --git a/.github/workflows/e2e-test-plugin.yml b/.github/workflows/e2e-test-plugin.yml index c9c68b825..604966120 100644 --- a/.github/workflows/e2e-test-plugin.yml +++ b/.github/workflows/e2e-test-plugin.yml @@ -15,7 +15,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '18' - name: Install NPM Deps run: | npm ci diff --git a/.github/workflows/lint-packages.yml b/.github/workflows/lint-packages.yml index 9c4bd2c60..390c1526d 100644 --- a/.github/workflows/lint-packages.yml +++ b/.github/workflows/lint-packages.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '18' - run: npm ci - run: npm run build - run: npm run lint diff --git a/.github/workflows/test-packages.yml b/.github/workflows/test-packages.yml index e30694a77..d158a7ad4 100644 --- a/.github/workflows/test-packages.yml +++ b/.github/workflows/test-packages.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: ['ubuntu-22.04'] - node: ['16', '18', '20'] + node: '18', '20'] permissions: checks: write pull-requests: write diff --git a/.nvmrc b/.nvmrc index 7fd023741..658984787 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16.15.0 +v18.0.0 diff --git a/examples/next/faustwp-getting-started/package.json b/examples/next/faustwp-getting-started/package.json index b949c17bd..6a6ef3f79 100644 --- a/examples/next/faustwp-getting-started/package.json +++ b/examples/next/faustwp-getting-started/package.json @@ -23,7 +23,7 @@ "sass": "^1.54.9" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" } } diff --git a/package-lock.json b/package-lock.json index 75512ee3e..5c1d508ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "rimraf": "^3.0.2" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" }, "workspaces": { @@ -327,7 +327,7 @@ "version": "0.2.0", "dependencies": { "@apollo/client": "^3.8.8", - "@faustwp/blocks": "2.0.0", + "@faustwp/blocks": "3.0.0", "@faustwp/cli": "^2.0.0", "@faustwp/core": "^2.1.2", "classnames": "^2.3.1", @@ -2439,7 +2439,7 @@ "sass": "^1.54.9" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" } }, @@ -28728,7 +28728,7 @@ "ts-jest": "29.1.1" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" }, "peerDependencies": { @@ -29509,7 +29509,7 @@ }, "packages/blocks": { "name": "@faustwp/blocks", - "version": "2.0.0", + "version": "3.0.0", "license": "MIT", "devDependencies": { "@testing-library/jest-dom": "^5.16.5", @@ -29520,7 +29520,7 @@ "rimraf": "^4.4.0" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" }, "peerDependencies": { @@ -31634,7 +31634,7 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" } }, @@ -31801,7 +31801,7 @@ "typescript": "^4.4.4" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" }, "peerDependencies": { @@ -36045,66 +36045,6 @@ "plugins/faustwp": { "name": "@faustwp/wordpress-plugin", "version": "1.2.1" - }, - "packages/experimental-app-router/node_modules/@next/swc-android-arm-eabi": { - "version": "12.3.4", - "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.3.4.tgz", - "integrity": "sha512-cM42Cw6V4Bz/2+j/xIzO8nK/Q3Ly+VSlZJTa1vHzsocJRYz8KT6MrreXaci2++SIZCF1rVRCDgAg5PpqRibdIA==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10" - } - }, - "packages/experimental-app-router/node_modules/@next/swc-android-arm64": { - "version": "12.3.4", - "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.3.4.tgz", - "integrity": "sha512-5jf0dTBjL+rabWjGj3eghpLUxCukRhBcEJgwLedewEA/LJk2HyqCvGIwj5rH+iwmq1llCWbOky2dO3pVljrapg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10" - } - }, - "packages/experimental-app-router/node_modules/@next/swc-freebsd-x64": { - "version": "12.3.4", - "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.3.4.tgz", - "integrity": "sha512-KM9JXRXi/U2PUM928z7l4tnfQ9u8bTco/jb939pdFUHqc28V43Ohd31MmZD1QzEK4aFlMRaIBQOWQZh4D/E5lQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 10" - } - }, - "packages/experimental-app-router/node_modules/@next/swc-linux-arm-gnueabihf": { - "version": "12.3.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.3.4.tgz", - "integrity": "sha512-3zqD3pO+z5CZyxtKDTnOJ2XgFFRUBciOox6EWkoZvJfc9zcidNAQxuwonUeNts6Xbm8Wtm5YGIRC0x+12YH7kw==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } } } } diff --git a/package.json b/package.json index c72c35ae9..5ab2a6be7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@faustjs/root", "private": true, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" }, "workspaces": { diff --git a/packages/block-editor-utils/package.json b/packages/block-editor-utils/package.json index c3c03af57..651b7cad8 100644 --- a/packages/block-editor-utils/package.json +++ b/packages/block-editor-utils/package.json @@ -56,7 +56,7 @@ }, "homepage": "https://github.com/wpengine/faustjs#readme", "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" } } diff --git a/packages/blocks/package.json b/packages/blocks/package.json index 8c6a4728c..d7ff9c51a 100644 --- a/packages/blocks/package.json +++ b/packages/blocks/package.json @@ -43,7 +43,7 @@ }, "homepage": "https://github.com/wpengine/faustjs#readme", "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" } } diff --git a/packages/faustwp-cli/package.json b/packages/faustwp-cli/package.json index 6953e7ad5..ea0c885d3 100644 --- a/packages/faustwp-cli/package.json +++ b/packages/faustwp-cli/package.json @@ -54,7 +54,7 @@ }, "homepage": "https://github.com/wpengine/faustjs#readme", "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" } } diff --git a/packages/faustwp-core/package.json b/packages/faustwp-core/package.json index 7c34872b9..198911543 100644 --- a/packages/faustwp-core/package.json +++ b/packages/faustwp-core/package.json @@ -72,7 +72,7 @@ }, "homepage": "https://github.com/wpengine/faustjs#readme", "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" } } From a22e556493809f883ce8edcbad8af35e91e73b62 Mon Sep 17 00:00:00 2001 From: Matthew Wright Date: Wed, 21 Feb 2024 08:18:08 -0600 Subject: [PATCH 2/3] typo --- .github/workflows/e2e-next-example.yml | 2 +- .github/workflows/e2e-next-faustwp-example.yml | 2 +- .github/workflows/e2e-nightly-build.yml | 2 +- .github/workflows/test-packages.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e-next-example.yml b/.github/workflows/e2e-next-example.yml index baa3aca0d..c76cf57cb 100644 --- a/.github/workflows/e2e-next-example.yml +++ b/.github/workflows/e2e-next-example.yml @@ -14,7 +14,7 @@ jobs: PR_BRANCH: ${{github.event.pull_request.head.ref}} strategy: matrix: - node: '18', '20'] + node: ['18, '20] defaults: run: working-directory: ./ diff --git a/.github/workflows/e2e-next-faustwp-example.yml b/.github/workflows/e2e-next-faustwp-example.yml index 3642e2087..0102d771d 100644 --- a/.github/workflows/e2e-next-faustwp-example.yml +++ b/.github/workflows/e2e-next-faustwp-example.yml @@ -14,7 +14,7 @@ jobs: PR_BRANCH: ${{github.event.pull_request.head.ref}} strategy: matrix: - node: '18', '20'] + node: ['18, '20] defaults: run: working-directory: ./ diff --git a/.github/workflows/e2e-nightly-build.yml b/.github/workflows/e2e-nightly-build.yml index 3dcb1e518..4f0748de7 100644 --- a/.github/workflows/e2e-nightly-build.yml +++ b/.github/workflows/e2e-nightly-build.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node: '18', '20'] + node: ['18, '20] defaults: run: working-directory: ./ diff --git a/.github/workflows/test-packages.yml b/.github/workflows/test-packages.yml index d158a7ad4..ad9bda866 100644 --- a/.github/workflows/test-packages.yml +++ b/.github/workflows/test-packages.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: ['ubuntu-22.04'] - node: '18', '20'] + node: ['18, '20] permissions: checks: write pull-requests: write From 67d9dd4962bc10c891c3e0e0117beeead4d65630 Mon Sep 17 00:00:00 2001 From: Matthew Wright Date: Wed, 21 Feb 2024 09:16:17 -0600 Subject: [PATCH 3/3] changesets --- .changeset/calm-ears-appear.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .changeset/calm-ears-appear.md diff --git a/.changeset/calm-ears-appear.md b/.changeset/calm-ears-appear.md new file mode 100644 index 000000000..a18f30ce7 --- /dev/null +++ b/.changeset/calm-ears-appear.md @@ -0,0 +1,8 @@ +--- +'@faustwp/core': major +'@faustwp/cli': major +'@faustwp/blocks': major +'@faustwp/block-editor-utils': minor +--- + +BREAKING CHANGE: With the deprecation of node version 16.x and it no longer being maintained we have updated our engines and workflows to only use 18+. Please update to use node version 18+.