Website • [link] Documentation
A Test project to test semantic versioning.
import { changelog } from 'changelog'
let cl = changelog()
console.log('hello', cl)- A Custom Changelog
- A nested change log
-
Keep a ChangeLog
-
Git tags Every release is a git tag
git tag v0.3.0
git push origin v0.3.0- Create a GitHub Release
Title: v0.3.0 Paste changelog section
-
Commit style
- Imperative messages
- One logical change per commit
-
Example
# 1. Make sure main is clean
git status
# 2. Update version in package.json
# 3. Update CHANGELOG.md
# 4. Commit
git commit -am "Release v0.3.0"
# 5. Tag
git tag v0.3.0
git push origin main --tags
# 6. Publish
pnpm publish
If this is your first publish or you want safety:
pnpm publish --access public
If you want a dry run:
pnpm publish --dry-run
your-lib/
├─ src/ # Library source
├─ dist/ # Build output (published)
├─ docs/ # Generated API data (gitignored)
│ └─ index.json
├─ website/ # Public project website (Vite)
│ ├─ src/
│ ├─ public/
│ └─ vite.config.ts
├─ docs-site/ # API docs renderer (Vite)
│ ├─ src/
│ ├─ public/
│ └─ vite.config.ts
├─ package.json
├─ pnpm-workspace.yaml
├─ CHANGELOG.md
├─ README.md
└─ LICENSE# release
pnpm test
pnpm build
pnpm publish
# docs
pnpm docs:build
pnpm --filter docs-site build
pnpm --filter website build
This project follows Semantic Versioning. Breaking changes will only occur in major releases.