create-typescript-app 2.61.0 → 2.61.2

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 (562) hide show
  1. package/lib/base.js +1 -2
  2. package/lib/blocks/actions/resolveUses.js +1 -2
  3. package/lib/blocks/actions/steps.js +1 -2
  4. package/lib/blocks/bin/getPrimaryBin.js +1 -2
  5. package/lib/blocks/blockAllContributors.js +1 -2
  6. package/lib/blocks/blockAreTheTypesWrong.js +1 -2
  7. package/lib/blocks/blockCSpell.js +1 -2
  8. package/lib/blocks/blockCTATransitions.js +1 -2
  9. package/lib/blocks/blockCodecov.js +1 -2
  10. package/lib/blocks/blockContributingDocs.js +1 -2
  11. package/lib/blocks/blockContributorCovenant.js +1 -2
  12. package/lib/blocks/blockDevelopmentDocs.js +1 -2
  13. package/lib/blocks/blockESLint.js +1 -2
  14. package/lib/blocks/blockESLintComments.js +1 -2
  15. package/lib/blocks/blockESLintJSDoc.js +1 -2
  16. package/lib/blocks/blockESLintJSONC.js +1 -2
  17. package/lib/blocks/blockESLintMarkdown.js +1 -2
  18. package/lib/blocks/blockESLintMoreStyling.js +1 -2
  19. package/lib/blocks/blockESLintNode.js +1 -2
  20. package/lib/blocks/blockESLintPackageJson.js +1 -2
  21. package/lib/blocks/blockESLintPerfectionist.js +1 -2
  22. package/lib/blocks/blockESLintPlugin.js +1 -2
  23. package/lib/blocks/blockESLintRegexp.js +1 -2
  24. package/lib/blocks/blockESLintYML.js +1 -2
  25. package/lib/blocks/blockExampleFiles.js +1 -2
  26. package/lib/blocks/blockExports.js +1 -2
  27. package/lib/blocks/blockFunding.js +1 -2
  28. package/lib/blocks/blockGitHubActionsCI.js +1 -2
  29. package/lib/blocks/blockGitHubApps.js +1 -2
  30. package/lib/blocks/blockGitHubIssueTemplates.js +1 -2
  31. package/lib/blocks/blockGitHubPRTemplate.js +1 -2
  32. package/lib/blocks/blockGitignore.js +1 -2
  33. package/lib/blocks/blockKnip.js +1 -2
  34. package/lib/blocks/blockMITLicense.js +1 -2
  35. package/lib/blocks/blockNcc.js +1 -2
  36. package/lib/blocks/blockNvmrc.js +1 -2
  37. package/lib/blocks/blockOctoGuide.js +1 -2
  38. package/lib/blocks/blockOctoGuideStrict.js +1 -2
  39. package/lib/blocks/blockPackageJson.js +1 -2
  40. package/lib/blocks/blockPnpmDedupe.js +1 -2
  41. package/lib/blocks/blockPrettier.js +1 -2
  42. package/lib/blocks/blockPrettierPluginCurly.js +1 -2
  43. package/lib/blocks/blockPrettierPluginPackageJson.js +1 -2
  44. package/lib/blocks/blockPrettierPluginSentencesPerLine.js +1 -2
  45. package/lib/blocks/blockPrettierPluginSh.js +1 -2
  46. package/lib/blocks/blockREADME.js +1 -2
  47. package/lib/blocks/blockReleaseIt.js +1 -2
  48. package/lib/blocks/blockRemoveDependencies.js +1 -2
  49. package/lib/blocks/blockRemoveFiles.js +1 -2
  50. package/lib/blocks/blockRemoveWorkflows.js +1 -2
  51. package/lib/blocks/blockRenovate.js +1 -2
  52. package/lib/blocks/blockRepositoryBranchRuleset.js +1 -2
  53. package/lib/blocks/blockRepositoryLabels.js +1 -2
  54. package/lib/blocks/blockRepositorySecrets.js +1 -2
  55. package/lib/blocks/blockRepositorySettings.js +1 -2
  56. package/lib/blocks/blockSecurityDocs.js +1 -2
  57. package/lib/blocks/blockSideEffects.js +1 -2
  58. package/lib/blocks/blockTSDown.js +1 -3
  59. package/lib/blocks/blockTemplatedWith.js +1 -2
  60. package/lib/blocks/blockTypeScript.js +1 -2
  61. package/lib/blocks/blockVSCode.js +1 -2
  62. package/lib/blocks/blockVitest.js +1 -2
  63. package/lib/blocks/blockWebExt.js +1 -2
  64. package/lib/blocks/eslint/blockESLintIntake.js +1 -2
  65. package/lib/blocks/eslint/blockESLintPluginIntake.js +1 -2
  66. package/lib/blocks/eslint/getScriptFileExtension.js +1 -2
  67. package/lib/blocks/eslint/mergeAllExtensions.js +1 -2
  68. package/lib/blocks/eslint/schemas.js +1 -2
  69. package/lib/blocks/files/createJobName.js +1 -2
  70. package/lib/blocks/files/createMultiWorkflowFile.js +1 -2
  71. package/lib/blocks/files/createSoloWorkflowFile.js +1 -2
  72. package/lib/blocks/files/formatIgnoreFile.js +1 -2
  73. package/lib/blocks/files/formatWorkflowYaml.js +1 -2
  74. package/lib/blocks/files/formatYaml.js +1 -2
  75. package/lib/blocks/files/removeUsesQuotes.js +1 -2
  76. package/lib/blocks/getInstallationSuggestions.js +1 -2
  77. package/lib/blocks/index.js +1 -2
  78. package/lib/blocks/intake/intakeFile.js +1 -2
  79. package/lib/blocks/intake/intakeFileAsJson.js +1 -2
  80. package/lib/blocks/intake/intakeFileAsYaml.js +1 -2
  81. package/lib/blocks/intake/intakeFileDefineConfig.js +1 -2
  82. package/lib/blocks/options.fakes.js +1 -2
  83. package/lib/blocks/outcomeLabels.js +1 -2
  84. package/lib/blocks/phases.js +1 -2
  85. package/lib/constants.js +1 -2
  86. package/lib/data/contributions.js +1 -2
  87. package/lib/data/packageData.js +1 -2
  88. package/lib/index.js +1 -2
  89. package/lib/inputs/inputFromDirectory.js +1 -2
  90. package/lib/inputs/inputFromOctokit.js +1 -2
  91. package/lib/options/readAccess.js +1 -2
  92. package/lib/options/readAllContributors.js +1 -2
  93. package/lib/options/readAuthor.js +1 -2
  94. package/lib/options/readBin.js +1 -2
  95. package/lib/options/readDescription.js +1 -2
  96. package/lib/options/readDescriptionFromReadme.js +1 -2
  97. package/lib/options/readDevelopmentDocumentation.js +1 -2
  98. package/lib/options/readDocumentation.js +1 -2
  99. package/lib/options/readEmailFromCodeOfConduct.js +1 -2
  100. package/lib/options/readEmailFromGit.js +1 -2
  101. package/lib/options/readEmailFromNpm.js +1 -2
  102. package/lib/options/readEmails.js +1 -2
  103. package/lib/options/readEmoji.js +1 -2
  104. package/lib/options/readExistingLabels.js +1 -2
  105. package/lib/options/readFileAsJson.js +1 -2
  106. package/lib/options/readFileSafe.js +1 -2
  107. package/lib/options/readFunding.js +1 -2
  108. package/lib/options/readGitDefaults.js +1 -2
  109. package/lib/options/readGuide.js +1 -2
  110. package/lib/options/readKeywords.js +1 -2
  111. package/lib/options/readLogo.js +1 -2
  112. package/lib/options/readLogoSizing.js +1 -2
  113. package/lib/options/readNode.js +1 -2
  114. package/lib/options/readNpmDefaults.js +1 -2
  115. package/lib/options/readOwner.js +1 -2
  116. package/lib/options/readPackageAuthor.js +1 -2
  117. package/lib/options/readPackageData.js +1 -2
  118. package/lib/options/readPnpm.js +1 -2
  119. package/lib/options/readReadmeAdditional.js +1 -2
  120. package/lib/options/readReadmeExplainer.js +1 -2
  121. package/lib/options/readReadmeFootnotes.js +1 -2
  122. package/lib/options/readReadmeUsage.js +1 -2
  123. package/lib/options/readRepository.js +1 -2
  124. package/lib/options/readRulesetId.js +1 -2
  125. package/lib/options/readTitle.js +1 -2
  126. package/lib/options/readWords.js +1 -2
  127. package/lib/options/readWorkflowsVersions.js +1 -2
  128. package/lib/presets/common.js +1 -2
  129. package/lib/presets/everything.js +1 -2
  130. package/lib/presets/index.js +1 -2
  131. package/lib/presets/minimal.js +1 -2
  132. package/lib/schemas.js +1 -2
  133. package/lib/template.js +1 -2
  134. package/lib/utils/htmlToTextSafe.js +1 -2
  135. package/lib/utils/resolveBin.js +1 -2
  136. package/lib/utils/swallowError.js +1 -2
  137. package/lib/utils/swallowErrorAsync.js +1 -2
  138. package/lib/utils/trimPrecedingSlash.js +1 -2
  139. package/lib/utils/tryCatch.js +1 -2
  140. package/package.json +1 -1
  141. package/lib/_virtual/rolldown_runtime.js +0 -20
  142. package/lib/base.d.ts +0 -177
  143. package/lib/base.d.ts.map +0 -1
  144. package/lib/base.js.map +0 -1
  145. package/lib/blocks/actions/resolveUses.d.ts +0 -7
  146. package/lib/blocks/actions/resolveUses.d.ts.map +0 -1
  147. package/lib/blocks/actions/resolveUses.js.map +0 -1
  148. package/lib/blocks/actions/steps.d.ts +0 -38
  149. package/lib/blocks/actions/steps.d.ts.map +0 -1
  150. package/lib/blocks/actions/steps.js.map +0 -1
  151. package/lib/blocks/bin/getPrimaryBin.d.ts +0 -5
  152. package/lib/blocks/bin/getPrimaryBin.d.ts.map +0 -1
  153. package/lib/blocks/bin/getPrimaryBin.js.map +0 -1
  154. package/lib/blocks/blockAllContributors.d.ts +0 -74
  155. package/lib/blocks/blockAllContributors.d.ts.map +0 -1
  156. package/lib/blocks/blockAllContributors.js.map +0 -1
  157. package/lib/blocks/blockAreTheTypesWrong.d.ts +0 -74
  158. package/lib/blocks/blockAreTheTypesWrong.d.ts.map +0 -1
  159. package/lib/blocks/blockAreTheTypesWrong.js.map +0 -1
  160. package/lib/blocks/blockCSpell.d.ts +0 -77
  161. package/lib/blocks/blockCSpell.d.ts.map +0 -1
  162. package/lib/blocks/blockCSpell.js.map +0 -1
  163. package/lib/blocks/blockCTATransitions.d.ts +0 -74
  164. package/lib/blocks/blockCTATransitions.d.ts.map +0 -1
  165. package/lib/blocks/blockCTATransitions.js.map +0 -1
  166. package/lib/blocks/blockCodecov.d.ts +0 -76
  167. package/lib/blocks/blockCodecov.d.ts.map +0 -1
  168. package/lib/blocks/blockCodecov.js.map +0 -1
  169. package/lib/blocks/blockContributingDocs.d.ts +0 -74
  170. package/lib/blocks/blockContributingDocs.d.ts.map +0 -1
  171. package/lib/blocks/blockContributingDocs.js.map +0 -1
  172. package/lib/blocks/blockContributorCovenant.d.ts +0 -74
  173. package/lib/blocks/blockContributorCovenant.d.ts.map +0 -1
  174. package/lib/blocks/blockContributorCovenant.js.map +0 -1
  175. package/lib/blocks/blockDevelopmentDocs.d.ts +0 -88
  176. package/lib/blocks/blockDevelopmentDocs.d.ts.map +0 -1
  177. package/lib/blocks/blockDevelopmentDocs.js.map +0 -1
  178. package/lib/blocks/blockESLint.d.ts +0 -98
  179. package/lib/blocks/blockESLint.d.ts.map +0 -1
  180. package/lib/blocks/blockESLint.js.map +0 -1
  181. package/lib/blocks/blockESLintComments.d.ts +0 -74
  182. package/lib/blocks/blockESLintComments.d.ts.map +0 -1
  183. package/lib/blocks/blockESLintComments.js.map +0 -1
  184. package/lib/blocks/blockESLintJSDoc.d.ts +0 -74
  185. package/lib/blocks/blockESLintJSDoc.d.ts.map +0 -1
  186. package/lib/blocks/blockESLintJSDoc.js.map +0 -1
  187. package/lib/blocks/blockESLintJSONC.d.ts +0 -74
  188. package/lib/blocks/blockESLintJSONC.d.ts.map +0 -1
  189. package/lib/blocks/blockESLintJSONC.js.map +0 -1
  190. package/lib/blocks/blockESLintMarkdown.d.ts +0 -74
  191. package/lib/blocks/blockESLintMarkdown.d.ts.map +0 -1
  192. package/lib/blocks/blockESLintMarkdown.js.map +0 -1
  193. package/lib/blocks/blockESLintMoreStyling.d.ts +0 -75
  194. package/lib/blocks/blockESLintMoreStyling.d.ts.map +0 -1
  195. package/lib/blocks/blockESLintMoreStyling.js.map +0 -1
  196. package/lib/blocks/blockESLintNode.d.ts +0 -74
  197. package/lib/blocks/blockESLintNode.d.ts.map +0 -1
  198. package/lib/blocks/blockESLintNode.js.map +0 -1
  199. package/lib/blocks/blockESLintPackageJson.d.ts +0 -74
  200. package/lib/blocks/blockESLintPackageJson.d.ts.map +0 -1
  201. package/lib/blocks/blockESLintPackageJson.js.map +0 -1
  202. package/lib/blocks/blockESLintPerfectionist.d.ts +0 -74
  203. package/lib/blocks/blockESLintPerfectionist.d.ts.map +0 -1
  204. package/lib/blocks/blockESLintPerfectionist.js.map +0 -1
  205. package/lib/blocks/blockESLintPlugin.d.ts +0 -76
  206. package/lib/blocks/blockESLintPlugin.d.ts.map +0 -1
  207. package/lib/blocks/blockESLintPlugin.js.map +0 -1
  208. package/lib/blocks/blockESLintRegexp.d.ts +0 -74
  209. package/lib/blocks/blockESLintRegexp.d.ts.map +0 -1
  210. package/lib/blocks/blockESLintRegexp.js.map +0 -1
  211. package/lib/blocks/blockESLintYML.d.ts +0 -74
  212. package/lib/blocks/blockESLintYML.d.ts.map +0 -1
  213. package/lib/blocks/blockESLintYML.js.map +0 -1
  214. package/lib/blocks/blockExampleFiles.d.ts +0 -77
  215. package/lib/blocks/blockExampleFiles.d.ts.map +0 -1
  216. package/lib/blocks/blockExampleFiles.js.map +0 -1
  217. package/lib/blocks/blockExports.d.ts +0 -77
  218. package/lib/blocks/blockExports.d.ts.map +0 -1
  219. package/lib/blocks/blockExports.js.map +0 -1
  220. package/lib/blocks/blockFunding.d.ts +0 -74
  221. package/lib/blocks/blockFunding.d.ts.map +0 -1
  222. package/lib/blocks/blockFunding.js.map +0 -1
  223. package/lib/blocks/blockGitHubActionsCI.d.ts +0 -90
  224. package/lib/blocks/blockGitHubActionsCI.d.ts.map +0 -1
  225. package/lib/blocks/blockGitHubActionsCI.js.map +0 -1
  226. package/lib/blocks/blockGitHubApps.d.ts +0 -79
  227. package/lib/blocks/blockGitHubApps.d.ts.map +0 -1
  228. package/lib/blocks/blockGitHubApps.js.map +0 -1
  229. package/lib/blocks/blockGitHubIssueTemplates.d.ts +0 -74
  230. package/lib/blocks/blockGitHubIssueTemplates.d.ts.map +0 -1
  231. package/lib/blocks/blockGitHubIssueTemplates.js.map +0 -1
  232. package/lib/blocks/blockGitHubPRTemplate.d.ts +0 -74
  233. package/lib/blocks/blockGitHubPRTemplate.d.ts.map +0 -1
  234. package/lib/blocks/blockGitHubPRTemplate.js.map +0 -1
  235. package/lib/blocks/blockGitignore.d.ts +0 -76
  236. package/lib/blocks/blockGitignore.d.ts.map +0 -1
  237. package/lib/blocks/blockGitignore.js.map +0 -1
  238. package/lib/blocks/blockKnip.d.ts +0 -78
  239. package/lib/blocks/blockKnip.d.ts.map +0 -1
  240. package/lib/blocks/blockKnip.js.map +0 -1
  241. package/lib/blocks/blockMITLicense.d.ts +0 -74
  242. package/lib/blocks/blockMITLicense.d.ts.map +0 -1
  243. package/lib/blocks/blockMITLicense.js.map +0 -1
  244. package/lib/blocks/blockNcc.d.ts +0 -76
  245. package/lib/blocks/blockNcc.d.ts.map +0 -1
  246. package/lib/blocks/blockNcc.js.map +0 -1
  247. package/lib/blocks/blockNvmrc.d.ts +0 -74
  248. package/lib/blocks/blockNvmrc.d.ts.map +0 -1
  249. package/lib/blocks/blockNvmrc.js.map +0 -1
  250. package/lib/blocks/blockOctoGuide.d.ts +0 -76
  251. package/lib/blocks/blockOctoGuide.d.ts.map +0 -1
  252. package/lib/blocks/blockOctoGuide.js.map +0 -1
  253. package/lib/blocks/blockOctoGuideStrict.d.ts +0 -74
  254. package/lib/blocks/blockOctoGuideStrict.d.ts.map +0 -1
  255. package/lib/blocks/blockOctoGuideStrict.js.map +0 -1
  256. package/lib/blocks/blockPackageJson.d.ts +0 -151
  257. package/lib/blocks/blockPackageJson.d.ts.map +0 -1
  258. package/lib/blocks/blockPackageJson.js.map +0 -1
  259. package/lib/blocks/blockPnpmDedupe.d.ts +0 -74
  260. package/lib/blocks/blockPnpmDedupe.d.ts.map +0 -1
  261. package/lib/blocks/blockPnpmDedupe.js.map +0 -1
  262. package/lib/blocks/blockPrettier.d.ts +0 -84
  263. package/lib/blocks/blockPrettier.d.ts.map +0 -1
  264. package/lib/blocks/blockPrettier.js.map +0 -1
  265. package/lib/blocks/blockPrettierPluginCurly.d.ts +0 -74
  266. package/lib/blocks/blockPrettierPluginCurly.d.ts.map +0 -1
  267. package/lib/blocks/blockPrettierPluginCurly.js.map +0 -1
  268. package/lib/blocks/blockPrettierPluginPackageJson.d.ts +0 -74
  269. package/lib/blocks/blockPrettierPluginPackageJson.d.ts.map +0 -1
  270. package/lib/blocks/blockPrettierPluginPackageJson.js.map +0 -1
  271. package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +0 -74
  272. package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts.map +0 -1
  273. package/lib/blocks/blockPrettierPluginSentencesPerLine.js.map +0 -1
  274. package/lib/blocks/blockPrettierPluginSh.d.ts +0 -74
  275. package/lib/blocks/blockPrettierPluginSh.d.ts.map +0 -1
  276. package/lib/blocks/blockPrettierPluginSh.js.map +0 -1
  277. package/lib/blocks/blockREADME.d.ts +0 -87
  278. package/lib/blocks/blockREADME.d.ts.map +0 -1
  279. package/lib/blocks/blockREADME.js.map +0 -1
  280. package/lib/blocks/blockReleaseIt.d.ts +0 -79
  281. package/lib/blocks/blockReleaseIt.d.ts.map +0 -1
  282. package/lib/blocks/blockReleaseIt.js.map +0 -1
  283. package/lib/blocks/blockRemoveDependencies.d.ts +0 -76
  284. package/lib/blocks/blockRemoveDependencies.d.ts.map +0 -1
  285. package/lib/blocks/blockRemoveDependencies.js.map +0 -1
  286. package/lib/blocks/blockRemoveFiles.d.ts +0 -76
  287. package/lib/blocks/blockRemoveFiles.d.ts.map +0 -1
  288. package/lib/blocks/blockRemoveFiles.js.map +0 -1
  289. package/lib/blocks/blockRemoveWorkflows.d.ts +0 -76
  290. package/lib/blocks/blockRemoveWorkflows.d.ts.map +0 -1
  291. package/lib/blocks/blockRemoveWorkflows.js.map +0 -1
  292. package/lib/blocks/blockRenovate.d.ts +0 -76
  293. package/lib/blocks/blockRenovate.d.ts.map +0 -1
  294. package/lib/blocks/blockRenovate.js.map +0 -1
  295. package/lib/blocks/blockRepositoryBranchRuleset.d.ts +0 -76
  296. package/lib/blocks/blockRepositoryBranchRuleset.d.ts.map +0 -1
  297. package/lib/blocks/blockRepositoryBranchRuleset.js.map +0 -1
  298. package/lib/blocks/blockRepositoryLabels.d.ts +0 -74
  299. package/lib/blocks/blockRepositoryLabels.d.ts.map +0 -1
  300. package/lib/blocks/blockRepositoryLabels.js.map +0 -1
  301. package/lib/blocks/blockRepositorySecrets.d.ts +0 -79
  302. package/lib/blocks/blockRepositorySecrets.d.ts.map +0 -1
  303. package/lib/blocks/blockRepositorySecrets.js.map +0 -1
  304. package/lib/blocks/blockRepositorySettings.d.ts +0 -74
  305. package/lib/blocks/blockRepositorySettings.d.ts.map +0 -1
  306. package/lib/blocks/blockRepositorySettings.js.map +0 -1
  307. package/lib/blocks/blockSecurityDocs.d.ts +0 -74
  308. package/lib/blocks/blockSecurityDocs.d.ts.map +0 -1
  309. package/lib/blocks/blockSecurityDocs.js.map +0 -1
  310. package/lib/blocks/blockSideEffects.d.ts +0 -76
  311. package/lib/blocks/blockSideEffects.d.ts.map +0 -1
  312. package/lib/blocks/blockSideEffects.js.map +0 -1
  313. package/lib/blocks/blockTSDown.d.ts +0 -78
  314. package/lib/blocks/blockTSDown.d.ts.map +0 -1
  315. package/lib/blocks/blockTSDown.js.map +0 -1
  316. package/lib/blocks/blockTemplatedWith.d.ts +0 -74
  317. package/lib/blocks/blockTemplatedWith.d.ts.map +0 -1
  318. package/lib/blocks/blockTemplatedWith.js.map +0 -1
  319. package/lib/blocks/blockTypeScript.d.ts +0 -186
  320. package/lib/blocks/blockTypeScript.d.ts.map +0 -1
  321. package/lib/blocks/blockTypeScript.js.map +0 -1
  322. package/lib/blocks/blockVSCode.d.ts +0 -83
  323. package/lib/blocks/blockVSCode.d.ts.map +0 -1
  324. package/lib/blocks/blockVSCode.js.map +0 -1
  325. package/lib/blocks/blockVitest.d.ts +0 -91
  326. package/lib/blocks/blockVitest.d.ts.map +0 -1
  327. package/lib/blocks/blockVitest.js.map +0 -1
  328. package/lib/blocks/blockWebExt.d.ts +0 -74
  329. package/lib/blocks/blockWebExt.d.ts.map +0 -1
  330. package/lib/blocks/blockWebExt.js.map +0 -1
  331. package/lib/blocks/eslint/blockESLintIntake.d.ts +0 -11
  332. package/lib/blocks/eslint/blockESLintIntake.d.ts.map +0 -1
  333. package/lib/blocks/eslint/blockESLintIntake.js.map +0 -1
  334. package/lib/blocks/eslint/blockESLintPluginIntake.d.ts +0 -7
  335. package/lib/blocks/eslint/blockESLintPluginIntake.d.ts.map +0 -1
  336. package/lib/blocks/eslint/blockESLintPluginIntake.js.map +0 -1
  337. package/lib/blocks/eslint/getScriptFileExtension.d.ts +0 -8
  338. package/lib/blocks/eslint/getScriptFileExtension.d.ts.map +0 -1
  339. package/lib/blocks/eslint/getScriptFileExtension.js.map +0 -1
  340. package/lib/blocks/eslint/mergeAllExtensions.d.ts +0 -18
  341. package/lib/blocks/eslint/mergeAllExtensions.d.ts.map +0 -1
  342. package/lib/blocks/eslint/mergeAllExtensions.js.map +0 -1
  343. package/lib/blocks/eslint/schemas.d.ts +0 -113
  344. package/lib/blocks/eslint/schemas.d.ts.map +0 -1
  345. package/lib/blocks/eslint/schemas.js.map +0 -1
  346. package/lib/blocks/files/createJobName.d.ts +0 -5
  347. package/lib/blocks/files/createJobName.d.ts.map +0 -1
  348. package/lib/blocks/files/createJobName.js.map +0 -1
  349. package/lib/blocks/files/createMultiWorkflowFile.d.ts +0 -29
  350. package/lib/blocks/files/createMultiWorkflowFile.d.ts.map +0 -1
  351. package/lib/blocks/files/createMultiWorkflowFile.js.map +0 -1
  352. package/lib/blocks/files/createSoloWorkflowFile.d.ts +0 -72
  353. package/lib/blocks/files/createSoloWorkflowFile.d.ts.map +0 -1
  354. package/lib/blocks/files/createSoloWorkflowFile.js.map +0 -1
  355. package/lib/blocks/files/formatIgnoreFile.d.ts +0 -5
  356. package/lib/blocks/files/formatIgnoreFile.d.ts.map +0 -1
  357. package/lib/blocks/files/formatIgnoreFile.js.map +0 -1
  358. package/lib/blocks/files/formatWorkflowYaml.d.ts +0 -5
  359. package/lib/blocks/files/formatWorkflowYaml.d.ts.map +0 -1
  360. package/lib/blocks/files/formatWorkflowYaml.js.map +0 -1
  361. package/lib/blocks/files/formatYaml.d.ts +0 -5
  362. package/lib/blocks/files/formatYaml.d.ts.map +0 -1
  363. package/lib/blocks/files/formatYaml.js.map +0 -1
  364. package/lib/blocks/files/removeUsesQuotes.d.ts +0 -5
  365. package/lib/blocks/files/removeUsesQuotes.d.ts.map +0 -1
  366. package/lib/blocks/files/removeUsesQuotes.js.map +0 -1
  367. package/lib/blocks/getInstallationSuggestions.d.ts +0 -5
  368. package/lib/blocks/getInstallationSuggestions.d.ts.map +0 -1
  369. package/lib/blocks/getInstallationSuggestions.js.map +0 -1
  370. package/lib/blocks/index.d.ts +0 -3715
  371. package/lib/blocks/index.d.ts.map +0 -1
  372. package/lib/blocks/index.js.map +0 -1
  373. package/lib/blocks/intake/intakeFile.d.ts +0 -7
  374. package/lib/blocks/intake/intakeFile.d.ts.map +0 -1
  375. package/lib/blocks/intake/intakeFile.js.map +0 -1
  376. package/lib/blocks/intake/intakeFileAsJson.d.ts +0 -7
  377. package/lib/blocks/intake/intakeFileAsJson.d.ts.map +0 -1
  378. package/lib/blocks/intake/intakeFileAsJson.js.map +0 -1
  379. package/lib/blocks/intake/intakeFileAsYaml.d.ts +0 -7
  380. package/lib/blocks/intake/intakeFileAsYaml.d.ts.map +0 -1
  381. package/lib/blocks/intake/intakeFileAsYaml.js.map +0 -1
  382. package/lib/blocks/intake/intakeFileDefineConfig.d.ts +0 -7
  383. package/lib/blocks/intake/intakeFileDefineConfig.d.ts.map +0 -1
  384. package/lib/blocks/intake/intakeFileDefineConfig.js.map +0 -1
  385. package/lib/blocks/options.fakes.d.ts +0 -26
  386. package/lib/blocks/options.fakes.d.ts.map +0 -1
  387. package/lib/blocks/options.fakes.js.map +0 -1
  388. package/lib/blocks/outcomeLabels.d.ts +0 -15
  389. package/lib/blocks/outcomeLabels.d.ts.map +0 -1
  390. package/lib/blocks/outcomeLabels.js.map +0 -1
  391. package/lib/blocks/phases.d.ts +0 -11
  392. package/lib/blocks/phases.d.ts.map +0 -1
  393. package/lib/blocks/phases.js.map +0 -1
  394. package/lib/constants.d.ts +0 -10
  395. package/lib/constants.d.ts.map +0 -1
  396. package/lib/constants.js.map +0 -1
  397. package/lib/data/contributions.d.ts +0 -5
  398. package/lib/data/contributions.d.ts.map +0 -1
  399. package/lib/data/contributions.js.map +0 -1
  400. package/lib/data/packageData.d.ts +0 -11
  401. package/lib/data/packageData.d.ts.map +0 -1
  402. package/lib/data/packageData.js.map +0 -1
  403. package/lib/index.d.ts +0 -299
  404. package/lib/index.d.ts.map +0 -1
  405. package/lib/index.js.map +0 -1
  406. package/lib/inputs/inputFromDirectory.d.ts +0 -10
  407. package/lib/inputs/inputFromDirectory.d.ts.map +0 -1
  408. package/lib/inputs/inputFromDirectory.js.map +0 -1
  409. package/lib/inputs/inputFromOctokit.d.ts +0 -11
  410. package/lib/inputs/inputFromOctokit.d.ts.map +0 -1
  411. package/lib/inputs/inputFromOctokit.js.map +0 -1
  412. package/lib/options/readAccess.d.ts +0 -7
  413. package/lib/options/readAccess.d.ts.map +0 -1
  414. package/lib/options/readAccess.js.map +0 -1
  415. package/lib/options/readAllContributors.d.ts +0 -8
  416. package/lib/options/readAllContributors.d.ts.map +0 -1
  417. package/lib/options/readAllContributors.js.map +0 -1
  418. package/lib/options/readAuthor.d.ts +0 -10
  419. package/lib/options/readAuthor.d.ts.map +0 -1
  420. package/lib/options/readAuthor.js.map +0 -1
  421. package/lib/options/readBin.d.ts +0 -7
  422. package/lib/options/readBin.d.ts.map +0 -1
  423. package/lib/options/readBin.js.map +0 -1
  424. package/lib/options/readDescription.d.ts +0 -7
  425. package/lib/options/readDescription.d.ts.map +0 -1
  426. package/lib/options/readDescription.js.map +0 -1
  427. package/lib/options/readDescriptionFromReadme.d.ts +0 -5
  428. package/lib/options/readDescriptionFromReadme.d.ts.map +0 -1
  429. package/lib/options/readDescriptionFromReadme.js.map +0 -1
  430. package/lib/options/readDevelopmentDocumentation.d.ts +0 -7
  431. package/lib/options/readDevelopmentDocumentation.d.ts.map +0 -1
  432. package/lib/options/readDevelopmentDocumentation.js.map +0 -1
  433. package/lib/options/readDocumentation.d.ts +0 -7
  434. package/lib/options/readDocumentation.d.ts.map +0 -1
  435. package/lib/options/readDocumentation.js.map +0 -1
  436. package/lib/options/readEmailFromCodeOfConduct.d.ts +0 -7
  437. package/lib/options/readEmailFromCodeOfConduct.d.ts.map +0 -1
  438. package/lib/options/readEmailFromCodeOfConduct.js.map +0 -1
  439. package/lib/options/readEmailFromGit.d.ts +0 -7
  440. package/lib/options/readEmailFromGit.d.ts.map +0 -1
  441. package/lib/options/readEmailFromGit.js.map +0 -1
  442. package/lib/options/readEmailFromNpm.d.ts +0 -8
  443. package/lib/options/readEmailFromNpm.d.ts.map +0 -1
  444. package/lib/options/readEmailFromNpm.js.map +0 -1
  445. package/lib/options/readEmails.d.ts +0 -10
  446. package/lib/options/readEmails.d.ts.map +0 -1
  447. package/lib/options/readEmails.js.map +0 -1
  448. package/lib/options/readEmoji.d.ts +0 -5
  449. package/lib/options/readEmoji.d.ts.map +0 -1
  450. package/lib/options/readEmoji.js.map +0 -1
  451. package/lib/options/readExistingLabels.d.ts +0 -11
  452. package/lib/options/readExistingLabels.d.ts.map +0 -1
  453. package/lib/options/readExistingLabels.js.map +0 -1
  454. package/lib/options/readFileAsJson.d.ts +0 -5
  455. package/lib/options/readFileAsJson.d.ts.map +0 -1
  456. package/lib/options/readFileAsJson.js.map +0 -1
  457. package/lib/options/readFileSafe.d.ts +0 -5
  458. package/lib/options/readFileSafe.d.ts.map +0 -1
  459. package/lib/options/readFileSafe.js.map +0 -1
  460. package/lib/options/readFunding.d.ts +0 -7
  461. package/lib/options/readFunding.d.ts.map +0 -1
  462. package/lib/options/readFunding.js.map +0 -1
  463. package/lib/options/readGitDefaults.d.ts +0 -8
  464. package/lib/options/readGitDefaults.d.ts.map +0 -1
  465. package/lib/options/readGitDefaults.js.map +0 -1
  466. package/lib/options/readGuide.d.ts +0 -10
  467. package/lib/options/readGuide.d.ts.map +0 -1
  468. package/lib/options/readGuide.js.map +0 -1
  469. package/lib/options/readKeywords.d.ts +0 -7
  470. package/lib/options/readKeywords.d.ts.map +0 -1
  471. package/lib/options/readKeywords.js.map +0 -1
  472. package/lib/options/readLogo.d.ts +0 -10
  473. package/lib/options/readLogo.d.ts.map +0 -1
  474. package/lib/options/readLogo.js.map +0 -1
  475. package/lib/options/readLogoSizing.d.ts +0 -9
  476. package/lib/options/readLogoSizing.d.ts.map +0 -1
  477. package/lib/options/readLogoSizing.js.map +0 -1
  478. package/lib/options/readNode.d.ts +0 -10
  479. package/lib/options/readNode.d.ts.map +0 -1
  480. package/lib/options/readNode.js.map +0 -1
  481. package/lib/options/readNpmDefaults.d.ts +0 -8
  482. package/lib/options/readNpmDefaults.d.ts.map +0 -1
  483. package/lib/options/readNpmDefaults.js.map +0 -1
  484. package/lib/options/readOwner.d.ts +0 -9
  485. package/lib/options/readOwner.d.ts.map +0 -1
  486. package/lib/options/readOwner.js.map +0 -1
  487. package/lib/options/readPackageAuthor.d.ts +0 -11
  488. package/lib/options/readPackageAuthor.d.ts.map +0 -1
  489. package/lib/options/readPackageAuthor.js.map +0 -1
  490. package/lib/options/readPackageData.d.ts +0 -8
  491. package/lib/options/readPackageData.d.ts.map +0 -1
  492. package/lib/options/readPackageData.js.map +0 -1
  493. package/lib/options/readPnpm.d.ts +0 -7
  494. package/lib/options/readPnpm.d.ts.map +0 -1
  495. package/lib/options/readPnpm.js.map +0 -1
  496. package/lib/options/readReadmeAdditional.d.ts +0 -5
  497. package/lib/options/readReadmeAdditional.d.ts.map +0 -1
  498. package/lib/options/readReadmeAdditional.js.map +0 -1
  499. package/lib/options/readReadmeExplainer.d.ts +0 -5
  500. package/lib/options/readReadmeExplainer.d.ts.map +0 -1
  501. package/lib/options/readReadmeExplainer.js.map +0 -1
  502. package/lib/options/readReadmeFootnotes.d.ts +0 -6
  503. package/lib/options/readReadmeFootnotes.d.ts.map +0 -1
  504. package/lib/options/readReadmeFootnotes.js.map +0 -1
  505. package/lib/options/readReadmeUsage.d.ts +0 -5
  506. package/lib/options/readReadmeUsage.d.ts.map +0 -1
  507. package/lib/options/readReadmeUsage.js.map +0 -1
  508. package/lib/options/readRepository.d.ts +0 -11
  509. package/lib/options/readRepository.d.ts.map +0 -1
  510. package/lib/options/readRepository.js.map +0 -1
  511. package/lib/options/readRulesetId.d.ts +0 -7
  512. package/lib/options/readRulesetId.d.ts.map +0 -1
  513. package/lib/options/readRulesetId.js.map +0 -1
  514. package/lib/options/readTitle.d.ts +0 -5
  515. package/lib/options/readTitle.d.ts.map +0 -1
  516. package/lib/options/readTitle.js.map +0 -1
  517. package/lib/options/readWords.d.ts +0 -7
  518. package/lib/options/readWords.d.ts.map +0 -1
  519. package/lib/options/readWords.js.map +0 -1
  520. package/lib/options/readWorkflowsVersions.d.ts +0 -8
  521. package/lib/options/readWorkflowsVersions.d.ts.map +0 -1
  522. package/lib/options/readWorkflowsVersions.js.map +0 -1
  523. package/lib/package.d.ts +0 -138
  524. package/lib/package.d.ts.map +0 -1
  525. package/lib/presets/common.d.ts +0 -173
  526. package/lib/presets/common.d.ts.map +0 -1
  527. package/lib/presets/common.js.map +0 -1
  528. package/lib/presets/everything.d.ts +0 -173
  529. package/lib/presets/everything.d.ts.map +0 -1
  530. package/lib/presets/everything.js.map +0 -1
  531. package/lib/presets/index.d.ts +0 -510
  532. package/lib/presets/index.d.ts.map +0 -1
  533. package/lib/presets/index.js.map +0 -1
  534. package/lib/presets/minimal.d.ts +0 -173
  535. package/lib/presets/minimal.d.ts.map +0 -1
  536. package/lib/presets/minimal.js.map +0 -1
  537. package/lib/schemas.d.ts +0 -112
  538. package/lib/schemas.d.ts.map +0 -1
  539. package/lib/schemas.js.map +0 -1
  540. package/lib/template.d.ts +0 -173
  541. package/lib/template.d.ts.map +0 -1
  542. package/lib/template.js.map +0 -1
  543. package/lib/types.d.ts +0 -42
  544. package/lib/types.d.ts.map +0 -1
  545. package/lib/utils/htmlToTextSafe.d.ts +0 -5
  546. package/lib/utils/htmlToTextSafe.d.ts.map +0 -1
  547. package/lib/utils/htmlToTextSafe.js.map +0 -1
  548. package/lib/utils/resolveBin.d.ts +0 -5
  549. package/lib/utils/resolveBin.d.ts.map +0 -1
  550. package/lib/utils/resolveBin.js.map +0 -1
  551. package/lib/utils/swallowError.d.ts +0 -5
  552. package/lib/utils/swallowError.d.ts.map +0 -1
  553. package/lib/utils/swallowError.js.map +0 -1
  554. package/lib/utils/swallowErrorAsync.d.ts +0 -5
  555. package/lib/utils/swallowErrorAsync.d.ts.map +0 -1
  556. package/lib/utils/swallowErrorAsync.js.map +0 -1
  557. package/lib/utils/trimPrecedingSlash.d.ts +0 -5
  558. package/lib/utils/trimPrecedingSlash.d.ts.map +0 -1
  559. package/lib/utils/trimPrecedingSlash.js.map +0 -1
  560. package/lib/utils/tryCatch.d.ts +0 -5
  561. package/lib/utils/tryCatch.d.ts.map +0 -1
  562. package/lib/utils/tryCatch.js.map +0 -1
