- a792432: Update the template's CI, build validation, and release automation to improve package publishing reliability.
- Add trusted publishing configuration for npm releases with OIDC in the release workflow.
- Add a dedicated build workflow so template-based packages are validated with
bun run buildin CI before release. - Move TypeScript from
peerDependenciestodevDependenciesfor simpler project setup. - Pin Bun to
1.3.6across CI workflows to matchbunuprequirements.
-
44a1679: Fix init script to set initial package version to 0.0.0
Move npm authentication from
.npmrcto the GitHub release workflow so the token is configured dynamically during CI instead of being expected in the local environment
-
35f902d: Migrate from Biome to oxc-based tooling stack
Breaking Changes:
- Removed
@biomejs/biomedependency andbiome.jsoncconfiguration - Replaced with oxc tools:
oxlint,oxfmt, andoxlint-tsgolint - VS Code formatter changed from Biome to oxc extension
- TypeScript peer dependency updated to
^5.9.3
Tooling Updates:
- Upgraded
adamantitefrom v0.13 to v0.25 with new oxc-based architecture - Added
knipfor dependency analysis - New config files:
.oxfmtrc.jsonc,.oxlintrc.json - Updated CI workflow:
adamantite.ymlwith format, check, typecheck, analyze jobs
Template Changes:
- Simplified init script by removing yargs CLI wrapper - use
bun run initdirectly - New
AGENTS.mdfor AI coding assistant guidelines - Removed
.claude/agents/,.cursor/rules/, andCLAUDE.md
Migration for existing template users:
- Remove
@biomejs/biomeandbiome.jsonc - Install new dependencies:
bun add -d oxlint oxfmt oxlint-tsgolint adamantite@latest knip - Copy
.oxfmtrc.jsoncand.oxlintrc.jsonfrom template - Update VS Code settings and extension from Biome to OXC
- Update CI workflows to use new
adamantite.ymlpattern
- Removed
- 2360f33: Improve template initialization and documentation structure
- Restructure CLAUDE.md with clear sections for Agents and Bun usage instructions
- Enhance template script to remove CHANGELOG.md along with docs directory during initialization
- Improve user feedback messages during template cleanup process
-
acc6af9: Add interactive template initialization CLI and comprehensive documentation
This release introduces two major features that significantly improve the developer experience when working with the Pastry template:
Interactive Template CLI (d3b12c5)
- Added
bun run template initcommand that provides an interactive CLI for scaffolding new projects - Prompts users for project name, author, GitHub username, and description
- Automatically updates package.json, README.md, and removes template documentation
- Uses @clack/prompts for a polished terminal UI with spinners and progress indicators
- Includes proper error handling and validation for user inputs
Comprehensive Documentation (870d134)
- Added detailed migration guide (
docs/migrate-project.md) with 594 lines of documentation covering:- Three different git merge strategies for preserving project history
- Step-by-step post-migration instructions for package.json, source code organization, configuration reconciliation, and dependency updates
- Troubleshooting section for common migration issues
- Examples and best practices for converting existing projects to the Pastry template
- Enhanced README.md with a clear overview of included tools (Bun, Bunup, Adamantite, Changesets, GitHub Actions)
- Improved template script with better user feedback and file cleanup
Claude Code Agent for Changesets
- Added a specialized
changeset-writeragent (.claude/agents/changeset-writer.md) for automating changelog generation - Analyzes git diffs and generates appropriate changeset entries following semantic versioning principles
- Provides intelligent version bump recommendations (major/minor/patch) based on change impact
- Writes user-focused changelog descriptions with proper formatting and examples
- Integrates seamlessly with the existing changesets workflow
These additions make it significantly easier for developers to both start new projects from scratch and migrate existing projects to the Pastry template while maintaining their git history.
- Added