create-petal v3.1.0
create-petal
scaffolding for petal projects
with npm:
npm create petal@latest
with yarn:
yarn create petal
*with pnpm:
pnpm create petal
with bun:
bun create petal
create-petal
automatically runs in interactive mode, but you can also specify your project name and template with command line arguments.
# npm
npm create petal@latest my-petal-project -- --template minimal
# yarn
yarn create petal my-petal-project --template minimal
# pnpm
pnpm create petal my-petal-project --template minimal
# bun
bun create petal my-petal-project --template minimal
check out the full list of example templates, available on GitHub
you may also use any GitHub repository as a template:
npm create petal@latest my-petal-project -- --template pauliesnug/rust-turbo
cli flags
may be provided in place of prompts
| name | description |
| :--------------------------- | :----------------------------------------------------- |
| --help
(-h
) | display available flags. |
| --template <name>
| specify your template. |
| --install
/ --no-install
| install dependencies (or not). |
| --git
/ --no-git
| initialize git repo (or not). |
| --yes
(-y
) | skip all prompts by accepting defaults. |
| --no
(-n
) | skip all prompts by declining defaults. |
| --dry-run
| walk through steps without executing. |
| --skip-flower
| skip flower animations animation. |
| --ref
| specify a Petal branch (default: latest). |
| --fancy
| enable full Unicode support for Windows. |
| --typescript <option>
| typescript option: strict
/ strictest
/ relaxed
. |
3 days ago
11 days ago
12 days ago
12 days ago
20 days ago
26 days ago
29 days ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago