create-typescript-app 2.62.0 → 2.63.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (568) hide show
  1. package/README.md +1 -1
  2. package/lib/_virtual/_rolldown/runtime.js +14 -0
  3. package/lib/base.d.ts +175 -0
  4. package/lib/base.d.ts.map +1 -0
  5. package/lib/base.js +3 -3
  6. package/lib/base.js.map +1 -0
  7. package/lib/blocks/actions/resolveUses.d.ts +6 -0
  8. package/lib/blocks/actions/resolveUses.d.ts.map +1 -0
  9. package/lib/blocks/actions/resolveUses.js +3 -3
  10. package/lib/blocks/actions/resolveUses.js.map +1 -0
  11. package/lib/blocks/actions/steps.d.ts +37 -0
  12. package/lib/blocks/actions/steps.d.ts.map +1 -0
  13. package/lib/blocks/actions/steps.js +3 -3
  14. package/lib/blocks/actions/steps.js.map +1 -0
  15. package/lib/blocks/bin/getPrimaryBin.d.ts +5 -0
  16. package/lib/blocks/bin/getPrimaryBin.d.ts.map +1 -0
  17. package/lib/blocks/bin/getPrimaryBin.js +3 -2
  18. package/lib/blocks/bin/getPrimaryBin.js.map +1 -0
  19. package/lib/blocks/blockAllContributors.d.ts +72 -0
  20. package/lib/blocks/blockAllContributors.d.ts.map +1 -0
  21. package/lib/blocks/blockAllContributors.js +3 -3
  22. package/lib/blocks/blockAllContributors.js.map +1 -0
  23. package/lib/blocks/blockAreTheTypesWrong.d.ts +72 -0
  24. package/lib/blocks/blockAreTheTypesWrong.d.ts.map +1 -0
  25. package/lib/blocks/blockAreTheTypesWrong.js +3 -3
  26. package/lib/blocks/blockAreTheTypesWrong.js.map +1 -0
  27. package/lib/blocks/blockCSpell.d.ts +75 -0
  28. package/lib/blocks/blockCSpell.d.ts.map +1 -0
  29. package/lib/blocks/blockCSpell.js +7 -7
  30. package/lib/blocks/blockCSpell.js.map +1 -0
  31. package/lib/blocks/blockCTATransitions.d.ts +72 -0
  32. package/lib/blocks/blockCTATransitions.d.ts.map +1 -0
  33. package/lib/blocks/blockCTATransitions.js +3 -3
  34. package/lib/blocks/blockCTATransitions.js.map +1 -0
  35. package/lib/blocks/blockCodecov.d.ts +74 -0
  36. package/lib/blocks/blockCodecov.d.ts.map +1 -0
  37. package/lib/blocks/blockCodecov.js +4 -4
  38. package/lib/blocks/blockCodecov.js.map +1 -0
  39. package/lib/blocks/blockContributingDocs.d.ts +72 -0
  40. package/lib/blocks/blockContributingDocs.d.ts.map +1 -0
  41. package/lib/blocks/blockContributingDocs.js +5 -4
  42. package/lib/blocks/blockContributingDocs.js.map +1 -0
  43. package/lib/blocks/blockContributorCovenant.d.ts +72 -0
  44. package/lib/blocks/blockContributorCovenant.d.ts.map +1 -0
  45. package/lib/blocks/blockContributorCovenant.js +3 -3
  46. package/lib/blocks/blockContributorCovenant.js.map +1 -0
  47. package/lib/blocks/blockDevelopmentDocs.d.ts +86 -0
  48. package/lib/blocks/blockDevelopmentDocs.d.ts.map +1 -0
  49. package/lib/blocks/blockDevelopmentDocs.js +5 -6
  50. package/lib/blocks/blockDevelopmentDocs.js.map +1 -0
  51. package/lib/blocks/blockESLint.d.ts +96 -0
  52. package/lib/blocks/blockESLint.d.ts.map +1 -0
  53. package/lib/blocks/blockESLint.js +4 -4
  54. package/lib/blocks/blockESLint.js.map +1 -0
  55. package/lib/blocks/blockESLintComments.d.ts +72 -0
  56. package/lib/blocks/blockESLintComments.d.ts.map +1 -0
  57. package/lib/blocks/blockESLintComments.js +3 -3
  58. package/lib/blocks/blockESLintComments.js.map +1 -0
  59. package/lib/blocks/blockESLintJSDoc.d.ts +72 -0
  60. package/lib/blocks/blockESLintJSDoc.d.ts.map +1 -0
  61. package/lib/blocks/blockESLintJSDoc.js +3 -3
  62. package/lib/blocks/blockESLintJSDoc.js.map +1 -0
  63. package/lib/blocks/blockESLintJSONC.d.ts +72 -0
  64. package/lib/blocks/blockESLintJSONC.d.ts.map +1 -0
  65. package/lib/blocks/blockESLintJSONC.js +3 -3
  66. package/lib/blocks/blockESLintJSONC.js.map +1 -0
  67. package/lib/blocks/blockESLintMarkdown.d.ts +72 -0
  68. package/lib/blocks/blockESLintMarkdown.d.ts.map +1 -0
  69. package/lib/blocks/blockESLintMarkdown.js +3 -3
  70. package/lib/blocks/blockESLintMarkdown.js.map +1 -0
  71. package/lib/blocks/blockESLintMoreStyling.d.ts +73 -0
  72. package/lib/blocks/blockESLintMoreStyling.d.ts.map +1 -0
  73. package/lib/blocks/blockESLintMoreStyling.js +3 -3
  74. package/lib/blocks/blockESLintMoreStyling.js.map +1 -0
  75. package/lib/blocks/blockESLintNode.d.ts +72 -0
  76. package/lib/blocks/blockESLintNode.d.ts.map +1 -0
  77. package/lib/blocks/blockESLintNode.js +4 -8
  78. package/lib/blocks/blockESLintNode.js.map +1 -0
  79. package/lib/blocks/blockESLintPackageJson.d.ts +72 -0
  80. package/lib/blocks/blockESLintPackageJson.d.ts.map +1 -0
  81. package/lib/blocks/blockESLintPackageJson.js +3 -3
  82. package/lib/blocks/blockESLintPackageJson.js.map +1 -0
  83. package/lib/blocks/blockESLintPerfectionist.d.ts +72 -0
  84. package/lib/blocks/blockESLintPerfectionist.d.ts.map +1 -0
  85. package/lib/blocks/blockESLintPerfectionist.js +3 -3
  86. package/lib/blocks/blockESLintPerfectionist.js.map +1 -0
  87. package/lib/blocks/blockESLintPlugin.d.ts +74 -0
  88. package/lib/blocks/blockESLintPlugin.d.ts.map +1 -0
  89. package/lib/blocks/blockESLintPlugin.js +3 -3
  90. package/lib/blocks/blockESLintPlugin.js.map +1 -0
  91. package/lib/blocks/blockESLintRegexp.d.ts +72 -0
  92. package/lib/blocks/blockESLintRegexp.d.ts.map +1 -0
  93. package/lib/blocks/blockESLintRegexp.js +3 -3
  94. package/lib/blocks/blockESLintRegexp.js.map +1 -0
  95. package/lib/blocks/blockESLintYML.d.ts +72 -0
  96. package/lib/blocks/blockESLintYML.d.ts.map +1 -0
  97. package/lib/blocks/blockESLintYML.js +3 -3
  98. package/lib/blocks/blockESLintYML.js.map +1 -0
  99. package/lib/blocks/blockExampleFiles.d.ts +75 -0
  100. package/lib/blocks/blockExampleFiles.d.ts.map +1 -0
  101. package/lib/blocks/blockExampleFiles.js +3 -3
  102. package/lib/blocks/blockExampleFiles.js.map +1 -0
  103. package/lib/blocks/blockExports.d.ts +75 -0
  104. package/lib/blocks/blockExports.d.ts.map +1 -0
  105. package/lib/blocks/blockExports.js +3 -3
  106. package/lib/blocks/blockExports.js.map +1 -0
  107. package/lib/blocks/blockFunding.d.ts +72 -0
  108. package/lib/blocks/blockFunding.d.ts.map +1 -0
  109. package/lib/blocks/blockFunding.js +3 -3
  110. package/lib/blocks/blockFunding.js.map +1 -0
  111. package/lib/blocks/blockGitHubActionsCI.d.ts +88 -0
  112. package/lib/blocks/blockGitHubActionsCI.d.ts.map +1 -0
  113. package/lib/blocks/blockGitHubActionsCI.js +3 -3
  114. package/lib/blocks/blockGitHubActionsCI.js.map +1 -0
  115. package/lib/blocks/blockGitHubApps.d.ts +77 -0
  116. package/lib/blocks/blockGitHubApps.d.ts.map +1 -0
  117. package/lib/blocks/blockGitHubApps.js +3 -3
  118. package/lib/blocks/blockGitHubApps.js.map +1 -0
  119. package/lib/blocks/blockGitHubIssueTemplates.d.ts +72 -0
  120. package/lib/blocks/blockGitHubIssueTemplates.d.ts.map +1 -0
  121. package/lib/blocks/blockGitHubIssueTemplates.js +3 -3
  122. package/lib/blocks/blockGitHubIssueTemplates.js.map +1 -0
  123. package/lib/blocks/blockGitHubPRTemplate.d.ts +72 -0
  124. package/lib/blocks/blockGitHubPRTemplate.d.ts.map +1 -0
  125. package/lib/blocks/blockGitHubPRTemplate.js +3 -3
  126. package/lib/blocks/blockGitHubPRTemplate.js.map +1 -0
  127. package/lib/blocks/blockGitignore.d.ts +74 -0
  128. package/lib/blocks/blockGitignore.d.ts.map +1 -0
  129. package/lib/blocks/blockGitignore.js +3 -3
  130. package/lib/blocks/blockGitignore.js.map +1 -0
  131. package/lib/blocks/blockKnip.d.ts +76 -0
  132. package/lib/blocks/blockKnip.d.ts.map +1 -0
  133. package/lib/blocks/blockKnip.js +3 -3
  134. package/lib/blocks/blockKnip.js.map +1 -0
  135. package/lib/blocks/blockMITLicense.d.ts +72 -0
  136. package/lib/blocks/blockMITLicense.d.ts.map +1 -0
  137. package/lib/blocks/blockMITLicense.js +3 -3
  138. package/lib/blocks/blockMITLicense.js.map +1 -0
  139. package/lib/blocks/blockNcc.d.ts +74 -0
  140. package/lib/blocks/blockNcc.d.ts.map +1 -0
  141. package/lib/blocks/blockNcc.js +3 -3
  142. package/lib/blocks/blockNcc.js.map +1 -0
  143. package/lib/blocks/blockNvmrc.d.ts +72 -0
  144. package/lib/blocks/blockNvmrc.d.ts.map +1 -0
  145. package/lib/blocks/blockNvmrc.js +3 -3
  146. package/lib/blocks/blockNvmrc.js.map +1 -0
  147. package/lib/blocks/blockOctoGuide.d.ts +74 -0
  148. package/lib/blocks/blockOctoGuide.d.ts.map +1 -0
  149. package/lib/blocks/blockOctoGuide.js +3 -3
  150. package/lib/blocks/blockOctoGuide.js.map +1 -0
  151. package/lib/blocks/blockOctoGuideStrict.d.ts +72 -0
  152. package/lib/blocks/blockOctoGuideStrict.d.ts.map +1 -0
  153. package/lib/blocks/blockOctoGuideStrict.js +3 -3
  154. package/lib/blocks/blockOctoGuideStrict.js.map +1 -0
  155. package/lib/blocks/blockPackageJson.d.ts +149 -0
  156. package/lib/blocks/blockPackageJson.d.ts.map +1 -0
  157. package/lib/blocks/blockPackageJson.js +3 -3
  158. package/lib/blocks/blockPackageJson.js.map +1 -0
  159. package/lib/blocks/blockPnpmDedupe.d.ts +72 -0
  160. package/lib/blocks/blockPnpmDedupe.d.ts.map +1 -0
  161. package/lib/blocks/blockPnpmDedupe.js +3 -3
  162. package/lib/blocks/blockPnpmDedupe.js.map +1 -0
  163. package/lib/blocks/blockPrettier.d.ts +82 -0
  164. package/lib/blocks/blockPrettier.d.ts.map +1 -0
  165. package/lib/blocks/blockPrettier.js +3 -3
  166. package/lib/blocks/blockPrettier.js.map +1 -0
  167. package/lib/blocks/blockPrettierPluginCurly.d.ts +72 -0
  168. package/lib/blocks/blockPrettierPluginCurly.d.ts.map +1 -0
  169. package/lib/blocks/blockPrettierPluginCurly.js +3 -3
  170. package/lib/blocks/blockPrettierPluginCurly.js.map +1 -0
  171. package/lib/blocks/blockPrettierPluginPackageJson.d.ts +72 -0
  172. package/lib/blocks/blockPrettierPluginPackageJson.d.ts.map +1 -0
  173. package/lib/blocks/blockPrettierPluginPackageJson.js +3 -3
  174. package/lib/blocks/blockPrettierPluginPackageJson.js.map +1 -0
  175. package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +72 -0
  176. package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts.map +1 -0
  177. package/lib/blocks/blockPrettierPluginSentencesPerLine.js +3 -3
  178. package/lib/blocks/blockPrettierPluginSentencesPerLine.js.map +1 -0
  179. package/lib/blocks/blockPrettierPluginSh.d.ts +72 -0
  180. package/lib/blocks/blockPrettierPluginSh.d.ts.map +1 -0
  181. package/lib/blocks/blockPrettierPluginSh.js +3 -3
  182. package/lib/blocks/blockPrettierPluginSh.js.map +1 -0
  183. package/lib/blocks/blockREADME.d.ts +85 -0
  184. package/lib/blocks/blockREADME.d.ts.map +1 -0
  185. package/lib/blocks/blockREADME.js +3 -3
  186. package/lib/blocks/blockREADME.js.map +1 -0
  187. package/lib/blocks/blockReleaseIt.d.ts +77 -0
  188. package/lib/blocks/blockReleaseIt.d.ts.map +1 -0
  189. package/lib/blocks/blockReleaseIt.js +3 -3
  190. package/lib/blocks/blockReleaseIt.js.map +1 -0
  191. package/lib/blocks/blockRemoveDependencies.d.ts +74 -0
  192. package/lib/blocks/blockRemoveDependencies.d.ts.map +1 -0
  193. package/lib/blocks/blockRemoveDependencies.js +3 -3
  194. package/lib/blocks/blockRemoveDependencies.js.map +1 -0
  195. package/lib/blocks/blockRemoveFiles.d.ts +74 -0
  196. package/lib/blocks/blockRemoveFiles.d.ts.map +1 -0
  197. package/lib/blocks/blockRemoveFiles.js +3 -3
  198. package/lib/blocks/blockRemoveFiles.js.map +1 -0
  199. package/lib/blocks/blockRemoveWorkflows.d.ts +74 -0
  200. package/lib/blocks/blockRemoveWorkflows.d.ts.map +1 -0
  201. package/lib/blocks/blockRemoveWorkflows.js +3 -3
  202. package/lib/blocks/blockRemoveWorkflows.js.map +1 -0
  203. package/lib/blocks/blockRenovate.d.ts +74 -0
  204. package/lib/blocks/blockRenovate.d.ts.map +1 -0
  205. package/lib/blocks/blockRenovate.js +4 -4
  206. package/lib/blocks/blockRenovate.js.map +1 -0
  207. package/lib/blocks/blockRepositoryBranchRuleset.d.ts +74 -0
  208. package/lib/blocks/blockRepositoryBranchRuleset.d.ts.map +1 -0
  209. package/lib/blocks/blockRepositoryBranchRuleset.js +3 -3
  210. package/lib/blocks/blockRepositoryBranchRuleset.js.map +1 -0
  211. package/lib/blocks/blockRepositoryLabels.d.ts +72 -0
  212. package/lib/blocks/blockRepositoryLabels.d.ts.map +1 -0
  213. package/lib/blocks/blockRepositoryLabels.js +3 -3
  214. package/lib/blocks/blockRepositoryLabels.js.map +1 -0
  215. package/lib/blocks/blockRepositorySecrets.d.ts +77 -0
  216. package/lib/blocks/blockRepositorySecrets.d.ts.map +1 -0
  217. package/lib/blocks/blockRepositorySecrets.js +3 -3
  218. package/lib/blocks/blockRepositorySecrets.js.map +1 -0
  219. package/lib/blocks/blockRepositorySettings.d.ts +72 -0
  220. package/lib/blocks/blockRepositorySettings.d.ts.map +1 -0
  221. package/lib/blocks/blockRepositorySettings.js +3 -3
  222. package/lib/blocks/blockRepositorySettings.js.map +1 -0
  223. package/lib/blocks/blockSecurityDocs.d.ts +72 -0
  224. package/lib/blocks/blockSecurityDocs.d.ts.map +1 -0
  225. package/lib/blocks/blockSecurityDocs.js +3 -3
  226. package/lib/blocks/blockSecurityDocs.js.map +1 -0
  227. package/lib/blocks/blockSideEffects.d.ts +74 -0
  228. package/lib/blocks/blockSideEffects.d.ts.map +1 -0
  229. package/lib/blocks/blockSideEffects.js +3 -3
  230. package/lib/blocks/blockSideEffects.js.map +1 -0
  231. package/lib/blocks/blockTSDown.d.ts +76 -0
  232. package/lib/blocks/blockTSDown.d.ts.map +1 -0
  233. package/lib/blocks/blockTSDown.js +4 -6
  234. package/lib/blocks/blockTSDown.js.map +1 -0
  235. package/lib/blocks/blockTemplatedWith.d.ts +72 -0
  236. package/lib/blocks/blockTemplatedWith.d.ts.map +1 -0
  237. package/lib/blocks/blockTemplatedWith.js +3 -3
  238. package/lib/blocks/blockTemplatedWith.js.map +1 -0
  239. package/lib/blocks/blockTypeScript.d.ts +184 -0
  240. package/lib/blocks/blockTypeScript.d.ts.map +1 -0
  241. package/lib/blocks/blockTypeScript.js +3 -3
  242. package/lib/blocks/blockTypeScript.js.map +1 -0
  243. package/lib/blocks/blockVSCode.d.ts +81 -0
  244. package/lib/blocks/blockVSCode.d.ts.map +1 -0
  245. package/lib/blocks/blockVSCode.js +3 -3
  246. package/lib/blocks/blockVSCode.js.map +1 -0
  247. package/lib/blocks/blockVitest.d.ts +89 -0
  248. package/lib/blocks/blockVitest.d.ts.map +1 -0
  249. package/lib/blocks/blockVitest.js +5 -5
  250. package/lib/blocks/blockVitest.js.map +1 -0
  251. package/lib/blocks/blockWebExt.d.ts +72 -0
  252. package/lib/blocks/blockWebExt.d.ts.map +1 -0
  253. package/lib/blocks/blockWebExt.js +3 -3
  254. package/lib/blocks/blockWebExt.js.map +1 -0
  255. package/lib/blocks/eslint/blockESLintIntake.d.ts +11 -0
  256. package/lib/blocks/eslint/blockESLintIntake.d.ts.map +1 -0
  257. package/lib/blocks/eslint/blockESLintIntake.js +10 -10
  258. package/lib/blocks/eslint/blockESLintIntake.js.map +1 -0
  259. package/lib/blocks/eslint/blockESLintPluginIntake.d.ts +7 -0
  260. package/lib/blocks/eslint/blockESLintPluginIntake.d.ts.map +1 -0
  261. package/lib/blocks/eslint/blockESLintPluginIntake.js +3 -3
  262. package/lib/blocks/eslint/blockESLintPluginIntake.js.map +1 -0
  263. package/lib/blocks/eslint/getScriptFileExtension.d.ts +8 -0
  264. package/lib/blocks/eslint/getScriptFileExtension.d.ts.map +1 -0
  265. package/lib/blocks/eslint/getScriptFileExtension.js +3 -2
  266. package/lib/blocks/eslint/getScriptFileExtension.js.map +1 -0
  267. package/lib/blocks/eslint/mergeAllExtensions.d.ts +17 -0
  268. package/lib/blocks/eslint/mergeAllExtensions.d.ts.map +1 -0
  269. package/lib/blocks/eslint/mergeAllExtensions.js +4 -3
  270. package/lib/blocks/eslint/mergeAllExtensions.js.map +1 -0
  271. package/lib/blocks/eslint/schemas.d.ts +112 -0
  272. package/lib/blocks/eslint/schemas.d.ts.map +1 -0
  273. package/lib/blocks/eslint/schemas.js +3 -3
  274. package/lib/blocks/eslint/schemas.js.map +1 -0
  275. package/lib/blocks/files/createJobName.d.ts +5 -0
  276. package/lib/blocks/files/createJobName.d.ts.map +1 -0
  277. package/lib/blocks/files/createJobName.js +3 -2
  278. package/lib/blocks/files/createJobName.js.map +1 -0
  279. package/lib/blocks/files/createMultiWorkflowFile.d.ts +24 -0
  280. package/lib/blocks/files/createMultiWorkflowFile.d.ts.map +1 -0
  281. package/lib/blocks/files/createMultiWorkflowFile.js +3 -3
  282. package/lib/blocks/files/createMultiWorkflowFile.js.map +1 -0
  283. package/lib/blocks/files/createSoloWorkflowFile.d.ts +65 -0
  284. package/lib/blocks/files/createSoloWorkflowFile.d.ts.map +1 -0
  285. package/lib/blocks/files/createSoloWorkflowFile.js +3 -3
  286. package/lib/blocks/files/createSoloWorkflowFile.js.map +1 -0
  287. package/lib/blocks/files/formatIgnoreFile.d.ts +5 -0
  288. package/lib/blocks/files/formatIgnoreFile.d.ts.map +1 -0
  289. package/lib/blocks/files/formatIgnoreFile.js +3 -2
  290. package/lib/blocks/files/formatIgnoreFile.js.map +1 -0
  291. package/lib/blocks/files/formatWorkflowYaml.d.ts +5 -0
  292. package/lib/blocks/files/formatWorkflowYaml.d.ts.map +1 -0
  293. package/lib/blocks/files/formatWorkflowYaml.js +3 -3
  294. package/lib/blocks/files/formatWorkflowYaml.js.map +1 -0
  295. package/lib/blocks/files/formatYaml.d.ts +5 -0
  296. package/lib/blocks/files/formatYaml.d.ts.map +1 -0
  297. package/lib/blocks/files/formatYaml.js +3 -3
  298. package/lib/blocks/files/formatYaml.js.map +1 -0
  299. package/lib/blocks/files/removeUsesQuotes.d.ts +5 -0
  300. package/lib/blocks/files/removeUsesQuotes.d.ts.map +1 -0
  301. package/lib/blocks/files/removeUsesQuotes.js +3 -2
  302. package/lib/blocks/files/removeUsesQuotes.js.map +1 -0
  303. package/lib/blocks/getInstallationSuggestions.d.ts +5 -0
  304. package/lib/blocks/getInstallationSuggestions.d.ts.map +1 -0
  305. package/lib/blocks/getInstallationSuggestions.js +3 -2
  306. package/lib/blocks/getInstallationSuggestions.js.map +1 -0
  307. package/lib/blocks/index.d.ts +3713 -0
  308. package/lib/blocks/index.d.ts.map +1 -0
  309. package/lib/blocks/index.js +3 -3
  310. package/lib/blocks/index.js.map +1 -0
  311. package/lib/blocks/intake/intakeFile.d.ts +6 -0
  312. package/lib/blocks/intake/intakeFile.d.ts.map +1 -0
  313. package/lib/blocks/intake/intakeFile.js +3 -2
  314. package/lib/blocks/intake/intakeFile.js.map +1 -0
  315. package/lib/blocks/intake/intakeFileAsJson.d.ts +6 -0
  316. package/lib/blocks/intake/intakeFileAsJson.d.ts.map +1 -0
  317. package/lib/blocks/intake/intakeFileAsJson.js +3 -3
  318. package/lib/blocks/intake/intakeFileAsJson.js.map +1 -0
  319. package/lib/blocks/intake/intakeFileAsYaml.d.ts +6 -0
  320. package/lib/blocks/intake/intakeFileAsYaml.d.ts.map +1 -0
  321. package/lib/blocks/intake/intakeFileAsYaml.js +3 -3
  322. package/lib/blocks/intake/intakeFileAsYaml.js.map +1 -0
  323. package/lib/blocks/intake/intakeFileDefineConfig.d.ts +6 -0
  324. package/lib/blocks/intake/intakeFileDefineConfig.d.ts.map +1 -0
  325. package/lib/blocks/intake/intakeFileDefineConfig.js +3 -3
  326. package/lib/blocks/intake/intakeFileDefineConfig.js.map +1 -0
  327. package/lib/blocks/intake/intakeFileExportObject.d.ts +6 -0
  328. package/lib/blocks/intake/intakeFileExportObject.d.ts.map +1 -0
  329. package/lib/blocks/intake/intakeFileExportObject.js +3 -3
  330. package/lib/blocks/intake/intakeFileExportObject.js.map +1 -0
  331. package/lib/blocks/options.fakes.d.ts +26 -0
  332. package/lib/blocks/options.fakes.d.ts.map +1 -0
  333. package/lib/blocks/options.fakes.js +3 -2
  334. package/lib/blocks/options.fakes.js.map +1 -0
  335. package/lib/blocks/outcomeLabels.d.ts +15 -0
  336. package/lib/blocks/outcomeLabels.d.ts.map +1 -0
  337. package/lib/blocks/outcomeLabels.js +3 -2
  338. package/lib/blocks/outcomeLabels.js.map +1 -0
  339. package/lib/blocks/phases.d.ts +11 -0
  340. package/lib/blocks/phases.d.ts.map +1 -0
  341. package/lib/blocks/phases.js +3 -2
  342. package/lib/blocks/phases.js.map +1 -0
  343. package/lib/constants.d.ts +10 -0
  344. package/lib/constants.d.ts.map +1 -0
  345. package/lib/constants.js +3 -2
  346. package/lib/constants.js.map +1 -0
  347. package/lib/data/contributions.d.ts +5 -0
  348. package/lib/data/contributions.d.ts.map +1 -0
  349. package/lib/data/contributions.js +3 -2
  350. package/lib/data/contributions.js.map +1 -0
  351. package/lib/data/packageData.d.ts +10 -0
  352. package/lib/data/packageData.d.ts.map +1 -0
  353. package/lib/data/packageData.js +4 -6
  354. package/lib/data/packageData.js.map +1 -0
  355. package/lib/index.d.ts +294 -0
  356. package/lib/index.d.ts.map +1 -0
  357. package/lib/index.js +3 -3
  358. package/lib/index.js.map +1 -0
  359. package/lib/inputs/inputFromDirectory.d.ts +8 -0
  360. package/lib/inputs/inputFromDirectory.d.ts.map +1 -0
  361. package/lib/inputs/inputFromDirectory.js +3 -3
  362. package/lib/inputs/inputFromDirectory.js.map +1 -0
  363. package/lib/inputs/inputFromOctokit.d.ts +9 -0
  364. package/lib/inputs/inputFromOctokit.d.ts.map +1 -0
  365. package/lib/inputs/inputFromOctokit.js +3 -3
  366. package/lib/inputs/inputFromOctokit.js.map +1 -0
  367. package/lib/options/readAccess.d.ts +6 -0
  368. package/lib/options/readAccess.d.ts.map +1 -0
  369. package/lib/options/readAccess.js +3 -2
  370. package/lib/options/readAccess.js.map +1 -0
  371. package/lib/options/readAllContributors.d.ts +7 -0
  372. package/lib/options/readAllContributors.d.ts.map +1 -0
  373. package/lib/options/readAllContributors.js +3 -3
  374. package/lib/options/readAllContributors.js.map +1 -0
  375. package/lib/options/readAuthor.d.ts +9 -0
  376. package/lib/options/readAuthor.d.ts.map +1 -0
  377. package/lib/options/readAuthor.js +3 -2
  378. package/lib/options/readAuthor.js.map +1 -0
  379. package/lib/options/readBin.d.ts +6 -0
  380. package/lib/options/readBin.d.ts.map +1 -0
  381. package/lib/options/readBin.js +3 -3
  382. package/lib/options/readBin.js.map +1 -0
  383. package/lib/options/readDescription.d.ts +6 -0
  384. package/lib/options/readDescription.d.ts.map +1 -0
  385. package/lib/options/readDescription.js +3 -3
  386. package/lib/options/readDescription.js.map +1 -0
  387. package/lib/options/readDescriptionFromReadme.d.ts +5 -0
  388. package/lib/options/readDescriptionFromReadme.d.ts.map +1 -0
  389. package/lib/options/readDescriptionFromReadme.js +3 -2
  390. package/lib/options/readDescriptionFromReadme.js.map +1 -0
  391. package/lib/options/readDevelopmentDocumentation.d.ts +6 -0
  392. package/lib/options/readDevelopmentDocumentation.d.ts.map +1 -0
  393. package/lib/options/readDevelopmentDocumentation.js +4 -4
  394. package/lib/options/readDevelopmentDocumentation.js.map +1 -0
  395. package/lib/options/readDocumentation.d.ts +6 -0
  396. package/lib/options/readDocumentation.d.ts.map +1 -0
  397. package/lib/options/readDocumentation.js +3 -2
  398. package/lib/options/readDocumentation.js.map +1 -0
  399. package/lib/options/readEmailFromCodeOfConduct.d.ts +6 -0
  400. package/lib/options/readEmailFromCodeOfConduct.d.ts.map +1 -0
  401. package/lib/options/readEmailFromCodeOfConduct.js +3 -3
  402. package/lib/options/readEmailFromCodeOfConduct.js.map +1 -0
  403. package/lib/options/readEmailFromGit.d.ts +6 -0
  404. package/lib/options/readEmailFromGit.d.ts.map +1 -0
  405. package/lib/options/readEmailFromGit.js +3 -3
  406. package/lib/options/readEmailFromGit.js.map +1 -0
  407. package/lib/options/readEmailFromNpm.d.ts +7 -0
  408. package/lib/options/readEmailFromNpm.d.ts.map +1 -0
  409. package/lib/options/readEmailFromNpm.js +3 -2
  410. package/lib/options/readEmailFromNpm.js.map +1 -0
  411. package/lib/options/readEmails.d.ts +9 -0
  412. package/lib/options/readEmails.d.ts.map +1 -0
  413. package/lib/options/readEmails.js +3 -2
  414. package/lib/options/readEmails.js.map +1 -0
  415. package/lib/options/readEmoji.d.ts +5 -0
  416. package/lib/options/readEmoji.d.ts.map +1 -0
  417. package/lib/options/readEmoji.js +3 -2
  418. package/lib/options/readEmoji.js.map +1 -0
  419. package/lib/options/readExistingLabels.d.ts +10 -0
  420. package/lib/options/readExistingLabels.d.ts.map +1 -0
  421. package/lib/options/readExistingLabels.js +3 -3
  422. package/lib/options/readExistingLabels.js.map +1 -0
  423. package/lib/options/readFileAsJson.d.ts +5 -0
  424. package/lib/options/readFileAsJson.d.ts.map +1 -0
  425. package/lib/options/readFileAsJson.js +3 -3
  426. package/lib/options/readFileAsJson.js.map +1 -0
  427. package/lib/options/readFileSafe.d.ts +5 -0
  428. package/lib/options/readFileSafe.d.ts.map +1 -0
  429. package/lib/options/readFileSafe.js +3 -3
  430. package/lib/options/readFileSafe.js.map +1 -0
  431. package/lib/options/readFunding.d.ts +6 -0
  432. package/lib/options/readFunding.d.ts.map +1 -0
  433. package/lib/options/readFunding.js +3 -3
  434. package/lib/options/readFunding.js.map +1 -0
  435. package/lib/options/readGitDefaults.d.ts +7 -0
  436. package/lib/options/readGitDefaults.d.ts.map +1 -0
  437. package/lib/options/readGitDefaults.js +3 -3
  438. package/lib/options/readGitDefaults.js.map +1 -0
  439. package/lib/options/readGuide.d.ts +9 -0
  440. package/lib/options/readGuide.d.ts.map +1 -0
  441. package/lib/options/readGuide.js +3 -3
  442. package/lib/options/readGuide.js.map +1 -0
  443. package/lib/options/readKeywords.d.ts +6 -0
  444. package/lib/options/readKeywords.d.ts.map +1 -0
  445. package/lib/options/readKeywords.js +3 -2
  446. package/lib/options/readKeywords.js.map +1 -0
  447. package/lib/options/readLogo.d.ts +10 -0
  448. package/lib/options/readLogo.d.ts.map +1 -0
  449. package/lib/options/readLogo.js +5 -4
  450. package/lib/options/readLogo.js.map +1 -0
  451. package/lib/options/readLogoSizing.d.ts +9 -0
  452. package/lib/options/readLogoSizing.d.ts.map +1 -0
  453. package/lib/options/readLogoSizing.js +3 -3
  454. package/lib/options/readLogoSizing.js.map +1 -0
  455. package/lib/options/readNode.d.ts +9 -0
  456. package/lib/options/readNode.d.ts.map +1 -0
  457. package/lib/options/readNode.js +3 -3
  458. package/lib/options/readNode.js.map +1 -0
  459. package/lib/options/readNpmDefaults.d.ts +6 -0
  460. package/lib/options/readNpmDefaults.d.ts.map +1 -0
  461. package/lib/options/readNpmDefaults.js +3 -3
  462. package/lib/options/readNpmDefaults.js.map +1 -0
  463. package/lib/options/readOwner.d.ts +8 -0
  464. package/lib/options/readOwner.d.ts.map +1 -0
  465. package/lib/options/readOwner.js +3 -3
  466. package/lib/options/readOwner.js.map +1 -0
  467. package/lib/options/readPackageAuthor.d.ts +10 -0
  468. package/lib/options/readPackageAuthor.d.ts.map +1 -0
  469. package/lib/options/readPackageAuthor.js +3 -3
  470. package/lib/options/readPackageAuthor.js.map +1 -0
  471. package/lib/options/readPackageData.d.ts +7 -0
  472. package/lib/options/readPackageData.d.ts.map +1 -0
  473. package/lib/options/readPackageData.js +3 -3
  474. package/lib/options/readPackageData.js.map +1 -0
  475. package/lib/options/readPnpm.d.ts +6 -0
  476. package/lib/options/readPnpm.d.ts.map +1 -0
  477. package/lib/options/readPnpm.js +3 -2
  478. package/lib/options/readPnpm.js.map +1 -0
  479. package/lib/options/readReadmeAdditional.d.ts +5 -0
  480. package/lib/options/readReadmeAdditional.d.ts.map +1 -0
  481. package/lib/options/readReadmeAdditional.js +3 -3
  482. package/lib/options/readReadmeAdditional.js.map +1 -0
  483. package/lib/options/readReadmeExplainer.d.ts +5 -0
  484. package/lib/options/readReadmeExplainer.d.ts.map +1 -0
  485. package/lib/options/readReadmeExplainer.js +3 -2
  486. package/lib/options/readReadmeExplainer.js.map +1 -0
  487. package/lib/options/readReadmeFootnotes.d.ts +6 -0
  488. package/lib/options/readReadmeFootnotes.d.ts.map +1 -0
  489. package/lib/options/readReadmeFootnotes.js +3 -2
  490. package/lib/options/readReadmeFootnotes.js.map +1 -0
  491. package/lib/options/readReadmeUsage.d.ts +5 -0
  492. package/lib/options/readReadmeUsage.d.ts.map +1 -0
  493. package/lib/options/readReadmeUsage.js +3 -2
  494. package/lib/options/readReadmeUsage.js.map +1 -0
  495. package/lib/options/readRepository.d.ts +10 -0
  496. package/lib/options/readRepository.d.ts.map +1 -0
  497. package/lib/options/readRepository.js +3 -2
  498. package/lib/options/readRepository.js.map +1 -0
  499. package/lib/options/readRulesetId.d.ts +6 -0
  500. package/lib/options/readRulesetId.d.ts.map +1 -0
  501. package/lib/options/readRulesetId.js +3 -3
  502. package/lib/options/readRulesetId.js.map +1 -0
  503. package/lib/options/readTitle.d.ts +5 -0
  504. package/lib/options/readTitle.d.ts.map +1 -0
  505. package/lib/options/readTitle.js +3 -3
  506. package/lib/options/readTitle.js.map +1 -0
  507. package/lib/options/readWords.d.ts +6 -0
  508. package/lib/options/readWords.d.ts.map +1 -0
  509. package/lib/options/readWords.js +3 -3
  510. package/lib/options/readWords.js.map +1 -0
  511. package/lib/options/readWorkflowsVersions.d.ts +7 -0
  512. package/lib/options/readWorkflowsVersions.d.ts.map +1 -0
  513. package/lib/options/readWorkflowsVersions.js +3 -3
  514. package/lib/options/readWorkflowsVersions.js.map +1 -0
  515. package/lib/package.json.d.ts +138 -0
  516. package/lib/package.json.d.ts.map +1 -0
  517. package/lib/presets/common.d.ts +170 -0
  518. package/lib/presets/common.d.ts.map +1 -0
  519. package/lib/presets/common.js +3 -3
  520. package/lib/presets/common.js.map +1 -0
  521. package/lib/presets/everything.d.ts +170 -0
  522. package/lib/presets/everything.d.ts.map +1 -0
  523. package/lib/presets/everything.js +3 -3
  524. package/lib/presets/everything.js.map +1 -0
  525. package/lib/presets/index.d.ts +507 -0
  526. package/lib/presets/index.d.ts.map +1 -0
  527. package/lib/presets/index.js +3 -3
  528. package/lib/presets/index.js.map +1 -0
  529. package/lib/presets/minimal.d.ts +170 -0
  530. package/lib/presets/minimal.d.ts.map +1 -0
  531. package/lib/presets/minimal.js +3 -3
  532. package/lib/presets/minimal.js.map +1 -0
  533. package/lib/schemas.d.ts +111 -0
  534. package/lib/schemas.d.ts.map +1 -0
  535. package/lib/schemas.js +3 -3
  536. package/lib/schemas.js.map +1 -0
  537. package/lib/template.d.ts +170 -0
  538. package/lib/template.d.ts.map +1 -0
  539. package/lib/template.js +3 -3
  540. package/lib/template.js.map +1 -0
  541. package/lib/types.d.ts +42 -0
  542. package/lib/types.d.ts.map +1 -0
  543. package/lib/types.js +1 -1
  544. package/lib/utils/htmlToTextSafe.d.ts +5 -0
  545. package/lib/utils/htmlToTextSafe.d.ts.map +1 -0
  546. package/lib/utils/htmlToTextSafe.js +3 -3
  547. package/lib/utils/htmlToTextSafe.js.map +1 -0
  548. package/lib/utils/resolveBin.d.ts +5 -0
  549. package/lib/utils/resolveBin.d.ts.map +1 -0
  550. package/lib/utils/resolveBin.js +3 -3
  551. package/lib/utils/resolveBin.js.map +1 -0
  552. package/lib/utils/swallowError.d.ts +5 -0
  553. package/lib/utils/swallowError.d.ts.map +1 -0
  554. package/lib/utils/swallowError.js +3 -2
  555. package/lib/utils/swallowError.js.map +1 -0
  556. package/lib/utils/swallowErrorAsync.d.ts +5 -0
  557. package/lib/utils/swallowErrorAsync.d.ts.map +1 -0
  558. package/lib/utils/swallowErrorAsync.js +3 -2
  559. package/lib/utils/swallowErrorAsync.js.map +1 -0
  560. package/lib/utils/trimPrecedingSlash.d.ts +5 -0
  561. package/lib/utils/trimPrecedingSlash.d.ts.map +1 -0
  562. package/lib/utils/trimPrecedingSlash.js +3 -2
  563. package/lib/utils/trimPrecedingSlash.js.map +1 -0
  564. package/lib/utils/tryCatch.d.ts +5 -0
  565. package/lib/utils/tryCatch.d.ts.map +1 -0
  566. package/lib/utils/tryCatch.js +3 -2
  567. package/lib/utils/tryCatch.js.map +1 -0
  568. package/package.json +40 -40
