Create a new project based on the mkstack template
npm install create-mkstackA simple utility to create a new project based on the
mkstack template.
You can run it directly with npx:
``bashInteractive mode (prompts for directory name)
npm create mkstackor
npx create-mkstack
What it does
This utility:
1. Downloads and extracts the mkstack template (from
https://gitlab.com/soapbox-pub/mkstack/-/archive/main/mkstack.tar) without
requiring git to be installed
2. Initializes a new git repository inside the project (if git is available)
3. Creates an initial commit with all the template files (if git is available)
Options
You can use the following options:
1. Directory Name - Provide the project directory as a command line
argument:
`bash
npx create-mkstack my-project
`2. -y or --yes Flag - Skip confirmation when overwriting an existing
directory:
`bash
# Skip confirmation for directory overwrite
npx create-mkstack my-project -y
# or
npx create-mkstack my-project --yes
``If no directory argument is provided, you'll be prompted for:
- Project directory name: The name of the directory where the project will be
created
Node.js 14.0.0 or newer
Git is optional - the utility will initialize a git repository if git is
available on your system, but will work without it.
MIT