init-blueprint 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
How to make a blueprint (Ex:
|
|
1
|
+
How to make a blueprint (Ex: init-blueprint)
|
|
2
2
|
1. Change the name of the blueprint project in package.json file:
|
|
3
|
-
Ex: "name": "
|
|
3
|
+
Ex: "name": "init-blueprint",
|
|
4
4
|
"bin": {
|
|
5
|
-
"
|
|
5
|
+
"init-blueprint": "create.js"
|
|
6
6
|
},
|
|
7
7
|
2. Copy the template into BlueprintTemplate. The template include:
|
|
8
8
|
- Basic files
|
|
@@ -14,10 +14,10 @@ How to make a blueprint (Ex: python-blueprint)
|
|
|
14
14
|
4. Create new repo in git
|
|
15
15
|
- Add environment variables into the git repo: Project > Settings > CI/CD > Variables
|
|
16
16
|
+ NPM_TOKEN: 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
|
|
17
|
-
+ PACKAGE_NAME:
|
|
17
|
+
+ PACKAGE_NAME: init-blueprint
|
|
18
18
|
- push the blueprint to main branch
|
|
19
19
|
5. Use the lib from npm:
|
|
20
|
-
- npm uninstall -g
|
|
21
|
-
- npm install -g
|
|
22
|
-
- npm list -g
|
|
23
|
-
-
|
|
20
|
+
- npm uninstall -g init-blueprint
|
|
21
|
+
- npm install -g init-blueprint
|
|
22
|
+
- npm list -g init-blueprint
|
|
23
|
+
- init-blueprint netweb
|