Custom components and utilities for Svelte and TailwindCSS (DaisyUI)
bun add ctw-kit
# or
npm install ctw-kit
Clone the repository
git clone https://github.com/ctwhome/ctw-kit.git
cd ctw-kit
Install dependencies
bun install
Start development server
bun run dev
Build the package
bun run build
This package uses fully automated releases. Push your changes to main using Conventional Commits format:
# Features (minor version bump)
git commit -m "feat: add new component"
# Bug fixes (patch version bump)
git commit -m "fix: resolve styling issue"
# Breaking changes (major version bump)
git commit -m "feat!: redesign API"
git push origin main
The automation will:
Everything happens automatically in the correct order - no manual steps needed after the initial setup.
You'll need to set up two tokens in your repository's secrets (Settings → Secrets and variables → Actions):
PAT_TOKEN
: A GitHub Personal Access Token with repo permissions
repo
(full control of private repositories)PAT_TOKEN
NPM_TOKEN
: An npm automation token
NPM_TOKEN
After setting up these tokens, the automation will handle everything else - just push your changes to main using conventional commits.
MIT