@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 CHANGED
@@ -371,6 +371,7 @@ var awsCdkBundle = {
371
371
  ' objectKey: "mock-asset-key.zip",',
372
372
  " },",
373
373
  " }),",
374
+ " bindToResource: () => {},",
374
375
  " } as unknown as AssetCode);",
375
376
  "});",
376
377
  "",
@@ -745,11 +746,11 @@ var githubWorkflowBundle = {
745
746
  "4. **Create a branch** following the naming convention: `<type>/<issue-number>-<issue-slug>` (e.g., `feat/42-add-login`)",
746
747
  "5. **Checkout the branch** locally",
747
748
  "6. **Link the branch to the issue** by posting a comment: `gh issue comment <number> --body 'Branch: \\`<branch-name>\\`'`",
748
- "7. **Stop and wait** for user instructions \u2014 do **NOT** start implementing",
749
+ "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",
749
750
  "",
750
751
  "### Important",
751
752
  "",
752
- "- Never begin implementation without explicit user direction",
753
+ "- Never begin implementation without the user approving the plan",
753
754
  "- If the issue title has no conventional prefix, default to `feat/`",
754
755
  "- Keep the slug short (3-5 words max, kebab-case)"
755
756
  ].join("\n"),
@@ -767,17 +768,23 @@ var githubWorkflowBundle = {
767
768
  "When the user says **open a PR** (or similar), follow these steps exactly:",
768
769
  "",
769
770
  "1. **Check for uncommitted changes** \u2014 if any exist, commit them with a conventional commit message",
770
- "2. **Push the branch** to origin: `git push -u origin <branch>`",
771
- "3. **Create the PR** using `gh pr create`:",
771
+ "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",
772
+ "3. **Push the branch** to origin: `git push -u origin <branch>`",
773
+ "4. **Create the PR** using `gh pr create`:",
772
774
  " - **Title**: use a conventional commit style title (e.g., `feat(scope): short description`)",
773
775
  " - **Body**: include `Closes #<issue-number>` (derived from the branch name) and a brief summary of changes",
774
- "4. **Display merge dialog text** for the user to copy-paste when merging:",
776
+ "5. **Enable auto-merge with squash** \u2014 use `gh pr merge --auto --squash` with the merge commit message:",
775
777
  "",
776
778
  "```",
777
- "Commit message:",
778
- "<conventional-commit-title>",
779
+ "gh pr merge --auto --squash --subject '<conventional-commit-title>' --body '<extended-description>'",
780
+ "```",
781
+ "",
782
+ "The merge commit message should follow this format:",
783
+ "",
784
+ "```",
785
+ "Subject: <conventional-commit-title>",
779
786
  "",
780
- "Extended description:",
787
+ "Body:",
781
788
  "- Bullet points summarizing the changes",
782
789
  "- Closes #<issue-number>",
783
790
  "```",
@@ -801,7 +808,7 @@ var githubWorkflowBundle = {
801
808
  "",
802
809
  "- Always derive the issue number from the branch name (e.g., `feat/42-add-login` \u2192 `#42`)",
803
810
  "- Use conventional commit format for the PR title",
804
- "- Do not merge the PR \u2014 only create it and display the merge text"
811
+ "- Always enable auto-merge with squash \u2014 do not merge manually"
805
812
  ].join("\n"),
806
813
  tags: ["workflow"]
807
814
  }