@noaignite/create-app
v0.12.0
Published
Scaffold NoA Ignite templates within a turborepo project
Downloads
80
Readme
@noaignite/create-app
Initializes a prompt-based setup process to scaffold specific templates within a turborepo project. It guides users through selecting templates, handling file overwrites, and running associated commands.
The function:
Displays the CLI help message when run with the
--helpor-hflag.Prompts the user for the root directory of the turborepo, and checks for the presence of the
turbo.jsonfile.Allows the user to select from predefined templates to install.
Handles file overwrites based on user choice.
Copies the template files into the designated directories and executes any custom commands defined in the templates.
Installs project dependencies.
@throws Error if a required file is missing, no templates are selected, or the operation is cancelled.
Usage
Install the package in your project directory with:
// with pnpm (recommended)
pnpm dlx @noaignite/create-app
// with yarn
yarn dlx @noaignite/create-app
// with npm
npx @noaignite/create-appDocumentation
Visit https://noaignite.dev to view the full documentation.
