Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tigawanna/bonita
nodejs CLI tool for javascript frontends
https://github.com/tigawanna/bonita
clack commander tanstack tsup
Last synced: 2 days ago
JSON representation
nodejs CLI tool for javascript frontends
- Host: GitHub
- URL: https://github.com/tigawanna/bonita
- Owner: tigawanna
- License: mit
- Created: 2023-09-17T15:46:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-06T01:59:45.000Z (11 months ago)
- Last Synced: 2024-11-03T23:35:16.442Z (10 days ago)
- Topics: clack, commander, tanstack, tsup
- Language: TypeScript
- Homepage:
- Size: 298 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# BONITA CLI
Ultimate CLI tool for frontend frameworks
run
```sh
npx/pnpm dlx/yarn bonita [add] or [page]
```
you can also add it asadev dependancy```sh
npm i -D bonita
yarn add -D bonita
pnpm i -D bonita
```## commands
### bonita add
- Adding tailwind
```sh
npx bonita add tailwind
yarn bonita add tailwind
pnpm dlx bonita add tailwind
```This command currently works for
- tailwind
- pandacss
- tanstackCurrently supported frameworks:
### React
- Vite SPA
- Next.js
- Redwood
- Rakkasjsrunning
```sh
bonita add tanstack
```
In Nextjs or rakkas will only add tanstack query ,and will add query + router in vite SPA### bonita gen
sub commands
- route : generate a route , which will create boilerplate for
- The route directory
- a layout file
- a route file
- a dynamic route file```sh
bonita gen route Route1 Route2
```example
```sh
pnpm bonita gen route user about
```
to generate the user and about routes- model: 🚧
### bonita create 🚧
Currentlt only supports rakkasjs
- Rakkasjs will pull in a [trpc + prisma + tailwind + typescript template](https://github.com/tigawanna/trpc-rakkas.git) for now , fine grained choice might be added later