@tonk/create
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

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 configuration

Usage

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

  1. Clone the repository
  2. Install dependencies: npm install
  3. Build the package: npm run build
  4. Link for local testing: npm link

Testing

Run npm test to execute the test suite.

License

Simplicity and freedom.

MIT © Tonk

Package Sidebar

Install

npm i @tonk/create

Weekly Downloads

0

Version

0.1.4

License

MIT

Unpacked Size

134 kB

Total Files

43

Last publish

Collaborators

  • tonk-labs
  • goblin_oats
  • jackddouglas