@wordpress/create-block 4.17.0 → 4.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/templates.js +1 -1
- package/package.json +3 -3
package/lib/templates.js
CHANGED
|
@@ -220,7 +220,7 @@ const getPluginTemplate = async ( templateName ) => {
|
|
|
220
220
|
const getDefaultValues = ( pluginTemplate, variant ) => {
|
|
221
221
|
return {
|
|
222
222
|
$schema: 'https://schemas.wp.org/trunk/block.json',
|
|
223
|
-
apiVersion:
|
|
223
|
+
apiVersion: 3,
|
|
224
224
|
namespace: 'create-block',
|
|
225
225
|
category: 'widgets',
|
|
226
226
|
author: 'The WordPress Contributors',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/create-block",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.19.0",
|
|
4
4
|
"description": "Generates PHP, JS and CSS code for registering a block for a WordPress plugin.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"wp-create-block": "./index.js"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@wordpress/lazy-import": "^1.
|
|
34
|
+
"@wordpress/lazy-import": "^1.22.0",
|
|
35
35
|
"chalk": "^4.0.0",
|
|
36
36
|
"change-case": "^4.1.2",
|
|
37
37
|
"check-node-version": "^4.1.0",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "a92f606309b1541b834ff9b0a76ed2a466fc45ed"
|
|
52
52
|
}
|