Skip to content

Commit

Permalink
Node v22 support (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasio authored Feb 21, 2025
1 parent 94717c3 commit 04fa289
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 17 deletions.
8 changes: 8 additions & 0 deletions .changeset/forty-experts-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@10up/babel-preset-default": patch
"@10up/stylelint-config": patch
"@10up/eslint-config": patch
"10up-toolkit": patch
---

Fix wrong peer deps in some packages and make sure all packages supports v22
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# Enable linting only for node 20 & Ubuntu
matrix:
os: [ubuntu-latest]
node: [16, 18, 20]
node: [16, 18, 20, 22]
include:
- os: macos-latest
node: 18
Expand Down
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/babel-preset-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"core-js": "^3.35.0"
},
"devDependencies": {
"@10up/eslint-config": "^4.1.1-next.0",
"@10up/eslint-config": "^4.1.1",
"@wordpress/element": "^4.20.0",
"babel-jest": "^27.5.1",
"eslint": "^8.40.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"prettier": "^3.1.1"
},
"engines": {
"node": "^16 || >=18"
"node": ">=16"
},
"peerDependencies": {
"@babel/core": "^7.23.7",
Expand Down
4 changes: 2 additions & 2 deletions packages/stylelint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
},
"engineStrict": true,
"engines": {
"node": "^16.0.0 || ^18.0.0 || ^20.0.0"
"node": ">=16"
},
"devDependencies": {
"@10up/eslint-config": "^4.1.1-next.0",
"@10up/eslint-config": "^4.1.1",
"jest": "^29.7.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
},
"peerDependencies": {
"@10up/babel-preset-default": ">=2.1.1",
"@10up/eslint-config": ">=4.1.1-next.0",
"@10up/eslint-config": ">=4.1.1",
"@10up/stylelint-config": ">=3.0.0",
"@linaria/babel-preset": ">=4.3.3",
"@linaria/webpack-loader": ">=4.1.11",
Expand Down

0 comments on commit 04fa289

Please sign in to comment.