@codedrifters/configulator 0.0.171 → 0.0.173
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 +16 -9
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +16 -9
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -320,6 +320,7 @@ var awsCdkBundle = {
|
|
|
320
320
|
' objectKey: "mock-asset-key.zip",',
|
|
321
321
|
" },",
|
|
322
322
|
" }),",
|
|
323
|
+
" bindToResource: () => {},",
|
|
323
324
|
" } as unknown as AssetCode);",
|
|
324
325
|
"});",
|
|
325
326
|
"",
|
|
@@ -694,11 +695,11 @@ var githubWorkflowBundle = {
|
|
|
694
695
|
"4. **Create a branch** following the naming convention: `<type>/<issue-number>-<issue-slug>` (e.g., `feat/42-add-login`)",
|
|
695
696
|
"5. **Checkout the branch** locally",
|
|
696
697
|
"6. **Link the branch to the issue** by posting a comment: `gh issue comment <number> --body 'Branch: \\`<branch-name>\\`'`",
|
|
697
|
-
"7. **
|
|
698
|
+
"7. **Create an implementation plan** \u2014 analyze the issue requirements, explore the relevant codebase, and present a plan for the user to approve before starting any implementation",
|
|
698
699
|
"",
|
|
699
700
|
"### Important",
|
|
700
701
|
"",
|
|
701
|
-
"- Never begin implementation without
|
|
702
|
+
"- Never begin implementation without the user approving the plan",
|
|
702
703
|
"- If the issue title has no conventional prefix, default to `feat/`",
|
|
703
704
|
"- Keep the slug short (3-5 words max, kebab-case)"
|
|
704
705
|
].join("\n"),
|
|
@@ -716,17 +717,23 @@ var githubWorkflowBundle = {
|
|
|
716
717
|
"When the user says **open a PR** (or similar), follow these steps exactly:",
|
|
717
718
|
"",
|
|
718
719
|
"1. **Check for uncommitted changes** \u2014 if any exist, commit them with a conventional commit message",
|
|
719
|
-
"2. **
|
|
720
|
-
"3. **
|
|
720
|
+
"2. **Pull and rebase from the default branch** \u2014 run `git pull origin {{repository.defaultBranch}} --rebase` to incorporate the latest changes and resolve any conflicts before pushing",
|
|
721
|
+
"3. **Push the branch** to origin: `git push -u origin <branch>`",
|
|
722
|
+
"4. **Create the PR** using `gh pr create`:",
|
|
721
723
|
" - **Title**: use a conventional commit style title (e.g., `feat(scope): short description`)",
|
|
722
724
|
" - **Body**: include `Closes #<issue-number>` (derived from the branch name) and a brief summary of changes",
|
|
723
|
-
"
|
|
725
|
+
"5. **Enable auto-merge with squash** \u2014 use `gh pr merge --auto --squash` with the merge commit message:",
|
|
724
726
|
"",
|
|
725
727
|
"```",
|
|
726
|
-
"
|
|
727
|
-
"
|
|
728
|
+
"gh pr merge --auto --squash --subject '<conventional-commit-title>' --body '<extended-description>'",
|
|
729
|
+
"```",
|
|
730
|
+
"",
|
|
731
|
+
"The merge commit message should follow this format:",
|
|
732
|
+
"",
|
|
733
|
+
"```",
|
|
734
|
+
"Subject: <conventional-commit-title>",
|
|
728
735
|
"",
|
|
729
|
-
"
|
|
736
|
+
"Body:",
|
|
730
737
|
"- Bullet points summarizing the changes",
|
|
731
738
|
"- Closes #<issue-number>",
|
|
732
739
|
"```",
|
|
@@ -750,7 +757,7 @@ var githubWorkflowBundle = {
|
|
|
750
757
|
"",
|
|
751
758
|
"- Always derive the issue number from the branch name (e.g., `feat/42-add-login` \u2192 `#42`)",
|
|
752
759
|
"- Use conventional commit format for the PR title",
|
|
753
|
-
"-
|
|
760
|
+
"- Always enable auto-merge with squash \u2014 do not merge manually"
|
|
754
761
|
].join("\n"),
|
|
755
762
|
tags: ["workflow"]
|
|
756
763
|
}
|