Skip to content

Commit a0bfe3c

Browse files
author
Ahmad Awais
committed
πŸš€ RELEASE
1 parent f60a4b6 commit a0bfe3c

6 files changed

Lines changed: 23 additions & 10 deletions

File tree

β€ŽREADME.mdβ€Ž

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ You will see the build messages, errors, and lint warnings in the console.
142142

143143
There are just three scripts that you can use in your `create-guten-block` workflow. With these three scripts, you can develop, build, and eject your plugin.
144144

145-
146145
#### πŸ‘‰ `npm start`
147146
- Use to compile and run the block in development mode.
148147
- Watches for any changes and reports back any errors in your code.
@@ -157,9 +156,9 @@ There are just three scripts that you can use in your `create-guten-block` workf
157156
- It's a one-way street, `eject` and you have to maintain everything yourself.
158157
- You don't normally have to `eject` a project because by ejecting you lose the connection with `create-guten-block` and from there onwards you have to update and maintain all the dependencies on your own.
159158

160-
GIF or didn't happen? Sure!
159+
<!-- GIF or didn't happen? Sure!
161160
162-
![Entire workflow](http://on.ahmda.ws/oryf/cg)
161+
<img src="https://i.imgur.com/sNpw4AB.gif"/> -->
163162

164163
_That's about it._
165164

β€Žpackages/babel-preset-cgb/package.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "babel-preset-cgb",
3-
"version": "1.0.1",
3+
"version": "1.1.0",
44
"description": "Babel preset used by Create Guten Block",
55
"repository": "ahmadawais/create-guten-block",
66
"license": "MIT",

β€Žpackages/cgb-dev-utils/package.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cgb-dev-utils",
3-
"version": "1.0.1",
3+
"version": "1.1.0",
44
"description": "Webpack utilities used by Create Guten Blocks",
55
"repository": "ahmadawais/create-guten-block",
66
"license": "MIT",

β€Žpackages/cgb-scripts/package.jsonβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cgb-scripts",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "Configuration and scripts for Create Guten Blocks.",
55
"repository": "ahmadawais/create-guten-block",
66
"license": "MIT",
@@ -15,8 +15,8 @@
1515
"babel-core": "^6.25.0",
1616
"babel-eslint": "^8.2.1",
1717
"babel-loader": "^7.1.1",
18-
"babel-preset-cgb": "^1.0.1",
19-
"cgb-dev-utils": "^1.0.1",
18+
"babel-preset-cgb": "^1.1.0",
19+
"cgb-dev-utils": "^1.1.0",
2020
"chalk": "2.3.0",
2121
"cross-env": "^5.0.1",
2222
"cross-spawn": "^5.1.0",
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1+
This project was bootstrapped with [Create Guten Block](https://github.com/ahmadawais/create-guten-block).
12

2-
> **[WORK-IN-PROGRESS] Stricly, WIP at the moment. Do NOT use it or announce, share it anywhere until I remove this notice and release it to the public.**
3+
Below you will find some information on how to perform common tasks.<br>
4+
You can find the most recent version of this guide [here](https://github.com/ahmadawais/create-guten-block).
35

6+
## πŸ‘‰ `npm start`
7+
- Use to compile and run the block in development mode.
8+
- Watches for any changes and reports back any errors in your code.
49

10+
## πŸ‘‰ `npm run build`
11+
- Use to build production code for your block inside `dist` folder.
12+
- Runs once and reports back the gzip file sizes of the produced code.
13+
14+
## πŸ‘‰ `npm run eject`
15+
- Use to eject your plugin out of `create-guten-block`.
16+
- Provides all the configurations so you can customize the project as you want.
17+
- It's a one-way street, `eject` and you have to maintain everything yourself.
18+
- You don't normally have to `eject` a project because by ejecting you lose the connection with `create-guten-block` and from there onwards you have to update and maintain all the dependencies on your own.

β€Žpackages/create-guten-block/package.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-guten-block",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"description": "Create a gutenberg block plugin on the go.",
55
"main": "index.js",
66
"keywords": [

0 commit comments

Comments
Β (0)