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_stratum26 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockNvmrc.d.ts
4
- declare const blockNvmrc: bingo_stratum26.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 { blockNvmrc };
74
- //# sourceMappingURL=blockNvmrc.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockNvmrc.d.ts","names":[],"sources":["../../src/blocks/blockNvmrc.ts"],"sourcesContent":[],"mappings":";;;cAGa,4BAAU;;;EAAV,SAAA,EAAA,MAkBX;;;;;;;;;;EAlBqB,KAAA,EAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockNvmrc.js","names":[],"sources":["../../src/blocks/blockNvmrc.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockPrettier } from \"./blockPrettier.js\";\n\nexport const blockNvmrc = base.createBlock({\n\tabout: {\n\t\tname: \"Nvmrc\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockPrettier({\n\t\t\t\t\toverrides: [{ files: \".nvmrc\", options: { parser: \"yaml\" } }],\n\t\t\t\t}),\n\t\t\t],\n\t\t\t...(options.node.pinned && {\n\t\t\t\tfiles: {\n\t\t\t\t\t\".nvmrc\": `${options.node.pinned}\\n`,\n\t\t\t\t},\n\t\t\t}),\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAGA,MAAa,aAAa,KAAK,YAAY;CAC1C,OAAO,EACN,MAAM,SACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO;GACN,QAAQ,CACP,cAAc,EACb,WAAW,CAAC;IAAE,OAAO;IAAU,SAAS,EAAE,QAAQ,QAAQ;IAAE,CAAC,EAC7D,CAAC,CACF;GACD,GAAI,QAAQ,KAAK,UAAU,EAC1B,OAAO,EACN,UAAU,GAAG,QAAQ,KAAK,OAAO,KACjC,EACD;GACD;;CAEF,CAAC"}
@@ -1,76 +0,0 @@
1
- import * as bingo_stratum27 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockOctoGuide.d.ts
4
- declare const blockOctoGuide: bingo_stratum27.BlockWithAddons<{
5
- config?: "strict" | "recommended" | 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 { blockOctoGuide };
76
- //# sourceMappingURL=blockOctoGuide.d.ts.map
@@ -1 +0,0 @@
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 +0,0 @@
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,74 +0,0 @@
1
- import * as bingo_stratum28 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockOctoGuideStrict.d.ts
4
- declare const blockOctoGuideStrict: bingo_stratum28.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 { blockOctoGuideStrict };
74
- //# sourceMappingURL=blockOctoGuideStrict.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockOctoGuideStrict.d.ts","names":[],"sources":["../../src/blocks/blockOctoGuideStrict.ts"],"sourcesContent":[],"mappings":";;;cAGa,sCAAoB;;;EAApB,SAAA,EAAA,MAAA;;;;;;;;;;EAAoB,KAAA,EAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockOctoGuideStrict.js","names":[],"sources":["../../src/blocks/blockOctoGuideStrict.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockOctoGuide } from \"./blockOctoGuide.js\";\n\nexport const blockOctoGuideStrict = base.createBlock({\n\tabout: {\n\t\tname: \"OctoGuide Strict\",\n\t},\n\tproduce() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockOctoGuide({\n\t\t\t\t\tconfig: \"strict\",\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAGA,MAAa,uBAAuB,KAAK,YAAY;CACpD,OAAO,EACN,MAAM,oBACN;CACD,UAAU;AACT,SAAO,EACN,QAAQ,CACP,eAAe,EACd,QAAQ,UACR,CAAC,CACF,EACD;;CAEF,CAAC"}
@@ -1,151 +0,0 @@
1
- import * as bingo_stratum29 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockPackageJson.d.ts
4
- declare const blockPackageJson: bingo_stratum29.BlockWithAddons<{
5
- properties: {
6
- type?: "commonjs" | "module" | undefined;
7
- author?: string | {
8
- name: string;
9
- url?: string | undefined;
10
- email?: string | undefined;
11
- } | undefined;
12
- bin?: string | Record<string, string> | undefined;
13
- name?: string | undefined;
14
- contributors?: (string | {
15
- name: string;
16
- url?: string | undefined;
17
- email?: string | undefined;
18
- })[] | undefined;
19
- description?: string | undefined;
20
- funding?: string | {
21
- url: string;
22
- type?: string | undefined;
23
- } | (string | {
24
- url: string;
25
- type?: string | undefined;
26
- })[] | undefined;
27
- keywords?: string[] | undefined;
28
- dependencies?: Record<string, string> | undefined;
29
- devDependencies?: Record<string, string> | undefined;
30
- peerDependencies?: Record<string, string> | undefined;
31
- peerDependenciesMeta?: Record<string, {
32
- optional: boolean;
33
- }> | undefined;
34
- scripts?: Record<string, string | undefined> | undefined;
35
- repository?: string | {
36
- type: string;
37
- url: string;
38
- directory?: string | undefined;
39
- } | undefined;
40
- module?: string | undefined;
41
- version?: string | undefined;
42
- engines?: Record<string, string> | undefined;
43
- packageManager?: string | undefined;
44
- files?: string[] | undefined;
45
- types?: string | undefined;
46
- imports?: Record<string, unknown> | undefined;
47
- license?: string | undefined;
48
- config?: Record<string, unknown> | undefined;
49
- private?: boolean | undefined;
50
- homepage?: string | undefined;
51
- maintainers?: (string | {
52
- name: string;
53
- url?: string | undefined;
54
- email?: string | undefined;
55
- })[] | undefined;
56
- main?: string | undefined;
57
- bugs?: string | {
58
- url?: string | undefined;
59
- email?: string | undefined;
60
- } | undefined;
61
- browser?: string | Record<string, string | boolean> | undefined;
62
- man?: string | string[] | undefined;
63
- directories?: Record<string, string> | undefined;
64
- bundleDependencies?: boolean | string[] | undefined;
65
- bundledDependencies?: boolean | string[] | undefined;
66
- optionalDependencies?: Record<string, string> | undefined;
67
- overrides?: Record<string, unknown> | undefined;
68
- os?: string[] | undefined;
69
- cpu?: string[] | undefined;
70
- publishConfig?: Record<string, unknown> | undefined;
71
- workspaces?: string[] | undefined;
72
- deprecated?: string | undefined;
73
- typings?: string | undefined;
74
- typesVersions?: Record<string, Record<string, string[]>> | undefined;
75
- sideEffects?: boolean | string[] | undefined;
76
- exports?: string | string[] | Record<string, unknown> | null | undefined;
77
- } & {
78
- [k: string]: unknown;
79
- };
80
- cleanupCommands: string[];
81
- }, {
82
- access: "public" | "restricted";
83
- description: string;
84
- directory: string;
85
- documentation: {
86
- readme: {
87
- additional?: string | undefined;
88
- explainer?: string | undefined;
89
- footnotes?: string | undefined;
90
- usage?: string | undefined;
91
- };
92
- development?: string | undefined;
93
- };
94
- email: {
95
- github: string;
96
- npm: string;
97
- };
98
- title: string;
99
- node: {
100
- minimum: string;
101
- pinned?: string | undefined;
102
- };
103
- owner: string;
104
- repository: string;
105
- type?: "commonjs" | "module" | undefined;
106
- author?: string | undefined;
107
- bin?: string | Record<string, string> | undefined;
108
- contributors?: {
109
- avatar_url: string;
110
- contributions: string[];
111
- login: string;
112
- name: string;
113
- profile: string;
114
- }[] | undefined;
115
- emoji?: string | undefined;
116
- existingLabels?: {
117
- name: string;
118
- description: string;
119
- color: string;
120
- }[] | undefined;
121
- funding?: string | undefined;
122
- guide?: {
123
- href: string;
124
- title: string;
125
- } | undefined;
126
- keywords?: string[] | undefined;
127
- logo?: {
128
- alt: string;
129
- src: string;
130
- height?: number | undefined;
131
- width?: number | undefined;
132
- } | undefined;
133
- packageData?: {
134
- dependencies?: Record<string, string> | undefined;
135
- devDependencies?: Record<string, string> | undefined;
136
- peerDependencies?: Record<string, string> | undefined;
137
- peerDependenciesMeta?: Record<string, unknown> | undefined;
138
- scripts?: Record<string, string | undefined> | undefined;
139
- } | undefined;
140
- pnpm?: string | undefined;
141
- rulesetId?: string | undefined;
142
- version?: string | undefined;
143
- words?: string[] | undefined;
144
- workflowsVersions?: Record<string, Record<string, {
145
- pinned?: boolean | undefined;
146
- hash?: string | undefined;
147
- }>> | undefined;
148
- }>;
149
- //#endregion
150
- export { blockPackageJson };
151
- //# sourceMappingURL=blockPackageJson.d.ts.map
@@ -1 +0,0 @@
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 +0,0 @@
1
- {"version":3,"file":"blockPackageJson.js","names":[],"sources":["../../src/blocks/blockPackageJson.ts"],"sourcesContent":["import removeUndefinedObjects from \"remove-undefined-objects\";\nimport semver from \"semver\";\nimport sortPackageJson from \"sort-package-json\";\nimport { z } from \"zod\";\nimport { PackageJson } from \"zod-package-json\";\n\nimport { base } from \"../base.js\";\nimport { htmlToTextSafe } from \"../utils/htmlToTextSafe.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nconst PackageJsonWithNullableScripts = PackageJson.partial().extend({\n\tscripts: z\n\t\t.record(z.string(), z.union([z.string(), z.undefined()]))\n\t\t.optional(),\n});\n\nexport const blockPackageJson = base.createBlock({\n\tabout: {\n\t\tname: \"Package JSON\",\n\t},\n\taddons: {\n\t\tcleanupCommands: z.array(z.string()).default([]),\n\t\tproperties: PackageJsonWithNullableScripts.default({}),\n\t},\n\tproduce({ addons, offline, options }) {\n\t\tconst dependencies = useLargerVersions(options.packageData?.dependencies, {\n\t\t\t...options.packageData?.dependencies,\n\t\t\t...addons.properties.dependencies,\n\t\t});\n\t\tconst devDependencies = useLargerVersions(\n\t\t\toptions.packageData?.devDependencies,\n\t\t\t{\n\t\t\t\t...options.packageData?.devDependencies,\n\t\t\t\t...addons.properties.devDependencies,\n\t\t\t},\n\t\t);\n\t\tconst description = htmlToTextSafe(options.description);\n\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\"package.json\": sortPackageJson(\n\t\t\t\t\tJSON.stringify(\n\t\t\t\t\t\tremoveUndefinedObjects({\n\t\t\t\t\t\t\t...options.packageData,\n\t\t\t\t\t\t\t...addons.properties,\n\t\t\t\t\t\t\tauthor: { email: options.email.npm, name: options.author },\n\t\t\t\t\t\t\tbin: options.bin,\n\t\t\t\t\t\t\tdependencies: Object.keys(dependencies).length\n\t\t\t\t\t\t\t\t? dependencies\n\t\t\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\t\tdescription,\n\t\t\t\t\t\t\tdevDependencies: Object.keys(devDependencies).length\n\t\t\t\t\t\t\t\t? devDependencies\n\t\t\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\t\tengines: {\n\t\t\t\t\t\t\t\tnode: `>=${options.node.minimum}`,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t...(options.pnpm && {\n\t\t\t\t\t\t\t\tpackageManager: `pnpm@${options.pnpm}`,\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tfiles: processFiles(addons.properties.files),\n\t\t\t\t\t\t\tkeywords: options.keywords,\n\t\t\t\t\t\t\tname: options.repository,\n\t\t\t\t\t\t\trepository: {\n\t\t\t\t\t\t\t\ttype: \"git\",\n\t\t\t\t\t\t\t\turl: `git+https://github.com/${options.owner}/${options.repository}.git`,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\t\t...options.packageData?.scripts,\n\t\t\t\t\t\t\t\t...addons.properties.scripts,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\ttype: options.type ?? \"module\",\n\t\t\t\t\t\t\tversion: options.version ?? \"0.0.0\",\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\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [\n\t\t\t\t\t\t`pnpm install ${offline ? \"--offline \" : \"\"}--no-frozen-lockfile`,\n\t\t\t\t\t\t...addons.cleanupCommands,\n\t\t\t\t\t],\n\t\t\t\t\tphase: CommandPhase.Install,\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: [\"package-lock.json yarn.lock\"] })],\n\t\t};\n\t},\n});\n\nfunction processFiles(files: string[] | undefined) {\n\t// If no files have been specified, we can skip the property altogether\n\tif (!files?.length) {\n\t\treturn undefined;\n\t}\n\n\t// First sort so that shorter entries are first (e.g. \"lib/\")...\n\tconst sortedByLength = files\n\t\t.filter(Boolean)\n\t\t.sort((a, b) => a.length - b.length);\n\n\t// ...then remove entries captured by earlier directories (e.g. \"lib/index.js\")\n\treturn sortedByLength\n\t\t.filter(\n\t\t\t(file, i) =>\n\t\t\t\t!sortedByLength\n\t\t\t\t\t.slice(0, i)\n\t\t\t\t\t.some((earlier) => earlier.endsWith(\"/\") && file.startsWith(earlier)),\n\t\t)\n\t\t.sort();\n}\n\nfunction removeRangePrefix(version: string) {\n\tconst raw = version.replaceAll(/[\\^~><=]/gu, \"\").split(\" \")[0];\n\n\treturn semver.coerce(raw) ?? raw;\n}\n\nfunction useLargerVersion(existing: string | undefined, replacement: string) {\n\tif (!existing || existing === replacement) {\n\t\treturn replacement;\n\t}\n\n\tconst existingCoerced = semver.coerce(removeRangePrefix(existing));\n\n\treturn existingCoerced &&\n\t\tsemver.gt(existingCoerced, removeRangePrefix(replacement))\n\t\t? existing\n\t\t: replacement;\n}\n\nfunction useLargerVersions(\n\texisting: Record<string, string | undefined> | undefined,\n\treplacements: Record<string, string>,\n) {\n\tif (!existing) {\n\t\treturn replacements;\n\t}\n\n\treturn Object.fromEntries(\n\t\tObject.entries(replacements).map(([key, replacement]) => [\n\t\t\tkey,\n\t\t\tuseLargerVersion(existing[key], replacement),\n\t\t]),\n\t);\n}\n"],"mappings":";;;;;;;;;;;AAWA,MAAM,iCAAiC,YAAY,SAAS,CAAC,OAAO,EACnE,SAAS,EACP,OAAO,EAAE,QAAQ,EAAE,EAAE,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,WAAW,CAAC,CAAC,CAAC,CACxD,UAAU,EACZ,CAAC;AAEF,MAAa,mBAAmB,KAAK,YAAY;CAChD,OAAO,EACN,MAAM,gBACN;CACD,QAAQ;EACP,iBAAiB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,EAAE,CAAC;EAChD,YAAY,+BAA+B,QAAQ,EAAE,CAAC;EACtD;CACD,QAAQ,EAAE,QAAQ,SAAS,WAAW;EACrC,MAAM,eAAe,kBAAkB,QAAQ,aAAa,cAAc;GACzE,GAAG,QAAQ,aAAa;GACxB,GAAG,OAAO,WAAW;GACrB,CAAC;EACF,MAAM,kBAAkB,kBACvB,QAAQ,aAAa,iBACrB;GACC,GAAG,QAAQ,aAAa;GACxB,GAAG,OAAO,WAAW;GACrB,CACD;EACD,MAAM,cAAc,eAAe,QAAQ,YAAY;AAEvD,SAAO;GACN,OAAO,EACN,gBAAgB,gBACf,KAAK,UACJ,uBAAuB;IACtB,GAAG,QAAQ;IACX,GAAG,OAAO;IACV,QAAQ;KAAE,OAAO,QAAQ,MAAM;KAAK,MAAM,QAAQ;KAAQ;IAC1D,KAAK,QAAQ;IACb,cAAc,OAAO,KAAK,aAAa,CAAC,SACrC,eACA;IACH;IACA,iBAAiB,OAAO,KAAK,gBAAgB,CAAC,SAC3C,kBACA;IACH,SAAS,EACR,MAAM,KAAK,QAAQ,KAAK,WACxB;IACD,GAAI,QAAQ,QAAQ,EACnB,gBAAgB,QAAQ,QAAQ,QAChC;IACD,OAAO,aAAa,OAAO,WAAW,MAAM;IAC5C,UAAU,QAAQ;IAClB,MAAM,QAAQ;IACd,YAAY;KACX,MAAM;KACN,KAAK,0BAA0B,QAAQ,MAAM,GAAG,QAAQ,WAAW;KACnE;IACD,SAAS;KACR,GAAG,QAAQ,aAAa;KACxB,GAAG,OAAO,WAAW;KACrB;IACD,MAAM,QAAQ,QAAQ;IACtB,SAAS,QAAQ,WAAW;IAC5B,CAAC,CACF,CACD,EACD;GACD,SAAS,CACR;IACC,UAAU,CACT,gBAAgB,UAAU,eAAe,GAAG,uBAC5C,GAAG,OAAO,gBACV;IACD,OAAO,aAAa;IACpB,CACD;GACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC,8BAA8B,EAAE,CAAC,CAAC,EACtE;;CAEF,CAAC;AAEF,SAAS,aAAa,OAA6B;AAElD,KAAI,CAAC,OAAO,OACX;CAID,MAAM,iBAAiB,MACrB,OAAO,QAAQ,CACf,MAAM,GAAG,MAAM,EAAE,SAAS,EAAE,OAAO;AAGrC,QAAO,eACL,QACC,MAAM,MACN,CAAC,eACC,MAAM,GAAG,EAAE,CACX,MAAM,YAAY,QAAQ,SAAS,IAAI,IAAI,KAAK,WAAW,QAAQ,CAAC,CACvE,CACA,MAAM;;AAGT,SAAS,kBAAkB,SAAiB;CAC3C,MAAM,MAAM,QAAQ,WAAW,cAAc,GAAG,CAAC,MAAM,IAAI,CAAC;AAE5D,QAAO,OAAO,OAAO,IAAI,IAAI;;AAG9B,SAAS,iBAAiB,UAA8B,aAAqB;AAC5E,KAAI,CAAC,YAAY,aAAa,YAC7B,QAAO;CAGR,MAAM,kBAAkB,OAAO,OAAO,kBAAkB,SAAS,CAAC;AAElE,QAAO,mBACN,OAAO,GAAG,iBAAiB,kBAAkB,YAAY,CAAC,GACxD,WACA;;AAGJ,SAAS,kBACR,UACA,cACC;AACD,KAAI,CAAC,SACJ,QAAO;AAGR,QAAO,OAAO,YACb,OAAO,QAAQ,aAAa,CAAC,KAAK,CAAC,KAAK,iBAAiB,CACxD,KACA,iBAAiB,SAAS,MAAM,YAAY,CAC5C,CAAC,CACF"}
@@ -1,74 +0,0 @@
1
- import * as bingo_stratum30 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockPnpmDedupe.d.ts
4
- declare const blockPnpmDedupe: bingo_stratum30.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 { blockPnpmDedupe };
74
- //# sourceMappingURL=blockPnpmDedupe.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockPnpmDedupe.d.ts","names":[],"sources":["../../src/blocks/blockPnpmDedupe.ts"],"sourcesContent":[],"mappings":";;;cAKa,iCAAe;;;EAAf,SAAA,EAAA,MAAA;;;;;;;;;;EAAe,KAAA,EAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockPnpmDedupe.js","names":[],"sources":["../../src/blocks/blockPnpmDedupe.ts"],"sourcesContent":["import { base } from \"../base.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\tblockGitHubActionsCI({\n\t\t\t\t\tjobs: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Dedupe Check\",\n\t\t\t\t\t\t\tsteps: [{ run: \"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\tblockPackageJson({\n\t\t\t\t\tcleanupCommands: [\"pnpm dedupe\"],\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":";;;;;;AAKA,MAAa,kBAAkB,KAAK,YAAY;CAC/C,OAAO,EACN,MAAM,eACN;CACD,UAAU;AACT,SAAO,EACN,QAAQ,CACP,qBAAqB,EACpB,MAAM,CACL;GACC,MAAM;GACN,OAAO,CAAC,EAAE,KAAK,uBAAuB,CAAC;GACvC,CACD,EACD,CAAC,EACF,iBAAiB,EAChB,iBAAiB,CAAC,cAAc,EAChC,CAAC,CACF,EACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CACP,qBAAqB,EACpB,WAAW,CAAC,gBAAgB,EAC5B,CAAC,CACF,EACD;;CAEF,CAAC"}
@@ -1,84 +0,0 @@
1
- import * as bingo_stratum31 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockPrettier.d.ts
4
- declare const blockPrettier: bingo_stratum31.BlockWithAddons<{
5
- plugins: string[];
6
- ignores: string[];
7
- overrides: {
8
- options: {
9
- parser: string;
10
- };
11
- files: string;
12
- }[];
13
- runBefore: string[];
14
- }, {
15
- access: "public" | "restricted";
16
- description: string;
17
- directory: string;
18
- documentation: {
19
- readme: {
20
- additional?: string | undefined;
21
- explainer?: string | undefined;
22
- footnotes?: string | undefined;
23
- usage?: string | undefined;
24
- };
25
- development?: string | undefined;
26
- };
27
- email: {
28
- github: string;
29
- npm: string;
30
- };
31
- title: string;
32
- node: {
33
- minimum: string;
34
- pinned?: string | undefined;
35
- };
36
- owner: string;
37
- repository: string;
38
- type?: "commonjs" | "module" | undefined;
39
- author?: string | undefined;
40
- bin?: string | Record<string, string> | undefined;
41
- contributors?: {
42
- avatar_url: string;
43
- contributions: string[];
44
- login: string;
45
- name: string;
46
- profile: string;
47
- }[] | undefined;
48
- emoji?: string | undefined;
49
- existingLabels?: {
50
- name: string;
51
- description: string;
52
- color: string;
53
- }[] | undefined;
54
- funding?: string | undefined;
55
- guide?: {
56
- href: string;
57
- title: string;
58
- } | undefined;
59
- keywords?: string[] | undefined;
60
- logo?: {
61
- alt: string;
62
- src: string;
63
- height?: number | undefined;
64
- width?: number | undefined;
65
- } | undefined;
66
- packageData?: {
67
- dependencies?: Record<string, string> | undefined;
68
- devDependencies?: Record<string, string> | undefined;
69
- peerDependencies?: Record<string, string> | undefined;
70
- peerDependenciesMeta?: Record<string, unknown> | undefined;
71
- scripts?: Record<string, string | undefined> | undefined;
72
- } | undefined;
73
- pnpm?: string | undefined;
74
- rulesetId?: string | undefined;
75
- version?: string | undefined;
76
- words?: string[] | undefined;
77
- workflowsVersions?: Record<string, Record<string, {
78
- pinned?: boolean | undefined;
79
- hash?: string | undefined;
80
- }>> | undefined;
81
- }>;
82
- //#endregion
83
- export { blockPrettier };
84
- //# sourceMappingURL=blockPrettier.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockPrettier.d.ts","names":[],"sources":["../../src/blocks/blockPrettier.ts"],"sourcesContent":[],"mappings":";;;cAea,+BAAa;;;EAAb,SAAA,EAAA;;;;;;;;;eAAa,MAAA;EAAA,SAAA,EAAA,MAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockPrettier.js","names":[],"sources":["../../src/blocks/blockPrettier.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.js\";\nimport { blockCSpell } from \"./blockCSpell.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 { formatIgnoreFile } from \"./files/formatIgnoreFile.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nexport const blockPrettier = base.createBlock({\n\tabout: {\n\t\tname: \"Prettier\",\n\t},\n\taddons: {\n\t\tignores: z.array(z.string()).default([]),\n\t\toverrides: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\tfiles: z.string(),\n\t\t\t\t\toptions: z.object({\n\t\t\t\t\t\tparser: z.string(),\n\t\t\t\t\t}),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.default([]),\n\t\tplugins: z.array(z.string()).default([]),\n\t\trunBefore: z.array(z.string()).default([]),\n\t},\n\tproduce({ addons }) {\n\t\tconst { ignores, overrides, plugins, runBefore } = addons;\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockCSpell({\n\t\t\t\t\tignorePaths: [\".all-contributorsrc\"],\n\t\t\t\t}),\n\t\t\t\tblockDevelopmentDocs({\n\t\t\t\t\tsections: {\n\t\t\t\t\t\tFormatting: {\n\t\t\t\t\t\t\tcontents: `\n[Prettier](https://prettier.io) is used to format code.\nIt should be applied automatically when you save files in VS Code or make a Git commit.\n\nTo manually reformat all files, you can run:\n\n\\`\\`\\`shell\npnpm format --write\n\\`\\`\\`\n`,\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: \"Format Check\",\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t...runBefore.map((run) => ({ run })),\n\t\t\t\t\t\t\t\t{ run: \"pnpm format --list-different\" },\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: getPackageDependencies(\n\t\t\t\t\t\t\t...plugins.filter((plugin) => !plugin.startsWith(\".\")),\n\t\t\t\t\t\t\t\"husky\",\n\t\t\t\t\t\t\t\"lint-staged\",\n\t\t\t\t\t\t\t\"prettier\",\n\t\t\t\t\t\t),\n\t\t\t\t\t\t\"lint-staged\": {\n\t\t\t\t\t\t\t\"*\": \"prettier --ignore-unknown --write\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\tformat: \"prettier .\",\n\t\t\t\t\t\t\tprepare: \"husky\",\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: [\"esbenp.prettier-vscode\"],\n\t\t\t\t\tsettings: { \"editor.defaultFormatter\": \"esbenp.prettier-vscode\" },\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t\".husky\": {\n\t\t\t\t\t\".gitignore\": \"_\\n\",\n\t\t\t\t\t\"pre-commit\": [\"npx lint-staged\\n\", { executable: true }],\n\t\t\t\t},\n\t\t\t\t\".prettierignore\": formatIgnoreFile(\n\t\t\t\t\t[\"/.husky\", \"/lib\", \"/pnpm-lock.yaml\", ...ignores].sort(),\n\t\t\t\t),\n\t\t\t\t\".prettierrc.json\": JSON.stringify({\n\t\t\t\t\t$schema: \"http://json.schemastore.org/prettierrc\",\n\t\t\t\t\t...(overrides.length && { overrides: overrides.sort() }),\n\t\t\t\t\t...(plugins.length && { plugins: plugins.sort() }),\n\t\t\t\t\tuseTabs: true,\n\t\t\t\t}),\n\t\t\t},\n\t\t\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [...runBefore, \"pnpm format --write\"],\n\t\t\t\t\tphase: CommandPhase.Format,\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\tblockRemoveDependencies({\n\t\t\t\t\tdependencies: [\"eslint-config-prettier\", \"eslint-plugin-prettier\"],\n\t\t\t\t}),\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\n\t\t\t\t\t\t\".prettierrc\",\n\t\t\t\t\t\t\".prettierrc.{c*,js,m*,t*}\",\n\t\t\t\t\t\t\"prettier.config*\",\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"format\", \"prettier\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;;;;;;AAeA,MAAa,gBAAgB,KAAK,YAAY;CAC7C,OAAO,EACN,MAAM,YACN;CACD,QAAQ;EACP,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,EAAE,CAAC;EACxC,WAAW,EACT,MACA,EAAE,OAAO;GACR,OAAO,EAAE,QAAQ;GACjB,SAAS,EAAE,OAAO,EACjB,QAAQ,EAAE,QAAQ,EAClB,CAAC;GACF,CAAC,CACF,CACA,QAAQ,EAAE,CAAC;EACb,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,EAAE,CAAC;EACxC,WAAW,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,EAAE,CAAC;EAC1C;CACD,QAAQ,EAAE,UAAU;EACnB,MAAM,EAAE,SAAS,WAAW,SAAS,cAAc;AAEnD,SAAO;GACN,QAAQ;IACP,YAAY,EACX,aAAa,CAAC,sBAAsB,EACpC,CAAC;IACF,qBAAqB,EACpB,UAAU,EACT,YAAY,EACX,UAAU;;;;;;;;;GAUV,EACD,EACD,CAAC;IACF,qBAAqB,EACpB,MAAM,CACL;KACC,MAAM;KACN,OAAO,CACN,GAAG,UAAU,KAAK,SAAS,EAAE,KAAK,EAAE,EACpC,EAAE,KAAK,gCAAgC,CACvC;KACD,CACD,EACD,CAAC;IACF,iBAAiB,EAChB,YAAY;KACX,iBAAiB,uBAChB,GAAG,QAAQ,QAAQ,WAAW,CAAC,OAAO,WAAW,IAAI,CAAC,EACtD,SACA,eACA,WACA;KACD,eAAe,EACd,KAAK,qCACL;KACD,SAAS;MACR,QAAQ;MACR,SAAS;MACT;KACD,EACD,CAAC;IACF,YAAY;KACX,YAAY,CAAC,yBAAyB;KACtC,UAAU,EAAE,2BAA2B,0BAA0B;KACjE,CAAC;IACF;GACD,OAAO;IACN,UAAU;KACT,cAAc;KACd,cAAc,CAAC,qBAAqB,EAAE,YAAY,MAAM,CAAC;KACzD;IACD,mBAAmB,iBAClB;KAAC;KAAW;KAAQ;KAAmB,GAAG;KAAQ,CAAC,MAAM,CACzD;IACD,oBAAoB,KAAK,UAAU;KAClC,SAAS;KACT,GAAI,UAAU,UAAU,EAAE,WAAW,UAAU,MAAM,EAAE;KACvD,GAAI,QAAQ,UAAU,EAAE,SAAS,QAAQ,MAAM,EAAE;KACjD,SAAS;KACT,CAAC;IACF;GACD,SAAS,CACR;IACC,UAAU,CAAC,GAAG,WAAW,sBAAsB;IAC/C,OAAO,aAAa;IACpB,CACD;GACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ;GACP,wBAAwB,EACvB,cAAc,CAAC,0BAA0B,yBAAyB,EAClE,CAAC;GACF,iBAAiB,EAChB,OAAO;IACN;IACA;IACA;IACA,EACD,CAAC;GACF,qBAAqB,EACpB,WAAW,CAAC,UAAU,WAAW,EACjC,CAAC;GACF,EACD;;CAEF,CAAC"}