You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,7 @@ First of all, I'd like to welcome you for thinking about contributing to this pr
18
18
-`yarn create-guten-block demo-block`
19
19
- This will run `tasks/cgb.js` file
20
20
- Which will run `./packages/create-guten-block/index.js`
21
-
- Which in turns runs `./packages/create-guten-block/createGutenBlock.js`
22
-
- That runs these functions
23
-
-`createPluginDir()`
24
-
-`copyTemplateToPluginDir()`
25
-
-`npmInstallBuild`
26
-
- And your new block plugin called `demo-block` gets added at the root of this project.
21
+
- And your new block plugin called `demo-block` gets added at the root of this project (which you should delete after testing).
27
22
- Now go to `cd demo-block`
28
23
- Run `npm start` or `yarn start`
29
24
- This will compile your code in `dist` and you're good to go.
@@ -35,11 +30,15 @@ First of all, I'd like to welcome you for thinking about contributing to this pr
35
30
36
31
- Some issue with yarn not being able to publish via lerna
37
32
- Use yarn with everything else but lerna
38
-
- To publish always run via `npm` this command `npm run lerna`
33
+
- To publish always run via `npm` this command `npm run lerna` (Only for maintainers)
39
34
40
35
41
36
### π΅ Other Stuff
42
37
43
38
- Use `// @remove-file-on-eject` to do just that.
44
39
- Use `// @remove-on-eject-begin` to do just that.
45
-
- Use `// @remove-on-eject-end` to do just that.
40
+
- Use `// @remove-on-eject-end` to do just that.
41
+
42
+
### π Always use AA Git Commit Log Messages
43
+
44
+
What is that? I like emoji and I have invented a way to keep the git log clean and simple. Read this [AA Git Commit Log](https://gist.github.com/ahmadawais/815ea20134cf4616a6b2a965eb08f716) to learn more.
0 commit comments