@codedrifters/configulator 0.0.170 → 0.0.171
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 +8 -8
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +8 -8
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -643,7 +643,7 @@ var baseBundle = {
|
|
|
643
643
|
},
|
|
644
644
|
{
|
|
645
645
|
name: "branch-naming-conventions",
|
|
646
|
-
description: "Branch format (type/
|
|
646
|
+
description: "Branch format (type/issue-description), create-on-GitHub-then-fetch workflow",
|
|
647
647
|
scope: AGENT_RULE_SCOPE.ALWAYS,
|
|
648
648
|
content: [
|
|
649
649
|
"# Branch Naming Conventions",
|
|
@@ -651,19 +651,19 @@ var baseBundle = {
|
|
|
651
651
|
"## Format",
|
|
652
652
|
"",
|
|
653
653
|
"```",
|
|
654
|
-
"<type
|
|
654
|
+
"<type>/<issue-number>-<issue-slug>",
|
|
655
655
|
"```",
|
|
656
656
|
"",
|
|
657
657
|
"- **type** (required): One of `feat`, `fix`, `docs`, `chore`, `refactor`, `release`, `hotfix`",
|
|
658
|
-
"- **issue** (
|
|
659
|
-
"- **
|
|
658
|
+
"- **issue-number** (required): The GitHub issue number (e.g., `25`)",
|
|
659
|
+
"- **issue-slug** (required): Short, lowercase, kebab-case summary derived from the issue title",
|
|
660
660
|
"",
|
|
661
661
|
"## Examples",
|
|
662
662
|
"",
|
|
663
663
|
"- `feat/25-add-cursor-rules`",
|
|
664
664
|
"- `fix/23-rename-cursor-rules-mdc`",
|
|
665
|
-
"- `chore/upgrade-eslint`",
|
|
666
|
-
"- `docs/update-readme`"
|
|
665
|
+
"- `chore/42-upgrade-eslint`",
|
|
666
|
+
"- `docs/18-update-readme`"
|
|
667
667
|
].join("\n"),
|
|
668
668
|
tags: ["workflow"]
|
|
669
669
|
},
|
|
@@ -742,7 +742,7 @@ var githubWorkflowBundle = {
|
|
|
742
742
|
" - `chore:` / `refactor:` \u2192 `chore/`",
|
|
743
743
|
" - `test:` \u2192 `test/`",
|
|
744
744
|
" - No prefix \u2192 `feat/`",
|
|
745
|
-
"4. **Create a branch** following the naming convention: `<type>/<
|
|
745
|
+
"4. **Create a branch** following the naming convention: `<type>/<issue-number>-<issue-slug>` (e.g., `feat/42-add-login`)",
|
|
746
746
|
"5. **Checkout the branch** locally",
|
|
747
747
|
"6. **Link the branch to the issue** by posting a comment: `gh issue comment <number> --body 'Branch: \\`<branch-name>\\`'`",
|
|
748
748
|
"7. **Stop and wait** for user instructions \u2014 do **NOT** start implementing",
|
|
@@ -799,7 +799,7 @@ var githubWorkflowBundle = {
|
|
|
799
799
|
"",
|
|
800
800
|
"### Important",
|
|
801
801
|
"",
|
|
802
|
-
"- Always derive the issue number from the branch name (e.g., `feat/add-login
|
|
802
|
+
"- Always derive the issue number from the branch name (e.g., `feat/42-add-login` \u2192 `#42`)",
|
|
803
803
|
"- Use conventional commit format for the PR title",
|
|
804
804
|
"- Do not merge the PR \u2014 only create it and display the merge text"
|
|
805
805
|
].join("\n"),
|