Explicitly declare @wordpress/element dependency

I am using it to create the editor element, and it is already pulled
by @automattic/isolated-block-editor, but IntelliJ complains that i do
not have it in **my** package.json.
This commit is contained in:
jordi fita mas 2023-06-11 02:09:07 +02:00
parent f612a49434
commit be41b01b0c
2 changed files with 23 additions and 0 deletions

22
package-lock.json generated
View File

@ -14,6 +14,7 @@
"@wordpress/block-library": "8.8.0",
"@wordpress/components": "23.8.0",
"@wordpress/edit-post": "7.8.0",
"@wordpress/element": "5.8.0",
"@wordpress/format-library": "4.8.0"
},
"devDependencies": {
@ -3255,6 +3256,17 @@
"node": ">=12"
}
},
"node_modules/@wordpress/element/node_modules/@wordpress/escape-html": {
"version": "2.35.0",
"resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-2.35.0.tgz",
"integrity": "sha512-tS/+pHBI3Yqkhy2hQ+dKlxm076ULCVa4hk0bgJFtdu0KejQ9wpC7vh/+i8bkv+OQZJx5B8v86872ccO2dKSciw==",
"dependencies": {
"@babel/runtime": "^7.16.0"
},
"engines": {
"node": ">=12"
}
},
"node_modules/@wordpress/escape-html": {
"version": "2.31.0",
"resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-2.31.0.tgz",
@ -9743,6 +9755,16 @@
"is-plain-object": "^5.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"dependencies": {
"@wordpress/escape-html": {
"version": "2.35.0",
"resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-2.35.0.tgz",
"integrity": "sha512-tS/+pHBI3Yqkhy2hQ+dKlxm076ULCVa4hk0bgJFtdu0KejQ9wpC7vh/+i8bkv+OQZJx5B8v86872ccO2dKSciw==",
"requires": {
"@babel/runtime": "^7.16.0"
}
}
}
},
"@wordpress/escape-html": {

View File

@ -10,6 +10,7 @@
"@wordpress/block-library": "8.8.0",
"@wordpress/components": "23.8.0",
"@wordpress/edit-post": "7.8.0",
"@wordpress/element": "5.8.0",
"@wordpress/format-library": "4.8.0"
},
"devDependencies": {