speckeeper 0.1.0 → 0.2.0

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.
@@ -2,19 +2,22 @@
2
2
  * Requirements
3
3
  */
4
4
  import type { Requirement } from './_models/requirement.ts';
5
+ import { RequirementModel } from './_models/requirement.ts';
5
6
 
6
7
  export const requirements: Requirement[] = [
7
8
  {
8
- id: 'FR-001',
9
+ id: 'REQ-001',
9
10
  name: 'User Authentication',
10
11
  type: 'functional',
11
12
  priority: 'must',
12
13
  description: 'Users can authenticate using email and password',
13
14
  acceptanceCriteria: [
14
- { id: 'FR-001-01', description: 'Valid credentials grant access', verificationMethod: 'test' },
15
- { id: 'FR-001-02', description: 'Invalid credentials show error message', verificationMethod: 'test' },
15
+ { id: 'REQ-001-01', description: 'Valid credentials grant access', verificationMethod: 'test' },
16
+ { id: 'REQ-001-02', description: 'Invalid credentials show error message', verificationMethod: 'test' },
16
17
  ],
17
18
  },
18
19
  ];
19
20
 
21
+ RequirementModel.instance.register(requirements);
22
+
20
23
  console.log(`Requirements loaded: ${requirements.length} items`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speckeeper",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "TypeScript-first specification validation framework with external SSOT integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",