@@ -0,0 +1,72 @@
1
+ //#region src/blocks/blockRepositoryLabels.d.ts
2
+ declare const blockRepositoryLabels: import("bingo-stratum").BlockWithoutAddons<{
3
+ access: "public" | "restricted";
4
+ description: string;
5
+ directory: string;
6
+ documentation: {
7
+ readme: {
8
+ additional?: string | undefined;
9
+ explainer?: string | undefined;
10
+ footnotes?: string | undefined;
11
+ usage?: string | undefined;
12
+ };
13
+ development?: string | undefined;
14
+ };
15
+ email: {
16
+ github: string;
17
+ npm: string;
18
+ };
19
+ title: string;
20
+ node: {
21
+ minimum: string;
22
+ pinned?: string | undefined;
23
+ };
24
+ owner: string;
25
+ repository: string;
26
+ type?: "commonjs" | "module" | undefined;
27
+ author?: string | undefined;
28
+ bin?: string | Record<string, string> | undefined;
29
+ contributors?: {
30
+ avatar_url: string;
31
+ contributions: string[];
32
+ login: string;
33
+ name: string;
34
+ profile: string;
35
+ }[] | undefined;
36
+ emoji?: string | undefined;
37
+ existingLabels?: {
38
+ name: string;
39
+ description: string;
40
+ color: string;
41
+ }[] | undefined;
42
+ funding?: string | undefined;
43
+ guide?: {
44
+ href: string;
45
+ title: string;
46
+ } | undefined;
47
+ keywords?: string[] | undefined;
48
+ logo?: {
49
+ alt: string;
50
+ src: string;
51
+ height?: number | undefined;
52
+ width?: number | undefined;
53
+ } | undefined;
54
+ packageData?: {
55
+ dependencies?: Record<string, string> | undefined;
56
+ devDependencies?: Record<string, string> | undefined;
57
+ peerDependencies?: Record<string, string> | undefined;
58
+ peerDependenciesMeta?: Record<string, unknown> | undefined;
59
+ scripts?: Record<string, string | undefined> | undefined;
60
+ } | undefined;
61
+ pnpm?: string | undefined;
62
+ rulesetId?: string | undefined;
63
+ version?: string | undefined;
64
+ words?: string[] | undefined;
65
+ workflowsVersions?: Record<string, Record<string, {
66
+ hash?: string | undefined;
67
+ pinned?: boolean | undefined;
68
+ }>> | undefined;
69
+ }>;
70
+ //#endregion
71
+ export { blockRepositoryLabels };
72
+ //# sourceMappingURL=blockRepositoryLabels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockRepositoryLabels.d.ts","names":[],"sources":["../../src/blocks/blockRepositoryLabels.ts"],"mappings":";cAKa,+CAAqB"}
@@ -1,7 +1,6 @@
1
1
  import { base } from "../base.js";