@@ -1,74 +0,0 @@
1
- import * as bingo_stratum110 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockCTATransitions.d.ts
4
- declare const blockCTATransitions: bingo_stratum110.BlockWithoutAddons<{
5
- access: "public" | "restricted";
6
- description: string;
7
- directory: string;
8
- documentation: {
9
- readme: {
10
- additional?: string | undefined;
11
- explainer?: string | undefined;
12
- footnotes?: string | undefined;
13
- usage?: string | undefined;
14
- };
15
- development?: string | undefined;
16
- };
17
- email: {
18
- github: string;
19
- npm: string;
20
- };
21
- title: string;
22
- node: {
23
- minimum: string;
24
- pinned?: string | undefined;
25
- };
26
- owner: string;
27
- repository: string;
28
- type?: "commonjs" | "module" | undefined;
29
- author?: string | undefined;
30
- bin?: string | Record<string, string> | undefined;
31
- contributors?: {
32
- avatar_url: string;
33
- contributions: string[];
34
- login: string;
35
- name: string;
36
- profile: string;
37
- }[] | undefined;
38
- emoji?: string | undefined;
39
- existingLabels?: {
40
- name: string;
41
- description: string;
42
- color: string;
43
- }[] | undefined;
44
- funding?: string | undefined;
45
- guide?: {
46
- href: string;
47
- title: string;
48
- } | undefined;
49
- keywords?: string[] | undefined;
50
- logo?: {
51
- alt: string;
52
- src: string;
53
- height?: number | undefined;
54
- width?: number | undefined;
55
- } | undefined;
56
- packageData?: {
57
- dependencies?: Record<string, string> | undefined;
58
- devDependencies?: Record<string, string> | undefined;
59
- peerDependencies?: Record<string, string> | undefined;
60
- peerDependenciesMeta?: Record<string, unknown> | undefined;
61
- scripts?: Record<string, string | undefined> | undefined;
62
- } | undefined;
63
- pnpm?: string | undefined;
64
- rulesetId?: string | undefined;
65
- version?: string | undefined;
66
- words?: string[] | undefined;
67
- workflowsVersions?: Record<string, Record<string, {
68
- pinned?: boolean | undefined;
69
- hash?: string | undefined;
70
- }>> | undefined;
71
- }>;
72
- //#endregion
73
- export { blockCTATransitions };
74
- //# sourceMappingURL=blockCTATransitions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockCTATransitions.d.ts","names":[],"sources":["../../src/blocks/blockCTATransitions.ts"],"sourcesContent":[],"mappings":";;;cAQa,sCAAmB;;;EAAnB,SAAA,EAAA,MAAA;;;;;;;;;;EAAmB,KAAA,EAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockCTATransitions.js","names":[],"sources":["../../src/blocks/blockCTATransitions.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { packageData } from \"../data/packageData.js\";\nimport { resolveUses } from \"./actions/resolveUses.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRepositoryBranchRuleset } from \"./blockRepositoryBranchRuleset.js\";\nimport { createSoloWorkflowFile } from \"./files/createSoloWorkflowFile.js\";\nimport { formatYaml } from \"./files/formatYaml.js\";\n\nexport const blockCTATransitions = base.createBlock({\n\tabout: {\n\t\tname: \"CTA Transitions\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tdevDependencies: {\n\t\t\t\t\t\t\t\"create-typescript-app\": packageData.version,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockRepositoryBranchRuleset({\n\t\t\t\t\trequiredStatusChecks: [\"Transition\"],\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\ttransition: {\n\t\t\t\t\t\t\t\"action.yaml\": formatYaml({\n\t\t\t\t\t\t\t\tdescription: \"Runs create-typescript-app in transition mode\",\n\t\t\t\t\t\t\t\tinputs: {\n\t\t\t\t\t\t\t\t\ttoken: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"GitHub personal access token with repo, workflow, and read:org permissions.\",\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\tname: \"Transition\",\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{ uses: \"./.github/actions/prepare\" },\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\trun: \"npx create-typescript-app\",\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\t{\n\t\t\t\t\t\t\t\t\t\t\tid: \"auto-commit-action\",\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\"stefanzweifel/git-auto-commit-action\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"v5\",\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\tcommit_author:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"The Friendly Bingo Bot <bot@create.bingo>\",\n\t\t\t\t\t\t\t\t\t\t\t\tcommit_message:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"Check in changes from re-running npx create-typescript-app\",\n\t\t\t\t\t\t\t\t\t\t\t\tcommit_user_email: \"bot@create.bingo\",\n\t\t\t\t\t\t\t\t\t\t\t\tcommit_user_name: \"The Friendly Bingo Bot\",\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\tif: \"steps.auto-commit-action.outputs.changes_detected == 'true'\",\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\"mshick/add-pr-comment\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"v2\",\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\tissue: \"${{ github.event.pull_request.number }}\",\n\t\t\t\t\t\t\t\t\t\t\t\tmessage: [\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"🤖 Beep boop! I ran `npx create-typescript-app` and it updated some files.\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I went ahead and checked those changes into this PR for you. Please review the latest commit to see if you want to merge it.\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"Cheers!\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\" — _The Friendly Bingo Bot_ 💝\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"> ℹ️ These automatic commits keep your repository up-to-date with new versions of [create-typescript-app](https://github.com/JoshuaKGoldberg/create-typescript-app). If you want to opt out, delete your `.github/workflows/cta-transitions.yaml` file.\",\n\t\t\t\t\t\t\t\t\t\t\t\t].join(\"\\n\"),\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\tid: \"package-change\",\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\"JoshuaKGoldberg/package-change-detector-action\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"0.1.0\",\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\tproperties: \"engines\",\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\tif: `steps.package-change.outputs.changed == 'true'`,\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\"JoshuaKGoldberg/draft-pull-request-once-action\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"0.0.1\",\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\t\"github-token\": \"${{ inputs.token }}\",\n\t\t\t\t\t\t\t\t\t\t\t\tmessage: [\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"🤖 Beep boop! This PR changes the `engines` field in `package.json`. That might be a breaking change. It's been set to a draft so that it doesn't automatically merge. Go ahead and un-draft the PR if the change is ready for release.\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"Cheers!\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\" — _The Friendly Bingo Bot_ 💝\",\n\t\t\t\t\t\t\t\t\t\t\t\t].join(\"\\n\"),\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\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\"cta.yaml\": createSoloWorkflowFile({\n\t\t\t\t\t\t\tjobName: \"Transition\",\n\t\t\t\t\t\t\tname: \"CTA\",\n\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\tpull_request: {\n\t\t\t\t\t\t\t\t\tbranches: [\"main\"],\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\tid: \"checkout\",\n\t\t\t\t\t\t\t\t\tif: `(github.actor == '${options.owner}' || github.actor == 'renovate[bot]') && startsWith(github.head_ref, 'renovate/') && contains(github.event.pull_request.title, 'create-typescript-app')`,\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"actions/checkout\",\n\t\t\t\t\t\t\t\t\t\t\"v4\",\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\t\"fetch-depth\": 0,\n\t\t\t\t\t\t\t\t\t\tref: \"${{github.event.pull_request.head.ref}}\",\n\t\t\t\t\t\t\t\t\t\trepository:\n\t\t\t\t\t\t\t\t\t\t\t\"${{github.event.pull_request.head.repo.full_name}}\",\n\t\t\t\t\t\t\t\t\t\ttoken: \"${{ secrets.ACCESS_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\t{\n\t\t\t\t\t\t\t\t\tif: \"steps.checkout.outcome != 'skipped'\",\n\t\t\t\t\t\t\t\t\tuses: \"./.github/actions/transition\",\n\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\ttoken: \"${{ secrets.ACCESS_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\t{\n\t\t\t\t\t\t\t\t\tif: \"steps.checkout.outcome == 'skipped'\",\n\t\t\t\t\t\t\t\t\trun: \"echo 'Skipping transition mode because the PR does not appear to be an automated or owner-created update to create-typescript-app.'\",\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});\n"],"mappings":";;;;;;;;;AAQA,MAAa,sBAAsB,KAAK,YAAY;CACnD,OAAO,EACN,MAAM,mBACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO;GACN,QAAQ,CACP,iBAAiB,EAChB,YAAY,EACX,iBAAiB,EAChB,yBAAyB,YAAY,SACrC,EACD,EACD,CAAC,EACF,6BAA6B,EAC5B,sBAAsB,CAAC,aAAa,EACpC,CAAC,CACF;GACD,OAAO,EACN,WAAW;IACV,SAAS,EACR,YAAY,EACX,eAAe,WAAW;KACzB,aAAa;KACb,QAAQ,EACP,OAAO;MACN,aACC;MACD,UAAU;MACV,EACD;KACD,MAAM;KACN,MAAM;MACL,OAAO;OACN,EAAE,MAAM,6BAA6B;OACrC;QACC,KAAK;QACL,OAAO;QACP;OACD;QACC,IAAI;QACJ,MAAM,YACL,wCACA,MACA,QAAQ,kBACR;QACD,MAAM;SACL,eACC;SACD,gBACC;SACD,mBAAmB;SACnB,kBAAkB;SAClB;QACD;OACD;QACC,IAAI;QACJ,MAAM,YACL,yBACA,MACA,QAAQ,kBACR;QACD,MAAM;SACL,OAAO;SACP,SAAS;UACR;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA,CAAC,KAAK,KAAK;SACZ;QACD;OACD;QACC,IAAI;QACJ,MAAM,YACL,kDACA,SACA,QAAQ,kBACR;QACD,MAAM,EACL,YAAY,WACZ;QACD;OACD;QACC,IAAI;QACJ,MAAM,YACL,kDACA,SACA,QAAQ,kBACR;QACD,MAAM;SACL,gBAAgB;SAChB,SAAS;UACR;UACA;UACA;UACA;UACA,CAAC,KAAK,KAAK;SACZ;QACD;OACD;MACD,OAAO;MACP;KACD,CAAC,EACF,EACD;IACD,WAAW,EACV,YAAY,uBAAuB;KAClC,SAAS;KACT,MAAM;KACN,IAAI,EACH,cAAc,EACb,UAAU,CAAC,OAAO,EAClB,EACD;KACD,aAAa,EACZ,iBAAiB,SACjB;KACD,OAAO;MACN;OACC,IAAI;OACJ,IAAI,qBAAqB,QAAQ,MAAM;OACvC,MAAM,YACL,oBACA,MACA,QAAQ,kBACR;OACD,MAAM;QACL,eAAe;QACf,KAAK;QACL,YACC;QACD,OAAO;QACP;OACD;MACD;OACC,IAAI;OACJ,MAAM;OACN,MAAM,EACL,OAAO,+BACP;OACD;MACD;OACC,IAAI;OACJ,KAAK;OACL;MACD;KACD,CAAC,EACF;IACD,EACD;GACD;;CAEF,CAAC"}
@@ -1,76 +0,0 @@
1
- import * as bingo_stratum108 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockCodecov.d.ts
4
- declare const blockCodecov: bingo_stratum108.BlockWithAddons<{
5
- env?: Record<string, string> | undefined;
6
- }, {
7
- access: "public" | "restricted";
8
- description: string;
9
- directory: string;
10
- documentation: {
11
- readme: {
12
- additional?: string | undefined;
13
- explainer?: string | undefined;
14
- footnotes?: string | undefined;
15
- usage?: string | undefined;
16
- };
17
- development?: string | undefined;
18
- };
19
- email: {
20
- github: string;
21
- npm: string;
22
- };
23
- title: string;
24
- node: {
25
- minimum: string;
26
- pinned?: string | undefined;
27
- };
28
- owner: string;
29
- repository: string;
30
- type?: "commonjs" | "module" | undefined;
31
- author?: string | undefined;
32
- bin?: string | Record<string, string> | undefined;
33
- contributors?: {
34
- avatar_url: string;
35
- contributions: string[];
36
- login: string;
37
- name: string;
38
- profile: string;
39
- }[] | undefined;
40
- emoji?: string | undefined;
41
- existingLabels?: {
42
- name: string;
43
- description: string;
44
- color: string;
45
- }[] | undefined;
46
- funding?: string | undefined;
47
- guide?: {
48
- href: string;
49
- title: string;
50
- } | undefined;
51
- keywords?: string[] | undefined;
52
- logo?: {
53
- alt: string;
54
- src: string;
55
- height?: number | undefined;
56
- width?: number | undefined;
57
- } | undefined;
58
- packageData?: {
59
- dependencies?: Record<string, string> | undefined;
60
- devDependencies?: Record<string, string> | undefined;
61
- peerDependencies?: Record<string, string> | undefined;
62
- peerDependenciesMeta?: Record<string, unknown> | undefined;
63
- scripts?: Record<string, string | undefined> | undefined;
64
- } | undefined;
65
- pnpm?: string | undefined;
66
- rulesetId?: string | undefined;
67
- version?: string | undefined;
68
- words?: string[] | undefined;
69
- workflowsVersions?: Record<string, Record<string, {
70
- pinned?: boolean | undefined;
71
- hash?: string | undefined;
72
- }>> | undefined;
73
- }>;
74
- //#endregion
75
- export { blockCodecov };
76
- //# sourceMappingURL=blockCodecov.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockCodecov.d.ts","names":[],"sources":["../../src/blocks/blockCodecov.ts"],"sourcesContent":[],"mappings":";;;cAUa,+BAAY;;;EAAZ,MAAA,EAAA,QA0EX,GAAA,YAAA;;;;;;;;;;eA1EuB,CAAA,EAAA,MAAA,GAAA,SAAA;EAAA,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockCodecov.js","names":["step"],"sources":["../../src/blocks/blockCodecov.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 { blockGitHubApps } from \"./blockGitHubApps.js\";\nimport { blockREADME } from \"./blockREADME.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { blockVitest } from \"./blockVitest.js\";\n\nexport const blockCodecov = base.createBlock({\n\tabout: {\n\t\tname: \"Codecov\",\n\t},\n\taddons: {\n\t\tenv: z.record(z.string(), z.string()).optional(),\n\t},\n\tintake({ files }) {\n\t\tconst steps = intakeFileYamlSteps(\n\t\t\tfiles,\n\t\t\t[\".github\", \"workflows\", \"ci.yaml\"],\n\t\t\t[\"jobs\", \"test\", \"steps\"],\n\t\t);\n\t\tif (!steps) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst step = steps.find(\n\t\t\t(step) =>\n\t\t\t\ttypeof step.uses === \"string\" &&\n\t\t\t\tstep.uses.startsWith(\"codecov/codecov-action\"),\n\t\t);\n\t\tif (!step) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn {\n\t\t\tenv: step.env,\n\t\t};\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { env } = addons;\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockGitHubApps({\n\t\t\t\t\tapps: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Codecov\",\n\t\t\t\t\t\t\turl: \"https://github.com/apps/codecov\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockREADME({\n\t\t\t\t\tbadges: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\talt: \"🧪 Coverage\",\n\t\t\t\t\t\t\thref: `https://codecov.io/gh/${options.owner}/${options.repository}`,\n\t\t\t\t\t\t\tsrc: `https://img.shields.io/codecov/c/github/${options.owner}/${options.repository}?label=%F0%9F%A7%AA%20coverage`,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockVitest({\n\t\t\t\t\tactionSteps: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t...(env && { env }),\n\t\t\t\t\t\t\tif: \"always()\",\n\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\"codecov/codecov-action\",\n\t\t\t\t\t\t\t\t\"v3\",\n\t\t\t\t\t\t\t\toptions.workflowsVersions,\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({ files: [\".github/codecov.yaml\", \"codecov.yaml\"] }),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;AAUA,MAAa,eAAe,KAAK,YAAY;CAC5C,OAAO,EACN,MAAM,WACN;CACD,QAAQ,EACP,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,QAAQ,CAAC,CAAC,UAAU,EAChD;CACD,OAAO,EAAE,SAAS;EACjB,MAAM,QAAQ,oBACb,OACA;GAAC;GAAW;GAAa;GAAU,EACnC;GAAC;GAAQ;GAAQ;GAAQ,CACzB;AACD,MAAI,CAAC,MACJ;EAGD,MAAM,OAAO,MAAM,MACjB,WACA,OAAOA,OAAK,SAAS,YACrBA,OAAK,KAAK,WAAW,yBAAyB,CAC/C;AACD,MAAI,CAAC,KACJ;AAGD,SAAO,EACN,KAAK,KAAK,KACV;;CAEF,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,QAAQ;AAChB,SAAO,EACN,QAAQ;GACP,gBAAgB,EACf,MAAM,CACL;IACC,MAAM;IACN,KAAK;IACL,CACD,EACD,CAAC;GACF,YAAY,EACX,QAAQ,CACP;IACC,KAAK;IACL,MAAM,yBAAyB,QAAQ,MAAM,GAAG,QAAQ;IACxD,KAAK,2CAA2C,QAAQ,MAAM,GAAG,QAAQ,WAAW;IACpF,CACD,EACD,CAAC;GACF,YAAY,EACX,aAAa,CACZ;IACC,GAAI,OAAO,EAAE,KAAK;IAClB,IAAI;IACJ,MAAM,YACL,0BACA,MACA,QAAQ,kBACR;IACD,CACD,EACD,CAAC;GACF,EACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CACP,iBAAiB,EAAE,OAAO,CAAC,wBAAwB,eAAe,EAAE,CAAC,CACrE,EACD;;CAEF,CAAC"}
@@ -1,74 +0,0 @@
1
- import * as bingo_stratum114 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockContributingDocs.d.ts
4
- declare const blockContributingDocs: bingo_stratum114.BlockWithoutAddons<{
5
- access: "public" | "restricted";
6
- description: string;
7
- directory: string;
8
- documentation: {
9
- readme: {
10
- additional?: string | undefined;
11
- explainer?: string | undefined;
12
- footnotes?: string | undefined;
13
- usage?: string | undefined;
14
- };
15
- development?: string | undefined;
16
- };
17
- email: {
18
- github: string;
19
- npm: string;
20
- };
21
- title: string;
22
- node: {
23
- minimum: string;
24
- pinned?: string | undefined;
25
- };
26
- owner: string;
27
- repository: string;
28
- type?: "commonjs" | "module" | undefined;
29
- author?: string | undefined;
30
- bin?: string | Record<string, string> | undefined;
31
- contributors?: {
32
- avatar_url: string;
33
- contributions: string[];
34
- login: string;
35
- name: string;
36
- profile: string;
37
- }[] | undefined;
38
- emoji?: string | undefined;
39
- existingLabels?: {
40
- name: string;
41
- description: string;
42
- color: string;
43
- }[] | undefined;
44
- funding?: string | undefined;
45
- guide?: {
46
- href: string;
47
- title: string;
48
- } | undefined;
49
- keywords?: string[] | undefined;
50
- logo?: {
51
- alt: string;
52
- src: string;
53
- height?: number | undefined;
54
- width?: number | undefined;
55
- } | undefined;
56
- packageData?: {
57
- dependencies?: Record<string, string> | undefined;
58
- devDependencies?: Record<string, string> | undefined;
59
- peerDependencies?: Record<string, string> | undefined;
60
- peerDependenciesMeta?: Record<string, unknown> | undefined;
61
- scripts?: Record<string, string | undefined> | undefined;
62
- } | undefined;
63
- pnpm?: string | undefined;
64
- rulesetId?: string | undefined;
65
- version?: string | undefined;
66
- words?: string[] | undefined;
67
- workflowsVersions?: Record<string, Record<string, {
68
- pinned?: boolean | undefined;
69
- hash?: string | undefined;
70
- }>> | undefined;
71
- }>;
72
- //#endregion
73
- export { blockContributingDocs };
74
- //# sourceMappingURL=blockContributingDocs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockContributingDocs.d.ts","names":[],"sources":["../../src/blocks/blockContributingDocs.ts"],"sourcesContent":[],"mappings":";;;cAGa,wCAAqB;;;EAArB,SAAA,EAAA,MAAA;;;;;;;;;;EAAqB,KAAA,EAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockContributingDocs.js","names":[],"sources":["../../src/blocks/blockContributingDocs.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\n\nexport const blockContributingDocs = base.createBlock({\n\tabout: {\n\t\tname: \"Contributing Docs\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\t\"CONTRIBUTING.md\": `# Contributing\n\nThanks for your interest in contributing to \\`${options.repository}\\`! ${options.emoji}\n\n> After this page, see [DEVELOPMENT.md](./DEVELOPMENT.md) for local development instructions.\n\n## Code of Conduct\n\nThis project contains a [Contributor Covenant code of conduct](./CODE_OF_CONDUCT.md) all contributors are expected to follow.\n\n## Reporting Issues\n\nPlease do [report an issue on the issue tracker](https://github.com/${options.owner}/${options.repository}/issues/new/choose) if there's any bugfix, documentation improvement, or general enhancement you'd like to see in the repository! Please fully fill out all required fields in the most appropriate issue form.\n\n## Sending Contributions\n\nSending your own changes as contribution is always appreciated!\nThere are two steps involved:\n\n1. [Finding an Issue](#finding-an-issue)\n2. [Sending a Pull Request](#sending-a-pull-request)\n\n### Finding an Issue\n\nWith the exception of very small typos, all changes to this repository generally need to correspond to an [unassigned open issue marked as \\`status: accepting prs\\` on the issue tracker](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue+is%3Aopen+label%3A%22status%3A+accepting+prs%22+no%3Aassignee+).\nIf this is your first time contributing, consider searching for [unassigned issues that also have the \\`good first issue\\` label](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22+label%3A%22status%3A+accepting+prs%22+no%3Aassignee+).\nIf the issue you'd like to fix isn't found on the issue, see [Reporting Issues](#reporting-issues) for filing your own (please do!).\n\n#### Issue Claiming\n\nWe don't use any kind of issue claiming system.\nWe've found in the past that they result in accidental [\"licked cookie\"](https://devblogs.microsoft.com/oldnewthing/20091201-00/?p=15843) situations where contributors claim an issue but run out of time or energy trying before sending a PR.\n\nIf an unassigned issue has been marked as \\`status: accepting prs\\` and an open PR does not exist, feel free to send a PR.\nPlease don't post comments asking for permission or stating you will work on an issue.\n\n### Sending a Pull Request\n\nOnce you've identified an open issue accepting PRs that doesn't yet have a PR sent, you're free to send a pull request.\nBe sure to fill out the pull request template's requested information -- otherwise your PR will likely be closed.\n\nPRs are also expected to have a title that adheres to [conventional commits](https://www.conventionalcommits.org/en/v1.0.0).\nOnly PR titles need to be in that format, not individual commits.\nDon't worry if you get this wrong: you can always change the PR title after sending it.\nCheck [previously merged PRs](https://github.com/${options.owner}/${options.repository}/pulls?q=is%3Apr+is%3Amerged+-label%3Adependencies+) for reference.\n\n#### Draft PRs\n\nIf you don't think your PR is ready for review, [set it as a draft](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#converting-a-pull-request-to-a-draft).\nDraft PRs won't be reviewed.\n\n#### Granular PRs\n\nPlease keep pull requests single-purpose: in other words, don't attempt to solve multiple unrelated problems in one pull request.\nSend one PR per area of concern.\nMulti-purpose pull requests are harder and slower to review, block all changes from being merged until the whole pull request is reviewed, and are difficult to name well with semantic PR titles.\n\n#### Pull Request Reviews\n\nWhen a PR is not in draft, it's considered ready for review.\nPlease don't manually \\`@\\` tag anybody to request review.\nA maintainer will look at it when they're next able to.\n\nPRs should have passing [GitHub status checks](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks) before review is requested (unless there are explicit questions asked in the PR about any failures).\n\n#### Asking Questions\n\nIf you need help and/or have a question, posting a comment in the PR is a great way to do so.\nThere's no need to tag anybody individually.\nOne of us will drop by and help when we can.\n\nPlease post comments as [line comments](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request) when possible, so that they can be threaded.\nYou can [resolve conversations](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#resolving-conversations) on your own when you feel they're resolved - no need to comment explicitly and/or wait for a maintainer.\n\n#### Requested Changes\n\nAfter a maintainer reviews your PR, they may request changes on it.\nOnce you've made those changes, [re-request review on GitHub](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews#re-requesting-a-review).\n\nPlease try not to force-push commits to PRs that have already been reviewed.\nDoing so makes it harder to review the changes.\nWe squash merge all commits so there's no need to try to preserve Git history within a PR branch.\n\nOnce you've addressed all our feedback by making code changes and/or started a followup discussion, [re-request review](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews#re-requesting-a-review) from each maintainer whose feedback you addressed.\n\nOnce all feedback is addressed and the PR is approved, we'll ensure the branch is up to date with \\`main\\` and merge it for you.\n\n#### Post-Merge Recognition\n\nOnce your PR is merged, if you haven't yet been added to the [_Contributors_ table in the README.md](../README.md#contributors) for its [type of contribution](https://allcontributors.org/docs/en/emoji-key \"Allcontributors emoji key\"), you should be soon.\nPlease do ping the maintainer who merged your PR if that doesn't happen within 24 hours - it was likely an oversight on our end!\n\n## Emojis & Appreciation\n\nIf you made it all the way to the end, bravo dear user, we love you.\nPlease include an emoji in the bottom of your issues and PRs to signal to us that you did in fact read this file and are trying to conform to it as best as possible.\n${options.emoji} is a good starter if you're not sure which to use.\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [blockRemoveFiles({ files: [\"CONTRIBUTING.md\"] })],\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAGA,MAAa,wBAAwB,KAAK,YAAY;CACrD,OAAO,EACN,MAAM,qBACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO,EACN,OAAO,EACN,WAAW,EACV,mBAAmB;;gDAEwB,QAAQ,WAAW,MAAM,QAAQ,MAAM;;;;;;;;;;sEAUjB,QAAQ,MAAM,GAAG,QAAQ,WAAW;;;;;;;;;;;;gNAYsG,QAAQ,MAAM,GAAG,QAAQ,WAAW;uJAC7F,QAAQ,MAAM,GAAG,QAAQ,WAAW;;;;;;;;;;;;;;;;;;;mDAmBxI,QAAQ,MAAM,GAAG,QAAQ,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoDrF,QAAQ,MAAM;GAEX,EACD,EACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAAC,EAC1D;;CAEF,CAAC"}
@@ -1,74 +0,0 @@
1
- import * as bingo_stratum1 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockContributorCovenant.d.ts
4
- declare const blockContributorCovenant: bingo_stratum1.BlockWithoutAddons<{
5
- access: "public" | "restricted";
6
- description: string;
7
- directory: string;
8
- documentation: {
9
- readme: {
10
- additional?: string | undefined;
11
- explainer?: string | undefined;
12
- footnotes?: string | undefined;
13
- usage?: string | undefined;
14
- };
15
- development?: string | undefined;
16
- };
17
- email: {
18
- github: string;
19
- npm: string;
20
- };
21
- title: string;
22
- node: {
23
- minimum: string;
24
- pinned?: string | undefined;
25
- };
26
- owner: string;
27
- repository: string;
28
- type?: "commonjs" | "module" | undefined;
29
- author?: string | undefined;
30
- bin?: string | Record<string, string> | undefined;
31
- contributors?: {
32
- avatar_url: string;
33
- contributions: string[];
34
- login: string;
35
- name: string;
36
- profile: string;
37
- }[] | undefined;
38
- emoji?: string | undefined;
39
- existingLabels?: {
40
- name: string;
41
- description: string;
42
- color: string;
43
- }[] | undefined;
44
- funding?: string | undefined;
45
- guide?: {
46
- href: string;
47
- title: string;
48
- } | undefined;
49
- keywords?: string[] | undefined;
50
- logo?: {
51
- alt: string;
52
- src: string;
53
- height?: number | undefined;
54
- width?: number | undefined;
55
- } | undefined;
56
- packageData?: {
57
- dependencies?: Record<string, string> | undefined;
58
- devDependencies?: Record<string, string> | undefined;
59
- peerDependencies?: Record<string, string> | undefined;
60
- peerDependenciesMeta?: Record<string, unknown> | undefined;
61
- scripts?: Record<string, string | undefined> | undefined;
62
- } | undefined;
63
- pnpm?: string | undefined;
64
- rulesetId?: string | undefined;
65
- version?: string | undefined;
66
- words?: string[] | undefined;
67
- workflowsVersions?: Record<string, Record<string, {
68
- pinned?: boolean | undefined;
69
- hash?: string | undefined;
70
- }>> | undefined;
71
- }>;
72
- //#endregion
73
- export { blockContributorCovenant };
74
- //# sourceMappingURL=blockContributorCovenant.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockContributorCovenant.d.ts","names":[],"sources":["../../src/blocks/blockContributorCovenant.ts"],"sourcesContent":[],"mappings":";;;cAIa,yCAAwB;;;EAAxB,SAAA,EAAA,MAAA;;;;;;;;;;EAAwB,KAAA,EAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockContributorCovenant.js","names":[],"sources":["../../src/blocks/blockContributorCovenant.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockREADME } from \"./blockREADME.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\n\nexport const blockContributorCovenant = base.createBlock({\n\tabout: {\n\t\tname: \"Contributor Covenant\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockREADME({\n\t\t\t\t\tbadges: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\talt: \"🤝 Code of Conduct: Kept\",\n\t\t\t\t\t\t\thref: `https://github.com/${options.owner}/${options.repository}/blob/main/.github/CODE_OF_CONDUCT.md`,\n\t\t\t\t\t\t\tsrc: \"https://img.shields.io/badge/%F0%9F%A4%9D_code_of_conduct-kept-21bb42\",\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\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\t\"CODE_OF_CONDUCT.md\": `# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nWe as members, contributors, and leaders pledge to make participation in our\ncommunity a harassment-free experience for everyone, regardless of age, body\nsize, visible or invisible disability, ethnicity, sex characteristics, gender\nidentity and expression, level of experience, education, socio-economic status,\nnationality, personal appearance, race, caste, color, religion, or sexual\nidentity and orientation.\n\nWe pledge to act and interact in ways that contribute to an open, welcoming,\ndiverse, inclusive, and healthy community.\n\n## Our Standards\n\nExamples of behavior that contributes to a positive environment for our\ncommunity include:\n\n- Demonstrating empathy and kindness toward other people\n- Being respectful of differing opinions, viewpoints, and experiences\n- Giving and gracefully accepting constructive feedback\n- Accepting responsibility and apologizing to those affected by our mistakes,\n and learning from the experience\n- Focusing on what is best not just for us as individuals, but for the overall\n community\n\nExamples of unacceptable behavior include:\n\n- The use of sexualized language or imagery, and sexual attention or advances of\nany kind\n- Trolling, insulting or derogatory comments, and personal or political attacks\n- Public or private harassment\n- Publishing others' private information, such as a physical or email address,\nwithout their explicit permission\n- Other conduct which could reasonably be considered inappropriate in a\nprofessional setting\n\n## Enforcement Responsibilities\n\nCommunity leaders are responsible for clarifying and enforcing our standards of\nacceptable behavior and will take appropriate and fair corrective action in\nresponse to any behavior that they deem inappropriate, threatening, offensive,\nor harmful.\n\nCommunity leaders have the right and responsibility to remove, edit, or reject\ncomments, commits, code, wiki edits, issues, and other contributions that are\nnot aligned to this Code of Conduct, and will communicate reasons for moderation\ndecisions when appropriate.\n\n## Scope\n\nThis Code of Conduct applies within all community spaces, and also applies when\nan individual is officially representing the community in public spaces.\nExamples of representing our community include using an official e-mail address,\nposting via an official social media account, or acting as an appointed\nrepresentative at an online or offline event.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be\nreported to the community leaders responsible for enforcement at\n${options.email.github}.\nAll complaints will be reviewed and investigated promptly and fairly.\n\nAll community leaders are obligated to respect the privacy and security of the\nreporter of any incident.\n\n## Enforcement Guidelines\n\nCommunity leaders will follow these Community Impact Guidelines in determining\nthe consequences for any action they deem in violation of this Code of Conduct:\n\n### 1. Correction\n\n**Community Impact**: Use of inappropriate language or other behavior deemed\nunprofessional or unwelcome in the community.\n\n**Consequence**: A private, written warning from community leaders, providing\nclarity around the nature of the violation and an explanation of why the\nbehavior was inappropriate.\nA public apology may be requested.\n\n### 2. Warning\n\n**Community Impact**: A violation through a single incident or series of\nactions.\n\n**Consequence**: A warning with consequences for continued behavior.\nNo interaction with the people involved, including unsolicited interaction with\nthose enforcing the Code of Conduct, for a specified period of time.\nThis includes avoiding interactions in community spaces as well as external\nchannels like social media.\nViolating these terms may lead to a temporary or permanent ban.\n\n### 3. Temporary Ban\n\n**Community Impact**: A serious violation of community standards, including\nsustained inappropriate behavior.\n\n**Consequence**: A temporary ban from any sort of interaction or public\ncommunication with the community for a specified period of time.\nNo public or private interaction with the people involved, including unsolicited\ninteraction with those enforcing the Code of Conduct, is allowed during this\nperiod.\nViolating these terms may lead to a permanent ban.\n\n### 4. Permanent Ban\n\n**Community Impact**: Demonstrating a pattern of violation of community\nstandards, including sustained inappropriate behavior, harassment of an\nindividual, or aggression toward or disparagement of classes of individuals.\n\n**Consequence**: A permanent ban from any sort of public interaction within the\ncommunity.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage],\nversion 2.1, available at\n[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].\n\nCommunity Impact Guidelines were inspired by\n[Mozilla's code of conduct enforcement ladder][mozilla coc].\n\nFor answers to common questions about this code of conduct, see the FAQ at\n[https://www.contributor-covenant.org/faq][faq].\nTranslations are available at\n[https://www.contributor-covenant.org/translations][translations].\n\n[homepage]: https://www.contributor-covenant.org\n[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html\n[mozilla coc]: https://github.com/mozilla/diversity\n[faq]: https://www.contributor-covenant.org/faq\n[translations]: https://www.contributor-covenant.org/translations\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [blockRemoveFiles({ files: [\"CODE_OF_CONDUCT.md\"] })],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;AAIA,MAAa,2BAA2B,KAAK,YAAY;CACxD,OAAO,EACN,MAAM,wBACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO;GACN,QAAQ,CACP,YAAY,EACX,QAAQ,CACP;IACC,KAAK;IACL,MAAM,sBAAsB,QAAQ,MAAM,GAAG,QAAQ,WAAW;IAChE,KAAK;IACL,CACD,EACD,CAAC,CACF;GACD,OAAO,EACN,WAAW,EACV,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8DzB,QAAQ,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0ElB,EACD;GACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC,qBAAqB,EAAE,CAAC,CAAC,EAC7D;;CAEF,CAAC"}
@@ -1,88 +0,0 @@
1
- import * as bingo_stratum3 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockDevelopmentDocs.d.ts
4
- declare const blockDevelopmentDocs: bingo_stratum3.BlockWithAddons<{
5
- sections: Record<string, {
6
- contents?: string | {
7
- after?: string[] | undefined;
8
- before?: string | undefined;
9
- items?: string[] | undefined;
10
- plural?: string | undefined;
11
- } | undefined;
12
- innerSections?: {
13
- contents: string;
14
- heading: string;
15
- }[] | undefined;
16
- }>;
17
- hints: string[];
18
- }, {
19
- access: "public" | "restricted";
20
- description: string;
21
- directory: string;
22
- documentation: {
23
- readme: {
24
- additional?: string | undefined;
25
- explainer?: string | undefined;
26
- footnotes?: string | undefined;
27
- usage?: string | undefined;
28
- };
29
- development?: string | undefined;
30
- };
31
- email: {
32
- github: string;
33
- npm: string;
34
- };
35
- title: string;
36
- node: {
37
- minimum: string;
38
- pinned?: string | undefined;
39
- };
40
- owner: string;
41
- repository: string;
42
- type?: "commonjs" | "module" | undefined;
43
- author?: string | undefined;
44
- bin?: string | Record<string, string> | undefined;
45
- contributors?: {
46
- avatar_url: string;
47
- contributions: string[];
48
- login: string;
49
- name: string;
50
- profile: string;
51
- }[] | undefined;
52
- emoji?: string | undefined;
53
- existingLabels?: {
54
- name: string;
55
- description: string;
56
- color: string;
57
- }[] | undefined;
58
- funding?: string | undefined;
59
- guide?: {
60
- href: string;
61
- title: string;
62
- } | undefined;
63
- keywords?: string[] | undefined;
64
- logo?: {
65
- alt: string;
66
- src: string;
67
- height?: number | undefined;
68
- width?: number | undefined;
69
- } | undefined;
70
- packageData?: {
71
- dependencies?: Record<string, string> | undefined;
72
- devDependencies?: Record<string, string> | undefined;
73
- peerDependencies?: Record<string, string> | undefined;
74
- peerDependenciesMeta?: Record<string, unknown> | undefined;
75
- scripts?: Record<string, string | undefined> | undefined;
76
- } | undefined;
77
- pnpm?: string | undefined;
78
- rulesetId?: string | undefined;
79
- version?: string | undefined;
80
- words?: string[] | undefined;
81
- workflowsVersions?: Record<string, Record<string, {
82
- pinned?: boolean | undefined;
83
- hash?: string | undefined;
84
- }>> | undefined;
85
- }>;
86
- //#endregion
87
- export { blockDevelopmentDocs };
88
- //# sourceMappingURL=blockDevelopmentDocs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockDevelopmentDocs.d.ts","names":[],"sources":["../../src/blocks/blockDevelopmentDocs.ts"],"sourcesContent":[],"mappings":";;;cA0Da,qCAAoB;;;MAApB,KAAA,CAAA,EAAA,MAAA,EAiDX,GAAA,SAAA;;;;;;;;;;eAjD+B,EAAA;CAAA,EAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockDevelopmentDocs.js","names":[],"sources":["../../src/blocks/blockDevelopmentDocs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\n\nconst zInnerSection = z.object({\n\tcontents: z.string(),\n\theading: z.string(),\n});\n\ntype InnerSection = z.infer<typeof zInnerSection>;\n\nfunction printInnerSection(innerSection: InnerSection) {\n\treturn [`### ${innerSection.heading}`, ``, innerSection.contents];\n}\n\nconst zSection = z.object({\n\tcontents: z\n\t\t.union([\n\t\t\tz.string(),\n\t\t\tz.object({\n\t\t\t\tafter: z.array(z.string()).optional(),\n\t\t\t\tbefore: z.string().optional(),\n\t\t\t\titems: z.array(z.string()).optional(),\n\t\t\t\tplural: z.string().optional(),\n\t\t\t}),\n\t\t])\n\t\t.optional(),\n\tinnerSections: z.array(zInnerSection).optional(),\n});\n\ntype Section = z.infer<typeof zSection>;\n\nfunction printSection(heading: string, section: Section) {\n\tconst innerSections = section.innerSections?.flatMap(printInnerSection) ?? [];\n\n\tif (section.contents === undefined) {\n\t\treturn innerSections;\n\t}\n\n\tconst contents =\n\t\ttypeof section.contents === \"string\"\n\t\t\t? { before: section.contents }\n\t\t\t: section.contents;\n\n\treturn [\n\t\t`## ${heading}`,\n\t\t``,\n\t\t...(contents.before ? [contents.before] : []),\n\t\t...(contents.items?.sort((a, b) =>\n\t\t\ta.replaceAll(\"`\", \"\").localeCompare(b.replaceAll(\"`\", \"\")),\n\t\t) ?? []),\n\t\t...(contents.items?.length && contents.plural ? [``, contents.plural] : []),\n\t\t...(contents.after ?? []),\n\t\t...innerSections,\n\t];\n}\n\nexport const blockDevelopmentDocs = base.createBlock({\n\tabout: {\n\t\tname: \"Development Docs\",\n\t},\n\taddons: {\n\t\thints: z.array(z.string()).default([]),\n\t\tsections: z.record(z.string(), zSection).default({}),\n\t},\n\tproduce({ addons, options }) {\n\t\tconst lines = [\n\t\t\t`# Development`,\n\t\t\t``,\n\t\t\t...(options.guide\n\t\t\t\t? [\n\t\t\t\t\t\t`> If you'd like a more guided walkthrough, see [${options.guide.title}](${options.guide.href}).`,\n\t\t\t\t\t\t`> It'll walk you through the common activities you'll need to contribute.`,\n\t\t\t\t\t\t``,\n\t\t\t\t\t]\n\t\t\t\t: []),\n\t\t\t`After [forking the repo from GitHub](https://help.github.com/articles/fork-a-repo) and [installing pnpm](https://pnpm.io/installation):`,\n\t\t\t``,\n\t\t\t`\\`\\`\\`shell`,\n\t\t\t`git clone https://github.com/(your-name-here)/${options.repository}`,\n\t\t\t`cd ${options.repository}`,\n\t\t\t`pnpm install`,\n\t\t\t`\\`\\`\\``,\n\t\t\t``,\n\t\t\t...(addons.hints.length ? [...addons.hints, ``] : []),\n\t\t\t...Object.entries(addons.sections)\n\t\t\t\t.sort(([a], [b]) => a.localeCompare(b))\n\t\t\t\t.flatMap(([heading, section]) => printSection(heading, section)),\n\t\t\t...(options.documentation.development\n\t\t\t\t? [options.documentation.development]\n\t\t\t\t: []),\n\t\t];\n\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\t\"DEVELOPMENT.md\": lines.join(\"\\n\"),\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [blockRemoveFiles({ files: [\"DEVELOPMENT.md\"] })],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;AAKA,MAAM,gBAAgB,EAAE,OAAO;CAC9B,UAAU,EAAE,QAAQ;CACpB,SAAS,EAAE,QAAQ;CACnB,CAAC;AAIF,SAAS,kBAAkB,cAA4B;AACtD,QAAO;EAAC,OAAO,aAAa;EAAW;EAAI,aAAa;EAAS;;AAGlE,MAAM,WAAW,EAAE,OAAO;CACzB,UAAU,EACR,MAAM,CACN,EAAE,QAAQ,EACV,EAAE,OAAO;EACR,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,UAAU;EACrC,QAAQ,EAAE,QAAQ,CAAC,UAAU;EAC7B,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,UAAU;EACrC,QAAQ,EAAE,QAAQ,CAAC,UAAU;EAC7B,CAAC,CACF,CAAC,CACD,UAAU;CACZ,eAAe,EAAE,MAAM,cAAc,CAAC,UAAU;CAChD,CAAC;AAIF,SAAS,aAAa,SAAiB,SAAkB;CACxD,MAAM,gBAAgB,QAAQ,eAAe,QAAQ,kBAAkB,IAAI,EAAE;AAE7E,KAAI,QAAQ,aAAa,OACxB,QAAO;CAGR,MAAM,WACL,OAAO,QAAQ,aAAa,WACzB,EAAE,QAAQ,QAAQ,UAAU,GAC5B,QAAQ;AAEZ,QAAO;EACN,MAAM;EACN;EACA,GAAI,SAAS,SAAS,CAAC,SAAS,OAAO,GAAG,EAAE;EAC5C,GAAI,SAAS,OAAO,MAAM,GAAG,MAC5B,EAAE,WAAW,KAAK,GAAG,CAAC,cAAc,EAAE,WAAW,KAAK,GAAG,CAAC,CAC1D,IAAI,EAAE;EACP,GAAI,SAAS,OAAO,UAAU,SAAS,SAAS,CAAC,IAAI,SAAS,OAAO,GAAG,EAAE;EAC1E,GAAI,SAAS,SAAS,EAAE;EACxB,GAAG;EACH;;AAGF,MAAa,uBAAuB,KAAK,YAAY;CACpD,OAAO,EACN,MAAM,oBACN;CACD,QAAQ;EACP,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,EAAE,CAAC;EACtC,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,QAAQ,EAAE,CAAC;EACpD;CACD,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,QAAQ;GACb;GACA;GACA,GAAI,QAAQ,QACT;IACA,mDAAmD,QAAQ,MAAM,MAAM,IAAI,QAAQ,MAAM,KAAK;IAC9F;IACA;IACA,GACA,EAAE;GACL;GACA;GACA;GACA,iDAAiD,QAAQ;GACzD,MAAM,QAAQ;GACd;GACA;GACA;GACA,GAAI,OAAO,MAAM,SAAS,CAAC,GAAG,OAAO,OAAO,GAAG,GAAG,EAAE;GACpD,GAAG,OAAO,QAAQ,OAAO,SAAS,CAChC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,EAAE,CAAC,CACtC,SAAS,CAAC,SAAS,aAAa,aAAa,SAAS,QAAQ,CAAC;GACjE,GAAI,QAAQ,cAAc,cACvB,CAAC,QAAQ,cAAc,YAAY,GACnC,EAAE;GACL;AAED,SAAO,EACN,OAAO,EACN,WAAW,EACV,kBAAkB,MAAM,KAAK,KAAK,EAClC,EACD,EACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC,EACzD;;CAEF,CAAC"}
@@ -1,98 +0,0 @@
1
- import * as bingo_stratum2 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockESLint.d.ts
4
- declare const blockESLint: bingo_stratum2.BlockWithAddons<{
5
- explanations: string[];
6
- extensions: {
7
- files: string[];
8
- extends?: string[] | undefined;
9
- languageOptions?: unknown;
10
- linterOptions?: unknown;
11
- plugins?: Record<string, string> | undefined;
12
- rules?: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]> | {
13
- entries: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
14
- comment?: string | undefined;
15
- }[] | undefined;
16
- settings?: Record<string, unknown> | undefined;
17
- }[];
18
- ignores: string[];
19
- imports: {
20
- source: string | {
21
- version: string;
22
- packageName: string;
23
- };
24
- specifier: string;
25
- types?: boolean | undefined;
26
- }[];
27
- beforeLint?: string | undefined;
28
- }, {
29
- access: "public" | "restricted";
30
- description: string;
31
- directory: string;
32
- documentation: {
33
- readme: {
34
- additional?: string | undefined;
35
- explainer?: string | undefined;
36
- footnotes?: string | undefined;
37
- usage?: string | undefined;
38
- };
39
- development?: string | undefined;
40
- };
41
- email: {
42
- github: string;
43
- npm: string;
44
- };
45
- title: string;
46
- node: {
47
- minimum: string;
48
- pinned?: string | undefined;
49
- };
50
- owner: string;
51
- repository: string;
52
- type?: "commonjs" | "module" | undefined;
53
- author?: string | undefined;
54
- bin?: string | Record<string, string> | undefined;
55
- contributors?: {
56
- avatar_url: string;
57
- contributions: string[];
58
- login: string;
59
- name: string;
60
- profile: string;
61
- }[] | undefined;
62
- emoji?: string | undefined;
63
- existingLabels?: {
64
- name: string;
65
- description: string;
66
- color: string;
67
- }[] | undefined;
68
- funding?: string | undefined;
69
- guide?: {
70
- href: string;
71
- title: string;
72
- } | undefined;
73
- keywords?: string[] | undefined;
74
- logo?: {
75
- alt: string;
76
- src: string;
77
- height?: number | undefined;
78
- width?: number | undefined;
79
- } | undefined;
80
- packageData?: {
81
- dependencies?: Record<string, string> | undefined;
82
- devDependencies?: Record<string, string> | undefined;
83
- peerDependencies?: Record<string, string> | undefined;
84
- peerDependenciesMeta?: Record<string, unknown> | undefined;
85
- scripts?: Record<string, string | undefined> | undefined;
86
- } | undefined;
87
- pnpm?: string | undefined;
88
- rulesetId?: string | undefined;
89
- version?: string | undefined;
90
- words?: string[] | undefined;
91
- workflowsVersions?: Record<string, Record<string, {
92
- pinned?: boolean | undefined;
93
- hash?: string | undefined;
94
- }>> | undefined;
95
- }>;
96
- //#endregion
97
- export { blockESLint };
98
- //# sourceMappingURL=blockESLint.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockESLint.d.ts","names":[],"sources":["../../src/blocks/blockESLint.ts"],"sourcesContent":[],"mappings":";;;cA2Ba,4BAAW;;;IAAX,KAAA,EAAA,MAkPX,EAAA;;;;;;;;;;;;;YAlPsB,MAAA,GAAA;MAAA,OAAA,EAAA,MAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockESLint.js","names":["explanation","parsePackageName","grouped: typeof rulesGroups"],"sources":["../../src/blocks/blockESLint.ts"],"sourcesContent":["// @ts-expect-error -- https://github.com/egoist/parse-package-name/issues/30\nimport { parse as parsePackageName } from \"parse-package-name\";\nimport sortKeys from \"sort-keys\";\nimport { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRemoveDependencies } from \"./blockRemoveDependencies.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\nimport { blockVSCode } from \"./blockVSCode.js\";\nimport { blockESLintIntake } from \"./eslint/blockESLintIntake.js\";\nimport { getScriptFileExtension } from \"./eslint/getScriptFileExtension.js\";\nimport { mergeAllExtensions } from \"./eslint/mergeAllExtensions.js\";\nimport {\n\tExtension,\n\tExtensionRuleGroup,\n\tExtensionRules,\n\tzExtension,\n\tzPackageImport,\n} from \"./eslint/schemas.js\";\nimport { intakeFile } from \"./intake/intakeFile.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nexport const blockESLint = base.createBlock({\n\tabout: {\n\t\tname: \"ESLint\",\n\t},\n\taddons: {\n\t\tbeforeLint: z.string().optional(),\n\t\texplanations: z.array(z.string()).default([]),\n\t\textensions: z.array(zExtension).default([]),\n\t\tignores: z.array(z.string()).default([]),\n\t\timports: z.array(zPackageImport).default([]),\n\t},\n\tintake({ files }) {\n\t\tconst eslintConfigRaw = intakeFile(files, [\n\t\t\t[\n\t\t\t\t\"eslint.config.ts\",\n\t\t\t\t\"eslint.config.mts\",\n\t\t\t\t\"eslint.config.js\",\n\t\t\t\t\"eslint.config.mjs\",\n\t\t\t],\n\t\t]);\n\n\t\treturn eslintConfigRaw ? blockESLintIntake(eslintConfigRaw[0]) : undefined;\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { explanations, extensions, ignores, imports } = addons;\n\n\t\tconst configFileName =\n\t\t\toptions.type === \"commonjs\" ? \"eslint.config.mts\" : \"eslint.config.ts\";\n\n\t\tconst explanation =\n\t\t\texplanations.length > 0\n\t\t\t\t? `${explanations\n\t\t\t\t\t\t.map((explanation) => `/*\\n${explanation}\\n*/\\n`)\n\t\t\t\t\t\t.join(\"\")}\\n`\n\t\t\t\t: \"\";\n\n\t\tconst importLines = [\n\t\t\t'import eslint from \"@eslint/js\";',\n\t\t\t'import { defineConfig, globalIgnores } from \"eslint/config\";',\n\t\t\t'import tseslint from \"typescript-eslint\";',\n\t\t\t...imports.map(\n\t\t\t\t(packageImport) =>\n\t\t\t\t\t`import ${packageImport.specifier} from \"${typeof packageImport.source === \"string\" ? packageImport.source : packageImport.source.packageName}\"`,\n\t\t\t),\n\t\t].sort((a, b) =>\n\t\t\ta.replace(/.+from/, \"\").localeCompare(b.replace(/.+from/, \"\")),\n\t\t);\n\n\t\tconst ignoreLines = Array.from(\n\t\t\tnew Set(\n\t\t\t\t[\"lib\", \"node_modules\", \"pnpm-lock.yaml\", ...ignores].map((ignore) =>\n\t\t\t\t\tJSON.stringify(ignore),\n\t\t\t\t),\n\t\t\t),\n\t\t).sort();\n\n\t\tconst extensionEntries = mergeAllExtensions(\n\t\t\t{\n\t\t\t\textends: [\n\t\t\t\t\t\"eslint.configs.recommended\",\n\t\t\t\t\t\"tseslint.configs.strictTypeChecked\",\n\t\t\t\t\t\"tseslint.configs.stylisticTypeChecked\",\n\t\t\t\t],\n\t\t\t\tfiles: [getScriptFileExtension(options)],\n\t\t\t\tlanguageOptions: {\n\t\t\t\t\tparserOptions: {\n\t\t\t\t\t\tprojectService: {\n\t\t\t\t\t\t\tallowDefaultProject: Array.from(\n\t\t\t\t\t\t\t\tnew Set(\n\t\t\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\t\t\"*.config.*s\",\n\t\t\t\t\t\t\t\t\t\t...(typeof options.bin === \"object\"\n\t\t\t\t\t\t\t\t\t\t\t? Object.values(options.bin)\n\t\t\t\t\t\t\t\t\t\t\t: [options.bin]),\n\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t.filter(Boolean)\n\t\t\t\t\t\t\t\t\t\t.sort(),\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\t...extensions,\n\t\t\t...(options.type === \"commonjs\"\n\t\t\t\t? [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfiles: [\"*.mjs\"],\n\t\t\t\t\t\t\tlanguageOptions: { sourceType: \"module\" },\n\t\t\t\t\t\t},\n\t\t\t\t\t]\n\t\t\t\t: []),\n\t\t);\n\n\t\tconst extensionLines = extensionEntries\n\t\t\t.sort((a, b) =>\n\t\t\t\tprocessForSort(a.files).localeCompare(processForSort(b.files)),\n\t\t\t)\n\t\t\t.map(printExtension);\n\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\tafter: [\n\t\t\t\t\t\t\t\t\t`\nFor example, ESLint can be run with \\`--fix\\` to auto-fix some lint rule complaints:\n\n\\`\\`\\`shell\npnpm run lint --fix\n\\`\\`\\`\n`,\n\t\t\t\t\t\t\t\t\t...(addons.beforeLint ? [addons.beforeLint] : []),\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tbefore: `\nThis package includes several forms of linting to enforce consistent code quality and styling.\nEach should be shown in VS Code, and can be run manually on the command-line:\n`,\n\t\t\t\t\t\t\t\titems: [\n\t\t\t\t\t\t\t\t\t`- \\`pnpm lint\\` ([ESLint](https://eslint.org) with [typescript-eslint](https://typescript-eslint.io)): Lints source files, including JavaScript, Markdown, and TypeScript`,\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tplural: `Read the individual documentation for each linter to understand how it can be configured and used best.`,\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\",\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t...(options.bin ? [{ run: \"pnpm build\" }] : []),\n\t\t\t\t\t\t\t\t{ run: \"pnpm lint\" },\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\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tdevDependencies: {\n\t\t\t\t\t\t\t...getPackageDependencies(\n\t\t\t\t\t\t\t\t\"@eslint/js\",\n\t\t\t\t\t\t\t\t\"@types/node\",\n\t\t\t\t\t\t\t\t\"eslint\",\n\t\t\t\t\t\t\t\t\"typescript-eslint\",\n\t\t\t\t\t\t\t\t...imports\n\t\t\t\t\t\t\t\t\t.filter((imported) => typeof imported.source === \"string\")\n\t\t\t\t\t\t\t\t\t.flatMap(({ source, types }) => {\n\t\t\t\t\t\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-unsafe-call -- https://github.com/egoist/parse-package-name/issues/30\n\t\t\t\t\t\t\t\t\t\tconst { name } = parsePackageName(source) as {\n\t\t\t\t\t\t\t\t\t\t\tname: string;\n\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\treturn types ? [name, `@types/${name}`] : [name];\n\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t...Object.fromEntries(\n\t\t\t\t\t\t\t\timports\n\t\t\t\t\t\t\t\t\t.filter(\n\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\timported,\n\t\t\t\t\t\t\t\t\t\t): imported is typeof imported & { source: object } =>\n\t\t\t\t\t\t\t\t\t\t\ttypeof imported.source === \"object\",\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t.map((imported) => [\n\t\t\t\t\t\t\t\t\t\timported.source.packageName,\n\t\t\t\t\t\t\t\t\t\timported.source.version,\n\t\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\tscripts: {\n\t\t\t\t\t\t\tlint: \"eslint . --max-warnings 0\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockVSCode({\n\t\t\t\t\textensions: [\"dbaeumer.vscode-eslint\"],\n\t\t\t\t\tsettings: {\n\t\t\t\t\t\t\"editor.codeActionsOnSave\": {\n\t\t\t\t\t\t\t\"source.fixAll.eslint\": \"explicit\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"eslint.probe\": [\n\t\t\t\t\t\t\t\"javascript\",\n\t\t\t\t\t\t\t\"javascriptreact\",\n\t\t\t\t\t\t\t\"json\",\n\t\t\t\t\t\t\t\"jsonc\",\n\t\t\t\t\t\t\t\"markdown\",\n\t\t\t\t\t\t\t\"typescript\",\n\t\t\t\t\t\t\t\"typescriptreact\",\n\t\t\t\t\t\t\t\"yaml\",\n\t\t\t\t\t\t],\n\t\t\t\t\t\t\"eslint.rules.customizations\": [{ rule: \"*\", severity: \"warn\" }],\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t[configFileName]: `${explanation}${importLines.join(\"\\n\")}\n\nexport default defineConfig(\n\tglobalIgnores( [${ignoreLines.join(\", \")}], \"Global Ignores\" ),\n\t{ linterOptions: { reportUnusedDisableDirectives: \"error\" } },\n\t${extensionLines.join(\",\")}\n);`,\n\t\t\t},\n\t\t\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [\"pnpm lint --fix\"],\n\t\t\t\t\tphase: CommandPhase.Process,\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n\ttransition({ options }) {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveDependencies({\n\t\t\t\t\tdependencies: [\n\t\t\t\t\t\t\"@types/eslint\",\n\t\t\t\t\t\t\"@typescript-eslint/eslint-plugin\",\n\t\t\t\t\t\t\"@typescript-eslint/parser\",\n\t\t\t\t\t\t\"eslint-plugin-deprecation\",\n\t\t\t\t\t\t\"eslint-plugin-eslint-comments\",\n\t\t\t\t\t\t\"eslint-plugin-no-only-tests\",\n\t\t\t\t\t\t\"yaml-eslint-parser\",\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\n\t\t\t\t\t\t\".eslintrc*\",\n\t\t\t\t\t\t\".eslintignore\",\n\t\t\t\t\t\toptions.type === \"commonjs\"\n\t\t\t\t\t\t\t? \"eslint.config.{cjs,js}\"\n\t\t\t\t\t\t\t: \"eslint.config.{cjs,mjs}\",\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"eslint\", \"lint\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n\nfunction groupByComment(rulesGroups: ExtensionRuleGroup[]) {\n\tconst byComment = new Map<string | undefined, ExtensionRuleGroup>();\n\tconst grouped: typeof rulesGroups = [];\n\n\tfor (const group of rulesGroups) {\n\t\tconst existing = byComment.get(group.comment);\n\n\t\tif (existing) {\n\t\t\texisting.entries = {\n\t\t\t\t...existing.entries,\n\t\t\t\t...group.entries,\n\t\t\t};\n\t\t\tcontinue;\n\t\t} else {\n\t\t\tbyComment.set(group.comment, group);\n\t\t\tgrouped.push(group);\n\t\t}\n\t}\n\n\treturn grouped;\n}\n\nfunction printExtension(extension: Extension) {\n\treturn [\n\t\t\"{\",\n\t\textension.extends && `extends: [${extension.extends.join(\", \")}],`,\n\t\t`files: [${extension.files.map((glob) => JSON.stringify(glob)).join(\", \")}],`,\n\t\textension.languageOptions &&\n\t\t\t`languageOptions: ${JSON.stringify(extension.languageOptions).replace('\"import.meta.dirname\"', \"import.meta.dirname\")},`,\n\t\textension.linterOptions &&\n\t\t\t`linterOptions: ${JSON.stringify(extension.linterOptions)}`,\n\t\textension.rules && `rules: ${printExtensionRules(extension.rules)},`,\n\t\textension.settings &&\n\t\t\t`settings: ${JSON.stringify(sortKeys(extension.settings))},`,\n\t\t\"}\",\n\t]\n\t\t.filter(Boolean)\n\t\t.join(\" \");\n}\n\nfunction printExtensionRules(rules: ExtensionRules) {\n\tif (!Array.isArray(rules)) {\n\t\treturn JSON.stringify(rules);\n\t}\n\n\treturn [\n\t\t\"{\",\n\t\t...groupByComment(rules).flatMap((group) => [\n\t\t\tprintGroupComment(group.comment),\n\t\t\t...Object.entries(group.entries).map(\n\t\t\t\t([ruleName, options]) => `\"${ruleName}\": ${JSON.stringify(options)},`,\n\t\t\t),\n\t\t]),\n\t\t\"}\",\n\t].join(\"\");\n}\n\nfunction printGroupComment(comment: string | undefined) {\n\treturn comment ? `\\n\\n// ${comment.replaceAll(\"\\n\", \"\\n// \")}\\n` : \"\";\n}\n\nfunction processForSort(files: string[]) {\n\treturn files.join(\"\").replaceAll(\"{\", \"\");\n}\n"],"mappings":"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"}