Skip to content

Commit

Permalink
Migrate to wp-scripts from cgb-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jrtashjian committed Jan 13, 2020
1 parent 096090f commit 4ac97ac
Show file tree
Hide file tree
Showing 10 changed files with 8,975 additions and 3,316 deletions.
1 change: 1 addition & 0 deletions build/index.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '8e95c3fd14a1229831b46eb258fc9b05');
1 change: 1 addition & 0 deletions build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/blocks.build.js

This file was deleted.

Empty file removed dist/blocks.editor.build.css
Empty file.
Empty file removed dist/blocks.style.build.css
Empty file.
12,253 changes: 8,959 additions & 3,294 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 14 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{
"name": "sbb-ghostwriter-cgb-guten-block",
"version": "1.0.1",
"private": true,
"scripts": {
"start": "cgb-scripts start",
"build": "cgb-scripts build",
"eject": "cgb-scripts eject"
},
"dependencies": {
"cgb-scripts": "1.9.8",
"typed.js": "^2.0.9"
}
"private": true,
"scripts": {
"build": "wp-scripts build",
"env": "wp-scripts env"
},
"devDependencies": {
"@wordpress/scripts": "^6.1.1",
"typed.js": "^2.0.11"
},
"wp-env": {
"plugin-dir": "sbb-ghostwriter",
"plugin-name": "Ghostwriter",
"welcome-build-command": "npm run build"
}
}
5 changes: 0 additions & 5 deletions src/common.scss

This file was deleted.

3 changes: 0 additions & 3 deletions src/editor.scss

This file was deleted.

1 change: 0 additions & 1 deletion src/blocks.js → src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import './editor.scss';

const { __ } = wp.i18n;
const { registerBlockStyle } = wp.blocks;
Expand Down

0 comments on commit 4ac97ac

Please sign in to comment.