lee-spec-kit 0.6.17 โ†’ 0.6.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lee-spec-kit",
3
- "version": "0.6.17",
3
+ "version": "0.6.19",
4
4
  "description": "Project documentation structure generator for AI-assisted development",
5
5
  "type": "module",
6
6
  "bin": {
@@ -49,13 +49,18 @@
49
49
  "eslint-config-prettier": "^10.1.8",
50
50
  "prettier": "^3.7.4",
51
51
  "tsup": "^8.5.1",
52
- "typescript": "^5.9.3"
52
+ "typescript": "^5.9.3",
53
+ "vitest": "^4.0.18"
53
54
  },
54
55
  "scripts": {
55
56
  "build": "tsup",
56
57
  "dev": "tsup --watch",
57
58
  "lint": "eslint src",
58
- "test:race": "pnpm build && node --test tests/race.test.mjs",
59
+ "lint:test": "eslint tests",
60
+ "typecheck": "tsc --noEmit",
61
+ "typecheck:test": "tsc -p tsconfig.tests.json --noEmit",
62
+ "test": "pnpm build && vitest run",
63
+ "test:race": "pnpm build && vitest run tests/race.test.mjs",
59
64
  "format": "prettier --write ."
60
65
  }
61
66
  }
@@ -82,9 +82,16 @@ main
82
82
  ### Branch Creation
83
83
 
84
84
  ```bash
85
- git checkout -b feat/{issue-number}-{feature-name}
85
+ # Default (recommended): create dedicated worktree + branch
86
+ mkdir -p .worktrees
87
+ git worktree add -b feat/{issue-number}-{feature-name} .worktrees/feat-{issue-number}-{feature-name}
88
+
89
+ # If branch already exists, attach worktree only
90
+ git worktree add .worktrees/feat-{issue-number}-{feature-name} feat/{issue-number}-{feature-name}
86
91
  ```
87
92
 
93
+ > Continue implementation from the created worktree path (`.worktrees/feat-{issue-number}-{feature-name}`).
94
+
88
95
  ### Document Commit Rules (Continuous Sync)
89
96
 
90
97
  > ๐Ÿ”„ **Docs synchronization is mandatory when Project code changes.**
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## Metadata
4
4
 
5
- - **Status**: Draft | Ready
5
+ - **Status**: -
6
+ - Values: Draft | Ready
6
7
  - **Title**: {feature-name}
7
8
  - **Labels**: enhancement
8
9
  - **Created**: {YYYY-MM-DD}
@@ -9,7 +9,8 @@
9
9
  - **Feature ID**: F{number}
10
10
  - **Target Repo**: {{projectName}}-{component}
11
11
  - **Created**: {YYYY-MM-DD}
12
- - **Status**: Draft | Review | Approved
12
+ - **Status**: -
13
+ - Values: Draft | Review | Approved
13
14
 
14
15
  ---
15
16
 
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## Metadata
4
4
 
5
- - **Status**: Draft | Ready
5
+ - **Status**: -
6
+ - Values: Draft | Ready
6
7
  - **Base**: main
7
8
  - **Created**: {YYYY-MM-DD}
8
9
 
@@ -10,7 +10,8 @@
10
10
  - **Feature Name**: {feature-name}
11
11
  - **Target Repo**: {{projectName}}-{component}
12
12
  - **Created**: {YYYY-MM-DD}
13
- - **Status**: Draft | Review | Approved
13
+ - **Status**: -
14
+ - Values: Draft | Review | Approved
14
15
 
15
16
  ---
16
17
 
@@ -12,7 +12,8 @@
12
12
 
13
13
  ## GitHub Issue
14
14
 
15
- - **Doc Status**: Draft | Review | Approved
15
+ - **Doc Status**: -
16
+ - Values: Draft | Review | Approved
16
17
  - **Repo**: {{projectName}}-{component}
17
18
  - **Issue**: #{issue-number}
18
19
  - **Branch**: `feat/{issue-number}-{feature-name}`
@@ -20,7 +21,8 @@
20
21
  - Example: `#123` or PR URL
21
22
  - **PR Status**: -
22
23
  - Values: Review | Approved
23
- - **Pre-PR Review**: Pending | Done
24
+ - **Pre-PR Review**: -
25
+ - Values: Pending | Done
24
26
  - Mark `Done` after pre-PR review is completed
25
27
  - **Pre-PR Findings**: major=0, minor=0
26
28
  - Update with final findings counts from pre-PR review
@@ -82,9 +82,16 @@ main
82
82
  ### ๋ธŒ๋žœ์น˜ ์ƒ์„ฑ
83
83
 
