@appeel.io/create-project
Templates
Check the README's of following supported templates:
Installation & Usage
npm init @appeel.io/create-project
# or
npx @appeel.io/create-project
Examples of usage
-
create-project my-app
: will ask you some questions and create a new project inmy-app
folder. -
create-project -y
: will ask you no questions and install the project in current directory using defaults:- GIT: true (will init GIT and create initial commit)
- Template: nuxt-storyblok
-
create-project my-app --install --template <name>
: will ask you some questions and create a new project inmy-app
folder, with the chosen template (if available) and will install your node_modules automatically.
Contribution guide
Local development
To try this Node cli package locally:
- npm install
- npm run try
This will run npm link
(to install the package locally) and execute create-project tmp
in this repo. (this tmp project is GIT-ignored).
Feel free to run create-project
anywhere you want. Make sure to always run npm link
in this repo to update the local package.
Usefull resources
- https://dev.to/kouts/automated-versioning-and-package-publishing-using-github-actions-and-semantic-release-1kce
- https://www.twilio.com/blog/how-to-build-a-cli-with-node-js
License
MIT