2
2
  import { outcomeLabels } from "./outcomeLabels.js";
3
3
  import { determineLabelChanges } from "set-github-repository-labels";
4
-
5
4
  //#region src/blocks/blockRepositoryLabels.ts
6
5
  const blockRepositoryLabels = base.createBlock({
7
6
  about: { name: "Repository Labels" },
@@ -49,6 +48,7 @@ const blockRepositoryLabels = base.createBlock({
49
48
  }) };
50
49
  }
51
50
  });
52
-
53
51
  //#endregion
54
- export { blockRepositoryLabels };
52
+ export { blockRepositoryLabels };
53
+
54
+ //# sourceMappingURL=blockRepositoryLabels.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockRepositoryLabels.js","names":[],"sources":["../../src/blocks/blockRepositoryLabels.ts"],"sourcesContent":["import { determineLabelChanges } from \"set-github-repository-labels\";\n\nimport { base } from \"../base.js\";\nimport { outcomeLabels } from \"./outcomeLabels.js\";\n\nexport const blockRepositoryLabels = base.createBlock({\n\tabout: {\n\t\tname: \"Repository Labels\",\n\t},\n\tproduce({ options }) {\n\t\tconst changes = determineLabelChanges(\n\t\t\toptions.existingLabels ?? [],\n\t\t\toutcomeLabels,\n\t\t);\n\t\tconst requestData = {\n\t\t\towner: options.owner,\n\t\t\trepo: options.repository,\n\t\t};\n\n\t\treturn {\n\t\t\trequests: changes.map((change) => {\n\t\t\t\tswitch (change.type) {\n\t\t\t\t\tcase \"delete\":\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tendpoint: \"DELETE /repos/{owner}/{repo}/labels/{name}\",\n\t\t\t\t\t\t\tid: `delete label '${change.name}'`,\n\t\t\t\t\t\t\tparameters: {\n\t\t\t\t\t\t\t\t...requestData,\n\t\t\t\t\t\t\t\tname: change.name,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\ttype: \"octokit\",\n\t\t\t\t\t\t};\n\t\t\t\t\tcase \"patch\":\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tendpoint: \"PATCH /repos/{owner}/{repo}/labels/{name}\",\n\t\t\t\t\t\t\tid: `patch label '${change.originalName}'`,\n\t\t\t\t\t\t\tparameters: {\n\t\t\t\t\t\t\t\t...requestData,\n\t\t\t\t\t\t\t\tcolor: change.color,\n\t\t\t\t\t\t\t\tdescription: change.description,\n\t\t\t\t\t\t\t\tname: change.originalName,\n\t\t\t\t\t\t\t\tnew_name: change.newName,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\ttype: \"octokit\",\n\t\t\t\t\t\t};\n\t\t\t\t\tcase \"post\":\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tendpoint: \"POST /repos/{owner}/{repo}/labels\",\n\t\t\t\t\t\t\tid: `post label '${change.name}'`,\n\t\t\t\t\t\t\tparameters: {\n\t\t\t\t\t\t\t\t...requestData,\n\t\t\t\t\t\t\t\tcolor: change.color,\n\t\t\t\t\t\t\t\tdescription: change.description,\n\t\t\t\t\t\t\t\tname: change.name,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\ttype: \"octokit\",\n\t\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t}),\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAKA,MAAa,wBAAwB,KAAK,YAAY;CACrD,OAAO,EACN,MAAM,oBACP;CACA,QAAQ,EAAE,WAAW;EACpB,MAAM,UAAU,sBACf,QAAQ,kBAAkB,CAAC,GAC3B,aACD;EACA,MAAM,cAAc;GACnB,OAAO,QAAQ;GACf,MAAM,QAAQ;EACf;EAEA,OAAO,EACN,UAAU,QAAQ,KAAK,WAAW;GACjC,QAAQ,OAAO,MAAf;IACC,KAAK,UACJ,OAAO;KACN,UAAU;KACV,IAAI,iBAAiB,OAAO,KAAK;KACjC,YAAY;MACX,GAAG;MACH,MAAM,OAAO;KACd;KACA,MAAM;IACP;IACD,KAAK,SACJ,OAAO;KACN,UAAU;KACV,IAAI,gBAAgB,OAAO,aAAa;KACxC,YAAY;MACX,GAAG;MACH,OAAO,OAAO;MACd,aAAa,OAAO;MACpB,MAAM,OAAO;MACb,UAAU,OAAO;KAClB;KACA,MAAM;IACP;IACD,KAAK,QACJ,OAAO;KACN,UAAU;KACV,IAAI,eAAe,OAAO,KAAK;KAC/B,YAAY;MACX,GAAG;MACH,OAAO,OAAO;MACd,aAAa,OAAO;MACpB,MAAM,OAAO;KACd;KACA,MAAM;IACP;GACF;EACD,CAAC,EACF;CACD;AACD,CAAC"}
@@ -0,0 +1,77 @@
1
+ //#region src/blocks/blockRepositorySecrets.d.ts
2
+ declare const blockRepositorySecrets: import("bingo-stratum").BlockWithAddons<{
3
+ secrets: {
4
+ name: string;
5
+ description: string;
6
+ }[];
7
+ }, {
8
+ access: "public" | "restricted";
9
+ description: string;
10
+ directory: string;
11
+ documentation: {
12
+ readme: {
13
+ additional?: string | undefined;
14
+ explainer?: string | undefined;
15
+ footnotes?: string | undefined;
16
+ usage?: string | undefined;
17
+ };
18
+ development?: string | undefined;
19
+ };
20
+ email: {
21
+ github: string;
22
+ npm: string;
23
+ };
24
+ title: string;
25
+ node: {
26
+ minimum: string;
27
+ pinned?: string | undefined;
28
+ };
29
+ owner: string;
30
+ repository: string;
31
+ type?: "commonjs" | "module" | undefined;
32
+ author?: string | undefined;
33
+ bin?: string | Record<string, string> | undefined;
34
+ contributors?: {
35
+ avatar_url: string;
36
+ contributions: string[];
37
+ login: string;
38
+ name: string;
39
+ profile: string;
40
+ }[] | undefined;
41
+ emoji?: string | undefined;
42
+ existingLabels?: {
43
+ name: string;
44
+ description: string;
45
+ color: string;
46
+ }[] | undefined;
47
+ funding?: string | undefined;
48
+ guide?: {
49
+ href: string;
50
+ title: string;
51
+ } | undefined;
52
+ keywords?: string[] | undefined;
53
+ logo?: {
54
+ alt: string;
55
+ src: string;
56
+ height?: number | undefined;
57
+ width?: number | undefined;
58
+ } | undefined;
59
+ packageData?: {
60
+ dependencies?: Record<string, string> | undefined;
61
+ devDependencies?: Record<string, string> | undefined;
62
+ peerDependencies?: Record<string, string> | undefined;
63
+ peerDependenciesMeta?: Record<string, unknown> | undefined;
64
+ scripts?: Record<string, string | undefined> | undefined;
65
+ } | undefined;
66
+ pnpm?: string | undefined;
67
+ rulesetId?: string | undefined;
68
+ version?: string | undefined;
69
+ words?: string[] | undefined;
70
+ workflowsVersions?: Record<string, Record<string, {
71
+ hash?: string | undefined;
72
+ pinned?: boolean | undefined;
73
+ }>> | undefined;
74
+ }>;
75
+ //#endregion
76
+ export { blockRepositorySecrets };
77
+ //# sourceMappingURL=blockRepositorySecrets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockRepositorySecrets.d.ts","names":[],"sources":["../../src/blocks/blockRepositorySecrets.ts"],"mappings":";cAKa,gDAAsB"}
@@ -1,7 +1,6 @@
1
1
  import { base } from "../base.js";
