Code boilerplates for our projects, powered by Magicspace.
npm install --global magicspace @mufan/code-boilerplates
Create magicspace configuration file with magicspace create
command.
magicspace create @mufan/code-boilerplates/typescript
Select an example and review/edit the configuration options.
Options are defined by boilerplates.
Initialize the repository and make initial commit if you have not:
git init
touch README.md
git add README.md
git commit --message "Initial commit"
magicspace init
You can use magicspace to initialize an existing project, just expect more conflicts to resolve.
Review changes, resolve conflicts (if any) and commit the merge.
Update installed boilerplates:
npm install --global makeflow/mufan-code-boilerplates
Update magicspace:
magicspace update
Review changes, resolve conflicts (if any) and commit the merge.
MIT License.