Skip to content

Commit 829cfe6

Browse files
committed
Merge dev branch for v0.3.0 release
Major changes: - Migrate documentation from Docusaurus to Astro - Modern CLI interface with pflag - Global configuration support - Performance improvements - Comprehensive test coverage
2 parents f3a6bb0 + d77ee0c commit 829cfe6

File tree

83 files changed

+12495
-19060
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+12495
-19060
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: Deploy Docusaurus Documentation
1+
name: Deploy Astro Documentation
22

33
on:
44
push:
55
branches:
66
- main
77
paths:
8-
- "docs/**"
8+
- "docs-astro/**"
99

1010
permissions:
1111
contents: write
@@ -16,35 +16,33 @@ jobs:
1616
runs-on: ubuntu-latest
1717
defaults:
1818
run:
19-
working-directory: docs
19+
working-directory: docs-astro
2020
steps:
2121
- name: Checkout repository
2222
uses: actions/checkout@v4
2323

2424
- name: Setup Node.js
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: 18
28-
cache: npm
29-
cache-dependency-path: docs/package-lock.json
30-
27+
node-version: 20
28+
29+
- name: Setup pnpm
30+
uses: pnpm/action-setup@v3
31+
with:
32+
version: 8
33+
3134
- name: Install dependencies
3235
run: |
33-
npm ci
34-
35-
- name: Lint and test
36-
run: |
37-
npm run lint || echo "Lint script not defined"
38-
npm test || echo "Test script not defined"
36+
pnpm install
3937
4038
- name: Build website
4139
run: |
42-
npm run build
40+
pnpm run build
4341
4442
- name: Deploy to GitHub Pages
4543
uses: peaceiris/actions-gh-pages@v3
4644
with:
4745
github_token: ${{ secrets.GITHUB_TOKEN }}
48-
publish_dir: docs/build
46+
publish_dir: docs-astro/dist
4947
user_name: github-actions[bot]
5048
user_email: 41898282+github-actions[bot]@users.noreply.github.com

.gitignore

Lines changed: 77 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,84 @@
1-
.aider*
1+
# Binaries
2+
promptext
3+
prx
4+
*.exe
5+
*.exe~
6+
*.dll
7+
*.so
8+
*.dylib
9+
10+
# Test binaries, built with `go test -c`
11+
*.test
12+
13+
# Output of the go coverage tool, specifically when used with LiteIDE
14+
*.out
15+
16+
# Go workspace file
17+
go.work
18+
go.work.sum
19+
20+
# Dependency directories (Node.js for docs)
21+
**/node_modules/
22+
docs/node_modules/
23+
24+
# Environment files
225
.env
26+
.env.local
27+
.env.production
28+
.env.staging
29+
30+
# Build outputs
331
dist/
4-
.release-env
32+
build/
533
_site/
34+
35+
# Configuration files (local/personal)
36+
.promptext.yml
37+
38+
# Development tools
39+
.aider*
40+
.release-env
41+
.jira-config.json
42+
43+
# IDE/Editor files
44+
.vscode/
45+
.idea/
46+
*.swp
47+
*.swo
48+
*~
49+
50+
# OS generated files
51+
.DS_Store
52+
.DS_Store?
53+
._*
54+
.Spotlight-V100
55+
.Trashes
56+
ehthumbs.db
57+
Thumbs.db
58+
59+
# Documentation build (Jekyll/Docusaurus)
660
.sass-cache/
761
.jekyll-cache/
862
.jekyll-metadata
963
docs-old/
10-
**/node_modules/
11-
.jira-config.json
12-
.promptext.yml
64+
65+
# Claude Code related
66+
CLAUDE.md
67+
.claude/
68+
69+
# Test coverage
70+
coverage.out
71+
coverage.html
72+
73+
# Temporary files
74+
*.tmp
75+
*.temp
76+
temp/
77+
tmp/
78+
79+
# Log files
80+
*.log
81+
82+
# Cache directories
83+
.cache/
84+
.tiktoken_cache/

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Changelog
2+
3+
## [0.3.0] - 2025-08-31
4+
5+
### Major Changes
6+
- **New Documentation System**: Migrated from Docusaurus to Astro for better performance and maintainability
7+
- **Modern CLI Interface**: Complete refactoring with pflag for better flag handling and POSIX compliance
8+
- **Global Configuration Support**: Added support for global and project-level configuration files
9+
- **Performance Improvements**: Major refactoring for better performance on large codebases
10+
11+
### Features
12+
- Implemented modern CLI interface with improved help text and flag descriptions
13+
- Added global configuration support with proper precedence (CLI flags > project config > global config)
14+
- Enhanced .gitignore patterns with comprehensive Go CLI project support
15+
- Improved configuration merging logic for better flexibility
16+
- Added support for XDG_CONFIG_HOME standard for configuration paths
17+
18+
### Bug Fixes
19+
- Fixed CLI flag mapping for version and verbose options
20+
- Corrected angle bracket escaping in MDX documentation
21+
- Fixed configuration precedence issues
22+
23+
### Documentation
24+
- Migrated to Astro-based documentation system
25+
- Updated GitHub Actions workflow for new documentation deployment
26+
- Improved documentation structure and navigation
27+
28+
### Internal Improvements
29+
- Refactored internal modules for better separation of concerns
30+
- Enhanced test coverage for configuration and flag handling
31+
- Improved error handling and user-friendly messages
32+
- Better cross-platform compatibility
33+
34+
### Breaking Changes
35+
- None - this release maintains backward compatibility
36+
37+
### Migration Notes
38+
- The documentation has moved to a new Astro-based system
39+
- Configuration files now support both global and project-level settings
40+
- CLI flags have been standardized for better consistency
41+
42+
---
43+
44+
## [0.2.6] - Previous Release
45+
- Last stable release before major refactoring

0 commit comments

Comments
 (0)