@wordpress/create-block 4.15.0 → 4.17.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.
@@ -1,4 +1,9 @@
1
1
  {{#isDynamicVariant}}
2
+ <?php
3
+ /**
4
+ * @see https://github.com/WordPress/gutenberg/blob/trunk/docs/reference-guides/block-api/block-metadata.md#render
5
+ */
6
+ ?>
2
7
  <p <?php echo get_block_wrapper_attributes(); ?>>
3
8
  <?php esc_html_e( '{{title}} – hello from a dynamic block!', '{{textdomain}}' ); ?>
4
9
  </p>
@@ -1,4 +1,9 @@
1
1
  {{#isDynamicVariant}}
2
+ <?php
3
+ /**
4
+ * @see https://github.com/WordPress/gutenberg/blob/trunk/docs/reference-guides/block-api/block-metadata.md#render
5
+ */
6
+ ?>
2
7
  <p <?php echo get_block_wrapper_attributes(); ?>>
3
8
  <?php esc_html_e( '{{title}} – hello from a dynamic block!', '{{textdomain}}' ); ?>
4
9
  </p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/create-block",
3
- "version": "4.15.0",
3
+ "version": "4.17.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.18.0",
34
+ "@wordpress/lazy-import": "^1.20.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": "d61700b9f1c72ba0b030fc815ef1685b4f4031ec"
51
+ "gitHead": "e936127e1e13881f1a940b7bd1593a9e500147f3"
52
52
  }