Skip to content

Commit 93f11d7

Browse files
author
Ahmad Awais
committed
👌 IMPROVE: Add Description/Author/Keywords
1 parent 4cf851b commit 93f11d7

7 files changed

Lines changed: 87 additions & 10 deletions

File tree

‎packages/babel-preset-cgb/package.json‎

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,29 @@
44
"description": "Babel preset used by Create Guten Block",
55
"repository": "ahmadawais/create-guten-block",
66
"license": "MIT",
7+
"keywords": [
8+
"gutenberg",
9+
"create-gutenberg-block",
10+
"create-gutenberg-blocks",
11+
"wp",
12+
"wordpress",
13+
"cgb",
14+
"wp webpack",
15+
"react",
16+
"ESLint",
17+
"Webpack",
18+
"wp-scripts",
19+
"cgb-scripts",
20+
"guten-scripts",
21+
"babel",
22+
"cgb-dev-utils",
23+
"babel-preset-cgb"
24+
],
25+
"author": "Ahmad Awais (https://AhmadAwais.com/)",
726
"bugs": {
827
"url": "https://github.com/ahmadawais/create-guten-block/issues"
928
},
10-
"files": [
11-
"index.js"
12-
],
29+
"files": ["index.js"],
1330
"dependencies": {
1431
"babel-plugin-transform-class-properties": "6.24.1",
1532
"babel-plugin-transform-object-rest-spread": "^6.26.0",
@@ -18,4 +35,4 @@
1835
"babel-preset-env": "^1.6.0",
1936
"update-notifier": "^2.3.0"
2037
}
21-
}
38+
}

‎packages/cgb-dev-utils/package.json‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@
33
"version": "1.1.1",
44
"description": "Webpack utilities used by Create Guten Blocks",
55
"repository": "ahmadawais/create-guten-block",
6+
"keywords": [
7+
"gutenberg",
8+
"create-gutenberg-block",
9+
"create-gutenberg-blocks",
10+
"wp",
11+
"wordpress",
12+
"cgb",
13+
"wp webpack",
14+
"react",
15+
"ESLint",
16+
"Webpack",
17+
"wp-scripts",
18+
"cgb-scripts",
19+
"guten-scripts",
20+
"babel",
21+
"cgb-dev-utils",
22+
"babel-preset-cgb"
23+
],
24+
"author": "Ahmad Awais (https://AhmadAwais.com/)",
625
"license": "MIT",
726
"bugs": {
827
"url": "https://github.com/ahmadawais/create-guten-block/issues"

‎packages/cgb-scripts/package.json‎

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,28 @@
11
{
22
"name": "cgb-scripts",
33
"version": "1.2.1",
4-
"description": "Configuration and scripts for Create Guten Blocks.",
4+
"description":
5+
"Configuration and scripts for Create Guten Blocks which help you create a WordPress Gutenberg Block plugin with Zero-Config #OCJS, Webpack, React, ES6/7/8/Next, ESLint, Babel, etc.",
56
"repository": "ahmadawais/create-guten-block",
7+
"keywords": [
8+
"gutenberg",
9+
"create-gutenberg-block",
10+
"create-gutenberg-blocks",
11+
"wp",
12+
"wordpress",
13+
"cgb",
14+
"wp webpack",
15+
"react",
16+
"ESLint",
17+
"Webpack",
18+
"wp-scripts",
19+
"cgb-scripts",
20+
"guten-scripts",
21+
"babel",
22+
"cgb-dev-utils",
23+
"babel-preset-cgb"
24+
],
25+
"author": "Ahmad Awais (https://AhmadAwais.com/)",
626
"license": "MIT",
727
"bugs": {
828
"url": "https://github.com/ahmadawais/create-guten-block/issues"

‎packages/cgb-scripts/scripts/init.js‎

Whitespace-only changes.

‎packages/create-guten-block/createGutenBlock.js‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ let projectName;
1919
// Commander.js program.
2020
const program = new commander.Command( packageJson.name )
2121
.version( packageJson.version, '-v, --version' )
22+
.description(
23+
`CGB ${ chalk.dim(
24+
'(create-guten-block)'
25+
) } is a Zero-Config #OCJS for builing WordPress Gutenberg Blocks.`
26+
)
2227
.arguments( '<block-name>' )
2328
.usage( `${ chalk.green( '<block-name>' ) }` )
2429
.action( name => {
@@ -279,7 +284,9 @@ clearConsole();
279284

280285
// Update notifier.
281286
const updateNotifier = require( 'update-notifier' );
282-
updateNotifier( { packageJson } ).notify();
287+
updateNotifier( {
288+
packageJson,
289+
} ).notify();
283290

284291
// Run the CLI.
285292
run();

‎packages/create-guten-block/package.json‎

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
11
{
22
"name": "create-guten-block",
33
"version": "1.7.0",
4-
"description": "Create a gutenberg block plugin on the go.",
4+
"description":
5+
"Create a WordPress Gutenberg Block plugin with Zero-Config #OCJS, Webpack, React, ES6/7/8/Next, ESLint, Babel, etc.",
56
"main": "index.js",
67
"keywords": [
78
"gutenberg",
89
"create-gutenberg-block",
9-
"wordpress"
10+
"create-gutenberg-blocks",
11+
"wp",
12+
"wordpress",
13+
"cgb",
14+
"wp webpack",
15+
"react",
16+
"ESLint",
17+
"Webpack",
18+
"wp-scripts",
19+
"cgb-scripts",
20+
"guten-scripts",
21+
"babel",
22+
"cgb-dev-utils",
23+
"babel-preset-cgb"
1024
],
11-
"author": "AhmadAwais",
25+
"author": "Ahmad Awais (https://AhmadAwais.com/)",
1226
"license": "MIT",
1327
"repository": {
1428
"type": "git",

‎yarn.lock‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ command-join@^2.0.0:
12031203
version "2.0.0"
12041204
resolved "https://registry.yarnpkg.com/command-join/-/command-join-2.0.0.tgz#52e8b984f4872d952ff1bdc8b98397d27c7144cf"
12051205

1206-
commander@^2.9.0:
1206+
commander@^2.13.0, commander@^2.9.0:
12071207
version "2.13.0"
12081208
resolved "https://registry.yarnpkg.com/commander/-/commander-2.13.0.tgz#6964bca67685df7c1f1430c584f07d7597885b9c"
12091209

0 commit comments

Comments
 (0)