create-typescript-app 2.56.3 → 2.57.1

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.
Files changed (107) hide show
  1. package/lib/base.d.ts +2 -2
  2. package/lib/base.js +1 -1
  3. package/lib/base.js.map +1 -1
  4. package/lib/blocks/blockAllContributors.d.ts +2 -2
  5. package/lib/blocks/blockAllContributors.d.ts.map +1 -1
  6. package/lib/blocks/blockAllContributors.js +1 -1
  7. package/lib/blocks/blockAllContributors.js.map +1 -1
  8. package/lib/blocks/blockAreTheTypesWrong.d.ts +2 -2
  9. package/lib/blocks/blockAreTheTypesWrong.d.ts.map +1 -1
  10. package/lib/blocks/blockCSpell.d.ts +2 -2
  11. package/lib/blocks/blockCTATransitions.d.ts +2 -2
  12. package/lib/blocks/blockCTATransitions.js +3 -3
  13. package/lib/blocks/blockCTATransitions.js.map +1 -1
  14. package/lib/blocks/blockCodecov.d.ts +2 -2
  15. package/lib/blocks/blockCodecov.d.ts.map +1 -1
  16. package/lib/blocks/blockCodecov.js +2 -2
  17. package/lib/blocks/blockCodecov.js.map +1 -1
  18. package/lib/blocks/blockContributingDocs.d.ts +2 -2
  19. package/lib/blocks/blockContributorCovenant.d.ts +2 -2
  20. package/lib/blocks/blockDevelopmentDocs.d.ts +3 -3
  21. package/lib/blocks/blockDevelopmentDocs.d.ts.map +1 -1
  22. package/lib/blocks/blockESLint.d.ts +2 -2
  23. package/lib/blocks/blockESLint.d.ts.map +1 -1
  24. package/lib/blocks/blockESLintComments.d.ts +2 -2
  25. package/lib/blocks/blockESLintJSDoc.d.ts +2 -2
  26. package/lib/blocks/blockESLintJSONC.d.ts +2 -2
  27. package/lib/blocks/blockESLintJSONC.d.ts.map +1 -1
  28. package/lib/blocks/blockESLintMarkdown.d.ts +2 -2
  29. package/lib/blocks/blockESLintMarkdown.d.ts.map +1 -1
  30. package/lib/blocks/blockESLintMoreStyling.d.ts +2 -2
  31. package/lib/blocks/blockESLintMoreStyling.d.ts.map +1 -1
  32. package/lib/blocks/blockESLintNode.d.ts +2 -2
  33. package/lib/blocks/blockESLintPackageJson.d.ts +2 -2
  34. package/lib/blocks/blockESLintPerfectionist.d.ts +2 -2
  35. package/lib/blocks/blockESLintPlugin.d.ts +2 -2
  36. package/lib/blocks/blockESLintRegexp.d.ts +2 -2
  37. package/lib/blocks/blockESLintYML.d.ts +2 -2
  38. package/lib/blocks/blockESLintYML.js +1 -1
  39. package/lib/blocks/blockESLintYML.js.map +1 -1
  40. package/lib/blocks/blockExampleFiles.d.ts +2 -2
  41. package/lib/blocks/blockExampleFiles.d.ts.map +1 -1
  42. package/lib/blocks/blockFunding.d.ts +2 -2
  43. package/lib/blocks/blockFunding.js +1 -1
  44. package/lib/blocks/blockFunding.js.map +1 -1
  45. package/lib/blocks/blockGitHubActionsCI.d.ts +3 -3
  46. package/lib/blocks/blockGitHubActionsCI.js +5 -5
  47. package/lib/blocks/blockGitHubActionsCI.js.map +1 -1
  48. package/lib/blocks/blockGitHubApps.d.ts +2 -2
  49. package/lib/blocks/blockGitHubIssueTemplates.d.ts +2 -2
  50. package/lib/blocks/blockGitHubIssueTemplates.js +4 -4
  51. package/lib/blocks/blockGitHubIssueTemplates.js.map +1 -1
  52. package/lib/blocks/blockGitHubPRTemplate.d.ts +2 -2
  53. package/lib/blocks/blockGitignore.d.ts +2 -2
  54. package/lib/blocks/blockKnip.d.ts +2 -2
  55. package/lib/blocks/blockMITLicense.d.ts +2 -2
  56. package/lib/blocks/blockMain.d.ts +2 -2
  57. package/lib/blocks/blockNcc.d.ts +2 -2
  58. package/lib/blocks/blockNvmrc.d.ts +2 -2
  59. package/lib/blocks/blockOctoGuide.d.ts +2 -2
  60. package/lib/blocks/blockOctoGuide.d.ts.map +1 -1
  61. package/lib/blocks/blockOctoGuide.js +3 -3
  62. package/lib/blocks/blockOctoGuide.js.map +1 -1
  63. package/lib/blocks/blockOctoGuideStrict.d.ts +2 -2
  64. package/lib/blocks/blockPackageJson.d.ts +3 -3
  65. package/lib/blocks/blockPackageJson.d.ts.map +1 -1
  66. package/lib/blocks/blockPnpmDedupe.d.ts +2 -2
  67. package/lib/blocks/blockPnpmDedupe.js +1 -1
  68. package/lib/blocks/blockPnpmDedupe.js.map +1 -1
  69. package/lib/blocks/blockPrettier.d.ts +2 -2
  70. package/lib/blocks/blockPrettierPluginCurly.d.ts +2 -2
  71. package/lib/blocks/blockPrettierPluginPackageJson.d.ts +2 -2
  72. package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +2 -2
  73. package/lib/blocks/blockPrettierPluginSh.d.ts +2 -2
  74. package/lib/blocks/blockREADME.d.ts +3 -3
  75. package/lib/blocks/blockREADME.d.ts.map +1 -1
  76. package/lib/blocks/blockReleaseIt.d.ts +2 -2
  77. package/lib/blocks/blockReleaseIt.js +2 -2
  78. package/lib/blocks/blockReleaseIt.js.map +1 -1
  79. package/lib/blocks/blockRemoveDependencies.d.ts +2 -2
  80. package/lib/blocks/blockRemoveFiles.d.ts +2 -2
  81. package/lib/blocks/blockRemoveWorkflows.d.ts +2 -2
  82. package/lib/blocks/blockRemoveWorkflows.js +1 -1
  83. package/lib/blocks/blockRemoveWorkflows.js.map +1 -1
  84. package/lib/blocks/blockRenovate.d.ts +2 -2
  85. package/lib/blocks/blockRenovate.d.ts.map +1 -1
  86. package/lib/blocks/blockRepositoryBranchRuleset.d.ts +2 -2
  87. package/lib/blocks/blockRepositoryLabels.d.ts +2 -2
  88. package/lib/blocks/blockRepositorySecrets.d.ts +2 -2
  89. package/lib/blocks/blockRepositorySettings.d.ts +2 -2
  90. package/lib/blocks/blockSecurityDocs.d.ts +2 -2
  91. package/lib/blocks/blockTSDown.d.ts +2 -2
  92. package/lib/blocks/blockTemplatedWith.d.ts +2 -2
  93. package/lib/blocks/blockTemplatedWith.d.ts.map +1 -1
  94. package/lib/blocks/blockTypeScript.d.ts +2 -2
  95. package/lib/blocks/blockVSCode.d.ts +2 -2
  96. package/lib/blocks/blockVSCode.d.ts.map +1 -1
  97. package/lib/blocks/blockWebExt.d.ts +2 -2
  98. package/lib/blocks/blockWebExt.d.ts.map +1 -1
  99. package/lib/blocks/index.d.ts +53 -53
  100. package/lib/blocks/intake/intakeFileAsYaml.js +1 -1
  101. package/lib/blocks/intake/intakeFileAsYaml.js.map +1 -1
  102. package/lib/index.d.ts +2 -2
  103. package/lib/options/readFunding.js +1 -1
  104. package/lib/options/readFunding.js.map +1 -1
  105. package/lib/options/readOwner.js +1 -1
  106. package/lib/options/readOwner.js.map +1 -1
  107. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"blockExampleFiles.d.ts","names":[],"sources":["../../src/blocks/blockExampleFiles.ts"],"sourcesContent":[],"mappings":";;;cAKa,mCAAiB;;;AAA9B,CAAA,EAAA;;;;;;;;;;;IAA8B,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
