@tonk/create
v0.5.2
Published
Bootstrap apps on the Tonk stack
Readme
create
Bootstraps your Tonk app; Tonk apps are local-first personal software built to be maximally interoperable.
Structure of a Tonk application
my-app/
├── src/
│ ├── components/ # Reusable UI components
│ ├── modules/ # Any other functionality
│ ├── stores/ # State management
│ ├── views/ # Page components
│ ├── App.tsx # Root component
│ └── index.tsx # Entry point
├── public/ # Static assets
└── package.json # Project configurationUsage
The CLI requires:
- Node.js >= 18
npx @tonk/create [app name]The CLI will guide you through the project creation process with interactive prompts for:
- Project name
- Project type
- Platform selection
- Project description
Development
- Clone the repository
- Install dependencies:
pnpm install - Build the package:
pnpm build - Link for local testing:
npm link
Testing
Run pnpm test to execute the test suite.
License
Simplicity and freedom.
MIT © Tonk