2
2
  import { getInstallationSuggestions } from "./getInstallationSuggestions.js";
3
3
  import { z } from "zod";
4
-
5
4
  //#region src/blocks/blockRepositorySecrets.ts
6
5
  const blockRepositorySecrets = base.createBlock({
7
6
  about: { name: "Repository Secrets" },
@@ -13,6 +12,7 @@ const blockRepositorySecrets = base.createBlock({
13
12
  return { suggestions: getInstallationSuggestions("populate the secret", addons.secrets.map((secret) => `${secret.name} (${secret.description})`), `https://github.com/${options.owner}/${options.repository}/settings/secrets/actions`) };
14
13
  }
15
14
  });
16
-
17
15
  //#endregion
18
- export { blockRepositorySecrets };
16
+ export { blockRepositorySecrets };
17
+
18
+ //# sourceMappingURL=blockRepositorySecrets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockRepositorySecrets.js","names":[],"sources":["../../src/blocks/blockRepositorySecrets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getInstallationSuggestions } from \"./getInstallationSuggestions.js\";\n\nexport const blockRepositorySecrets = base.createBlock({\n\tabout: {\n\t\tname: \"Repository Secrets\",\n\t},\n\taddons: {\n\t\tsecrets: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\tdescription: z.string(),\n\t\t\t\t\tname: z.string(),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.default([]),\n\t},\n\tproduce({ addons, options }) {\n\t\treturn {\n\t\t\tsuggestions: getInstallationSuggestions(\n\t\t\t\t\"populate the secret\",\n\t\t\t\taddons.secrets.map(\n\t\t\t\t\t(secret) => `${secret.name} (${secret.description})`,\n\t\t\t\t),\n\t\t\t\t`https://github.com/${options.owner}/${options.repository}/settings/secrets/actions`,\n\t\t\t),\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAKA,MAAa,yBAAyB,KAAK,YAAY;CACtD,OAAO,EACN,MAAM,qBACP;CACA,QAAQ,EACP,SAAS,EACP,MACA,EAAE,OAAO;EACR,aAAa,EAAE,OAAO;EACtB,MAAM,EAAE,OAAO;CAChB,CAAC,CACF,CAAC,CACA,QAAQ,CAAC,CAAC,EACb;CACA,QAAQ,EAAE,QAAQ,WAAW;EAC5B,OAAO,EACN,aAAa,2BACZ,uBACA,OAAO,QAAQ,KACb,WAAW,GAAG,OAAO,KAAK,IAAI,OAAO,YAAY,EACnD,GACA,sBAAsB,QAAQ,MAAM,GAAG,QAAQ,WAAW,0BAC3D,EACD;CACD;AACD,CAAC"}
@@ -0,0 +1,72 @@
1
+ //#region src/blocks/blockRepositorySettings.d.ts
2
+ declare const blockRepositorySettings: import("bingo-stratum").BlockWithoutAddons<{
3
+ access: "public" | "restricted";
4
+ description: string;
5
+ directory: string;
6
+ documentation: {
7
+ readme: {
8
+ additional?: string | undefined;
9
+ explainer?: string | undefined;
10
+ footnotes?: string | undefined;
11
+ usage?: string | undefined;
12
+ };
13
+ development?: string | undefined;
14
+ };
15
+ email: {
16
+ github: string;
17
+ npm: string;
18
+ };
19
+ title: string;
20
+ node: {
21
+ minimum: string;
22
+ pinned?: string | undefined;
23
+ };
24
+ owner: string;
25
+ repository: string;
26
+ type?: "commonjs" | "module" | undefined;
27
+ author?: string | undefined;
28
+ bin?: string | Record<string, string> | undefined;
29
+ contributors?: {
30
+ avatar_url: string;
31
+ contributions: string[];
32
+ login: string;
33
+ name: string;
34
+ profile: string;
35
+ }[] | undefined;
36
+ emoji?: string | undefined;
37
+ existingLabels?: {
38
+ name: string;
39
+ description: string;
40
+ color: string;
41
+ }[] | undefined;
42
+ funding?: string | undefined;
43
+ guide?: {
44
+ href: string;
45
+ title: string;
46
+ } | undefined;
47
+ keywords?: string[] | undefined;
48
+ logo?: {
49
+ alt: string;
50
+ src: string;
51
+ height?: number | undefined;
52
+ width?: number | undefined;
53
+ } | undefined;
54
+ packageData?: {
55
+ dependencies?: Record<string, string> | undefined;
56
+ devDependencies?: Record<string, string> | undefined;
57
+ peerDependencies?: Record<string, string> | undefined;
58
+ peerDependenciesMeta?: Record<string, unknown> | undefined;
59
+ scripts?: Record<string, string | undefined> | undefined;
60
+ } | undefined;
61
+ pnpm?: string | undefined;
62
+ rulesetId?: string | undefined;
63
+ version?: string | undefined;
64
+ words?: string[] | undefined;
65
+ workflowsVersions?: Record<string, Record<string, {
66
+ hash?: string | undefined;
67
+ pinned?: boolean | undefined;
68
+ }>> | undefined;
69
+ }>;
70
+ //#endregion
71
+ export { blockRepositorySettings };
72
+ //# sourceMappingURL=blockRepositorySettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockRepositorySettings.d.ts","names":[],"sources":["../../src/blocks/blockRepositorySettings.ts"],"mappings":";cAGa,iDAAuB"}
@@ -1,6 +1,5 @@
1
1
  import { htmlToTextSafe } from "../utils/htmlToTextSafe.js";
2
2
  import { base } from "../base.js";
3
-
4
3
  //#region src/blocks/blockRepositorySettings.ts
5
4
  const blockRepositorySettings = base.createBlock({
6
5
  about: { name: "Repository Settings" },
@@ -28,6 +27,7 @@ const blockRepositorySettings = base.createBlock({
28
27
  }] };
29
28
  }
30
29
  });
