@wordpress/create-block 4.97.2-next.v.202609031004.0 → 4.98.1-next.v.202609171837.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/README.md CHANGED
@@ -18,7 +18,7 @@ $ npm start
18
18
 
19
19
  The `slug` provided (`todo-list` in the example) defines the folder name for the scaffolded plugin and the internal block name. The WordPress plugin generated must [be installed manually](https://wordpress.org/documentation/article/manage-plugins/#manual-plugin-installation-1).
20
20
 
21
- _(requires `node` version `20.10.0` or above, and `npm` version `10.2.3` or above)_
21
+ _(requires `node` version `20.10.0` or above)_
22
22
 
23
23
  > [Watch a video introduction to create-block on Learn.wordpress.org](https://learn.wordpress.org/tutorial/using-the-create-block-tool/)
24
24
 
package/lib/index.js CHANGED
@@ -181,7 +181,7 @@ program
181
181
  ],
182
182
  variant,
183
183
  optionsValues
184
- )
184
+ )
185
185
  : {};
186
186
 
187
187
  await scaffold( projectTemplate, {
package/lib/scaffold.js CHANGED
@@ -262,7 +262,7 @@ module.exports = async (
262
262
  info( '' );
263
263
  info( 'You can start WordPress with:' );
264
264
  info( '' );
265
- code( ' $ npx wp-env start' );
265
+ code( ' $ npm run env start' );
266
266
  }
267
267
  info( '' );
268
268
  info( 'Code is Poetry' );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/create-block",
3
- "version": "4.97.2-next.v.202609031004.0",
3
+ "version": "4.98.1-next.v.202609171837.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",
@@ -20,8 +20,7 @@
20
20
  "url": "https://github.com/WordPress/gutenberg/issues"
21
21
  },
22
22
  "engines": {
23
- "node": ">=20.10.0",
24
- "npm": ">=10.2.3"
23
+ "node": ">=20.10.0"
25
24
  },
26
25
  "files": [
27
26
  "lib"
@@ -53,5 +52,5 @@
53
52
  "publishConfig": {
54
53
  "access": "public"
55
54
  },
56
- "gitHead": "7275d6c6d93b542fca3cd98cdb9c7344ddd11e19"
55
+ "gitHead": "7fc9f6676debc888d2f071d17cb71837040d4b48"
57
56
  }