@chief-clancy/brief 0.1.2 → 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.
- package/README.md +4 -3
- package/bin/brief.js +5 -2
- package/dist/installer/install.d.ts.map +1 -1
- package/dist/installer/install.js +10 -2
- package/dist/installer/install.js.map +1 -1
- package/package.json +1 -1
- package/src/commands/approve-brief.md +23 -0
- package/src/commands/commands.test.ts +10 -1
- package/src/workflows/approve-brief.md +1540 -0
- package/src/workflows/workflows.test.ts +11 -1
|
@@ -11,7 +11,7 @@ import { describe, expect, it } from 'vitest';
|
|
|
11
11
|
|
|
12
12
|
const WORKFLOWS_DIR = fileURLToPath(new URL('.', import.meta.url));
|
|
13
13
|
|
|
14
|
-
const EXPECTED_WORKFLOWS = ['board-setup.md', 'brief.md'];
|
|
14
|
+
const EXPECTED_WORKFLOWS = ['approve-brief.md', 'board-setup.md', 'brief.md'];
|
|
15
15
|
|
|
16
16
|
describe('workflows directory structure', () => {
|
|
17
17
|
it('contains exactly the expected workflow files', () => {
|
|
@@ -43,6 +43,16 @@ describe('workflows directory structure', () => {
|
|
|
43
43
|
expect(content).toContain('## Step 1');
|
|
44
44
|
expect(content).toContain('.clancy/briefs/');
|
|
45
45
|
});
|
|
46
|
+
|
|
47
|
+
it('approve-brief workflow has structural step markers', () => {
|
|
48
|
+
const content = readFileSync(
|
|
49
|
+
new URL('approve-brief.md', import.meta.url),
|
|
50
|
+
'utf8',
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
expect(content).toContain('## Step 1');
|
|
54
|
+
expect(content).toContain('.clancy/briefs/');
|
|
55
|
+
});
|
|
46
56
|
});
|
|
47
57
|
|
|
48
58
|
// ---------------------------------------------------------------------------
|