chore: update package dependencies and add linting scripts

This commit is contained in:
punitverma123 2025-03-22 21:33:55 +05:30
parent e97b5e5350
commit 146e35ccb4
2 changed files with 23 additions and 21 deletions

42
package-lock.json generated
View file

@ -5130,9 +5130,9 @@
}
},
"node_modules/@wordpress/babel-preset-default": {
"version": "8.11.0",
"resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.11.0.tgz",
"integrity": "sha512-allmuNraEE8R2hu4GV65GLF4EHAqkPZHTMNZZs7ujBy/JYYmVRYrg5WQOG6W9addQyjo6Ugx9s2R6Vh8fnYv/A==",
"version": "8.20.0",
"resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.20.0.tgz",
"integrity": "sha512-UGfPuNFjN8RG1BsFc04jOHoJFi3ZINYo4nsmrrUx1PFSFD2qpttmV03dWFWfqSvLvrMlYPQPMkYyK5KS6THxVQ==",
"dev": true,
"dependencies": {
"@babel/core": "7.25.7",
@ -5141,8 +5141,8 @@
"@babel/preset-env": "7.25.7",
"@babel/preset-typescript": "7.25.7",
"@babel/runtime": "7.25.7",
"@wordpress/browserslist-config": "*",
"@wordpress/warning": "*",
"@wordpress/browserslist-config": "^6.20.0",
"@wordpress/warning": "^3.20.0",
"browserslist": "^4.21.10",
"core-js": "^3.31.0",
"react": "^18.3.0"
@ -5468,9 +5468,9 @@
}
},
"node_modules/@wordpress/browserslist-config": {
"version": "6.11.0",
"resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.11.0.tgz",
"integrity": "sha512-wUDbJ3x7c8iMZLtwo+7VlWZ/vDc47PDW2eSAKW18RrQBSTdaNmWi4qiyFYi7Ye2XkyfUd2gp71MTJjZi6n/V2A==",
"version": "6.20.0",
"resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.20.0.tgz",
"integrity": "sha512-n9Q1UN3QL4DuZLySZpbJoZbQvBTjMjRV5yaxnmQaEpOyqablX4GnYq39fwTY72hBN/c1b0oyOFcsbhsrx0wqzg==",
"dev": true,
"engines": {
"node": ">=18.12.0",
@ -5775,20 +5775,20 @@
}
},
"node_modules/@wordpress/eslint-plugin": {
"version": "21.4.0",
"resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-21.4.0.tgz",
"integrity": "sha512-8V/cpGDDTG0loqWUjmz2mqVG55hKYTfSRC43xh2aqRIGyeKfMiqaHxD/BgEi94HFdcAhAX6DYwlPnHR18Dc/tw==",
"version": "22.6.0",
"resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-22.6.0.tgz",
"integrity": "sha512-OzYAFXfq7la+73+DmsHRJgsEmQ/ACWCa8MWmsmullc2lHz06032gr2z/6tpehNvFtERpXhxywr9ZCYVdmC1DhA==",
"dev": true,
"dependencies": {
"@babel/eslint-parser": "7.25.7",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@wordpress/babel-preset-default": "*",
"@wordpress/prettier-config": "*",
"@wordpress/babel-preset-default": "^8.20.0",
"@wordpress/prettier-config": "^4.20.0",
"cosmiconfig": "^7.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-jest": "^27.4.3",
"eslint-plugin-jsdoc": "^46.4.6",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-playwright": "^0.15.3",
@ -5806,7 +5806,7 @@
"@babel/core": ">=7",
"eslint": ">=8",
"prettier": ">=3",
"typescript": ">=4"
"typescript": ">=5"
},
"peerDependenciesMeta": {
"prettier": {
@ -6103,9 +6103,9 @@
}
},
"node_modules/@wordpress/prettier-config": {
"version": "4.11.0",
"resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-4.11.0.tgz",
"integrity": "sha512-Aoc8+xWOyiXekodjaEjS44z85XK877LzHZqsQuhC0kNgneDLrKkwI5qNgzwzAMbJ9jI58MPqVISCOX0bDLUPbw==",
"version": "4.20.0",
"resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-4.20.0.tgz",
"integrity": "sha512-YucOkFoglNTe96CcmorzmFVX94r+mEjXQZZWkZgLwq8dvdeRM3UO39+dETYAfo8HZ4BYx6KfpREIV7tZ8PDHmQ==",
"dev": true,
"engines": {
"node": ">=18.12.0",
@ -6373,9 +6373,9 @@
}
},
"node_modules/@wordpress/warning": {
"version": "3.11.0",
"resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.11.0.tgz",
"integrity": "sha512-tXCsxlMAYXbRCgZmVHsBkoBGnrytZPGGezGXANRTsyJ00QoQJgxvnH6u22Rs/NOIVHQ5o65/9jKC3g0e6qn7PA==",
"version": "3.20.0",
"resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.20.0.tgz",
"integrity": "sha512-IQRvlWwNWO6kncZ/qQEX/KCvsrm/0FIcuCXrTXlGP4OslRG7XtU9xs2lOP34Y6G3onMwhpD8mXFUK7udq305EQ==",
"engines": {
"node": ">=18.12.0",
"npm": ">=8.19.2"

View file

@ -8,7 +8,9 @@
"scripts": {
"build": "wp-scripts build",
"format": "wp-scripts format",
"format:src": "wp-scripts format ./src",
"lint:css": "wp-scripts lint-style",
"lint:css:fix": "wp-scripts lint-style --fix",
"lint:js": "wp-scripts lint-js",
"lint:js:fix": "wp-scripts lint-js --fix",
"packages-update": "wp-scripts packages-update",