@goatlab/ts-package-template
v0.6.0
Published
Readable query Interface & API generator for TS and Node
Readme
@goatlab/ts-package-template
A TypeScript package template for creating new packages in the Goat Fluent monorepo. This template provides a pre-configured setup with TypeScript, Jest, ESLint, and automated release workflows.
Using this Template
Copy the
base_projectdirectory to a new package:cp -r packages/base_project packages/your-package-nameUpdate
package.json:- Change the
namefield to your package name (e.g.,@goatlab/your-package) - Update the
descriptionfield - Remove or update dependencies as needed
- Change the
Start developing in the
src/directory
What's Included
- TypeScript configuration extending
@goatlab/tsconfig - Jest setup for testing with ts-jest
- ESLint for code linting
- Prettier for code formatting
- Commitizen for conventional commits
- Release-it for automated releases
- Auto-changelog generation
- Pre-configured build scripts
Commands
# Development
pnpm dev # Watch mode compilation
pnpm build # Build the package
pnpm test # Run tests
pnpm lint # Run ESLint
pnpm format # Format code with Prettier
# Release
pnpm release:patch # Release patch version
pnpm release:minor # Release minor version
pnpm release:major # Release major version