Skip to content

Commit 8eae11a

Browse files
committed
Update nodeJS to version 22
1 parent a0b4d9e commit 8eae11a

File tree

3 files changed

+68
-63
lines changed

3 files changed

+68
-63
lines changed

.github/workflows/js-qa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/setup-node@v4
2727
with:
2828
cache: 'yarn'
29-
node-version: '20'
29+
node-version: '22'
3030

3131
- name: Install
3232
run: yarn install

package.json

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,59 @@
11
{
2-
"name": "kensaku",
3-
"description": "A WordPress package to search Entities including Rest API Endpoints and React Components",
4-
"author": "guido scialfa <dev@guidoscialfa.com>",
5-
"main": "./build/index.js",
6-
"license": "GPL-2.0-or-later",
7-
"engines": {
8-
"node": "20"
9-
},
10-
"devDependencies": {
11-
"@faker-js/faker": "^8",
12-
"@jest/globals": "^29.4.3",
13-
"@testing-library/dom": "^10.0.0",
14-
"@testing-library/jest-dom": "^6.2.0",
15-
"@testing-library/react": "^16.0.0",
16-
"@testing-library/user-event": "^14.5.1",
17-
"@total-typescript/shoehorn": "^0.1.0",
18-
"@types/node": "^20.0.0",
19-
"@wordpress/dependency-extraction-webpack-plugin": "^4.8.0",
20-
"@wordpress/env": "^5.9.0",
21-
"@wordpress/eslint-plugin": "^19.0.0",
22-
"@wordpress/scripts": "^26.0.0",
23-
"eslint": "^8.0.0",
24-
"eslint-import-resolver-typescript": "^3.5.5",
25-
"eslint-plugin-import": "^2.0.0",
26-
"jest": "^29.4.3",
27-
"jest-environment-jsdom": "^29.5.0",
28-
"react-dom": "~18.2.0",
29-
"ts-jest": "^29.0.5",
30-
"ts-loader": "^9.4.2",
31-
"ts-node": "^10.9.1",
32-
"typescript": "~5.1.0",
33-
"webpack": "^5.94.0",
34-
"webpack-cli": "^5.1.4",
35-
"yarn": "^1.22.19"
36-
},
37-
"dependencies": {
38-
"@types/lodash": "^4",
39-
"@wordpress/api-fetch": "~6.21.0",
40-
"@wordpress/components": "~23.1.0",
41-
"@wordpress/compose": "^6.23.0",
42-
"@wordpress/core-data": "~6.12.0",
43-
"@wordpress/hooks": "^3.49.0",
44-
"@wordpress/i18n": "~4.24.0",
45-
"classnames": "^2.3.2",
46-
"lodash": "^4.17.21",
47-
"react": "~18.2.0"
48-
},
49-
"scripts": {
50-
"wp-env": "wp-env",
51-
"build": "wp-scripts build --webpack-src-dir=./sources/client/src",
52-
"build:dev": "wp-scripts start --webpack--devtool=inline-source-map --webpack-src-dir=./sources/client/src",
53-
"cs:fix": "wp-scripts format ./sources/client",
54-
"lint:js": "wp-scripts lint-js ./sources/client",
55-
"lint:js:fix": "wp-scripts lint-js --fix ./sources/client",
56-
"test": "jest",
57-
"test:update-snapshots": "yarn test -u"
58-
}
2+
"name": "kensaku",
3+
"description": "A WordPress package to search Entities including Rest API Endpoints and React Components",
4+
"author": "guido scialfa <dev@guidoscialfa.com>",
5+
"main": "./build/index.js",
6+
"license": "GPL-2.0-or-later",
7+
"engines": {
8+
"node": "22"
9+
},
10+
"devDependencies": {
11+
"@faker-js/faker": "^8",
12+
"@jest/globals": "^29.4.3",
13+
"@testing-library/dom": "^10.0.0",
14+
"@testing-library/jest-dom": "^6.2.0",
15+
"@testing-library/react": "^16.0.0",
16+
"@testing-library/user-event": "^14.5.1",
17+
"@total-typescript/shoehorn": "^0.1.0",
18+
"@types/node": "^22.0.0",
19+
"@wordpress/dependency-extraction-webpack-plugin": "^4.8.0",
20+
"@wordpress/env": "^5.9.0",
21+
"@wordpress/eslint-plugin": "^19.0.0",
22+
"@wordpress/scripts": "^26.0.0",
23+
"eslint": "^8.0.0",
24+
"eslint-import-resolver-typescript": "^3.5.5",
25+
"eslint-plugin-import": "^2.0.0",
26+
"jest": "^29.4.3",
27+
"jest-environment-jsdom": "^29.5.0",
28+
"react-dom": "~18.2.0",
29+
"ts-jest": "^29.0.5",
30+
"ts-loader": "^9.4.2",
31+
"ts-node": "^10.9.1",
32+
"typescript": "~5.1.0",
33+
"webpack": "^5.94.0",
34+
"webpack-cli": "^5.1.4",
35+
"yarn": "^1.22.19"
36+
},
37+
"dependencies": {
38+
"@types/lodash": "^4",
39+
"@wordpress/api-fetch": "~6.21.0",
40+
"@wordpress/components": "~23.1.0",
41+
"@wordpress/compose": "^6.23.0",
42+
"@wordpress/core-data": "~6.12.0",
43+
"@wordpress/hooks": "^3.49.0",
44+
"@wordpress/i18n": "~4.24.0",
45+
"classnames": "^2.3.2",
46+
"lodash": "^4.17.21",
47+
"react": "~18.2.0"
48+
},
49+
"scripts": {
50+
"wp-env": "wp-env",
51+
"build": "wp-scripts build --webpack-src-dir=./sources/client/src",
52+
"build:dev": "wp-scripts start --webpack--devtool=inline-source-map --webpack-src-dir=./sources/client/src",
53+
"cs:fix": "wp-scripts format ./sources/client",
54+
"lint:js": "wp-scripts lint-js ./sources/client",
55+
"lint:js:fix": "wp-scripts lint-js --fix ./sources/client",
56+
"test": "jest",
57+
"test:update-snapshots": "yarn test -u"
58+
}
5959
}

yarn.lock

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2481,12 +2481,12 @@
24812481
dependencies:
24822482
undici-types "~5.26.4"
24832483

2484-
"@types/node@^20.0.0":
2485-
version "20.14.2"
2486-
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.2.tgz#a5f4d2bcb4b6a87bffcaa717718c5a0f208f4a18"
2487-
integrity sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==
2484+
"@types/node@^22.0.0":
2485+
version "22.15.3"
2486+
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.15.3.tgz#b7fb9396a8ec5b5dfb1345d8ac2502060e9af68b"
2487+
integrity sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw==
24882488
dependencies:
2489-
undici-types "~5.26.4"
2489+
undici-types "~6.21.0"
24902490

24912491
"@types/normalize-package-data@^2.4.0":
24922492
version "2.4.4"
@@ -11688,6 +11688,11 @@ undici-types@~5.26.4:
1168811688
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
1168911689
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
1169011690

11691+
undici-types@~6.21.0:
11692+
version "6.21.0"
11693+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb"
11694+
integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==
11695+
1169111696
unicode-canonical-property-names-ecmascript@^2.0.0:
1169211697
version "2.0.0"
1169311698
resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc"

0 commit comments

Comments
 (0)