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+. diff --git a/.github/workflows/e2e-next-example.yml b/.github/workflows/e2e-next-example.yml index 9e25815b2..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: ['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..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: ['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..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: ['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..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: ['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 38b3886a6..4d540d4db 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": { @@ -2439,7 +2439,7 @@ "sass": "^1.54.9" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" } }, @@ -28729,7 +28729,7 @@ "ts-jest": "29.1.1" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" }, "peerDependencies": { @@ -29521,7 +29521,7 @@ "rimraf": "^4.4.0" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" }, "peerDependencies": { @@ -31635,7 +31635,7 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" } }, @@ -31802,7 +31802,7 @@ "typescript": "^4.4.4" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" }, "peerDependencies": { 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" } }