Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Upgrade @wordpress/scripts to the latest version #87

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions 01-basic-esnext/build/index.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'bc0d337c3714060dec26326dc5e9ad05');
1 change: 0 additions & 1 deletion 01-basic-esnext/build/index.deps.json

This file was deleted.

2 changes: 1 addition & 1 deletion 01-basic-esnext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "GPL-2.0-or-later",
"main": "build/index.js",
"devDependencies": {
"@wordpress/scripts": "^3.4.0"
"@wordpress/scripts": "^5.0.0"
},
"scripts": {
"start": "wp-scripts start",
Expand Down
1 change: 0 additions & 1 deletion 01-basic-esnext/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global wp */
const { __ } = wp.i18n;
const { registerBlockType } = wp.blocks;

Expand Down
1 change: 1 addition & 0 deletions 03-editable-esnext/build/index.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'eab824cf46695adc6fd8fa6d4cd1a364');
1 change: 0 additions & 1 deletion 03-editable-esnext/build/index.deps.json

This file was deleted.

2 changes: 1 addition & 1 deletion 03-editable-esnext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "GPL-2.0-or-later",
"main": "build/index.js",
"devDependencies": {
"@wordpress/scripts": "^3.4.0"
"@wordpress/scripts": "^5.0.0"
},
"scripts": {
"start": "wp-scripts start",
Expand Down
1 change: 0 additions & 1 deletion 03-editable-esnext/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global wp */
const { __ } = wp.i18n;
const { registerBlockType } = wp.blocks;
const { RichText } = wp.editor;
Expand Down
1 change: 1 addition & 0 deletions 04-controls-esnext/build/index.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'ce5450bf3cd72d7101c8f1209c2b6c9b');
1 change: 0 additions & 1 deletion 04-controls-esnext/build/index.deps.json

This file was deleted.

2 changes: 1 addition & 1 deletion 04-controls-esnext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "GPL-2.0-or-later",
"main": "build/index.js",
"devDependencies": {
"@wordpress/scripts": "^3.4.0"
"@wordpress/scripts": "^5.0.0"
},
"scripts": {
"start": "wp-scripts start",
Expand Down
1 change: 0 additions & 1 deletion 04-controls-esnext/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global wp */
const { __ } = wp.i18n;
const {
registerBlockType,
Expand Down
1 change: 1 addition & 0 deletions 05-recipe-card-esnext/build/index.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'a60f5a048970eae32a261c8ac4754158');
1 change: 0 additions & 1 deletion 05-recipe-card-esnext/build/index.deps.json

This file was deleted.

2 changes: 1 addition & 1 deletion 05-recipe-card-esnext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "GPL-2.0-or-later",
"main": "build/index.js",
"devDependencies": {
"@wordpress/scripts": "^3.4.0"
"@wordpress/scripts": "^5.0.0"
},
"scripts": {
"start": "wp-scripts start",
Expand Down
1 change: 0 additions & 1 deletion 05-recipe-card-esnext/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global wp */
const { __ } = wp.i18n;
const {
registerBlockType,
Expand Down