Contribute
We welcome contributions! This monorepo includes both the CLI and the website. Follow the steps below to get set up.
Development setup
Section titled “Development setup”-
Clone the repository
Terminal window git clone https://github.com/saif-shines/hacksmith.gitcd hacksmith -
Install dependencies
Terminal window pnpm install -
Common workflows
Terminal window # Build everythingpnpm build:all# Website development (Starlight/Astro)pnpm site:dev# CLI developmentpnpm --filter hacksmith dev# or watch/buildpnpm --filter hacksmith build:watch -
Adding dependencies
Terminal window # Add to CLI onlypnpm --filter hacksmith add <package># Add to website onlypnpm --filter @hacksmith/website add <package># Add dev dependency to all workspacespnpm -r add -D <package> -
Commit conventions
We use Conventional Commits enforced by commitlint. Prettier and ESLint run via pre-commit hooks.