create-petal
TypeScript icon, indicating that this package has built-in type declarations

3.2.1 • Public • Published

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.

Package Sidebar

Install

npm i create-petal

Weekly Downloads

245

Version

3.2.1

License

Apache-2.0

Unpacked Size

15.8 kB

Total Files

10

Last publish

Collaborators

  • pauliesnug