1
+ {"version":3,"file":"blockExampleFiles.d.ts","names":[],"sources":["../../src/blocks/blockExampleFiles.ts"],"sourcesContent":[],"mappings":";;;cAKa,kCAAiB;;;AAA9B,CAAA,EAAA;;;;;;;;;;;IAA8B,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum40 from "bingo-stratum";
1
+ import * as bingo_stratum12 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockFunding.d.ts
4
- declare const blockFunding: bingo_stratum40.BlockWithoutAddons<{
4
+ declare const blockFunding: bingo_stratum12.BlockWithoutAddons<{
5
5
  access: "public" | "restricted";
6
6
  description: string;
7
7
  directory: string;
@@ -5,7 +5,7 @@ import { formatYaml } from "./files/formatYaml.js";
5
5
  const blockFunding = base.createBlock({
6
6
  about: { name: "Funding" },
7
7
  produce({ options }) {
8
- return { files: { ".github": { "FUNDING.yml": options.funding && formatYaml({ github: options.funding }) } } };
8
+ return { files: { ".github": { "FUNDING.yaml": options.funding && formatYaml({ github: options.funding }) } } };
9
9
  }
10
10
  });
11
11
 
@@ -1 +1 @@
1
- {"version":3,"file":"blockFunding.js","names":[],"sources":["../../src/blocks/blockFunding.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { formatYaml } from \"./files/formatYaml.js\";\n\nexport const blockFunding = base.createBlock({\n\tabout: {\n\t\tname: \"Funding\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\t\"FUNDING.yml\":\n\t\t\t\t\t\toptions.funding && formatYaml({ github: options.funding }),\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAGA,MAAa,eAAe,KAAK,YAAY;CAC5C,OAAO,EACN,MAAM,WACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO,EACN,OAAO,EACN,WAAW,EACV,eACC,QAAQ,WAAW,WAAW,EAAE,QAAQ,QAAQ,SAAS,CAAC,EAC3D,EACD,EACD;;CAEF,CAAC"}
1
+ {"version":3,"file":"blockFunding.js","names":[],"sources":["../../src/blocks/blockFunding.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { formatYaml } from \"./files/formatYaml.js\";\n\nexport const blockFunding = base.createBlock({\n\tabout: {\n\t\tname: \"Funding\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\t\"FUNDING.yaml\":\n\t\t\t\t\t\toptions.funding && formatYaml({ github: options.funding }),\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAGA,MAAa,eAAe,KAAK,YAAY;CAC5C,OAAO,EACN,MAAM,WACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO,EACN,OAAO,EACN,WAAW,EACV,gBACC,QAAQ,WAAW,WAAW,EAAE,QAAQ,QAAQ,SAAS,CAAC,EAC3D,EACD,EACD;;CAEF,CAAC"}
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum22 from "bingo-stratum";
1
+ import * as bingo_stratum17 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockGitHubActionsCI.d.ts
4
- declare const blockGitHubActionsCI: bingo_stratum22.BlockWithAddons<{
4
+ declare const blockGitHubActionsCI: bingo_stratum17.BlockWithAddons<{
5
5
  jobs?: {
6
6
  name: string;
7
7
  steps: ({
@@ -13,8 +13,8 @@ declare const blockGitHubActionsCI: bingo_stratum22.BlockWithAddons<{
13
13
  } | {
14
14
  uses: string;
15
15
  }))[];
16
- checkoutWith?: Record<string, string> | undefined;
17
16
  if?: string | undefined;
17
+ checkoutWith?: Record<string, string> | undefined;
18
18
  }[] | undefined;
19
19
  nodeVersion?: string | number | undefined;
20
20
  }, {
@@ -25,7 +25,7 @@ const blockGitHubActionsCI = base.createBlock({
25
25
  ".github",
26
26
  "actions",
27
27
  "prepare",
28
- "action.yml"
28
+ "action.yaml"
29
29
  ], ["runs", "steps"]);
30
30
  if (!steps) return;
31
31
  const setupNodeStep = steps.find((step) => typeof step.uses === "string" && step.uses.startsWith("actions/setup-node"));
@@ -39,7 +39,7 @@ const blockGitHubActionsCI = base.createBlock({
39
39
  return {
40
40
  addons: [blockRepositoryBranchRuleset({ requiredStatusChecks: jobs?.map((job) => job.name) })],
41
41
  files: { ".github": {
42
- actions: { prepare: { "action.yml": formatYaml({
42
+ actions: { prepare: { "action.yaml": formatYaml({
43
43
  description: "Prepares the repo for a typical CI job",
44
44
  name: "Prepare",
45
45
  runs: {
@@ -61,12 +61,12 @@ const blockGitHubActionsCI = base.createBlock({
61
61
  }
62
62
  }) } },
63
63
  workflows: {
64
- "ci.yml": jobs && createMultiWorkflowFile({
64
+ "ci.yaml": jobs && createMultiWorkflowFile({
65
65
  jobs: jobs.sort((a, b) => a.name.localeCompare(b.name)),
66
66
  name: "CI",
67
67
  workflowsVersions: options.workflowsVersions
68
68
  }),
69
- "pr-review-requested.yml": createSoloWorkflowFile({
69
+ "pr-review-requested.yaml": createSoloWorkflowFile({
70
70
  name: "PR Review Requested",
71
71
  on: { pull_request_target: { types: ["review_requested"] } },
72
72
  permissions: { "pull-requests": "write" },
@@ -83,7 +83,7 @@ const blockGitHubActionsCI = base.createBlock({
83
83
  };
84
84
  },
85
85
  transition() {
86
- return { addons: [blockRemoveFiles({ files: [".circleci", "travis.yml"] })] };
86
+ return { addons: [blockRemoveFiles({ files: [".circleci", "travis.yaml"] })] };
87
87
  }
88
88
  });
89
89
 
@@ -1 +1 @@
1
- {"version":3,"file":"blockGitHubActionsCI.js","names":[],"sources":["../../src/blocks/blockGitHubActionsCI.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { resolveUses } from \"./actions/resolveUses.js\";\nimport { intakeFileYamlSteps, zActionStep } from \"./actions/steps.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { blockRepositoryBranchRuleset } from \"./blockRepositoryBranchRuleset.js\";\nimport { createMultiWorkflowFile } from \"./files/createMultiWorkflowFile.js\";\nimport { createSoloWorkflowFile } from \"./files/createSoloWorkflowFile.js\";\nimport { formatYaml } from \"./files/formatYaml.js\";\n\nexport const blockGitHubActionsCI = base.createBlock({\n\tabout: {\n\t\tname: \"GitHub Actions CI\",\n\t},\n\taddons: {\n\t\tjobs: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\tcheckoutWith: z.record(z.string(), z.string()).optional(),\n\t\t\t\t\tif: z.string().optional(),\n\t\t\t\t\tname: z.string(),\n\t\t\t\t\tsteps: z.array(zActionStep),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.optional(),\n\t\tnodeVersion: z.union([z.number(), z.string()]).optional(),\n\t},\n\tintake({ files }) {\n\t\tconst steps = intakeFileYamlSteps(\n\t\t\tfiles,\n\t\t\t[\".github\", \"actions\", \"prepare\", \"action.yml\"],\n\t\t\t[\"runs\", \"steps\"],\n\t\t);\n\t\tif (!steps) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst setupNodeStep = steps.find(\n\t\t\t(step) =>\n\t\t\t\ttypeof step.uses === \"string\" &&\n\t\t\t\tstep.uses.startsWith(\"actions/setup-node\"),\n\t\t);\n\t\tif (!setupNodeStep) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst nodeVersion = setupNodeStep.with?.[\"node-version\"];\n\t\tif (!nodeVersion) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn { nodeVersion };\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { jobs, nodeVersion = options.node.pinned ?? options.node.minimum } =\n\t\t\taddons;\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRepositoryBranchRuleset({\n\t\t\t\t\trequiredStatusChecks: jobs?.map((job) => job.name),\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\tactions: {\n\t\t\t\t\t\tprepare: {\n\t\t\t\t\t\t\t\"action.yml\": formatYaml({\n\t\t\t\t\t\t\t\tdescription: \"Prepares the repo for a typical CI job\",\n\t\t\t\t\t\t\t\tname: \"Prepare\",\n\t\t\t\t\t\t\t\truns: {\n\t\t\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\t\t\"pnpm/action-setup\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"v4\",\n\t\t\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\t\t\"actions/setup-node\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"v4\",\n\t\t\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\t\t\tcache: \"pnpm\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"node-version\": nodeVersion,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\trun: \"pnpm install --frozen-lockfile\",\n\t\t\t\t\t\t\t\t\t\t\tshell: \"bash\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tusing: \"composite\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tworkflows: {\n\t\t\t\t\t\t\"ci.yml\":\n\t\t\t\t\t\t\tjobs &&\n\t\t\t\t\t\t\tcreateMultiWorkflowFile({\n\t\t\t\t\t\t\t\tjobs: jobs.sort((a, b) => a.name.localeCompare(b.name)),\n\t\t\t\t\t\t\t\tname: \"CI\",\n\t\t\t\t\t\t\t\tworkflowsVersions: options.workflowsVersions,\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"pr-review-requested.yml\": createSoloWorkflowFile({\n\t\t\t\t\t\t\tname: \"PR Review Requested\",\n\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\tpull_request_target: {\n\t\t\t\t\t\t\t\t\ttypes: [\"review_requested\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tpermissions: {\n\t\t\t\t\t\t\t\t\"pull-requests\": \"write\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"actions-ecosystem/action-remove-labels\",\n\t\t\t\t\t\t\t\t\t\t\"v1\",\n\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\tlabels: \"status: waiting for author\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif: \"failure()\",\n\t\t\t\t\t\t\t\t\trun: 'echo \"Don\\'t worry if the previous step failed.\"\\necho \"See https://github.com/actions-ecosystem/action-remove-labels/issues/221.\"\\n',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\".circleci\", \"travis.yml\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;;AAWA,MAAa,uBAAuB,KAAK,YAAY;CACpD,OAAO,EACN,MAAM,qBACN;CACD,QAAQ;EACP,MAAM,EACJ,MACA,EAAE,OAAO;GACR,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,QAAQ,CAAC,CAAC,UAAU;GACzD,IAAI,EAAE,QAAQ,CAAC,UAAU;GACzB,MAAM,EAAE,QAAQ;GAChB,OAAO,EAAE,MAAM,YAAY;GAC3B,CAAC,CACF,CACA,UAAU;EACZ,aAAa,EAAE,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU;EACzD;CACD,OAAO,EAAE,SAAS;EACjB,MAAM,QAAQ,oBACb,OACA;GAAC;GAAW;GAAW;GAAW;GAAa,EAC/C,CAAC,QAAQ,QAAQ,CACjB;AACD,MAAI,CAAC,MACJ;EAGD,MAAM,gBAAgB,MAAM,MAC1B,SACA,OAAO,KAAK,SAAS,YACrB,KAAK,KAAK,WAAW,qBAAqB,CAC3C;AACD,MAAI,CAAC,cACJ;EAGD,MAAM,cAAc,cAAc,OAAO;AACzC,MAAI,CAAC,YACJ;AAGD,SAAO,EAAE,aAAa;;CAEvB,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,MAAM,cAAc,QAAQ,KAAK,UAAU,QAAQ,KAAK,YAC/D;AAED,SAAO;GACN,QAAQ,CACP,6BAA6B,EAC5B,sBAAsB,MAAM,KAAK,QAAQ,IAAI,KAAK,EAClD,CAAC,CACF;GACD,OAAO,EACN,WAAW;IACV,SAAS,EACR,SAAS,EACR,cAAc,WAAW;KACxB,aAAa;KACb,MAAM;KACN,MAAM;MACL,OAAO;OACN,EACC,MAAM,YACL,qBACA,MACA,QAAQ,kBACR,EACD;OACD;QACC,MAAM,YACL,sBACA,MACA,QAAQ,kBACR;QACD,MAAM;SACL,OAAO;SACP,gBAAgB;SAChB;QACD;OACD;QACC,KAAK;QACL,OAAO;QACP;OACD;MACD,OAAO;MACP;KACD,CAAC,EACF,EACD;IACD,WAAW;KACV,UACC,QACA,wBAAwB;MACvB,MAAM,KAAK,MAAM,GAAG,MAAM,EAAE,KAAK,cAAc,EAAE,KAAK,CAAC;MACvD,MAAM;MACN,mBAAmB,QAAQ;MAC3B,CAAC;KACH,2BAA2B,uBAAuB;MACjD,MAAM;MACN,IAAI,EACH,qBAAqB,EACpB,OAAO,CAAC,mBAAmB,EAC3B,EACD;MACD,aAAa,EACZ,iBAAiB,SACjB;MACD,OAAO,CACN;OACC,MAAM,YACL,0CACA,MACA,QAAQ,kBACR;OACD,MAAM,EACL,QAAQ,8BACR;OACD,EACD;OACC,IAAI;OACJ,KAAK;OACL,CACD;MACD,CAAC;KACF;IACD,EACD;GACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CACP,iBAAiB,EAChB,OAAO,CAAC,aAAa,aAAa,EAClC,CAAC,CACF,EACD;;CAEF,CAAC"}
1
+ {"version":3,"file":"blockGitHubActionsCI.js","names":[],"sources":["../../src/blocks/blockGitHubActionsCI.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { resolveUses } from \"./actions/resolveUses.js\";\nimport { intakeFileYamlSteps, zActionStep } from \"./actions/steps.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { blockRepositoryBranchRuleset } from \"./blockRepositoryBranchRuleset.js\";\nimport { createMultiWorkflowFile } from \"./files/createMultiWorkflowFile.js\";\nimport { createSoloWorkflowFile } from \"./files/createSoloWorkflowFile.js\";\nimport { formatYaml } from \"./files/formatYaml.js\";\n\nexport const blockGitHubActionsCI = base.createBlock({\n\tabout: {\n\t\tname: \"GitHub Actions CI\",\n\t},\n\taddons: {\n\t\tjobs: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\tcheckoutWith: z.record(z.string(), z.string()).optional(),\n\t\t\t\t\tif: z.string().optional(),\n\t\t\t\t\tname: z.string(),\n\t\t\t\t\tsteps: z.array(zActionStep),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.optional(),\n\t\tnodeVersion: z.union([z.number(), z.string()]).optional(),\n\t},\n\tintake({ files }) {\n\t\tconst steps = intakeFileYamlSteps(\n\t\t\tfiles,\n\t\t\t[\".github\", \"actions\", \"prepare\", \"action.yaml\"],\n\t\t\t[\"runs\", \"steps\"],\n\t\t);\n\t\tif (!steps) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst setupNodeStep = steps.find(\n\t\t\t(step) =>\n\t\t\t\ttypeof step.uses === \"string\" &&\n\t\t\t\tstep.uses.startsWith(\"actions/setup-node\"),\n\t\t);\n\t\tif (!setupNodeStep) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst nodeVersion = setupNodeStep.with?.[\"node-version\"];\n\t\tif (!nodeVersion) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn { nodeVersion };\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { jobs, nodeVersion = options.node.pinned ?? options.node.minimum } =\n\t\t\taddons;\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRepositoryBranchRuleset({\n\t\t\t\t\trequiredStatusChecks: jobs?.map((job) => job.name),\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\tactions: {\n\t\t\t\t\t\tprepare: {\n\t\t\t\t\t\t\t\"action.yaml\": formatYaml({\n\t\t\t\t\t\t\t\tdescription: \"Prepares the repo for a typical CI job\",\n\t\t\t\t\t\t\t\tname: \"Prepare\",\n\t\t\t\t\t\t\t\truns: {\n\t\t\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\t\t\"pnpm/action-setup\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"v4\",\n\t\t\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\t\t\"actions/setup-node\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"v4\",\n\t\t\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\t\t\tcache: \"pnpm\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"node-version\": nodeVersion,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\trun: \"pnpm install --frozen-lockfile\",\n\t\t\t\t\t\t\t\t\t\t\tshell: \"bash\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tusing: \"composite\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tworkflows: {\n\t\t\t\t\t\t\"ci.yaml\":\n\t\t\t\t\t\t\tjobs &&\n\t\t\t\t\t\t\tcreateMultiWorkflowFile({\n\t\t\t\t\t\t\t\tjobs: jobs.sort((a, b) => a.name.localeCompare(b.name)),\n\t\t\t\t\t\t\t\tname: \"CI\",\n\t\t\t\t\t\t\t\tworkflowsVersions: options.workflowsVersions,\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"pr-review-requested.yaml\": createSoloWorkflowFile({\n\t\t\t\t\t\t\tname: \"PR Review Requested\",\n\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\tpull_request_target: {\n\t\t\t\t\t\t\t\t\ttypes: [\"review_requested\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tpermissions: {\n\t\t\t\t\t\t\t\t\"pull-requests\": \"write\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"actions-ecosystem/action-remove-labels\",\n\t\t\t\t\t\t\t\t\t\t\"v1\",\n\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\tlabels: \"status: waiting for author\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif: \"failure()\",\n\t\t\t\t\t\t\t\t\trun: 'echo \"Don\\'t worry if the previous step failed.\"\\necho \"See https://github.com/actions-ecosystem/action-remove-labels/issues/221.\"\\n',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\".circleci\", \"travis.yaml\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;;AAWA,MAAa,uBAAuB,KAAK,YAAY;CACpD,OAAO,EACN,MAAM,qBACN;CACD,QAAQ;EACP,MAAM,EACJ,MACA,EAAE,OAAO;GACR,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,QAAQ,CAAC,CAAC,UAAU;GACzD,IAAI,EAAE,QAAQ,CAAC,UAAU;GACzB,MAAM,EAAE,QAAQ;GAChB,OAAO,EAAE,MAAM,YAAY;GAC3B,CAAC,CACF,CACA,UAAU;EACZ,aAAa,EAAE,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU;EACzD;CACD,OAAO,EAAE,SAAS;EACjB,MAAM,QAAQ,oBACb,OACA;GAAC;GAAW;GAAW;GAAW;GAAc,EAChD,CAAC,QAAQ,QAAQ,CACjB;AACD,MAAI,CAAC,MACJ;EAGD,MAAM,gBAAgB,MAAM,MAC1B,SACA,OAAO,KAAK,SAAS,YACrB,KAAK,KAAK,WAAW,qBAAqB,CAC3C;AACD,MAAI,CAAC,cACJ;EAGD,MAAM,cAAc,cAAc,OAAO;AACzC,MAAI,CAAC,YACJ;AAGD,SAAO,EAAE,aAAa;;CAEvB,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,MAAM,cAAc,QAAQ,KAAK,UAAU,QAAQ,KAAK,YAC/D;AAED,SAAO;GACN,QAAQ,CACP,6BAA6B,EAC5B,sBAAsB,MAAM,KAAK,QAAQ,IAAI,KAAK,EAClD,CAAC,CACF;GACD,OAAO,EACN,WAAW;IACV,SAAS,EACR,SAAS,EACR,eAAe,WAAW;KACzB,aAAa;KACb,MAAM;KACN,MAAM;MACL,OAAO;OACN,EACC,MAAM,YACL,qBACA,MACA,QAAQ,kBACR,EACD;OACD;QACC,MAAM,YACL,sBACA,MACA,QAAQ,kBACR;QACD,MAAM;SACL,OAAO;SACP,gBAAgB;SAChB;QACD;OACD;QACC,KAAK;QACL,OAAO;QACP;OACD;MACD,OAAO;MACP;KACD,CAAC,EACF,EACD;IACD,WAAW;KACV,WACC,QACA,wBAAwB;MACvB,MAAM,KAAK,MAAM,GAAG,MAAM,EAAE,KAAK,cAAc,EAAE,KAAK,CAAC;MACvD,MAAM;MACN,mBAAmB,QAAQ;MAC3B,CAAC;KACH,4BAA4B,uBAAuB;MAClD,MAAM;MACN,IAAI,EACH,qBAAqB,EACpB,OAAO,CAAC,mBAAmB,EAC3B,EACD;MACD,aAAa,EACZ,iBAAiB,SACjB;MACD,OAAO,CACN;OACC,MAAM,YACL,0CACA,MACA,QAAQ,kBACR;OACD,MAAM,EACL,QAAQ,8BACR;OACD,EACD;OACC,IAAI;OACJ,KAAK;OACL,CACD;MACD,CAAC;KACF;IACD,EACD;GACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CACP,iBAAiB,EAChB,OAAO,CAAC,aAAa,cAAc,EACnC,CAAC,CACF,EACD;;CAEF,CAAC"}
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum51 from "bingo-stratum";
1
+ import * as bingo_stratum14 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockGitHubApps.d.ts
4
- declare const blockGitHubApps: bingo_stratum51.BlockWithAddons<{
4
+ declare const blockGitHubApps: bingo_stratum14.BlockWithAddons<{
5
5
  apps: {
6
6
  name: string;
7
7
  url: string;
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum25 from "bingo-stratum";
1
+ import * as bingo_stratum15 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockGitHubIssueTemplates.d.ts
4
- declare const blockGitHubIssueTemplates: bingo_stratum25.BlockWithoutAddons<{
4
+ declare const blockGitHubIssueTemplates: bingo_stratum15.BlockWithoutAddons<{
5
5
  access: "public" | "restricted";
6
6
  description: string;
7
7
  directory: string;
@@ -7,7 +7,7 @@ const blockGitHubIssueTemplates = base.createBlock({
7
7
  produce({ options }) {
8
8
  return { files: { ".github": {
9
9
  ISSUE_TEMPLATE: {
10
- "01-bug.yml": formatYaml({
10
+ "01-bug.yaml": formatYaml({
11
11
  body: [
12
12
  {
13
13
  attributes: {
@@ -59,7 +59,7 @@ const blockGitHubIssueTemplates = base.createBlock({
59
59
  name: "🐛 Bug",
60
60
  title: "🐛 Bug: <short description of the bug>"
61
61
  }),
62
- "02-documentation.yml": formatYaml({
62
+ "02-documentation.yaml": formatYaml({
63
63
  body: [
64
64
  {
65
65
  attributes: {
@@ -96,7 +96,7 @@ const blockGitHubIssueTemplates = base.createBlock({
96
96
  name: "📝 Documentation",
97
97
  title: "📝 Documentation: <short description of the request>"
98
98
  }),
99
- "03-feature.yml": formatYaml({
99
+ "03-feature.yaml": formatYaml({
100
100
  body: [
101
101
  {
102
102
  attributes: {
@@ -133,7 +133,7 @@ const blockGitHubIssueTemplates = base.createBlock({
133
133
  name: "🚀 Feature",
134
134
  title: "🚀 Feature: <short description of the feature>"
135
135
  }),
136
- "04-tooling.yml": formatYaml({
136
+ "04-tooling.yaml": formatYaml({
137
137
  body: [
138
138
  {
139
139
  attributes: {
@@ -1 +1 @@
1
- {"version":3,"file":"blockGitHubIssueTemplates.js","names":[],"sources":["../../src/blocks/blockGitHubIssueTemplates.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { formatYaml } from \"./files/formatYaml.js\";\n\nexport const blockGitHubIssueTemplates = base.createBlock({\n\tabout: {\n\t\tname: \"GitHub Issue Templates\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\tISSUE_TEMPLATE: {\n\t\t\t\t\t\t\"01-bug.yml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Bug Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have tried restarting my IDE and the issue persists.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have pulled the latest `main` branch of the repository.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to happen?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Expected\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What happened instead?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Actual\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription: \"Report a bug trying to run the code\",\n\t\t\t\t\t\t\tlabels: [\"type: bug\"],\n\t\t\t\t\t\t\tname: \"🐛 Bug\",\n\t\t\t\t\t\t\ttitle: \"🐛 Bug: <short description of the bug>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"02-documentation.yml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Documentation Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have looked at the latest `main` branch of the repository.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What would you like to report?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription: \"Report a typo or missing area of documentation\",\n\t\t\t\t\t\t\tlabels: [\"area: documentation\"],\n\t\t\t\t\t\t\tname: \"📝 Documentation\",\n\t\t\t\t\t\t\ttitle: \"📝 Documentation: <short description of the request>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"03-feature.yml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Feature Request Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have looked at the latest version of the project.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to be able to do?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\"Request that a new feature be added or an existing feature improved\",\n\t\t\t\t\t\t\tlabels: [\"type: feature\"],\n\t\t\t\t\t\t\tname: \"🚀 Feature\",\n\t\t\t\t\t\t\ttitle: \"🚀 Feature: <short description of the feature>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"04-tooling.yml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Tooling Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have tried restarting my IDE and the issue persists.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have pulled the latest `main` branch of the repository.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to be able to do?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\"Report a bug or request an enhancement in repository tooling\",\n\t\t\t\t\t\t\tlabels: [\"area: tooling\"],\n\t\t\t\t\t\t\tname: \"🛠 Tooling\",\n\t\t\t\t\t\t\ttitle: \"🛠 Tooling: <short description of the change>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t\t\"ISSUE_TEMPLATE.md\": `<!-- Note: Please must use one of our issue templates to file an issue! 🛑 -->\n<!-- 👉 https://github.com/${options.owner}/${options.repository}/issues/new/choose 👈 -->\n<!-- **Issues that should have been filed with a template will be closed without action, and we will ask you to use a template.** -->\n\n<!-- This blank issue template is only for issues that don't fit any of the templates. -->\n\n## Overview\n\n...\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAGA,MAAa,4BAA4B,KAAK,YAAY;CACzD,OAAO,EACN,MAAM,0BACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO,EACN,OAAO,EACN,WAAW;GACV,gBAAgB;IACf,cAAc,WAAW;KACxB,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS;SACR;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;UACtG,UAAU;UACV;SACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aAAa;KACb,QAAQ,CAAC,YAAY;KACrB,MAAM;KACN,OAAO;KACP,CAAC;IACF,wBAAwB,WAAW;KAClC,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS,CACR;SACC,OACC;SACD,UAAU;SACV,EACD;SACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;SACtG,UAAU;SACV,CACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aAAa;KACb,QAAQ,CAAC,sBAAsB;KAC/B,MAAM;KACN,OAAO;KACP,CAAC;IACF,kBAAkB,WAAW;KAC5B,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS,CACR;SACC,OACC;SACD,UAAU;SACV,EACD;SACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;SACtG,UAAU;SACV,CACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aACC;KACD,QAAQ,CAAC,gBAAgB;KACzB,MAAM;KACN,OAAO;KACP,CAAC;IACF,kBAAkB,WAAW;KAC5B,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS;SACR;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;UACtG,UAAU;UACV;SACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aACC;KACD,QAAQ,CAAC,gBAAgB;KACzB,MAAM;KACN,OAAO;KACP,CAAC;IACF;GACD,qBAAqB;6BACG,QAAQ,MAAM,GAAG,QAAQ,WAAW;;;;;;;;;GAS5D,EACD,EACD;;CAEF,CAAC"}
1
+ {"version":3,"file":"blockGitHubIssueTemplates.js","names":[],"sources":["../../src/blocks/blockGitHubIssueTemplates.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { formatYaml } from \"./files/formatYaml.js\";\n\nexport const blockGitHubIssueTemplates = base.createBlock({\n\tabout: {\n\t\tname: \"GitHub Issue Templates\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\tISSUE_TEMPLATE: {\n\t\t\t\t\t\t\"01-bug.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Bug Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have tried restarting my IDE and the issue persists.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have pulled the latest `main` branch of the repository.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to happen?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Expected\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What happened instead?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Actual\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription: \"Report a bug trying to run the code\",\n\t\t\t\t\t\t\tlabels: [\"type: bug\"],\n\t\t\t\t\t\t\tname: \"🐛 Bug\",\n\t\t\t\t\t\t\ttitle: \"🐛 Bug: <short description of the bug>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"02-documentation.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Documentation Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have looked at the latest `main` branch of the repository.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What would you like to report?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription: \"Report a typo or missing area of documentation\",\n\t\t\t\t\t\t\tlabels: [\"area: documentation\"],\n\t\t\t\t\t\t\tname: \"📝 Documentation\",\n\t\t\t\t\t\t\ttitle: \"📝 Documentation: <short description of the request>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"03-feature.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Feature Request Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have looked at the latest version of the project.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to be able to do?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\"Request that a new feature be added or an existing feature improved\",\n\t\t\t\t\t\t\tlabels: [\"type: feature\"],\n\t\t\t\t\t\t\tname: \"🚀 Feature\",\n\t\t\t\t\t\t\ttitle: \"🚀 Feature: <short description of the feature>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"04-tooling.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Tooling Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have tried restarting my IDE and the issue persists.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have pulled the latest `main` branch of the repository.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to be able to do?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\"Report a bug or request an enhancement in repository tooling\",\n\t\t\t\t\t\t\tlabels: [\"area: tooling\"],\n\t\t\t\t\t\t\tname: \"🛠 Tooling\",\n\t\t\t\t\t\t\ttitle: \"🛠 Tooling: <short description of the change>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t\t\"ISSUE_TEMPLATE.md\": `<!-- Note: Please must use one of our issue templates to file an issue! 🛑 -->\n<!-- 👉 https://github.com/${options.owner}/${options.repository}/issues/new/choose 👈 -->\n<!-- **Issues that should have been filed with a template will be closed without action, and we will ask you to use a template.** -->\n\n<!-- This blank issue template is only for issues that don't fit any of the templates. -->\n\n## Overview\n\n...\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAGA,MAAa,4BAA4B,KAAK,YAAY;CACzD,OAAO,EACN,MAAM,0BACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO,EACN,OAAO,EACN,WAAW;GACV,gBAAgB;IACf,eAAe,WAAW;KACzB,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS;SACR;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;UACtG,UAAU;UACV;SACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aAAa;KACb,QAAQ,CAAC,YAAY;KACrB,MAAM;KACN,OAAO;KACP,CAAC;IACF,yBAAyB,WAAW;KACnC,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS,CACR;SACC,OACC;SACD,UAAU;SACV,EACD;SACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;SACtG,UAAU;SACV,CACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aAAa;KACb,QAAQ,CAAC,sBAAsB;KAC/B,MAAM;KACN,OAAO;KACP,CAAC;IACF,mBAAmB,WAAW;KAC7B,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS,CACR;SACC,OACC;SACD,UAAU;SACV,EACD;SACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;SACtG,UAAU;SACV,CACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aACC;KACD,QAAQ,CAAC,gBAAgB;KACzB,MAAM;KACN,OAAO;KACP,CAAC;IACF,mBAAmB,WAAW;KAC7B,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS;SACR;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;UACtG,UAAU;UACV;SACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aACC;KACD,QAAQ,CAAC,gBAAgB;KACzB,MAAM;KACN,OAAO;KACP,CAAC;IACF;GACD,qBAAqB;6BACG,QAAQ,MAAM,GAAG,QAAQ,WAAW;;;;;;;;;GAS5D,EACD,EACD;;CAEF,CAAC"}
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum28 from "bingo-stratum";
1
+ import * as bingo_stratum37 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockGitHubPRTemplate.d.ts
4
- declare const blockGitHubPRTemplate: bingo_stratum28.BlockWithoutAddons<{
4
+ declare const blockGitHubPRTemplate: bingo_stratum37.BlockWithoutAddons<{
5
5
  access: "public" | "restricted";
6
6
  description: string;
7
7
  directory: string;
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum42 from "bingo-stratum";
1
+ import * as bingo_stratum11 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockGitignore.d.ts
4
- declare const blockGitignore: bingo_stratum42.BlockWithAddons<{
4
+ declare const blockGitignore: bingo_stratum11.BlockWithAddons<{
5
5
  ignores: string[];
6
6
  }, {
7
7
  access: "public" | "restricted";
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum23 from "bingo-stratum";
1
+ import * as bingo_stratum53 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockKnip.d.ts
4
- declare const blockKnip: bingo_stratum23.BlockWithAddons<{
4
+ declare const blockKnip: bingo_stratum53.BlockWithAddons<{
5
5
  entry?: string[] | undefined;
6
6
  ignoreDependencies?: string[] | undefined;
7
7
  project?: string[] | undefined;
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum24 from "bingo-stratum";
1
+ import * as bingo_stratum54 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockMITLicense.d.ts
4
- declare const blockMITLicense: bingo_stratum24.BlockWithoutAddons<{
4
+ declare const blockMITLicense: bingo_stratum54.BlockWithoutAddons<{
5
5
  access: "public" | "restricted";
6
6
  description: string;
7
7
  directory: string;
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum27 from "bingo-stratum";
1
+ import * as bingo_stratum50 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockMain.d.ts
4
- declare const blockMain: bingo_stratum27.BlockWithAddons<{
4
+ declare const blockMain: bingo_stratum50.BlockWithAddons<{
5
5
  runArgs: string[];
6
6
  filePath?: string | undefined;
7
7
  }, {
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum26 from "bingo-stratum";
1
+ import * as bingo_stratum51 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockNcc.d.ts
4
- declare const blockNcc: bingo_stratum26.BlockWithAddons<{
4
+ declare const blockNcc: bingo_stratum51.BlockWithAddons<{
5
5
  entry?: string | undefined;
6
6
  }, {
7
7
  access: "public" | "restricted";
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum29 from "bingo-stratum";
1
+ import * as bingo_stratum52 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockNvmrc.d.ts
4
- declare const blockNvmrc: bingo_stratum29.BlockWithoutAddons<{
4
+ declare const blockNvmrc: bingo_stratum52.BlockWithoutAddons<{
5
5
  access: "public" | "restricted";
6
6
  description: string;
7
7
  directory: string;
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum30 from "bingo-stratum";
1
+ import * as bingo_stratum0 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockOctoGuide.d.ts
4
- declare const blockOctoGuide: bingo_stratum30.BlockWithAddons<{
4
+ declare const blockOctoGuide: bingo_stratum0.BlockWithAddons<{
5
5
  config?: "strict" | "recommended" | undefined;
6
6
  }, {
7
7
  access: "public" | "restricted";
@@ -1 +1 @@
1
- {"version":3,"file":"blockOctoGuide.d.ts","names":[],"sources":["../../src/blocks/blockOctoGuide.ts"],"sourcesContent":[],"mappings":";;;cAQa,gCAAc;;;EAAd,MAAA,EAAA,QAAA,GAiGX,YAAA;;;;;;;;;;IAjGyB,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
1
+ {"version":3,"file":"blockOctoGuide.d.ts","names":[],"sources":["../../src/blocks/blockOctoGuide.ts"],"sourcesContent":[],"mappings":";;;cAQa,+BAAc;;;EAAd,MAAA,EAAA,QAAA,GAiGX,YAAA;;;;;;;;;;IAjGyB,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
@@ -13,7 +13,7 @@ const blockOctoGuide = base.createBlock({
13
13
  const steps = intakeFileYamlSteps(files, [
14
14
  ".github",
15
15
  "workflows",
16
- "octoguide.yml"
16
+ "octoguide.yaml"
17
17
  ], [
18
18
  "jobs",
19
19
  "octoguide",
@@ -25,7 +25,7 @@ const blockOctoGuide = base.createBlock({
25
25
  return { config: runOctoGuideStep.with?.config };
26
26
  },
27
27
  produce({ addons, options }) {
28
- return { files: { ".github": { workflows: { "octoguide.yml": createSoloWorkflowFile({
28
+ return { files: { ".github": { workflows: { "octoguide.yaml": createSoloWorkflowFile({
29
29
  if: "${{ !endsWith(github.actor, '[bot]') }}",
30
30
  name: "OctoGuide",
31
31
  on: {
@@ -63,7 +63,7 @@ const blockOctoGuide = base.createBlock({
63
63
  }) } } } };
64
64
  },
65
65
  transition() {
66
- return { addons: [blockRemoveFiles({ files: [".github/workflows/accessibility-alt-text-bot.yml", ".github/workflows/compliance.yml"] })] };
66
+ return { addons: [blockRemoveFiles({ files: [".github/workflows/accessibility-alt-text-bot.yaml", ".github/workflows/compliance.yaml"] })] };
67
67
  }
68
68
  });
69
69
 
@@ -1 +1 @@
1
- {"version":3,"file":"blockOctoGuide.js","names":[],"sources":["../../src/blocks/blockOctoGuide.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { resolveUses } from \"./actions/resolveUses.js\";\nimport { intakeFileYamlSteps } from \"./actions/steps.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { createSoloWorkflowFile } from \"./files/createSoloWorkflowFile.js\";\n\nexport const blockOctoGuide = base.createBlock({\n\tabout: {\n\t\tname: \"OctoGuide\",\n\t},\n\taddons: {\n\t\tconfig: z.union([z.literal(\"recommended\"), z.literal(\"strict\")]).optional(),\n\t},\n\tintake({ files }) {\n\t\tconst steps = intakeFileYamlSteps(\n\t\t\tfiles,\n\t\t\t[\".github\", \"workflows\", \"octoguide.yml\"],\n\t\t\t[\"jobs\", \"octoguide\", \"steps\"],\n\t\t);\n\t\tif (!steps) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst runOctoGuideStep = steps.find(\n\t\t\t(step) =>\n\t\t\t\ttypeof step.uses === \"string\" &&\n\t\t\t\tstep.uses.startsWith(\"JoshuaKGoldberg/octoguide\"),\n\t\t);\n\t\tif (!runOctoGuideStep) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn {\n\t\t\tconfig: runOctoGuideStep.with?.config as\n\t\t\t\t| \"recommended\"\n\t\t\t\t| \"strict\"\n\t\t\t\t| undefined,\n\t\t};\n\t},\n\tproduce({ addons, options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\tworkflows: {\n\t\t\t\t\t\t\"octoguide.yml\": createSoloWorkflowFile({\n\t\t\t\t\t\t\tif: \"${{ !endsWith(github.actor, '[bot]') }}\",\n\t\t\t\t\t\t\tname: \"OctoGuide\",\n\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\tdiscussion: {\n\t\t\t\t\t\t\t\t\ttypes: [\"created\", \"edited\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tdiscussion_comment: {\n\t\t\t\t\t\t\t\t\ttypes: [\"created\", \"deleted\", \"edited\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tissue_comment: {\n\t\t\t\t\t\t\t\t\ttypes: [\"created\", \"deleted\", \"edited\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tissues: {\n\t\t\t\t\t\t\t\t\ttypes: [\"edited\", \"opened\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tpull_request_review_comment: {\n\t\t\t\t\t\t\t\t\ttypes: [\"created\", \"deleted\", \"edited\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tpull_request_target: {\n\t\t\t\t\t\t\t\t\ttypes: [\"edited\", \"opened\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tpermissions: {\n\t\t\t\t\t\t\t\tdiscussions: \"write\",\n\t\t\t\t\t\t\t\tissues: \"write\",\n\t\t\t\t\t\t\t\t\"pull-requests\": \"write\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"JoshuaKGoldberg/octoguide\",\n\t\t\t\t\t\t\t\t\t\t\"0.11.1\",\n\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\tconfig: addons.config ?? \"recommended\",\n\t\t\t\t\t\t\t\t\t\t\"github-token\": \"${{ secrets.GITHUB_TOKEN }}\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\n\t\t\t\t\t\t\".github/workflows/accessibility-alt-text-bot.yml\",\n\t\t\t\t\t\t\".github/workflows/compliance.yml\",\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;AAQA,MAAa,iBAAiB,KAAK,YAAY;CAC9C,OAAO,EACN,MAAM,aACN;CACD,QAAQ,EACP,QAAQ,EAAE,MAAM,CAAC,EAAE,QAAQ,cAAc,EAAE,EAAE,QAAQ,SAAS,CAAC,CAAC,CAAC,UAAU,EAC3E;CACD,OAAO,EAAE,SAAS;EACjB,MAAM,QAAQ,oBACb,OACA;GAAC;GAAW;GAAa;GAAgB,EACzC;GAAC;GAAQ;GAAa;GAAQ,CAC9B;AACD,MAAI,CAAC,MACJ;EAGD,MAAM,mBAAmB,MAAM,MAC7B,SACA,OAAO,KAAK,SAAS,YACrB,KAAK,KAAK,WAAW,4BAA4B,CAClD;AACD,MAAI,CAAC,iBACJ;AAGD,SAAO,EACN,QAAQ,iBAAiB,MAAM,QAI/B;;CAEF,QAAQ,EAAE,QAAQ,WAAW;AAC5B,SAAO,EACN,OAAO,EACN,WAAW,EACV,WAAW,EACV,iBAAiB,uBAAuB;GACvC,IAAI;GACJ,MAAM;GACN,IAAI;IACH,YAAY,EACX,OAAO,CAAC,WAAW,SAAS,EAC5B;IACD,oBAAoB,EACnB,OAAO;KAAC;KAAW;KAAW;KAAS,EACvC;IACD,eAAe,EACd,OAAO;KAAC;KAAW;KAAW;KAAS,EACvC;IACD,QAAQ,EACP,OAAO,CAAC,UAAU,SAAS,EAC3B;IACD,6BAA6B,EAC5B,OAAO;KAAC;KAAW;KAAW;KAAS,EACvC;IACD,qBAAqB,EACpB,OAAO,CAAC,UAAU,SAAS,EAC3B;IACD;GACD,aAAa;IACZ,aAAa;IACb,QAAQ;IACR,iBAAiB;IACjB;GACD,OAAO,CACN;IACC,MAAM,YACL,6BACA,UACA,QAAQ,kBACR;IACD,MAAM;KACL,QAAQ,OAAO,UAAU;KACzB,gBAAgB;KAChB;IACD,CACD;GACD,CAAC,EACF,EACD,EACD,EACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CACP,iBAAiB,EAChB,OAAO,CACN,oDACA,mCACA,EACD,CAAC,CACF,EACD;;CAEF,CAAC"}
1
+ {"version":3,"file":"blockOctoGuide.js","names":[],"sources":["../../src/blocks/blockOctoGuide.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { resolveUses } from \"./actions/resolveUses.js\";\nimport { intakeFileYamlSteps } from \"./actions/steps.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { createSoloWorkflowFile } from \"./files/createSoloWorkflowFile.js\";\n\nexport const blockOctoGuide = base.createBlock({\n\tabout: {\n\t\tname: \"OctoGuide\",\n\t},\n\taddons: {\n\t\tconfig: z.union([z.literal(\"recommended\"), z.literal(\"strict\")]).optional(),\n\t},\n\tintake({ files }) {\n\t\tconst steps = intakeFileYamlSteps(\n\t\t\tfiles,\n\t\t\t[\".github\", \"workflows\", \"octoguide.yaml\"],\n\t\t\t[\"jobs\", \"octoguide\", \"steps\"],\n\t\t);\n\t\tif (!steps) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst runOctoGuideStep = steps.find(\n\t\t\t(step) =>\n\t\t\t\ttypeof step.uses === \"string\" &&\n\t\t\t\tstep.uses.startsWith(\"JoshuaKGoldberg/octoguide\"),\n\t\t);\n\t\tif (!runOctoGuideStep) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn {\n\t\t\tconfig: runOctoGuideStep.with?.config as\n\t\t\t\t| \"recommended\"\n\t\t\t\t| \"strict\"\n\t\t\t\t| undefined,\n\t\t};\n\t},\n\tproduce({ addons, options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\tworkflows: {\n\t\t\t\t\t\t\"octoguide.yaml\": createSoloWorkflowFile({\n\t\t\t\t\t\t\tif: \"${{ !endsWith(github.actor, '[bot]') }}\",\n\t\t\t\t\t\t\tname: \"OctoGuide\",\n\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\tdiscussion: {\n\t\t\t\t\t\t\t\t\ttypes: [\"created\", \"edited\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tdiscussion_comment: {\n\t\t\t\t\t\t\t\t\ttypes: [\"created\", \"deleted\", \"edited\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tissue_comment: {\n\t\t\t\t\t\t\t\t\ttypes: [\"created\", \"deleted\", \"edited\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tissues: {\n\t\t\t\t\t\t\t\t\ttypes: [\"edited\", \"opened\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tpull_request_review_comment: {\n\t\t\t\t\t\t\t\t\ttypes: [\"created\", \"deleted\", \"edited\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tpull_request_target: {\n\t\t\t\t\t\t\t\t\ttypes: [\"edited\", \"opened\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tpermissions: {\n\t\t\t\t\t\t\t\tdiscussions: \"write\",\n\t\t\t\t\t\t\t\tissues: \"write\",\n\t\t\t\t\t\t\t\t\"pull-requests\": \"write\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"JoshuaKGoldberg/octoguide\",\n\t\t\t\t\t\t\t\t\t\t\"0.11.1\",\n\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\tconfig: addons.config ?? \"recommended\",\n\t\t\t\t\t\t\t\t\t\t\"github-token\": \"${{ secrets.GITHUB_TOKEN }}\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\n\t\t\t\t\t\t\".github/workflows/accessibility-alt-text-bot.yaml\",\n\t\t\t\t\t\t\".github/workflows/compliance.yaml\",\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;AAQA,MAAa,iBAAiB,KAAK,YAAY;CAC9C,OAAO,EACN,MAAM,aACN;CACD,QAAQ,EACP,QAAQ,EAAE,MAAM,CAAC,EAAE,QAAQ,cAAc,EAAE,EAAE,QAAQ,SAAS,CAAC,CAAC,CAAC,UAAU,EAC3E;CACD,OAAO,EAAE,SAAS;EACjB,MAAM,QAAQ,oBACb,OACA;GAAC;GAAW;GAAa;GAAiB,EAC1C;GAAC;GAAQ;GAAa;GAAQ,CAC9B;AACD,MAAI,CAAC,MACJ;EAGD,MAAM,mBAAmB,MAAM,MAC7B,SACA,OAAO,KAAK,SAAS,YACrB,KAAK,KAAK,WAAW,4BAA4B,CAClD;AACD,MAAI,CAAC,iBACJ;AAGD,SAAO,EACN,QAAQ,iBAAiB,MAAM,QAI/B;;CAEF,QAAQ,EAAE,QAAQ,WAAW;AAC5B,SAAO,EACN,OAAO,EACN,WAAW,EACV,WAAW,EACV,kBAAkB,uBAAuB;GACxC,IAAI;GACJ,MAAM;GACN,IAAI;IACH,YAAY,EACX,OAAO,CAAC,WAAW,SAAS,EAC5B;IACD,oBAAoB,EACnB,OAAO;KAAC;KAAW;KAAW;KAAS,EACvC;IACD,eAAe,EACd,OAAO;KAAC;KAAW;KAAW;KAAS,EACvC;IACD,QAAQ,EACP,OAAO,CAAC,UAAU,SAAS,EAC3B;IACD,6BAA6B,EAC5B,OAAO;KAAC;KAAW;KAAW;KAAS,EACvC;IACD,qBAAqB,EACpB,OAAO,CAAC,UAAU,SAAS,EAC3B;IACD;GACD,aAAa;IACZ,aAAa;IACb,QAAQ;IACR,iBAAiB;IACjB;GACD,OAAO,CACN;IACC,MAAM,YACL,6BACA,UACA,QAAQ,kBACR;IACD,MAAM;KACL,QAAQ,OAAO,UAAU;KACzB,gBAAgB;KAChB;IACD,CACD;GACD,CAAC,EACF,EACD,EACD,EACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CACP,iBAAiB,EAChB,OAAO,CACN,qDACA,oCACA,EACD,CAAC,CACF,EACD;;CAEF,CAAC"}
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum31 from "bingo-stratum";
1
+ import * as bingo_stratum18 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockOctoGuideStrict.d.ts
4
- declare const blockOctoGuideStrict: bingo_stratum31.BlockWithoutAddons<{
4
+ declare const blockOctoGuideStrict: bingo_stratum18.BlockWithoutAddons<{
5
5
  access: "public" | "restricted";
6
6
  description: string;
7
7
  directory: string;
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum32 from "bingo-stratum";
1
+ import * as bingo_stratum9 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockPackageJson.d.ts
4
- declare const blockPackageJson: bingo_stratum32.BlockWithAddons<{
4
+ declare const blockPackageJson: bingo_stratum9.BlockWithAddons<{
5
5
  properties: {
6
6
  type?: "commonjs" | "module" | undefined;
7
7
  author?: string | {
@@ -42,10 +42,10 @@ declare const blockPackageJson: bingo_stratum32.BlockWithAddons<{
42
42
  engines?: Record<string, string> | undefined;
43
43
  packageManager?: string | undefined;
44
44
  files?: string[] | undefined;
45
+ config?: Record<string, unknown> | undefined;
45
46
  types?: string | undefined;
46
47
  imports?: Record<string, unknown> | undefined;
47
48
  license?: string | undefined;
48
- config?: Record<string, unknown> | undefined;
49
49
  private?: boolean | undefined;
50
50
  homepage?: string | undefined;
51
51
  maintainers?: (string | {
@@ -1 +1 @@
1
- {"version":3,"file":"blockPackageJson.d.ts","names":[],"sources":["../../src/blocks/blockPackageJson.ts"],"sourcesContent":[],"mappings":";;;cAiBa,kCAAgB;;;IAAhB,MAAA,CAAA,EAAA,MA6EX,GAAA;;;;;;;;;;;;;;;;;;;;;;;;;;kBA7E2B;IAAA,OAAA,CAAA,QAAA,CAAA,MAAA,EAAA,MAAA,GAAA,SAAA,CAAA,GAAA,SAAA"}
1
+ {"version":3,"file":"blockPackageJson.d.ts","names":[],"sources":["../../src/blocks/blockPackageJson.ts"],"sourcesContent":[],"mappings":";;;cAiBa,iCAAgB;;;IAAhB,MAAA,CAAA,EAAA,MA6EX,GAAA;;;;;;;;;;;;;;;;;;;;;;;;;;kBA7E2B;IAAA,OAAA,CAAA,QAAA,CAAA,MAAA,EAAA,MAAA,GAAA,SAAA,CAAA,GAAA,SAAA"}
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum34 from "bingo-stratum";
1
+ import * as bingo_stratum13 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockPnpmDedupe.d.ts
4
- declare const blockPnpmDedupe: bingo_stratum34.BlockWithoutAddons<{
4
+ declare const blockPnpmDedupe: bingo_stratum13.BlockWithoutAddons<{
5
5
  access: "public" | "restricted";
6
6
  description: string;
7
7
  directory: string;
@@ -9,7 +9,7 @@ const blockPnpmDedupe = base.createBlock({
9
9
  about: { name: "pnpm Dedupe" },
10
10
  produce() {
11
11
  return { addons: [
12
- blockDevelopmentDocs({ sections: { Linting: { contents: { items: [`- \`pnpm lint:packages\` ([pnpm dedupe --check](https://pnpm.io/cli/dedupe)): Checks for unnecessarily duplicated packages in the \`pnpm-lock.yml\` file`] } } } }),
12
+ blockDevelopmentDocs({ sections: { Linting: { contents: { items: [`- \`pnpm lint:packages\` ([pnpm dedupe --check](https://pnpm.io/cli/dedupe)): Checks for unnecessarily duplicated packages in the \`pnpm-lock.yaml\` file`] } } } }),
13
13
  blockGitHubActionsCI({ jobs: [{
14
14
  name: "Lint Packages",
15
15
  steps: [{ run: "pnpm lint:packages" }]
@@ -1 +1 @@
1
- {"version":3,"file":"blockPnpmDedupe.js","names":[],"sources":["../../src/blocks/blockPnpmDedupe.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\n\nexport const blockPnpmDedupe = base.createBlock({\n\tabout: {\n\t\tname: \"pnpm Dedupe\",\n\t},\n\tproduce() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockDevelopmentDocs({\n\t\t\t\t\tsections: {\n\t\t\t\t\t\tLinting: {\n\t\t\t\t\t\t\tcontents: {\n\t\t\t\t\t\t\t\titems: [\n\t\t\t\t\t\t\t\t\t`- \\`pnpm lint:packages\\` ([pnpm dedupe --check](https://pnpm.io/cli/dedupe)): Checks for unnecessarily duplicated packages in the \\`pnpm-lock.yml\\` file`,\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockGitHubActionsCI({\n\t\t\t\t\tjobs: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Lint Packages\",\n\t\t\t\t\t\t\tsteps: [{ run: \"pnpm lint:packages\" }],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tcleanupCommands: [\"pnpm dedupe\"],\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\t\"lint:packages\": \"pnpm dedupe --check\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"lint-packages\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;AAMA,MAAa,kBAAkB,KAAK,YAAY;CAC/C,OAAO,EACN,MAAM,eACN;CACD,UAAU;AACT,SAAO,EACN,QAAQ;GACP,qBAAqB,EACpB,UAAU,EACT,SAAS,EACR,UAAU,EACT,OAAO,CACN,2JACA,EACD,EACD,EACD,EACD,CAAC;GACF,qBAAqB,EACpB,MAAM,CACL;IACC,MAAM;IACN,OAAO,CAAC,EAAE,KAAK,sBAAsB,CAAC;IACtC,CACD,EACD,CAAC;GACF,iBAAiB;IAChB,iBAAiB,CAAC,cAAc;IAChC,YAAY,EACX,SAAS,EACR,iBAAiB,uBACjB,EACD;IACD,CAAC;GACF,EACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CACP,qBAAqB,EACpB,WAAW,CAAC,gBAAgB,EAC5B,CAAC,CACF,EACD;;CAEF,CAAC"}
1
+ {"version":3,"file":"blockPnpmDedupe.js","names":[],"sources":["../../src/blocks/blockPnpmDedupe.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\n\nexport const blockPnpmDedupe = base.createBlock({\n\tabout: {\n\t\tname: \"pnpm Dedupe\",\n\t},\n\tproduce() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockDevelopmentDocs({\n\t\t\t\t\tsections: {\n\t\t\t\t\t\tLinting: {\n\t\t\t\t\t\t\tcontents: {\n\t\t\t\t\t\t\t\titems: [\n\t\t\t\t\t\t\t\t\t`- \\`pnpm lint:packages\\` ([pnpm dedupe --check](https://pnpm.io/cli/dedupe)): Checks for unnecessarily duplicated packages in the \\`pnpm-lock.yaml\\` file`,\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockGitHubActionsCI({\n\t\t\t\t\tjobs: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Lint Packages\",\n\t\t\t\t\t\t\tsteps: [{ run: \"pnpm lint:packages\" }],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tcleanupCommands: [\"pnpm dedupe\"],\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\t\"lint:packages\": \"pnpm dedupe --check\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"lint-packages\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;AAMA,MAAa,kBAAkB,KAAK,YAAY;CAC/C,OAAO,EACN,MAAM,eACN;CACD,UAAU;AACT,SAAO,EACN,QAAQ;GACP,qBAAqB,EACpB,UAAU,EACT,SAAS,EACR,UAAU,EACT,OAAO,CACN,4JACA,EACD,EACD,EACD,EACD,CAAC;GACF,qBAAqB,EACpB,MAAM,CACL;IACC,MAAM;IACN,OAAO,CAAC,EAAE,KAAK,sBAAsB,CAAC;IACtC,CACD,EACD,CAAC;GACF,iBAAiB;IAChB,iBAAiB,CAAC,cAAc;IAChC,YAAY,EACX,SAAS,EACR,iBAAiB,uBACjB,EACD;IACD,CAAC;GACF,EACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CACP,qBAAqB,EACpB,WAAW,CAAC,gBAAgB,EAC5B,CAAC,CACF,EACD;;CAEF,CAAC"}
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum33 from "bingo-stratum";
1
+ import * as bingo_stratum16 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockPrettier.d.ts
4
- declare const blockPrettier: bingo_stratum33.BlockWithAddons<{
4
+ declare const blockPrettier: bingo_stratum16.BlockWithAddons<{
5
5
  plugins: string[];
6
6
  ignores: string[];
7
7
  overrides: {
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum35 from "bingo-stratum";
1
+ import * as bingo_stratum19 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockPrettierPluginCurly.d.ts
4
- declare const blockPrettierPluginCurly: bingo_stratum35.BlockWithoutAddons<{
4
+ declare const blockPrettierPluginCurly: bingo_stratum19.BlockWithoutAddons<{
5
5
  access: "public" | "restricted";
6
6
  description: string;
7
7
  directory: string;
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum36 from "bingo-stratum";
1
+ import * as bingo_stratum21 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockPrettierPluginPackageJson.d.ts
4
- declare const blockPrettierPluginPackageJson: bingo_stratum36.BlockWithoutAddons<{
4
+ declare const blockPrettierPluginPackageJson: bingo_stratum21.BlockWithoutAddons<{
5
5
  access: "public" | "restricted";
6
6
  description: string;
7
7
  directory: string;
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum39 from "bingo-stratum";
1
+ import * as bingo_stratum23 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockPrettierPluginSentencesPerLine.d.ts
4
- declare const blockPrettierPluginSentencesPerLine: bingo_stratum39.BlockWithoutAddons<{
4
+ declare const blockPrettierPluginSentencesPerLine: bingo_stratum23.BlockWithoutAddons<{
5
5
  access: "public" | "restricted";
6
6
  description: string;
7
7
  directory: string;
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum37 from "bingo-stratum";
1
+ import * as bingo_stratum22 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockPrettierPluginSh.d.ts
4
- declare const blockPrettierPluginSh: bingo_stratum37.BlockWithoutAddons<{
4
+ declare const blockPrettierPluginSh: bingo_stratum22.BlockWithoutAddons<{
5
5
  access: "public" | "restricted";
6
6
  description: string;
7
7
  directory: string;
@@ -1,8 +1,7 @@
1
- import * as bingo_stratum41 from "bingo-stratum";
1
+ import * as bingo_stratum25 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockREADME.d.ts
4
- declare const blockREADME: bingo_stratum41.BlockWithAddons<{
5
- sections: string[];
4
+ declare const blockREADME: bingo_stratum25.BlockWithAddons<{
6
5
  badges: {
7
6
  alt: string;
8
7
  src: string;
@@ -14,6 +13,7 @@ declare const blockREADME: bingo_stratum41.BlockWithAddons<{
14
13
  }[];
15
14
  defaultUsage: string[];
16
15
  notices: string[];
16
+ sections: string[];
17
17
  }, {
18
18
  access: "public" | "restricted";
19
19
  description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"blockREADME.d.ts","names":[],"sources":["../../src/blocks/blockREADME.ts"],"sourcesContent":[],"mappings":";;;cAyBa,6BAAW;;;IAAX,GAAA,EAAA,MAoDX;;;;;;;;;iBApDsB,EAAA;CAAA,EAAA"}
1
+ {"version":3,"file":"blockREADME.d.ts","names":[],"sources":["../../src/blocks/blockREADME.ts"],"sourcesContent":[],"mappings":";;;cAyBa,6BAAW;;;IAAX,GAAA,EAAA,MAoDX;;;;;;;;;kBApDsB,EAAA;CAAA,EAAA"}
@@ -1,7 +1,7 @@
1
- import * as bingo_stratum18 from "bingo-stratum";
1
+ import * as bingo_stratum27 from "bingo-stratum";
2
2
 
3
3
  //#region src/blocks/blockReleaseIt.d.ts
4
- declare const blockReleaseIt: bingo_stratum18.BlockWithAddons<{
4
+ declare const blockReleaseIt: bingo_stratum27.BlockWithAddons<{
5
5
  builders: {
6
6
  run: string;
7
7
  order: number;
@@ -38,7 +38,7 @@ const blockReleaseIt = base.createBlock({
38
38
  ],
39
39
  files: {
40
40
  ".github": { workflows: {
41
- "post-release.yml": createSoloWorkflowFile({
41
+ "post-release.yaml": createSoloWorkflowFile({
42
42
  name: "Post Release",
43
43
  on: { release: { types: ["published"] } },
44
44
  permissions: {
@@ -69,7 +69,7 @@ const blockReleaseIt = base.createBlock({
69
69
  }
70
70
  ]
71
71
  }),
72
- "release.yml": createSoloWorkflowFile({
72
+ "release.yaml": createSoloWorkflowFile({
73
73
  concurrency: { group: "${{ github.workflow }}" },
74
74
  name: "Release",
75
75
  on: { push: { branches: ["main"] } },