@younggglcy/create-npm-lib
v0.3.2
Published
younggglcy's custom CLI tool for creating a npm library with a starter template
Readme
@younggglcy/create-npm-lib
younggglcy's custom CLI tool for creating a npm library with a starter template
Screen Recording
TODO:
Installation
Optional: install globally
bun add -g @younggglcy/create-npm-libUsage
CLI Usage
# If it's installed globally
cnlOr just
bunx @younggglcy/create-npm-libSee full usage:
cnl -hGitHub Repo Setup
The CI release pipeline uses npm OIDC trusted publishing — no NPM_TOKEN secret needed. Configure trusted publishing on npmjs.com for your package to enable provenance-based publishing.
Features
- Rolldown as bundler
- Bun workspace integration
- TypeScript, of course
- CI workflows w/
- package size report for each pull request
- publish to npm with provenance
- semantic pull request check
- unit tests
- renovate that keeps your dependencies fresh
- Husky & lint-staged & antfu's eslint config preset
License
MIT License © 2025-PRESENT younggglcy
