Skip to content

Commit f6e41e7

Browse files
Feature/config validation system (#19)
2 parents f07e007 + e041576 commit f6e41e7

20 files changed

+1734
-219
lines changed

.changeset/chubby-frogs-battle.md

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@labcatr/labcommitr": minor
3+
---
4+
5+
feat: add intelligent configuration file discovery
6+
7+
- Tool now automatically finds configuration files in project roots
8+
- Prioritizes git repositories and supports monorepo structures
9+
- Provides clear error messages when configuration files have issues
10+
- Improved performance with smart caching for faster subsequent runs
11+
- Works reliably across different project structures and environments
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@labcatr/labcommitr": minor
3+
---
4+
5+
feat: add configuration file validation
6+
7+
- Configuration files are now validated for syntax and required fields
8+
- Clear error messages help users fix configuration issues quickly
9+
- Tool prevents common mistakes like missing commit types or invalid IDs
10+
- Improved reliability when loading project-specific configurations
11+
- Validates commit type IDs contain only lowercase letters as required

.changeset/pink-keys-taste.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,18 @@ jspm_packages/
2525
web_modules/
2626

2727
# TypeScript cache
28-
*.tsbuildinfo\
28+
*.tsbuildinfo
2929

3030

3131
### Other
3232
# Remove rust files for now
3333
rust-src/
3434
dist/
35+
36+
### Development
37+
# Development progress tracking (internal use only)
38+
DEVELOPMENT_PROGRESS.md
39+
REQUIREMENTS.md
40+
CONFIG_SCHEMA.md
41+
DEVELOPMENT_GUIDELINES.md
42+
ARCHITECTURE_DECISIONS.md

dist/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {};

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,21 @@
2828
"author": "Trevor Fox",
2929
"license": "ISC",
3030
"dependencies": {
31-
"@changesets/cli": "^2.28.1",
32-
"@types/node": "^20.17.30",
33-
"boxen": "^7.1.1",
31+
"@changesets/cli": "^2.29.7",
32+
"@types/node": "^24.3.3",
33+
"boxen": "^8.0.1",
3434
"consola": "^3.4.2",
35+
"cosmiconfig": "^9.0.0",
36+
"js-yaml": "^4.1.0",
3537
"magicast": "^0.3.5",
36-
"prettier": "^3.5.3",
37-
"typescript": "^5.8.3",
38+
"prettier": "^3.6.2",
39+
"typescript": "^5.9.2",
3840
"ufo": "^1.6.1"
3941
},
4042
"publishConfig": {
4143
"access": "public"
44+
},
45+
"devDependencies": {
46+
"@types/js-yaml": "^4.0.9"
4247
}
4348
}

0 commit comments

Comments
 (0)