speckeeper 0.19.4 → 0.19.6
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/cli-contract.yaml +1 -1
- package/dist/dsl/index.js +256 -14
- package/dist/index.js +257 -5
- package/dist/speckeeper.bundle.mjs +359 -360
- package/docs/cli-reference.md +1 -1
- package/docs/scaffold-mermaid-spec.md +2 -1
- package/package.json +7 -6
package/docs/cli-reference.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
TypeScript-first specification validation framework — validate design consistency, external SSOT integrity, and traceability with type-safe TypeScript DSL. Supports design lint, external source checks (OpenAPI, DDL, annotations), drift detection, impact analysis, and scaffolding from Mermaid flowcharts.
|
|
4
4
|
|
|
5
|
-
**Version:** 0.19.
|
|
5
|
+
**Version:** 0.19.6
|
|
6
6
|
|
|
7
7
|
## Table of Contents
|
|
8
8
|
|
|
@@ -100,6 +100,7 @@ class TERM,SR,FR,NFR,CDM,UC,LDM,AT speckeeper
|
|
|
100
100
|
|
|
101
101
|
- The class name must be `speckeeper`. scaffold filters by this class name.
|
|
102
102
|
- Nodes not listed in the `class` line are treated as "external nodes" and no model files are generated for them.
|
|
103
|
+
- In every `class` line, the node IDs follow the node ID rule (§2.1) and the class name consists of letters, digits, underscores and hyphens, starting with a letter or underscore. A `class` line that does not fit is not a class assignment and is ignored.
|
|
103
104
|
|
|
104
105
|
### 4.2 Artifact Class Assignment
|
|
105
106
|
|
|
@@ -120,7 +121,7 @@ The artifact class controls three things:
|
|
|
120
121
|
2. **File name**: kebab-case of the class name (e.g., `acceptanceTest` → `acceptance-test.ts`)
|
|
121
122
|
3. **Node grouping**: Multiple nodes assigned the same class are consolidated into a single model file
|
|
122
123
|
|
|
123
|
-
Any class name is valid — there is no fixed registry. All artifact classes use the same base template (schema, lint rule stubs, exporter stubs).
|
|
124
|
+
Any class name that follows the class name rule (§4.1) is valid — there is no fixed registry. All artifact classes use the same base template (schema, lint rule stubs, exporter stubs).
|
|
124
125
|
|
|
125
126
|
If a speckeeper-managed node has no artifact class assigned, scaffold derives a default class from the node ID (lowercased).
|
|
126
127
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "speckeeper",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.6",
|
|
4
4
|
"description": "TypeScript-first specification validation framework with external SSOT integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -57,7 +57,8 @@
|
|
|
57
57
|
"ci:generate": "embedoc build",
|
|
58
58
|
"ci:verify": "npx speckeeper check && npx speckeeper check --coverage",
|
|
59
59
|
"test:ci": "vitest run",
|
|
60
|
-
"test:bundle": "vitest run --config vitest.bundle.config.ts"
|
|
60
|
+
"test:bundle": "vitest run --config vitest.bundle.config.ts",
|
|
61
|
+
"audit:signatures": "npx --yes npm@11.19.1 audit signatures"
|
|
61
62
|
},
|
|
62
63
|
"keywords": [
|
|
63
64
|
"requirements",
|
|
@@ -72,8 +73,11 @@
|
|
|
72
73
|
],
|
|
73
74
|
"author": "",
|
|
74
75
|
"license": "MIT",
|
|
76
|
+
"repository": {
|
|
77
|
+
"type": "git",
|
|
78
|
+
"url": "git+https://github.com/foo-ogawa/speckeeper.git"
|
|
79
|
+
},
|
|
75
80
|
"dependencies": {
|
|
76
|
-
"glob": "^14.0.6",
|
|
77
81
|
"tsx": "^4.23.15",
|
|
78
82
|
"yaml": "^2.9.1",
|
|
79
83
|
"zod": "^4.6.7"
|
|
@@ -94,9 +98,6 @@
|
|
|
94
98
|
"@aaac/runtime": "^0.3.1",
|
|
95
99
|
"@eslint/js": "^10.0.1",
|
|
96
100
|
"@types/node": "^22.20.5",
|
|
97
|
-
"@types/node-sql-parser": "^1.0.0",
|
|
98
|
-
"@typescript-eslint/eslint-plugin": "^8.72.2",
|
|
99
|
-
"@typescript-eslint/parser": "^8.72.2",
|
|
100
101
|
"@vitest/coverage-v8": "^5.1.0",
|
|
101
102
|
"agent-contracts": "^0.35.9",
|
|
102
103
|
"agent-contracts-runtime": "^0.36.15",
|