31
-
32
30
  //#endregion
33
- export { blockRepositorySettings };
31
+ export { blockRepositorySettings };
32
+
33
+ //# sourceMappingURL=blockRepositorySettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockRepositorySettings.js","names":[],"sources":["../../src/blocks/blockRepositorySettings.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { htmlToTextSafe } from \"../utils/htmlToTextSafe.js\";\n\nexport const blockRepositorySettings = base.createBlock({\n\tabout: {\n\t\tname: \"Repository Settings\",\n\t},\n\tproduce({ options }) {\n\t\tconst description = htmlToTextSafe(options.description);\n\n\t\treturn {\n\t\t\trequests: [\n\t\t\t\t{\n\t\t\t\t\tendpoint: \"PATCH /repos/{owner}/{repo}\",\n\t\t\t\t\tparameters: {\n\t\t\t\t\t\tallow_auto_merge: true,\n\t\t\t\t\t\tallow_merge_commit: false,\n\t\t\t\t\t\tallow_rebase_merge: false,\n\t\t\t\t\t\tallow_squash_merge: true,\n\t\t\t\t\t\tdelete_branch_on_merge: true,\n\t\t\t\t\t\tdescription,\n\t\t\t\t\t\thas_wiki: false,\n\t\t\t\t\t\towner: options.owner,\n\t\t\t\t\t\trepo: options.repository,\n\t\t\t\t\t\tsecurity_and_analysis: {\n\t\t\t\t\t\t\tsecret_scanning: {\n\t\t\t\t\t\t\t\tstatus: \"enabled\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsecret_scanning_push_protection: {\n\t\t\t\t\t\t\t\tstatus: \"enabled\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tsquash_merge_commit_message: \"PR_BODY\",\n\t\t\t\t\t\tsquash_merge_commit_title: \"PR_TITLE\",\n\t\t\t\t\t},\n\t\t\t\t\ttype: \"octokit\",\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;AAGA,MAAa,0BAA0B,KAAK,YAAY;CACvD,OAAO,EACN,MAAM,sBACP;CACA,QAAQ,EAAE,WAAW;EAGpB,OAAO,EACN,UAAU,CACT;GACC,UAAU;GACV,YAAY;IACX,kBAAkB;IAClB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,wBAAwB;IACxB,aAZgB,eAAe,QAAQ,WAY7B;IACV,UAAU;IACV,OAAO,QAAQ;IACf,MAAM,QAAQ;IACd,uBAAuB;KACtB,iBAAiB,EAChB,QAAQ,UACT;KACA,iCAAiC,EAChC,QAAQ,UACT;IACD;IACA,6BAA6B;IAC7B,2BAA2B;GAC5B;GACA,MAAM;EACP,CACD,EACD;CACD;AACD,CAAC"}
@@ -0,0 +1,72 @@
1
+ //#region src/blocks/blockSecurityDocs.d.ts
2
+ declare const blockSecurityDocs: import("bingo-stratum").BlockWithoutAddons<{
3
+ access: "public" | "restricted";
4
+ description: string;
5
+ directory: string;
6
+ documentation: {
7
+ readme: {
8
+ additional?: string | undefined;
9
+ explainer?: string | undefined;
10
+ footnotes?: string | undefined;
11
+ usage?: string | undefined;
12
+ };
13
+ development?: string | undefined;
14
+ };
15
+ email: {
16
+ github: string;
17
+ npm: string;
18
+ };
19
+ title: string;
20
+ node: {
21
+ minimum: string;
22
+ pinned?: string | undefined;
23
+ };
24
+ owner: string;
25
+ repository: string;
26
+ type?: "commonjs" | "module" | undefined;
27
+ author?: string | undefined;
28
+ bin?: string | Record<string, string> | undefined;
29
+ contributors?: {
30
+ avatar_url: string;
31
+ contributions: string[];
32
+ login: string;
33
+ name: string;
34
+ profile: string;
35
+ }[] | undefined;
36
+ emoji?: string | undefined;
37
+ existingLabels?: {
38
+ name: string;
39
+ description: string;
40
+ color: string;
41
+ }[] | undefined;
42
+ funding?: string | undefined;
43
+ guide?: {
44
+ href: string;
45
+ title: string;
46
+ } | undefined;
47
+ keywords?: string[] | undefined;
48
+ logo?: {
49
+ alt: string;
50
+ src: string;
51
+ height?: number | undefined;
52
+ width?: number | undefined;
53
+ } | undefined;
54
+ packageData?: {
55
+ dependencies?: Record<string, string> | undefined;
56
+ devDependencies?: Record<string, string> | undefined;
57
+ peerDependencies?: Record<string, string> | undefined;
58
+ peerDependenciesMeta?: Record<string, unknown> | undefined;
59
+ scripts?: Record<string, string | undefined> | undefined;
60
+ } | undefined;
61
+ pnpm?: string | undefined;
62
+ rulesetId?: string | undefined;
63
+ version?: string | undefined;
64
+ words?: string[] | undefined;
65
+ workflowsVersions?: Record<string, Record<string, {
66
+ hash?: string | undefined;
67
+ pinned?: boolean | undefined;
68
+ }>> | undefined;
69
+ }>;
70
+ //#endregion
71
+ export { blockSecurityDocs };
72
+ //# sourceMappingURL=blockSecurityDocs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockSecurityDocs.d.ts","names":[],"sources":["../../src/blocks/blockSecurityDocs.ts"],"mappings":";cAEa,2CAAiB"}
@@ -1,5 +1,4 @@
1
1
  import { base } from "../base.js";
