Scaffold a new @coloop-ai TypeScript package from the template.
pnpm create @coloop-ai/package my-cool-lib "A really cool library"Or with npx:
npx @coloop-ai/create-package my-cool-lib "A really cool library"By default this only scaffolds a local package. No GitHub repository is created.
To also create the GitHub repository and push the initial commit, pass --remote:
pnpm create @coloop-ai/package my-cool-lib "A really cool library" --remote Genei-Ltd/my-cool-libThe repository is created public under the given owner/repo.
- pnpm
- git
With --remote, additionally:
- GitHub CLI (
gh auth login) - Write access to the target GitHub owner or org
- Clones the ts-package-template locally
- Replaces template placeholders with your package name, description, and repo
- Installs dependencies
- Builds the package (generates
exportsfield via tsdown) - Makes an initial commit
- With
--remote owner/repo: creates the GitHub repository and pushes
MIT