@codedrifters/configulator 0.0.185 → 0.0.187
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/lib/index.js +17 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +17 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -861,10 +861,23 @@ var githubWorkflowBundle = {
|
|
|
861
861
|
" - `fix:` \u2192 Bug",
|
|
862
862
|
" - `chore:`, `docs:`, `refactor:`, `release:`, `hotfix:` \u2192 Task",
|
|
863
863
|
"4. **Identify prerequisite issues** \u2014 if the user mentions dependencies or blockers, include a **Dependencies** section in the body with `Depends on: #<issue-number>`",
|
|
864
|
-
"5. **
|
|
864
|
+
"5. **Determine labels** \u2014 every issue must be created with the following labels:",
|
|
865
|
+
" - **`type:*`** \u2014 derived from the issue title prefix:",
|
|
866
|
+
" - `epic:` \u2192 `type:feat`",
|
|
867
|
+
" - `feat:` \u2192 `type:feat`",
|
|
868
|
+
" - `fix:` \u2192 `type:fix`",
|
|
869
|
+
" - `chore:` \u2192 `type:chore`",
|
|
870
|
+
" - `docs:` \u2192 `type:docs`",
|
|
871
|
+
" - `refactor:` \u2192 `type:refactor`",
|
|
872
|
+
" - `release:` \u2192 `type:release`",
|
|
873
|
+
" - `hotfix:` \u2192 `type:hotfix`",
|
|
874
|
+
' - **`priority:*`** \u2014 infer from the user\'s description when possible (e.g., "urgent"/"critical" \u2192 `priority:critical`, "important" \u2192 `priority:high`, "minor"/"low priority" \u2192 `priority:low`). If the priority is unclear, ask the user before creating the issue. Valid values: `priority:critical`, `priority:high`, `priority:medium`, `priority:low`, `priority:trivial`',
|
|
875
|
+
" - **`status:ready`** \u2014 always add unless the issue has dependencies or blockers, in which case use `status:blocked`",
|
|
876
|
+
"6. **Create the issue** using `gh issue create`:",
|
|
865
877
|
" - `--title '<type>: <description>'`",
|
|
866
878
|
" - `--body '<issue body>'`",
|
|
867
879
|
" - `--type '<GitHub issue type>'` (Epic, Feature, Bug, or Task)",
|
|
880
|
+
" - `--label '<type-label>' --label '<priority-label>' --label '<status-label>'`",
|
|
868
881
|
"",
|
|
869
882
|
"### Issue Body Template",
|
|
870
883
|
"",
|
|
@@ -886,7 +899,9 @@ var githubWorkflowBundle = {
|
|
|
886
899
|
"",
|
|
887
900
|
"- Always use the conventional prefix in the issue title",
|
|
888
901
|
"- Always assign the correct GitHub issue type",
|
|
902
|
+
"- Always include `type:*`, `priority:*`, and `status:*` labels",
|
|
889
903
|
"- If the user does not specify a type, ask before creating the issue",
|
|
904
|
+
"- If the priority cannot be inferred from the description, ask the user before creating the issue",
|
|
890
905
|
"- Keep titles concise and descriptive"
|
|
891
906
|
].join("\n"),
|
|
892
907
|
tags: ["workflow"]
|
|
@@ -1944,7 +1959,7 @@ var issueWorkerSubAgent = {
|
|
|
1944
1959
|
"",
|
|
1945
1960
|
"After the PR is created:",
|
|
1946
1961
|
"```bash",
|
|
1947
|
-
'gh issue edit <number> --add-label "status:done"',
|
|
1962
|
+
'gh issue edit <number> --remove-label "status:in-progress" --add-label "status:done"',
|
|
1948
1963
|
"```",
|
|
1949
1964
|
"",
|
|
1950
1965
|
"---",
|