84
84
  ```bash
85
- git checkout -b feat/{issue-number}-{feature-name}
85
+ # ๊ธฐ๋ณธ(๊ถŒ์žฅ): ์ „์šฉ worktree + ๋ธŒ๋žœ์น˜ ์ƒ์„ฑ
86
+ mkdir -p .worktrees
87
+ git worktree add -b feat/{issue-number}-{feature-name} .worktrees/feat-{issue-number}-{feature-name}
88
+
89
+ # ์ด๋ฏธ ๋ธŒ๋žœ์น˜๊ฐ€ ์กด์žฌํ•˜๋ฉด worktree๋งŒ ์—ฐ๊ฒฐ
90
+ git worktree add .worktrees/feat-{issue-number}-{feature-name} feat/{issue-number}-{feature-name}
86
91
  ```
87
92
 
93
+ > ์ดํ›„ ์ž‘์—…์€ ์ƒ์„ฑ๋œ worktree ๊ฒฝ๋กœ(`.worktrees/feat-{issue-number}-{feature-name}`)์—์„œ ์ง„ํ–‰ํ•˜์„ธ์š”.
94
+
88
95
  ### ๋ฌธ์„œ ์ปค๋ฐ‹ ๊ทœ์น™ (Continuous Sync)
89
96
 
90
97
  > ๐Ÿ”„ **Project ์ฝ”๋“œ ๋ณ€๊ฒฝ ์‹œ Docs ๋™๊ธฐํ™”๋Š” ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.**
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ
4
4
 
5
- - **์ƒํƒœ**: Draft | Ready
5
+ - **์ƒํƒœ**: -
6
+ - ๊ฐ’: Draft | Ready
6
7
  - **์ œ๋ชฉ**: {๊ธฐ๋Šฅ๋ช…}
7
8
  - **๋ผ๋ฒจ**: enhancement
8
9
  - **์ž‘์„ฑ์ผ**: {YYYY-MM-DD}
@@ -9,7 +9,8 @@
9
9
  - **๊ธฐ๋Šฅ ID**: F{๋ฒˆํ˜ธ}
10
10
  - **๋Œ€์ƒ ๋ ˆํฌ**: {{projectName}}-{component}
11
11
  - **์ž‘์„ฑ์ผ**: {YYYY-MM-DD}
12
- - **์ƒํƒœ**: Draft | Review | Approved
12
+ - **์ƒํƒœ**: -
13
+ - ๊ฐ’: Draft | Review | Approved
13
14
 
14
15
  ---
15
16
 
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ
4
4
 
5
- - **์ƒํƒœ**: Draft | Ready
5
+ - **์ƒํƒœ**: -
6
+ - ๊ฐ’: Draft | Ready
6
7
  - **Base**: main
7
8
  - **์ž‘์„ฑ์ผ**: {YYYY-MM-DD}
8
9
 
@@ -10,7 +10,8 @@
10
10
  - **๊ธฐ๋Šฅ๋ช…**: {๊ธฐ๋Šฅ๋ช…}
11
11
  - **๋Œ€์ƒ ๋ ˆํฌ**: {{projectName}}-{component}
12
12
  - **์ž‘์„ฑ์ผ**: {YYYY-MM-DD}
13
- - **์ƒํƒœ**: Draft | Review | Approved
13
+ - **์ƒํƒœ**: -
14
+ - ๊ฐ’: Draft | Review | Approved
14
15
 
15
16
  ---
16
17
 
@@ -12,7 +12,8 @@
12
12
 
13
13
  ## GitHub Issue
14
14
 
15
- - **๋ฌธ์„œ ์ƒํƒœ**: Draft | Review | Approved
15
+ - **๋ฌธ์„œ ์ƒํƒœ**: -
16
+ - ๊ฐ’: Draft | Review | Approved
16
17
  - **๋ ˆํฌ**: {{projectName}}-{component}
17
18
  - **Issue**: #{์ด์Šˆ๋ฒˆํ˜ธ}
18
19
  - **๋ธŒ๋žœ์น˜**: `feat/{์ด์Šˆ๋ฒˆํ˜ธ}-{๊ธฐ๋Šฅ๋ช…}`
@@ -20,7 +21,8 @@
20
21
  - ์˜ˆ: `#123` ๋˜๋Š” PR URL
21
22
  - **PR ์ƒํƒœ**: -
22
23
  - ๊ฐ’: Review | Approved
23
- - **PR ์ „ ๋ฆฌ๋ทฐ**: Pending | Done
24
+ - **PR ์ „ ๋ฆฌ๋ทฐ**: -
25
+ - ๊ฐ’: Pending | Done
24
26
  - ์‚ฌ์ „ ์ฝ”๋“œ๋ฆฌ๋ทฐ ์™„๋ฃŒ ํ›„ `Done`์œผ๋กœ ๋ณ€๊ฒฝ
25
27
  - **PR ์ „ ๋ฆฌ๋ทฐ Findings**: major=0, minor=0
26
28
  - ์‚ฌ์ „ ๋ฆฌ๋ทฐ ์ตœ์ข… ๊ฒฐ๊ณผ์— ๋งž๊ฒŒ major/minor ๊ฑด์ˆ˜๋ฅผ ๊ฐฑ์‹