init-blueprint
v0.0.5
Published
A custom project blueprint
Downloads
306
Readme
How to make a blueprint (Ex: python-blueprint)
- Change the name of the blueprint project in package.json file: Ex: "name": "python-blueprint", "bin": { "python-blueprint": "create.js" },
- Copy the template into BlueprintTemplate. The template include:
- Basic files
- Add gitignore file and change it from .gitignore=> gitignore file
- Add git to the blueprint, and change the root branch from master to main
- rm -rf .git
- Add git
- git branch -m master main
- Create new repo in git
- Add environment variables into the git repo: Project > Settings > CI/CD > Variables
- NPM_TOKEN: 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
- PACKAGE_NAME: python-blueprint
- push the blueprint to main branch
- Add environment variables into the git repo: Project > Settings > CI/CD > Variables
- Use the lib from npm:
- npm uninstall -g python-blueprint
- npm install -g python-blueprint
- npm list -g python-blueprint
- python-blueprint thmoney
