lean-spec 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -1
- package/README.md +312 -213
- package/dist/chunk-GLXYUS7F.js +5368 -0
- package/dist/chunk-GLXYUS7F.js.map +1 -0
- package/dist/chunk-S4YNQ5KE.js +306 -0
- package/dist/chunk-S4YNQ5KE.js.map +1 -0
- package/dist/cli.js +185 -1907
- package/dist/cli.js.map +1 -1
- package/dist/frontmatter-26SOQGYM.js +23 -0
- package/dist/frontmatter-26SOQGYM.js.map +1 -0
- package/dist/mcp-server.js +9 -0
- package/dist/mcp-server.js.map +1 -0
- package/package.json +22 -8
- package/templates/enterprise/config.json +2 -1
- package/templates/enterprise/spec-template.md +8 -3
- package/templates/minimal/config.json +2 -1
- package/templates/minimal/spec-template.md +2 -2
- package/templates/standard/config.json +2 -1
- package/templates/standard/spec-template.md +9 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,37 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.1.1] - 2025-11-07
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
**BREAKING: `lspec validate` output format redesigned** (spec 054)
|
|
15
|
+
- Output now follows mainstream lint tool conventions (ESLint, TypeScript, Prettier)
|
|
16
|
+
- File-centric grouping: All issues for a spec are shown together
|
|
17
|
+
- Quiet success by default: Only specs with issues are shown, passing specs are summarized
|
|
18
|
+
- ESLint-style format: Aligned columns with `severity message rule-name`
|
|
19
|
+
- Relative paths shown instead of absolute paths
|
|
20
|
+
- Exit codes remain unchanged: 0 for success/warnings, 1 for errors
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
**`lspec validate` new flags:**
|
|
25
|
+
- `--verbose`: Show all passing specs (restores detailed output)
|
|
26
|
+
- `--quiet`: Suppress warnings, only show errors
|
|
27
|
+
- `--format json`: Output results as JSON for CI integration
|
|
28
|
+
- `--rule <name>`: Filter issues by specific rule (e.g., `max-lines`, `frontmatter`)
|
|
29
|
+
|
|
30
|
+
**Migration Guide:**
|
|
31
|
+
- If you prefer the old verbose output, use `lspec validate --verbose`
|
|
32
|
+
- The new default shows only specs with issues for better signal-to-noise ratio
|
|
33
|
+
- Exit codes are unchanged, so CI pipelines should work without modification
|
|
34
|
+
- JSON format is available for custom parsing: `lspec validate --format json`
|
|
35
|
+
|
|
36
|
+
### Fixed
|
|
37
|
+
- Fixed potential crash in validate formatter when spec name is missing
|
|
38
|
+
|
|
8
39
|
## [0.1.0] - 2025-11-02
|
|
9
40
|
|
|
10
41
|
### Added
|
|
@@ -41,7 +72,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
41
72
|
- 62 passing tests with comprehensive coverage
|
|
42
73
|
- Integration tests for all commands
|
|
43
74
|
- TypeScript with strict mode
|
|
44
|
-
-
|
|
75
|
+
- Prettier configuration
|
|
45
76
|
|
|
46
77
|
### Documentation
|
|
47
78
|
- Complete README with examples and API reference
|
|
@@ -57,4 +88,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
57
88
|
- Gray-matter for frontmatter parsing
|
|
58
89
|
- Dayjs for date handling
|
|
59
90
|
|
|
91
|
+
[0.1.1]: https://github.com/codervisor/lean-spec/releases/tag/v0.1.1
|
|
60
92
|
[0.1.0]: https://github.com/codervisor/lean-spec/releases/tag/v0.1.0
|