Skip to content

Commit 20d6d46

Browse files
authored
Merge pull request #2 from RMNCLDYO/add-github-actions-publish-workflow
feat(build): add CI/CD automation and modernize npm scripts
2 parents a660e51 + df6f958 commit 20d6d46

File tree

5 files changed

+227
-121
lines changed

5 files changed

+227
-121
lines changed

.github/workflows/publish.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish Package
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
permissions:
9+
id-token: write
10+
contents: read
11+
12+
jobs:
13+
publish:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: '20'
21+
registry-url: 'https://registry.npmjs.org'
22+
23+
- name: Update npm
24+
run: npm install -g npm@latest
25+
- run: npm ci
26+
- run: npm run build --if-present
27+
- run: npm test
28+
- run: npm publish

CHANGELOG.md

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,79 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.1.4] - 2025-08-27
9+
10+
### Added
11+
12+
- GitHub Actions workflow for automated package publishing
13+
- `build:watch` script for TypeScript watch mode development
14+
- `start` script for direct execution without rebuild
15+
- `clean:dist` script for lightweight dist directory cleaning
16+
- `releaseCheck` script for complete release validation pipeline
17+
18+
### Changed
19+
20+
- Updated changelog with complete version history from v0.1.0 to v0.1.3
21+
- Updated package.json version to 0.1.4
22+
- Updated package.json description to better reflect the tool's purpose
23+
- Refreshed package-lock.json with clean install
24+
- Modernized npm scripts following 2025 best practices
25+
- Enhanced `clean` script to remove dist, node_modules, and package-lock.json using cross-platform Node.js commands
26+
- Updated `build` script to use `clean:dist` for better efficiency
27+
- Enhanced `version` script with comprehensive validation, changelog reminder, and automated staging
28+
- Improved `releaseCheck` as dry-run validation without file staging
29+
- Rewrote README.md with technical focus, removing sales language
30+
- Updated README.md tagline to clearly describe features and benefits
31+
- Removed pause from `version` script for smoother workflow
32+
33+
### Fixed
34+
35+
- Ensured all validation (typecheck and lint) passes before release
36+
- Verified all integration tests pass with updated version
37+
- Cross-platform compatibility for all npm scripts using Node.js fs.rmSync()
38+
39+
## [0.1.3] - 2025-08-26
40+
41+
### Changed
42+
43+
- Updated CLAUDE.md header and streamlined template
44+
- Updated package dependencies
45+
- Improved test expectations for smaller template size
46+
47+
### Fixed
48+
49+
- CLAUDE.md header alignment with streamlined template
50+
51+
## [0.1.2] - 2025-08-26
52+
53+
### Changed
54+
55+
- Rewritten README to emphasize autonomy and productivity benefits
56+
- Streamlined CLAUDE.md for maximum efficiency
57+
- Updated package configuration
58+
59+
## [0.1.1] - 2025-08-26
60+
61+
### Changed
62+
63+
- Simplified README documentation
64+
865
## [0.1.0] - 2025-08-26
966

1067
### Added
1168

12-
- Initial release
69+
- Initial release with complete project setup
70+
- CLI tool for initializing Claude Code projects
71+
- Atomic file operations with backup and rollback
72+
- Template system with variable substitution
73+
- Safety hooks for input validation
74+
- Format hooks for code formatting and linting
75+
- Statusline scripts for project and Git status
76+
- Comprehensive test suite
77+
- TypeScript support with strict configuration
1378

79+
[0.1.4]: https://github.com/RMNCLDYO/create-claude/compare/v0.1.3...v0.1.4
80+
[0.1.3]: https://github.com/RMNCLDYO/create-claude/compare/v0.1.2...v0.1.3
81+
[0.1.2]: https://github.com/RMNCLDYO/create-claude/compare/v0.1.1...v0.1.2
82+
[0.1.1]: https://github.com/RMNCLDYO/create-claude/compare/v0.1.0...v0.1.1
1483
[0.1.0]: https://github.com/RMNCLDYO/create-claude/releases/tag/v0.1.0

0 commit comments

Comments
 (0)