netcore-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 +2 -19
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,22 +1,5 @@
|
|
|
1
|
-
How to make a blueprint
|
|
2
|
-
1.
|
|
3
|
-
Ex: "name": "init-blueprint",
|
|
4
|
-
"bin": {
|
|
5
|
-
"init-blueprint": "create.js"
|
|
6
|
-
},
|
|
7
|
-
2. Copy the template into BlueprintTemplate. The template include:
|
|
8
|
-
- Basic files
|
|
9
|
-
- Add gitignore file and change it from .gitignore=> gitignore file
|
|
10
|
-
3. Add git to the blueprint, and change the root branch from master to main
|
|
11
|
-
- rm -rf .git
|
|
12
|
-
- Add git
|
|
13
|
-
- git branch -m master main
|
|
14
|
-
4. Create new repo in git
|
|
15
|
-
- Add environment variables into the git repo: Project > Settings > CI/CD > Variables
|
|
16
|
-
+ NPM_TOKEN: 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
|
|
17
|
-
+ PACKAGE_NAME: init-blueprint
|
|
18
|
-
- push the blueprint to main branch
|
|
19
|
-
5. Use the lib from npm:
|
|
1
|
+
How to make a blueprint
|
|
2
|
+
1. Use the lib from npm:
|
|
20
3
|
- npm uninstall -g netcore-blueprint
|
|
21
4
|
- npm install -g netcore-blueprint
|
|
22
5
|
- npm list -g netcore-blueprint
|