2
-
3
2
  //#region src/blocks/blockSecurityDocs.ts
4
3
  const blockSecurityDocs = base.createBlock({
5
4
  about: { name: "Security Docs" },
@@ -16,6 +15,7 @@ We appreciate your efforts and responsible disclosure and will make every effort
16
15
  ` } } };
17
16
  }
18
17
  });
19
-
20
18
  //#endregion
21
- export { blockSecurityDocs };
19
+ export { blockSecurityDocs };
20
+
21
+ //# sourceMappingURL=blockSecurityDocs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockSecurityDocs.js","names":[],"sources":["../../src/blocks/blockSecurityDocs.ts"],"sourcesContent":["import { base } from \"../base.js\";\n\nexport const blockSecurityDocs = base.createBlock({\n\tabout: {\n\t\tname: \"Security 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\"SECURITY.md\": `# Security Policy\n\nWe take all security vulnerabilities seriously.\nIf you have a vulnerability or other security issues to disclose:\n\n- Thank you very much, please do!\n- Please send them to us by emailing \\`${options.email.github}\\`\n\nWe appreciate your efforts and responsible disclosure and will make every effort to acknowledge your contributions.\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;AAEA,MAAa,oBAAoB,KAAK,YAAY;CACjD,OAAO,EACN,MAAM,gBACP;CACA,QAAQ,EAAE,WAAW;EACpB,OAAO,EACN,OAAO,EACN,WAAW,EACV,eAAe;;;;;;yCAMqB,QAAQ,MAAM,OAAO;;;EAI1D,EACD,EACD;CACD;AACD,CAAC"}
@@ -0,0 +1,74 @@
1
+ //#region src/blocks/blockSideEffects.d.ts
2
+ declare const blockSideEffects: import("bingo-stratum").BlockWithAddons<{
3
+ sideEffects?: boolean | string[] | undefined;
4
+ }, {
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
+ hash?: string | undefined;
69
+ pinned?: boolean | undefined;
70
+ }>> | undefined;
71
+ }>;
72
+ //#endregion
73
+ export { blockSideEffects };
74
+ //# sourceMappingURL=blockSideEffects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockSideEffects.d.ts","names":[],"sources":["../../src/blocks/blockSideEffects.ts"],"mappings":";cAKa,0CAAgB"}
@@ -1,7 +1,6 @@
1
1
  import { base } from "../base.js";
2
2
  import { blockPackageJson } from "./blockPackageJson.js";
3
3
  import { z } from "zod";
4
-
5
4
  //#region src/blocks/blockSideEffects.ts
6
5
  const blockSideEffects = base.createBlock({
7
6
  about: { name: "Side Effects" },
@@ -11,6 +10,7 @@ const blockSideEffects = base.createBlock({
11
10
  return { addons: [blockPackageJson({ properties: { sideEffects } })] };
12
11
  }
13
12
  });
14
-
15
13
  //#endregion
16
- export { blockSideEffects };
14
+ export { blockSideEffects };
15
+
16
+ //# sourceMappingURL=blockSideEffects.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockSideEffects.js","names":[],"sources":["../../src/blocks/blockSideEffects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\n\nexport const blockSideEffects = base.createBlock({\n\tabout: {\n\t\tname: \"Side Effects\",\n\t},\n\taddons: {\n\t\tsideEffects: z.union([z.boolean(), z.array(z.string())]).optional(),\n\t},\n\tproduce({ addons }) {\n\t\tconst { sideEffects = false } = addons;\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tsideEffects,\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAKA,MAAa,mBAAmB,KAAK,YAAY;CAChD,OAAO,EACN,MAAM,eACP;CACA,QAAQ,EACP,aAAa,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,EACnE;CACA,QAAQ,EAAE,UAAU;EACnB,MAAM,EAAE,cAAc,UAAU;EAEhC,OAAO,EACN,QAAQ,CACP,iBAAiB,EAChB,YAAY,EACX,YACD,EACD,CAAC,CACF,EACD;CACD;AACD,CAAC"}
@@ -0,0 +1,76 @@
1
+ //#region src/blocks/blockTSDown.d.ts
2
+ declare const blockTSDown: import("bingo-stratum").BlockWithAddons<{
3
+ properties: Record<string, unknown>;
4
+ entry: string[];
5
+ runInCI: string[];
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
+ hash?: string | undefined;
71
+ pinned?: boolean | undefined;
72
+ }>> | undefined;
73
+ }>;
74
+ //#endregion
75
+ export { blockTSDown };
76
+ //# sourceMappingURL=blockTSDown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockTSDown.d.ts","names":[],"sources":["../../src/blocks/blockTSDown.ts"],"mappings":";cAmBa,qCAAW"}
@@ -8,12 +8,10 @@ import { blockDevelopmentDocs } from "./blockDevelopmentDocs.js";
8
8
  import { blockRemoveWorkflows } from "./blockRemoveWorkflows.js";
9
9
  import { blockRemoveDependencies } from "./blockRemoveDependencies.js";
10
10
  import { blockESLint } from "./blockESLint.js";
11
- import { blockKnip } from "./blockKnip.js";
12
11
  import { blockReleaseIt } from "./blockReleaseIt.js";
13
12
  import { intakeFileDefineConfig } from "./intake/intakeFileDefineConfig.js";
14
13
  import { z } from "zod";
15
14
  import removeUndefinedObjects from "remove-undefined-objects";
16
-
17
15
  //#region src/blocks/blockTSDown.ts
18
16
  const zEntry = z.array(z.string());
19
17
  const zProperties = z.record(z.unknown());
@@ -60,7 +58,6 @@ pnpm build --watch
60
58
  name: "Build",
61
59
  steps: [{ run: "pnpm build" }, ...runInCI.map((run) => ({ run }))]
62
60
  }] }),
