@younggglcy/create-npm-lib
v0.2.0
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
pnpm add -g @younggglcy/create-npm-libUsage
CLI Usage
# If it's installed globally
cnlOr just
pnpm dlx @younggglcy/create-npm-libSee full usage:
cnl -hGitHub Repo Setup
GitHub Actions serects are in need to make CI release pipeline work.
NPM_TOKENfor npm package publishing (Consider migrating to OIDC authentication in the future)
Features
- Rolldown as bundler
- Pnpm 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
TODO
- [ ] Monorepo architecture
License
MIT License © 2025-PRESENT younggglcy
