- Search
pkg-placeholder
and replace it with your custom package name. - Search
u3u
and replace it with your name.
- Package manager pnpm, fast and awesome!
- Bundle with tsup, supports both
cjs
andesm
formats at the same time - Test with vitest
- Use the
link:
symlink to oneself for testing - Use GitHub action to generate changelog and automatically publish to NPM
You need to add NPM_TOKEN
to the secrets variable of your repository first, and then you can run npx bumpp
to trigger the automated release workflow.
If you want to publish config like Prettier or ESLint, you may need to fix the default export.
Modify the build
script in package.json
and use fix-tsup-cjs to fix the default export and type definition
{
"scripts": {
"build": "tsup && npx fix-tsup-cjs"
}
}
pnpm add pkg-placeholder