63
- blockKnip({ entry: ["src/index.ts"] }),
64
61
  blockPackageJson({ properties: {
65
62
  devDependencies: getPackageDependencies("tsdown"),
66
63
  scripts: { build: "tsdown" }
@@ -73,7 +70,7 @@ pnpm build --watch
73
70
  files: { "tsdown.config.ts": `import { defineConfig } from "tsdown";
74
71
 
75
72
  export default defineConfig(${JSON.stringify({
76
- entry: Array.from(new Set(["src/**/*.ts", ...entry])),
73
+ entry: Array.from(/* @__PURE__ */ new Set(["src/**/*.ts", ...entry])),
77
74
  fixedExtension: false,
78
75
  outDir: "lib",
79
76
  unbundle: true,
@@ -105,6 +102,7 @@ export default defineConfig(${JSON.stringify({
105
102
  ] };
106
103
  }
107
104
  });
108
-
109
105
  //#endregion
110
- export { blockTSDown };
106
+ export { blockTSDown };
107
+
108
+ //# sourceMappingURL=blockTSDown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockTSDown.js","names":[],"sources":["../../src/blocks/blockTSDown.ts"],"sourcesContent":["import removeUndefinedObjects from \"remove-undefined-objects\";\nimport { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockESLint } from \"./blockESLint.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockReleaseIt } from \"./blockReleaseIt.js\";\nimport { blockRemoveDependencies } from \"./blockRemoveDependencies.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\nimport { intakeFileDefineConfig } from \"./intake/intakeFileDefineConfig.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nconst zEntry = z.array(z.string());\nconst zProperties = z.record(z.unknown());\n\nexport const blockTSDown = base.createBlock({\n\tabout: {\n\t\tname: \"TSDown\",\n\t},\n\taddons: {\n\t\tentry: zEntry.default([]),\n\t\tproperties: zProperties.default({}),\n\t\trunInCI: z.array(z.string()).default([]),\n\t},\n\tintake({ files }) {\n\t\tconst rawData =\n\t\t\tintakeFileDefineConfig(files, [\"tsdown.config.ts\"]) ??\n\t\t\tintakeFileDefineConfig(files, [\"tsup.config.ts\"]);\n\t\tif (!rawData) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst { entry: rawEntry, ...rest } = rawData;\n\n\t\treturn {\n\t\t\tentry: zEntry.safeParse(rawEntry).data,\n\t\t\tproperties: removeUndefinedObjects({\n\t\t\t\t...zProperties.safeParse(rest).data,\n\n\t\t\t\t// In case of a tsup.config.ts migrated to tsdown.config.ts\n\t\t\t\tbundle: undefined,\n\t\t\t\tclean: rest.clean === false ? false : undefined,\n\t\t\t\tformat: rest.format === \"esm\" ? undefined : rest.format,\n\t\t\t}),\n\t\t};\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { entry, properties, runInCI } = addons;\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\tBuilding: {\n\t\t\t\t\t\t\tcontents: `\nRun [**tsdown**](https://tsdown.dev) locally to build source files from \\`src/\\` into output files in \\`lib/\\`:\n\n\\`\\`\\`shell\npnpm build\n\\`\\`\\`\n\nAdd \\`--watch\\` to run the builder in a watch mode that continuously cleans and recreates \\`lib/\\` as you save files:\n\n\\`\\`\\`shell\npnpm build --watch\n\\`\\`\\`\n`,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockESLint({\n\t\t\t\t\tbeforeLint: `Note that you'll need to run \\`pnpm build\\` before \\`pnpm lint\\` so that lint rules which check the file system can pick up on any built files.`,\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: \"Build\",\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t{ run: \"pnpm build\" },\n\t\t\t\t\t\t\t\t...runInCI.map((run) => ({ run })),\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(\"tsdown\"),\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\tbuild: \"tsdown\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockReleaseIt({\n\t\t\t\t\tbuilders: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\torder: 0,\n\t\t\t\t\t\t\trun: \"pnpm build\",\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\"tsdown.config.ts\": `import { defineConfig } from \"tsdown\";\n\nexport default defineConfig(${JSON.stringify({\n\t\t\t\t\tentry: Array.from(new Set([\"src/**/*.ts\", ...entry])),\n\t\t\t\t\tfixedExtension: false,\n\t\t\t\t\toutDir: \"lib\",\n\t\t\t\t\tunbundle: true,\n\t\t\t\t\t...properties,\n\t\t\t\t})});\n`,\n\t\t\t},\n\t\t\tscripts: options.bin\n\t\t\t\t? [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcommands: [\"pnpm build\"],\n\t\t\t\t\t\t\tphase: CommandPhase.Build,\n\t\t\t\t\t\t},\n\t\t\t\t\t]\n\t\t\t\t: undefined,\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: [\n\t\t\t\t\t\t\"@babel/cli\",\n\t\t\t\t\t\t\"@babel/core\",\n\t\t\t\t\t\t\"@babel/preset-typescript\",\n\t\t\t\t\t\t\"babel\",\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\".babelrc*\",\n\t\t\t\t\t\t\"babel.config.*\",\n\t\t\t\t\t\t\"dist\",\n\t\t\t\t\t\t\"lib\",\n\t\t\t\t\t\t\"tsup.config.*\",\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"build\", \"tsup\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;;;;;;AAgBA,MAAM,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC;AACjC,MAAM,cAAc,EAAE,OAAO,EAAE,QAAQ,CAAC;AAExC,MAAa,cAAc,KAAK,YAAY;CAC3C,OAAO,EACN,MAAM,SACP;CACA,QAAQ;EACP,OAAO,OAAO,QAAQ,CAAC,CAAC;EACxB,YAAY,YAAY,QAAQ,CAAC,CAAC;EAClC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;CACxC;CACA,OAAO,EAAE,SAAS;EACjB,MAAM,UACL,uBAAuB,OAAO,CAAC,kBAAkB,CAAC,KAClD,uBAAuB,OAAO,CAAC,gBAAgB,CAAC;EACjD,IAAI,CAAC,SACJ;EAGD,MAAM,EAAE,OAAO,UAAU,GAAG,SAAS;EAErC,OAAO;GACN,OAAO,OAAO,UAAU,QAAQ,CAAC,CAAC;GAClC,YAAY,uBAAuB;IAClC,GAAG,YAAY,UAAU,IAAI,CAAC,CAAC;IAG/B,QAAQ,KAAA;IACR,OAAO,KAAK,UAAU,QAAQ,QAAQ,KAAA;IACtC,QAAQ,KAAK,WAAW,QAAQ,KAAA,IAAY,KAAK;GAClD,CAAC;EACF;CACD;CACA,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,OAAO,YAAY,YAAY;EAEvC,OAAO;GACN,QAAQ;IACP,qBAAqB,EACpB,UAAU,EACT,UAAU,EACT,UAAU;;;;;;;;;;;;EAaX,EACD,EACD,CAAC;IACD,YAAY,EACX,YAAY,kJACb,CAAC;IACD,qBAAqB,EACpB,MAAM,CACL;KACC,MAAM;KACN,OAAO,CACN,EAAE,KAAK,aAAa,GACpB,GAAG,QAAQ,KAAK,SAAS,EAAE,IAAI,EAAE,CAClC;IACD,CACD,EACD,CAAC;IACD,iBAAiB,EAChB,YAAY;KACX,iBAAiB,uBAAuB,QAAQ;KAChD,SAAS,EACR,OAAO,SACR;IACD,EACD,CAAC;IACD,eAAe,EACd,UAAU,CACT;KACC,OAAO;KACP,KAAK;IACN,CACD,EACD,CAAC;GACF;GACA,OAAO,EACN,oBAAoB;;8BAEM,KAAK,UAAU;IACxC,OAAO,MAAM,qBAAK,IAAI,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,CAAC;IACpD,gBAAgB;IAChB,QAAQ;IACR,UAAU;IACV,GAAG;GACJ,CAAC,EAAE;EAEJ;GACA,SAAS,QAAQ,MACd,CACA;IACC,UAAU,CAAC,YAAY;IACvB,OAAO,aAAa;GACrB,CACD,IACC,KAAA;EACJ;CACD;CACA,aAAa;EACZ,OAAO,EACN,QAAQ;GACP,wBAAwB,EACvB,cAAc;IACb;IACA;IACA;IACA;GACD,EACD,CAAC;GACD,iBAAiB,EAChB,OAAO;IACN;IACA;IACA;IACA;IACA;GACD,EACD,CAAC;GACD,qBAAqB,EACpB,WAAW,CAAC,SAAS,MAAM,EAC5B,CAAC;EACF,EACD;CACD;AACD,CAAC"}