@wordpress/create-block 2.7.0 → 2.7.2-next.33ec3857e2.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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/lib/templates.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 2.7.1-next.0 (2021-12-20)
|
|
6
|
+
|
|
7
|
+
### Internal
|
|
8
|
+
|
|
9
|
+
- The bundled `npm-package-arg` dependency has been updated from requiring `^8.0.1` to requiring `^8.1.5` ([#37395](https://github.com/WordPress/gutenberg/pull/37395)).
|
|
10
|
+
|
|
5
11
|
## 2.7.0 (2021-11-07)
|
|
6
12
|
|
|
7
13
|
### New Features
|
package/README.md
CHANGED
|
@@ -177,7 +177,7 @@ module.exports = {
|
|
|
177
177
|
|
|
178
178
|
The following configurable variables are used with the template files. Template authors can change default values to use when users don't provide their data:
|
|
179
179
|
|
|
180
|
-
- `$schema` (default: `https://
|
|
180
|
+
- `$schema` (default: `https://schemas.wp.org/trunk/block.json`)
|
|
181
181
|
- `apiVersion` (default: `2`) - see https://make.wordpress.org/core/2020/11/18/block-api-version-2/.
|
|
182
182
|
- `slug` (no default)
|
|
183
183
|
- `namespace` (default: `'create-block'`)
|
package/lib/templates.js
CHANGED
|
@@ -185,7 +185,7 @@ const getBlockTemplate = async ( templateName ) => {
|
|
|
185
185
|
|
|
186
186
|
const getDefaultValues = ( blockTemplate ) => {
|
|
187
187
|
return {
|
|
188
|
-
$schema: 'https://
|
|
188
|
+
$schema: 'https://schemas.wp.org/trunk/block.json',
|
|
189
189
|
apiVersion: 2,
|
|
190
190
|
namespace: 'create-block',
|
|
191
191
|
category: 'widgets',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/create-block",
|
|
3
|
-
"version": "2.7.0",
|
|
3
|
+
"version": "2.7.2-next.33ec3857e2.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,22 +31,22 @@
|
|
|
31
31
|
"wp-create-block": "./index.js"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@wordpress/lazy-import": "^1.3.
|
|
34
|
+
"@wordpress/lazy-import": "^1.3.4-next.33ec3857e2.0",
|
|
35
35
|
"chalk": "^4.0.0",
|
|
36
36
|
"check-node-version": "^4.1.0",
|
|
37
37
|
"commander": "^4.1.0",
|
|
38
38
|
"execa": "^4.0.2",
|
|
39
|
-
"fast-glob": "^
|
|
39
|
+
"fast-glob": "^3.2.7",
|
|
40
40
|
"inquirer": "^7.1.0",
|
|
41
41
|
"lodash": "^4.17.21",
|
|
42
42
|
"make-dir": "^3.0.0",
|
|
43
43
|
"mustache": "^4.0.0",
|
|
44
|
-
"npm-package-arg": "^8.
|
|
44
|
+
"npm-package-arg": "^8.1.5",
|
|
45
45
|
"rimraf": "^3.0.2",
|
|
46
46
|
"write-pkg": "^4.0.0"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "51c7917ea7fac72953702f24d6daac87d99e7617"
|
|
52
52
|
}
|