Create DeepStructure App
You can create a DeepStructure application using create-deepstructure-app
.
Interactive
You can create a new project interactively by running:
npx create-deepstructure-app@latest
yarn create deepstructure-app
pnpm create deepstructure-app
bunx create-deepstructure-app
You will be asked for the name of your project, and then whether you want to
create a TypeScript project:
✔ Would you like to use TypeScript? … No / Yes
Select Yes to install the necessary types/dependencies and create a new TS project.
Non-interactive
You can also pass command line arguments to set up a new project
non-interactively. See create-deepstructure-app --help
:
create-deepstructure-app <project-directory> [options]
Options:
-V, --version output the version number
--ts, --typescript
Initialize as a TypeScript project. (default)
--js, --javascript
Initialize as a JavaScript project.
--use-npm
Explicitly tell the CLI to bootstrap the app using npm
--use-pnpm
Explicitly tell the CLI to bootstrap the app using pnpm
--use-yarn
Explicitly tell the CLI to bootstrap the app using Yarn
--use-bun
Explicitly tell the CLI to bootstrap the app using Bun