create-nube-app
v0.26.0
Published
Create Nube App
Readme
create-nube-app
CLI to quickly create NubeSDK applications.
About
create-nube-app is a command-line tool that allows you to create new NubeSDK applications with an optimized initial configuration. This tool automates the project setup process, including:
- Recommended directory structure
- TypeScript configuration
- Bundler configuration (tsup)
- Required dependencies
- Testing setup (Vitest)
- Linting and formatting (Biome)
- Basic code examples
Installation
With NPM:
npm create nube-app@latestWith Yarn:
yarn create nube-appWith PNPM:
pnpm create nube-appUsage
After running the command, you'll be guided through an interactive process:
- Choose the project name
- Select a template
- Initialize a git repository
Usage Example
$ npm create nube-app@latest
◆ What is the project's name?
│ my-nube-app
│
◆ Select a template:
│ ● Minimal
│ ○ Minimal with UI
│ ○ Minimal with UI in JSX
│
◇ Initialize git repository?
│ YesProject Structure
After creation, your project will have the following structure:
my-nube-app/
├── .vscode/
│ ├── extensions.json
│ └── settings.json
├── src/
│ ├── main.ts
│ └── main.test.ts
├── .gitignore
├── biome.json
├── package.json
├── README.md
├── tsconfig.json
├── tsup.config.js
└── vitest.config.tsAvailable Scripts
The created project includes the following scripts:
npm run build→ Builds the project using tsupnpm run dev→ Starts the project in development mode with hot reloading and source mapsnpm run test→ Runs tests with Vitestnpm run test:watch→ Runs tests in watch modenpm run test:coverage→ Runs tests with coverage reportnpm run lint→ Checks code with Biomenpm run format→ Formats code with Biome
Official Documentation
For more details about NubeSDK and how to build apps, check out our official documentation:
Support
- Questions? Use GitHub Issues.
- Found a bug? Open an issue with a reproducible example.
© Tiendanube / Nuvemshop, 2026. All rights reserved.
