Add @wordpress/data to package.json

I use it for the useSelect in BlockEditor, to get the styles.
This commit is contained in:
jordi fita mas 2024-06-14 19:40:49 +02:00
parent 26e3268579
commit bb9748b2cc
2 changed files with 3 additions and 1 deletions

3
package-lock.json generated
View File

@ -12,9 +12,10 @@
"@wordpress/block-editor": "13.0.0", "@wordpress/block-editor": "13.0.0",
"@wordpress/block-library": "9.0.0", "@wordpress/block-library": "9.0.0",
"@wordpress/components": "28.0.0", "@wordpress/components": "28.0.0",
"@wordpress/data": "^10.0.0",
"@wordpress/element": "6.0.0", "@wordpress/element": "6.0.0",
"@wordpress/format-library": "5.0.0", "@wordpress/format-library": "5.0.0",
"@wordpress/interface": "^6.0.0" "@wordpress/interface": "6.0.0"
}, },
"devDependencies": { "devDependencies": {
"@vitejs/plugin-react": "^4.3.1", "@vitejs/plugin-react": "^4.3.1",

View File

@ -14,6 +14,7 @@
"@wordpress/block-editor": "13.0.0", "@wordpress/block-editor": "13.0.0",
"@wordpress/block-library": "9.0.0", "@wordpress/block-library": "9.0.0",
"@wordpress/components": "28.0.0", "@wordpress/components": "28.0.0",
"@wordpress/data": "^10.0.0",
"@wordpress/element": "6.0.0", "@wordpress/element": "6.0.0",
"@wordpress/format-library": "5.0.0", "@wordpress/format-library": "5.0.0",
"@wordpress/interface": "6.0.0" "@wordpress/interface": "6.0.0"