create-typescript-app 2.61.1 → 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
package/lib/base.d.ts DELETED
@@ -1,177 +0,0 @@
1
- import * as bingo_stratum2 from "bingo-stratum";
2
- import { BaseOptionsFor } from "bingo-stratum";
3
- import { z } from "zod";
4
-
5
- //#region src/base.d.ts
6
- declare const base: bingo_stratum2.Base<{
7
- access: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"restricted">]>;
8
- author: z.ZodOptional<z.ZodString>;
9
- bin: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
10
- contributors: z.ZodOptional<z.ZodArray<z.ZodObject<{
11
- avatar_url: z.ZodString;
12
- contributions: z.ZodArray<z.ZodString, "many">;
13
- login: z.ZodString;
14
- name: z.ZodString;
15
- profile: z.ZodString;
16
- }, "strip", z.ZodTypeAny, {
17
- avatar_url: string;
18
- contributions: string[];
19
- login: string;
20
- name: string;
21
- profile: string;
22
- }, {
23
- avatar_url: string;
24
- contributions: string[];
25
- login: string;
26
- name: string;
27
- profile: string;
28
- }>, "many">>;
29
- description: z.ZodDefault<z.ZodString>;
30
- directory: z.ZodString;
31
- documentation: z.ZodObject<{
32
- development: z.ZodOptional<z.ZodString>;
33
- readme: z.ZodObject<{
34
- additional: z.ZodOptional<z.ZodString>;
35
- explainer: z.ZodOptional<z.ZodString>;
36
- footnotes: z.ZodOptional<z.ZodString>;
37
- usage: z.ZodOptional<z.ZodString>;
38
- }, "strip", z.ZodTypeAny, {
39
- additional?: string | undefined;
40
- explainer?: string | undefined;
41
- footnotes?: string | undefined;
42
- usage?: string | undefined;
43
- }, {
44
- additional?: string | undefined;
45
- explainer?: string | undefined;
46
- footnotes?: string | undefined;
47
- usage?: string | undefined;
48
- }>;
49
- }, "strip", z.ZodTypeAny, {
50
- readme: {
51
- additional?: string | undefined;
52
- explainer?: string | undefined;
53
- footnotes?: string | undefined;
54
- usage?: string | undefined;
55
- };
56
- development?: string | undefined;
57
- }, {
58
- readme: {
59
- additional?: string | undefined;
60
- explainer?: string | undefined;
61
- footnotes?: string | undefined;
62
- usage?: string | undefined;
63
- };
64
- development?: string | undefined;
65
- }>;
66
- email: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
67
- github: z.ZodString;
68
- npm: z.ZodString;
69
- }, "strip", z.ZodTypeAny, {
70
- github: string;
71
- npm: string;
72
- }, {
73
- github: string;
74
- npm: string;
75
- }>]>, {
76
- github: string;
77
- npm: string;
78
- }, string | {
79
- github: string;
80
- npm: string;
81
- }>;
82
- emoji: z.ZodOptional<z.ZodString>;
83
- existingLabels: z.ZodOptional<z.ZodArray<z.ZodObject<{
84
- color: z.ZodString;
85
- description: z.ZodString;
86
- name: z.ZodString;
87
- }, "strip", z.ZodTypeAny, {
88
- name: string;
89
- description: string;
90
- color: string;
91
- }, {
92
- name: string;
93
- description: string;
94
- color: string;
95
- }>, "many">>;
96
- funding: z.ZodOptional<z.ZodString>;
97
- guide: z.ZodOptional<z.ZodObject<{
98
- href: z.ZodString;
99
- title: z.ZodString;
100
- }, "strip", z.ZodTypeAny, {
101
- href: string;
102
- title: string;
103
- }, {
104
- href: string;
105
- title: string;
106
- }>>;
107
- keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
108
- logo: z.ZodOptional<z.ZodObject<{
109
- alt: z.ZodString;
110
- height: z.ZodOptional<z.ZodNumber>;
111
- src: z.ZodString;
112
- width: z.ZodOptional<z.ZodNumber>;
113
- }, "strip", z.ZodTypeAny, {
114
- alt: string;
115
- src: string;
116
- height?: number | undefined;
117
- width?: number | undefined;
118
- }, {
119
- alt: string;
120
- src: string;
121
- height?: number | undefined;
122
- width?: number | undefined;
123
- }>>;
124
- node: z.ZodObject<{
125
- minimum: z.ZodString;
126
- pinned: z.ZodOptional<z.ZodString>;
127
- }, "strip", z.ZodTypeAny, {
128
- minimum: string;
129
- pinned?: string | undefined;
130
- }, {
131
- minimum: string;
132
- pinned?: string | undefined;
133
- }>;
134
- owner: z.ZodString;
135
- packageData: z.ZodOptional<z.ZodObject<{
136
- dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
137
- devDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
138
- peerDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
139
- peerDependenciesMeta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
140
- scripts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
141
- }, "strip", z.ZodTypeAny, {
142
- dependencies?: Record<string, string> | undefined;
143
- devDependencies?: Record<string, string> | undefined;
144
- peerDependencies?: Record<string, string> | undefined;
145
- peerDependenciesMeta?: Record<string, unknown> | undefined;
146
- scripts?: Record<string, string | undefined> | undefined;
147
- }, {
148
- dependencies?: Record<string, string> | undefined;
149
- devDependencies?: Record<string, string> | undefined;
150
- peerDependencies?: Record<string, string> | undefined;
151
- peerDependenciesMeta?: Record<string, unknown> | undefined;
152
- scripts?: Record<string, string | undefined> | undefined;
153
- }>>;
154
- pnpm: z.ZodOptional<z.ZodString>;
155
- repository: z.ZodString;
156
- rulesetId: z.ZodOptional<z.ZodString>;
157
- title: z.ZodString;
158
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"commonjs">, z.ZodLiteral<"module">]>>;
159
- version: z.ZodOptional<z.ZodString>;
160
- words: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
161
- workflowsVersions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
162
- hash: z.ZodOptional<z.ZodString>;
163
- pinned: z.ZodOptional<z.ZodBoolean>;
164
- }, "strip", z.ZodTypeAny, {
165
- pinned?: boolean | undefined;
166
- hash?: string | undefined;
167
- }, {
168
- pinned?: boolean | undefined;
169
- hash?: string | undefined;
170
- }>>>>;
171
- }>;
172
- type BaseOptions = BaseOptionsFor<typeof base> & {
173
- preset?: string;
174
- };
175
- //#endregion
176
- export { BaseOptions, base };
177
- //# sourceMappingURL=base.d.ts.map
package/lib/base.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","names":[],"sources":["../src/base.ts"],"sourcesContent":[],"mappings":";;;;;cA0Ca,qBAAI;;;EAAJ,GAAA,eAuTX,WAAA,CAAA,YAAA,aAAA,YAAA,aAAA,CAAA,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAvTe,CAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA,GAAA,SAAA;IAAA,gBAAA,CAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA,GAAA,SAAA;IAyTL,oBAAW,CAAA,QAAG,CAAA,MAAA,EAAA,OAAc,CAAA,GAAA,SAAA;;;;;;;;;;;;;;;;;;;;;KAA5B,WAAA,GAAc,sBAAsB"}
package/lib/base.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","names":[],"sources":["../src/base.ts"],"sourcesContent":["import { BaseOptionsFor, createBase } from \"bingo-stratum\";\nimport { inputFromFile } from \"input-from-file\";\nimport { inputFromScript } from \"input-from-script\";\nimport lazyValue from \"lazy-value\";\nimport { z } from \"zod\";\n\nimport { readAccess } from \"./options/readAccess.js\";\nimport { readAllContributors } from \"./options/readAllContributors.js\";\nimport { readAuthor } from \"./options/readAuthor.js\";\nimport { readBin } from \"./options/readBin.js\";\nimport { readDescription } from \"./options/readDescription.js\";\nimport { readDevelopmentDocumentation } from \"./options/readDevelopmentDocumentation.js\";\nimport { readDocumentation } from \"./options/readDocumentation.js\";\nimport { readEmailFromCodeOfConduct } from \"./options/readEmailFromCodeOfConduct.js\";\nimport { readEmailFromGit } from \"./options/readEmailFromGit.js\";\nimport { readEmailFromNpm } from \"./options/readEmailFromNpm.js\";\nimport { readEmails } from \"./options/readEmails.js\";\nimport { readEmoji } from \"./options/readEmoji.js\";\nimport { readExistingLabels } from \"./options/readExistingLabels.js\";\nimport { readFileSafe } from \"./options/readFileSafe.js\";\nimport { readFunding } from \"./options/readFunding.js\";\nimport { readGitDefaults } from \"./options/readGitDefaults.js\";\nimport { readGuide } from \"./options/readGuide.js\";\nimport { readKeywords } from \"./options/readKeywords.js\";\nimport { readLogo } from \"./options/readLogo.js\";\nimport { readNode } from \"./options/readNode.js\";\nimport { readNpmDefaults } from \"./options/readNpmDefaults.js\";\nimport { readOwner } from \"./options/readOwner.js\";\nimport { readPackageAuthor } from \"./options/readPackageAuthor.js\";\nimport { readPackageData } from \"./options/readPackageData.js\";\nimport { readPnpm } from \"./options/readPnpm.js\";\nimport { readReadmeAdditional } from \"./options/readReadmeAdditional.js\";\nimport { readReadmeExplainer } from \"./options/readReadmeExplainer.js\";\nimport { readReadmeFootnotes } from \"./options/readReadmeFootnotes.js\";\nimport { readReadmeUsage } from \"./options/readReadmeUsage.js\";\nimport { readRepository } from \"./options/readRepository.js\";\nimport { readRulesetId } from \"./options/readRulesetId.js\";\nimport { readTitle } from \"./options/readTitle.js\";\nimport { readWords } from \"./options/readWords.js\";\nimport { readWorkflowsVersions } from \"./options/readWorkflowsVersions.js\";\nimport { zContributor, zDocumentation, zWorkflowsVersions } from \"./schemas.js\";\n\nexport const base = createBase({\n\toptions: {\n\t\taccess: z\n\t\t\t.union([z.literal(\"public\"), z.literal(\"restricted\")])\n\t\t\t.describe(\"which `npm publish --access` to release npm packages with\"),\n\t\tauthor: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"username on npm to publish packages under\"),\n\t\tbin: z\n\t\t\t.union([z.string(), z.record(z.string())])\n\t\t\t.optional()\n\t\t\t.describe('value to set in `package.json`\\'s `\"bin\"` property'),\n\t\tcontributors: z\n\t\t\t.array(zContributor)\n\t\t\t.optional()\n\t\t\t.describe(\"AllContributors contributors to store in .all-contributorsrc\"),\n\t\tdescription: z\n\t\t\t.string()\n\t\t\t.default(\"A very lovely package. Hooray!\")\n\t\t\t.describe(\"'Sentence case.' description of the repository\"),\n\t\tdirectory: z.string().describe(\"Directory to create the repository in\"),\n\t\tdocumentation: zDocumentation.describe(\n\t\t\t\"additional docs to add to .md files\",\n\t\t),\n\t\temail: z\n\t\t\t.union([\n\t\t\t\tz.string(),\n\t\t\t\tz.object({\n\t\t\t\t\tgithub: z.string(),\n\t\t\t\t\tnpm: z.string(),\n\t\t\t\t}),\n\t\t\t])\n\t\t\t// TODO: Test this? Is it still working?\n\t\t\t// https://github.com/JoshuaKGoldberg/create-typescript-app/issues/1991\n\t\t\t.transform((email) =>\n\t\t\t\ttypeof email === \"string\" ? { github: email, npm: email } : email,\n\t\t\t)\n\t\t\t.describe(\n\t\t\t\t\"email address to be listed as the point of contact in docs and packages\",\n\t\t\t),\n\t\temoji: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"decorative emoji to use in descriptions and docs\"),\n\t\texistingLabels: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\tcolor: z.string(),\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.optional()\n\t\t\t.describe(\"existing labels from the GitHub repository\"),\n\t\tfunding: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"GitHub organization or username to mention in `funding.yaml`\"),\n\t\tguide: z\n\t\t\t.object({\n\t\t\t\thref: z.string(),\n\t\t\t\ttitle: z.string(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\n\t\t\t\t\"link to a contribution guide to place at the top of development docs\",\n\t\t\t),\n\t\tkeywords: z\n\t\t\t.array(z.string())\n\t\t\t.optional()\n\t\t\t.describe(\"any number of keywords to include in `package.json`\"),\n\t\tlogo: z\n\t\t\t.object({\n\t\t\t\talt: z.string(),\n\t\t\t\theight: z.number().optional(),\n\t\t\t\tsrc: z.string(),\n\t\t\t\twidth: z.number().optional(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\n\t\t\t\t\"local image file and alt text to display near the top of the README.md\",\n\t\t\t),\n\t\tnode: z\n\t\t\t.object({\n\t\t\t\tminimum: z.string(),\n\t\t\t\tpinned: z.string().optional(),\n\t\t\t})\n\t\t\t.describe(\"Node.js engine version(s) to pin and require a minimum of\"),\n\t\towner: z.string().describe(\"organization or user owning the repository\"),\n\t\tpackageData: z\n\t\t\t.object({\n\t\t\t\tdependencies: z.record(z.string(), z.string()).optional(),\n\t\t\t\tdevDependencies: z.record(z.string(), z.string()).optional(),\n\t\t\t\tpeerDependencies: z.record(z.string(), z.string()).optional(),\n\t\t\t\tpeerDependenciesMeta: z.record(z.unknown()).optional(),\n\t\t\t\tscripts: z.record(z.string(), z.string().optional()).optional(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\"additional properties to include in `package.json`\"),\n\t\tpnpm: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"pnpm version for package.json's packageManager field\"),\n\t\trepository: z\n\t\t\t.string()\n\t\t\t.describe(\"'kebab-case' or 'PascalCase' title of the repository\"),\n\t\trulesetId: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"GitHub branch ruleset ID for main branch protections\"),\n\t\ttitle: z.string().describe(\"'Title Case' title for the repository\"),\n\t\ttype: z\n\t\t\t.union([z.literal(\"commonjs\"), z.literal(\"module\")])\n\t\t\t.optional()\n\t\t\t.describe(\"package.json modules type\"),\n\t\tversion: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"package version to publish as and store in `package.json`\"),\n\t\twords: z\n\t\t\t.array(z.string())\n\t\t\t.optional()\n\t\t\t.describe(\"additional words to add to the CSpell dictionary\"),\n\t\tworkflowsVersions: zWorkflowsVersions\n\t\t\t.optional()\n\t\t\t.describe(\"existing versions of GitHub Actions workflows used\"),\n\t},\n\tprepare({ options, take }) {\n\t\tconst getAccess = lazyValue(async () => await readAccess(getPackageData));\n\n\t\tconst getAllContributors = lazyValue(\n\t\t\tasync () => await readAllContributors(take),\n\t\t);\n\n\t\tconst getAuthor = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readAuthor(\n\t\t\t\t\tgetPackageAuthor,\n\t\t\t\t\tgetNpmDefaults,\n\t\t\t\t\tgetGitUser,\n\t\t\t\t\toptions.owner,\n\t\t\t\t),\n\t\t);\n\n\t\tconst getBin = lazyValue(async () => await readBin(getPackageData));\n\n\t\tconst getEmoji = lazyValue(async () => await readEmoji(getDescription));\n\n\t\tconst getDescription = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readDescription(getPackageData, getReadme, getRepository),\n\t\t);\n\n\t\tconst getDevelopmentDocumentation = lazyValue(\n\t\t\tasync () => await readDevelopmentDocumentation(take),\n\t\t);\n\n\t\tconst getDocumentation = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readDocumentation(\n\t\t\t\t\tgetDevelopmentDocumentation,\n\t\t\t\t\tgetReadmeAdditional,\n\t\t\t\t\tgetReadmeExplainer,\n\t\t\t\t\tgetReadmeFootnotes,\n\t\t\t\t\tgetReadmeUsage,\n\t\t\t\t),\n\t\t);\n\n\t\tconst getEmail = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readEmails(\n\t\t\t\t\tgetEmailFromCodeOfConduct,\n\t\t\t\t\tgetEmailFromGit,\n\t\t\t\t\tgetEmailFromNpm,\n\t\t\t\t\tgetPackageAuthor,\n\t\t\t\t),\n\t\t);\n\n\t\tconst getKeywords = lazyValue(\n\t\t\tasync () => await readKeywords(getPackageData),\n\t\t);\n\n\t\tconst getEmailFromCodeOfConduct = lazyValue(\n\t\t\tasync () => await readEmailFromCodeOfConduct(take),\n\t\t);\n\n\t\tconst getEmailFromGit = lazyValue(async () => await readEmailFromGit(take));\n\n\t\tconst getEmailFromNpm = lazyValue(\n\t\t\tasync () => await readEmailFromNpm(getNpmDefaults, getPackageAuthor),\n\t\t);\n\n\t\tconst getExistingLabels = lazyValue(\n\t\t\tasync () => await readExistingLabels(take, getOwner, getRepository),\n\t\t);\n\n\t\tconst getFunding = lazyValue(async () => await readFunding(take));\n\n\t\tconst getGitDefaults = lazyValue(async () => await readGitDefaults(take));\n\n\t\tconst getGitUser = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait take(inputFromScript, { command: \"git config user.name\" }),\n\t\t);\n\n\t\tconst getGuide = lazyValue(async () => await readGuide(take));\n\n\t\tconst getLogo = lazyValue(async () => await readLogo(getReadme));\n\n\t\tconst getPackageData = lazyValue(async () => await readPackageData(take));\n\n\t\tconst getNode = lazyValue(\n\t\t\tasync () => await readNode(getNvmrc, getPackageData),\n\t\t);\n\n\t\tconst getNpmDefaults = lazyValue(\n\t\t\tasync () => await readNpmDefaults(getNpmWhoami),\n\t\t);\n\n\t\tconst getNpmWhoami = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait take(inputFromScript, { command: \"npm whoami --offline\" }),\n\t\t);\n\n\t\tconst getNvmrc = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait take(inputFromFile, {\n\t\t\t\t\tfilePath: \".nvmrc\",\n\t\t\t\t}),\n\t\t);\n\n\t\tconst getOwner = lazyValue(\n\t\t\tasync () => await readOwner(take, getGitDefaults, getPackageAuthor),\n\t\t);\n\n\t\tconst getPackageAuthor = lazyValue(\n\t\t\tasync () => await readPackageAuthor(getPackageData),\n\t\t);\n\n\t\tconst getPnpm = lazyValue(async () => await readPnpm(getPackageData));\n\n\t\tconst getReadme = lazyValue(\n\t\t\tasync () => await readFileSafe(\"README.md\", \"\"),\n\t\t);\n\n\t\tconst getReadmeAdditional = lazyValue(\n\t\t\tasync () => await readReadmeAdditional(getReadme),\n\t\t);\n\n\t\tconst getReadmeExplainer = lazyValue(\n\t\t\tasync () => await readReadmeExplainer(getReadme),\n\t\t);\n\n\t\tconst getReadmeFootnotes = lazyValue(\n\t\t\tasync () => await readReadmeFootnotes(getReadme),\n\t\t);\n\n\t\tconst getReadmeUsage = lazyValue(\n\t\t\tasync () => await readReadmeUsage(getReadme),\n\t\t);\n\n\t\tconst getRepository = lazyValue(\n\t\t\tasync () => await readRepository(getGitDefaults, getPackageData, options),\n\t\t);\n\n\t\tconst getRulesetId = lazyValue(\n\t\t\tasync () => await readRulesetId(take, getOwner, getRepository),\n\t\t);\n\n\t\tconst getTitle = lazyValue(\n\t\t\tasync () => await readTitle(getReadme, getRepository),\n\t\t);\n\n\t\tconst getType = lazyValue(async () => (await getPackageData()).type);\n\n\t\tconst getVersion = lazyValue(async () => (await getPackageData()).version);\n\n\t\tconst getWords = lazyValue(async () => await readWords(take));\n\n\t\tconst getWorkflowData = lazyValue(\n\t\t\tasync () => await readWorkflowsVersions(take),\n\t\t);\n\n\t\treturn {\n\t\t\taccess: getAccess,\n\t\t\tauthor: getAuthor,\n\t\t\tbin: getBin,\n\t\t\tcontributors: getAllContributors,\n\t\t\tdescription: getDescription,\n\t\t\tdocumentation: getDocumentation,\n\t\t\temail: getEmail,\n\t\t\temoji: getEmoji,\n\t\t\texistingLabels: getExistingLabels,\n\t\t\tfunding: getFunding,\n\t\t\tguide: getGuide,\n\t\t\tkeywords: getKeywords,\n\t\t\tlogo: getLogo,\n\t\t\tnode: getNode,\n\t\t\towner: getOwner,\n\t\t\tpackageData: getPackageData,\n\t\t\tpnpm: getPnpm,\n\t\t\trepository: getRepository,\n\t\t\trulesetId: getRulesetId,\n\t\t\ttitle: getTitle,\n\t\t\ttype: getType,\n\t\t\tversion: getVersion,\n\t\t\twords: getWords,\n\t\t\tworkflowsVersions: getWorkflowData,\n\t\t};\n\t},\n});\n\nexport type BaseOptions = BaseOptionsFor<typeof base> & { preset?: string };\n"],"mappings":";;;;;;;;;;;;;;;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AY,MAAM,UAAU,WAAW,cAAc,CACrD;GAiCA,MA/Be,UAAU,aAAa,MAAM,gBAAgB,EAAE,KAAK;GAgCnE,SA9BkB,UAAU,aAAa,MAAM,gBAAgB,EAAE,QAAQ;GA+BzE,OA7BgB,UAAU,YAAY,MAAM,UAAU,KAAK,CAAC;GA8B5D,mBA5BuB,UACvB,YAAY,MAAM,sBAAsB,KAAK,CAC7C;GA2BA;;CAEF,CAAC"}
@@ -1,7 +0,0 @@
1
- import { WorkflowsVersions } from "../../schemas.js";
2
-
3
- //#region src/blocks/actions/resolveUses.d.ts
4
- declare function resolveUses(action: string, version: string, workflowsVersions?: WorkflowsVersions): string;
5
- //#endregion
6
- export { resolveUses };
7
- //# sourceMappingURL=resolveUses.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolveUses.d.ts","names":[],"sources":["../../../src/blocks/actions/resolveUses.ts"],"sourcesContent":[],"mappings":";;;iBASgB,WAAA,sDAGK"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolveUses.js","names":[],"sources":["../../../src/blocks/actions/resolveUses.ts"],"sourcesContent":["import { CachedFactory } from \"cached-factory\";\nimport semver from \"semver\";\n\nimport { WorkflowsVersions } from \"../../schemas.js\";\n\nconst semverCoercions = new CachedFactory((version: string) => {\n\treturn semver.coerce(version)?.toString() ?? \"0.0.0\";\n});\n\nexport function resolveUses(\n\taction: string,\n\tversion: string,\n\tworkflowsVersions?: WorkflowsVersions,\n) {\n\tif (!workflowsVersions || !(action in workflowsVersions)) {\n\t\treturn `${action}@${version}`;\n\t}\n\n\tconst workflowVersions = workflowsVersions[action];\n\n\tconst biggestVersion = Object.keys(workflowVersions).reduce(\n\t\t(highestVersion, potentialVersion) =>\n\t\t\tsemver.gt(\n\t\t\t\tsemverCoercions.get(potentialVersion),\n\t\t\t\tsemverCoercions.get(highestVersion),\n\t\t\t)\n\t\t\t\t? potentialVersion\n\t\t\t\t: highestVersion,\n\t\tversion,\n\t);\n\n\tif (!(biggestVersion in workflowVersions)) {\n\t\treturn `${action}@${biggestVersion}`;\n\t}\n\n\tconst atBiggestVersion = workflowVersions[biggestVersion];\n\n\treturn atBiggestVersion.hash\n\t\t? `${action}@${atBiggestVersion.hash} # ${biggestVersion}`\n\t\t: `${action}@${biggestVersion}`;\n}\n"],"mappings":";;;;AAKA,MAAM,kBAAkB,IAAI,eAAe,YAAoB;AAC9D,QAAO,OAAO,OAAO,QAAQ,EAAE,UAAU,IAAI;EAC5C;AAEF,SAAgB,YACf,QACA,SACA,mBACC;AACD,KAAI,CAAC,qBAAqB,EAAE,UAAU,mBACrC,QAAO,GAAG,OAAO,GAAG;CAGrB,MAAM,mBAAmB,kBAAkB;CAE3C,MAAM,iBAAiB,OAAO,KAAK,iBAAiB,CAAC,QACnD,gBAAgB,qBAChB,OAAO,GACN,gBAAgB,IAAI,iBAAiB,EACrC,gBAAgB,IAAI,eAAe,CACnC,GACE,mBACA,gBACJ,QACA;AAED,KAAI,EAAE,kBAAkB,kBACvB,QAAO,GAAG,OAAO,GAAG;CAGrB,MAAM,mBAAmB,iBAAiB;AAE1C,QAAO,iBAAiB,OACrB,GAAG,OAAO,GAAG,iBAAiB,KAAK,KAAK,mBACxC,GAAG,OAAO,GAAG"}
@@ -1,38 +0,0 @@
1
- import { z } from "zod";
2
- import { IntakeDirectory } from "bingo-fs";
3
-
4
- //#region src/blocks/actions/steps.d.ts
5
- declare const zActionStep: z.ZodIntersection<z.ZodObject<{
6
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7
- if: z.ZodOptional<z.ZodString>;
8
- with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9
- }, "strip", z.ZodTypeAny, {
10
- env?: Record<string, string> | undefined;
11
- if?: string | undefined;
12
- with?: Record<string, string> | undefined;
13
- }, {
14
- env?: Record<string, string> | undefined;
15
- if?: string | undefined;
16
- with?: Record<string, string> | undefined;
17
- }>, z.ZodUnion<[z.ZodObject<{
18
- run: z.ZodString;
19
- }, "strip", z.ZodTypeAny, {
20
- run: string;
21
- }, {
22
- run: string;
23
- }>, z.ZodObject<{
24
- uses: z.ZodString;
25
- }, "strip", z.ZodTypeAny, {
26
- uses: string;
27
- }, {
28
- uses: string;
29
- }>]>>;
30
- interface JobOrRunStep {
31
- env?: Record<string, string>;
32
- uses?: unknown;
33
- with?: Record<string, string>;
34
- }
35
- declare function intakeFileYamlSteps(files: IntakeDirectory, filePath: string[], ymlPath: string[]): JobOrRunStep[] | undefined;
36
- //#endregion
37
- export { JobOrRunStep, intakeFileYamlSteps, zActionStep };
38
- //# sourceMappingURL=steps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"steps.d.ts","names":[],"sources":["../../../src/blocks/actions/steps.ts"],"sourcesContent":[],"mappings":";;;;cAMa,aAAW,CAAA,CAAA,gBAAA,CAAA,CAAA;;EAAX,EAAA,eAOZ,YAAA,CAAA;;;;;;;;;;;;;;;;CAPuB,CAAA,aAAA,CAAA;;;;;;;UASP,YAAA;EATO,GAAA,CAAA,EAUjB,MAViB,CAAA,MAAA,EAAA,MAAA,CAAA;EAAA,IAAA,CAAA,EAAA,OAAA;EASP,IAAA,CAAA,EAGT,MAHS,CAAA,MAAY,EAAA,MACtB,CAAA;AAKP;iBAAgB,mBAAA,QACR,yDAEU"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"steps.js","names":[],"sources":["../../../src/blocks/actions/steps.ts"],"sourcesContent":["import { IntakeDirectory } from \"bingo-fs\";\nimport _ from \"lodash\";\nimport { z } from \"zod\";\n\nimport { intakeFileAsYaml } from \"../intake/intakeFileAsYaml.js\";\n\nexport const zActionStep = z.intersection(\n\tz.object({\n\t\tenv: z.record(z.string(), z.string()).optional(),\n\t\tif: z.string().optional(),\n\t\twith: z.record(z.string(), z.string()).optional(),\n\t}),\n\tz.union([z.object({ run: z.string() }), z.object({ uses: z.string() })]),\n);\n\nexport interface JobOrRunStep {\n\tenv?: Record<string, string>;\n\tuses?: unknown;\n\twith?: Record<string, string>;\n}\n\nexport function intakeFileYamlSteps(\n\tfiles: IntakeDirectory,\n\tfilePath: string[],\n\tymlPath: string[],\n) {\n\tconst actionYml = intakeFileAsYaml(files, filePath);\n\tif (!actionYml) {\n\t\treturn undefined;\n\t}\n\n\tconst steps = _.get(actionYml, ymlPath) as JobOrRunStep[] | undefined;\n\tif (!steps || !Array.isArray(steps)) {\n\t\treturn undefined;\n\t}\n\n\treturn steps;\n}\n"],"mappings":";;;;;AAMA,MAAa,cAAc,EAAE,aAC5B,EAAE,OAAO;CACR,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,QAAQ,CAAC,CAAC,UAAU;CAChD,IAAI,EAAE,QAAQ,CAAC,UAAU;CACzB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,QAAQ,CAAC,CAAC,UAAU;CACjD,CAAC,EACF,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CACxE;AAQD,SAAgB,oBACf,OACA,UACA,SACC;CACD,MAAM,YAAY,iBAAiB,OAAO,SAAS;AACnD,KAAI,CAAC,UACJ;CAGD,MAAM,QAAQ,EAAE,IAAI,WAAW,QAAQ;AACvC,KAAI,CAAC,SAAS,CAAC,MAAM,QAAQ,MAAM,CAClC;AAGD,QAAO"}
@@ -1,5 +0,0 @@
1
- //#region src/blocks/bin/getPrimaryBin.d.ts
2
- declare function getPrimaryBin(bin: Record<string, string | undefined> | string | undefined, repository: string): string | undefined;
3
- //#endregion
4
- export { getPrimaryBin };
5
- //# sourceMappingURL=getPrimaryBin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getPrimaryBin.d.ts","names":[],"sources":["../../../src/blocks/bin/getPrimaryBin.ts"],"sourcesContent":[],"mappings":";iBAAgB,aAAA,MACV"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getPrimaryBin.js","names":[],"sources":["../../../src/blocks/bin/getPrimaryBin.ts"],"sourcesContent":["export function getPrimaryBin(\n\tbin: Record<string, string | undefined> | string | undefined,\n\trepository: string,\n) {\n\treturn typeof bin === \"object\" ? bin[repository] : bin;\n}\n"],"mappings":";AAAA,SAAgB,cACf,KACA,YACC;AACD,QAAO,OAAO,QAAQ,WAAW,IAAI,cAAc"}
@@ -1,74 +0,0 @@
1
- import * as bingo_stratum63 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockAllContributors.d.ts
4
- declare const blockAllContributors: bingo_stratum63.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 { blockAllContributors };
74
- //# sourceMappingURL=blockAllContributors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockAllContributors.d.ts","names":[],"sources":["../../src/blocks/blockAllContributors.ts"],"sourcesContent":[],"mappings":";;;cAYa,sCAAoB;;;EAApB,SAAA,EAAA,MAAA;;;;;;;;;;EAAoB,KAAA,EAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockAllContributors.js","names":[],"sources":["../../src/blocks/blockAllContributors.ts"],"sourcesContent":["import _ from \"lodash\";\n\nimport { base } from \"../base.js\";\nimport { startingOwnerContributions } from \"../data/contributions.js\";\nimport { Contributor } from \"../schemas.js\";\nimport { resolveUses } from \"./actions/resolveUses.js\";\nimport { blockPrettier } from \"./blockPrettier.js\";\nimport { blockREADME } from \"./blockREADME.js\";\nimport { blockRepositorySecrets } from \"./blockRepositorySecrets.js\";\nimport { createSoloWorkflowFile } from \"./files/createSoloWorkflowFile.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nexport const blockAllContributors = base.createBlock({\n\tabout: {\n\t\tname: \"AllContributors\",\n\t},\n\tproduce({ options }) {\n\t\tconst contributions = options.contributors?.length;\n\t\tconst ownerContributions = Array.from(\n\t\t\tnew Set(\n\t\t\t\t[\n\t\t\t\t\toptions.contributors?.find(\n\t\t\t\t\t\t(contributor) =>\n\t\t\t\t\t\t\tcontributor.login.toLowerCase() === options.owner.toLowerCase(),\n\t\t\t\t\t)?.contributions,\n\t\t\t\t\tstartingOwnerContributions,\n\t\t\t\t]\n\t\t\t\t\t.filter(Boolean)\n\t\t\t\t\t.flat(),\n\t\t\t),\n\t\t);\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockPrettier({\n\t\t\t\t\tignores: [\"/.all-contributorsrc\"],\n\t\t\t\t}),\n\t\t\t\tblockREADME({\n\t\t\t\t\tbadges: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\talt: `👪 All Contributors: ${contributions}`,\n\t\t\t\t\t\t\tcomments: {\n\t\t\t\t\t\t\t\tafter: `\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\\t<!-- prettier-ignore-end -->`,\n\t\t\t\t\t\t\t\tbefore: `<!-- prettier-ignore-start -->\n\\t<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n\\t`,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\thref: \"#contributors\",\n\t\t\t\t\t\t\tsrc: `https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-${contributions}-21bb42.svg`,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\tsections: options.contributors\n\t\t\t\t\t\t? [printAllContributorsTable(options.contributors)]\n\t\t\t\t\t\t: undefined,\n\t\t\t\t}),\n\t\t\t\tblockRepositorySecrets({\n\t\t\t\t\tsecrets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdescription: \"a GitHub PAT with repo and workflow permissions\",\n\t\t\t\t\t\t\tname: \"ACCESS_TOKEN\",\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\".all-contributorsrc\": JSON.stringify(\n\t\t\t\t\t{\n\t\t\t\t\t\tbadgeTemplate:\n\t\t\t\t\t\t\t'\t<a href=\"#contributors\" target=\"_blank\"><img alt=\"👪 All Contributors: <%= contributors.length %>\" src=\"https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-<%= contributors.length %>-21bb42.svg\" /></a>',\n\t\t\t\t\t\tcommitType: \"docs\",\n\t\t\t\t\t\tcontributors: options.contributors ?? [],\n\t\t\t\t\t\tcontributorsPerLine: 7,\n\t\t\t\t\t\tcontributorsSortAlphabetically: true,\n\t\t\t\t\t\tfiles: [\"README.md\"],\n\t\t\t\t\t\tprojectName: options.repository,\n\t\t\t\t\t\tprojectOwner: options.owner,\n\t\t\t\t\t\trepoType: \"github\",\n\t\t\t\t\t},\n\t\t\t\t\tnull,\n\t\t\t\t\t2,\n\t\t\t\t),\n\t\t\t\t\".github\": {\n\t\t\t\t\tworkflows: {\n\t\t\t\t\t\t\"contributors.yaml\": createSoloWorkflowFile({\n\t\t\t\t\t\t\tname: \"Contributors\",\n\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\tpush: {\n\t\t\t\t\t\t\t\t\tbranches: [\"main\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"actions/checkout\",\n\t\t\t\t\t\t\t\t\t\t\"v4\",\n\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\twith: { \"fetch-depth\": 0 },\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{ uses: \"./.github/actions/prepare\" },\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tenv: { GITHUB_TOKEN: \"${{ secrets.ACCESS_TOKEN }}\" },\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"JoshuaKGoldberg/all-contributors-auto-action\",\n\t\t\t\t\t\t\t\t\t\t\"v0.5.0\",\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},\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\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [\n\t\t\t\t\t\t`pnpx all-contributors-cli@6.23.1 add ${options.owner} ${ownerContributions.join(\",\")}`,\n\t\t\t\t\t],\n\t\t\t\t\tphase: CommandPhase.Process,\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n});\n\nfunction printAllContributorsTable(contributors: Contributor[]) {\n\treturn [\n\t\t`## Contributors`,\n\t\t``,\n\t\t`<!-- spellchecker: disable -->`,\n\t\t`<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->`,\n\t\t`<!-- prettier-ignore-start -->`,\n\t\t`<table>`,\n\t\t` <tbody>`,\n\t\t` <tr>`,\n\t\t// This intentionally uses the same sort as all-contributors-cli:\n\t\t// https://github.com/all-contributors/cli/blob/74bc388bd6f0ae2658e6495e9d3781d737438a97/src/generate/index.js#L76\n\t\t..._.sortBy(contributors, \"name\").flatMap((contributor, i) => {\n\t\t\tconst row = printContributorCell(contributor);\n\n\t\t\treturn i && i % 7 === 0 ? [` </tr>`, ` <tr>`, row] : [row];\n\t\t}),\n\t\t` </tr>`,\n\t\t` </tbody>`,\n\t\t`</table>`,\n\t\t``,\n\t\t`<!-- prettier-ignore-end -->`,\n\t\t``,\n\t\t`<!-- ALL-CONTRIBUTORS-LIST:END -->`,\n\t\t`<!-- spellchecker: enable -->`,\n\t].join(\"\\n\");\n}\n\nfunction printContributorCell(contributor: Contributor) {\n\treturn [\n\t\t` <td align=\"center\" valign=\"top\" width=\"14.28%\">`,\n\t\t`<a href=\"${contributor.profile}\">`,\n\t\t`<img src=\"${contributor.avatar_url}?s=100\" width=\"100px;\" alt=\"${contributor.name}\"/>`,\n\t\t`<br />`,\n\t\t`<sub><b>${contributor.name}</b></sub></a><br />`,\n\t\tcontributor.contributions\n\t\t\t.map((contribution) => {\n\t\t\t\tswitch (contribution) {\n\t\t\t\t\tcase \"bug\":\n\t\t\t\t\t\treturn `<a href=\"https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=author%3A${contributor.login}\" title=\"Bug reports\">🐛</a>`;\n\t\t\t\t\tcase \"code\":\n\t\t\t\t\t\treturn `<a href=\"https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=${contributor.login}\" title=\"Code\">💻</a>`;\n\t\t\t\t\tcase \"design\":\n\t\t\t\t\t\treturn `<a href=\"#design-${contributor.login}\" title=\"Design\">🎨</a>`;\n\t\t\t\t\tcase \"doc\":\n\t\t\t\t\t\treturn `<a href=\"https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=${contributor.login}\" title=\"Documentation\">📖</a>`;\n\t\t\t\t\tcase \"ideas\":\n\t\t\t\t\t\treturn `<a href=\"#ideas-${contributor.login}\" title=\"Ideas, Planning, & Feedback\">🤔</a>`;\n\t\t\t\t\tcase \"infra\":\n\t\t\t\t\t\treturn `<a href=\"#infra-${contributor.login}\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a>`;\n\t\t\t\t\tcase \"maintenance\":\n\t\t\t\t\t\treturn `<a href=\"#maintenance-${contributor.login}\" title=\"Maintenance\">🚧</a>`;\n\t\t\t\t\tcase \"review\":\n\t\t\t\t\t\treturn `<a href=\"https://github.com/JoshuaKGoldberg/create-typescript-app/pulls?q=is%3Apr+reviewed-by%3A${contributor.login}\" title=\"Reviewed Pull Requests\">👀</a>`;\n\t\t\t\t\tcase \"test\":\n\t\t\t\t\t\treturn `<a href=\"https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=${contributor.login}\" title=\"Tests\">⚠️</a>`;\n\t\t\t\t\tcase \"tool\":\n\t\t\t\t\t\treturn `<a href=\"#tool-${contributor.login}\" title=\"Tools\">🔧</a>`;\n\t\t\t\t}\n\t\t\t})\n\t\t\t.join(\" \"),\n\t\t`</td>`,\n\t].join(\"\");\n}\n"],"mappings":";;;;;;;;;;;AAYA,MAAa,uBAAuB,KAAK,YAAY;CACpD,OAAO,EACN,MAAM,mBACN;CACD,QAAQ,EAAE,WAAW;EACpB,MAAM,gBAAgB,QAAQ,cAAc;EAC5C,MAAM,qBAAqB,MAAM,KAChC,IAAI,IACH,CACC,QAAQ,cAAc,MACpB,gBACA,YAAY,MA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GAAG,EAAE,OAAO,cAAc,OAAO,CAAC,SAAS,aAAa,MAAM;GAC7D,MAAM,MAAM,qBAAqB,YAAY;AAE7C,UAAO,KAAK,IAAI,MAAM,IAAI;IAAC;IAAa;IAAY;IAAI,GAAG,CAAC,IAAI;IAC/D;EACF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,CAAC,KAAK,KAAK;;AAGb,SAAS,qBAAqB,aAA0B;AACvD,QAAO;EACN;EACA,YAAY,YAAY,QAAQ;EAChC,aAAa,YAAY,WAAW,8BAA8B,YAAY,KAAK;EACnF;EACA,WAAW,YAAY,KAAK;EAC5B,YAAY,cACV,KAAK,iBAAiB;AACtB,WAAQ,cAAR;IACC,KAAK,MACJ,QAAO,uFAAuF,YAAY,MAAM;IACjH,KAAK,OACJ,QAAO,oFAAoF,YAAY,MAAM;IAC9G,KAAK,SACJ,QAAO,oBAAoB,YAAY,MAAM;IAC9C,KAAK,MACJ,QAAO,oFAAoF,YAAY,MAAM;IAC9G,KAAK,QACJ,QAAO,mBAAmB,YAAY,MAAM;IAC7C,KAAK,QACJ,QAAO,mBAAmB,YAAY,MAAM;IAC7C,KAAK,cACJ,QAAO,yBAAyB,YAAY,MAAM;IACnD,KAAK,SACJ,QAAO,mGAAmG,YAAY,MAAM;IAC7H,KAAK,OACJ,QAAO,oFAAoF,YAAY,MAAM;IAC9G,KAAK,OACJ,QAAO,kBAAkB,YAAY,MAAM;;IAE5C,CACD,KAAK,IAAI;EACX;EACA,CAAC,KAAK,GAAG"}
@@ -1,74 +0,0 @@
1
- import * as bingo_stratum66 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockAreTheTypesWrong.d.ts
4
- declare const blockAreTheTypesWrong: bingo_stratum66.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 { blockAreTheTypesWrong };
74
- //# sourceMappingURL=blockAreTheTypesWrong.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockAreTheTypesWrong.d.ts","names":[],"sources":["../../src/blocks/blockAreTheTypesWrong.ts"],"sourcesContent":[],"mappings":";;;cAGa,uCAAqB;;;EAArB,SAAA,EAAA,MAAA;;;;;;;;;;EAAqB,KAAA,EAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockAreTheTypesWrong.js","names":[],"sources":["../../src/blocks/blockAreTheTypesWrong.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\n\nexport const blockAreTheTypesWrong = base.createBlock({\n\tabout: {\n\t\tname: \"Are The Types Wrong\",\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: \"Are The Types Wrong?\",\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{\n\t\t\t\t\t\t\t\t\trun: \"npx --yes @arethetypeswrong/cli --pack . --ignore-rules cjs-resolves-to-esm --profile esm-only\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAGA,MAAa,wBAAwB,KAAK,YAAY;CACrD,OAAO,EACN,MAAM,uBACN;CACD,UAAU;AACT,SAAO,EACN,QAAQ,CACP,qBAAqB,EACpB,MAAM,CACL;GACC,MAAM;GACN,OAAO,CACN,EAAE,KAAK,cAAc,EACrB,EACC,KAAK,kGACL,CACD;GACD,CACD,EACD,CAAC,CACF,EACD;;CAEF,CAAC"}
@@ -1,77 +0,0 @@
1
- import * as bingo_stratum65 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockCSpell.d.ts
4
- declare const blockCSpell: bingo_stratum65.BlockWithAddons<{
5
- words: string[];
6
- ignorePaths: string[];
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
- pinned?: boolean | undefined;
72
- hash?: string | undefined;
73
- }>> | undefined;
74
- }>;
75
- //#endregion
76
- export { blockCSpell };
77
- //# sourceMappingURL=blockCSpell.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockCSpell.d.ts","names":[],"sources":["../../src/blocks/blockCSpell.ts"],"sourcesContent":[],"mappings":";;;cAwBa,6BAAW;;;AAAxB,CAAA,EAAA;;;;;;;;;WAAwB,CAAA,EAAA,MAAA,GAAA,SAAA;IAAA,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockCSpell.js","names":["addons"],"sources":["../../src/blocks/blockCSpell.ts"],"sourcesContent":["import JSON5 from \"json5\";\nimport { getObjectStringsDeep } from \"object-strings-deep\";\nimport { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.js\";\nimport { resolveBin } from \"../utils/resolveBin.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\nimport { blockVSCode } from \"./blockVSCode.js\";\nimport { intakeFile } from \"./intake/intakeFile.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nconst filesGlob = `\"**\" \".github/**/*\"`;\n\nconst addons = {\n\tignorePaths: z.array(z.string()).default([]),\n\twords: z.array(z.string()).default([]),\n};\n\nconst zAddons = z.object(addons);\n\nexport const blockCSpell = base.createBlock({\n\tabout: {\n\t\tname: \"CSpell\",\n\t},\n\taddons,\n\tintake({ files }) {\n\t\tconst cspellJson = intakeFile(files, [\"cspell.json\"]);\n\t\tif (!cspellJson) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst { data } = zAddons.safeParse(JSON5.parse<unknown>(cspellJson[0]));\n\t\tif (!data) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn data;\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { ignorePaths, words } = addons;\n\n\t\tconst allWords = Array.from(\n\t\t\tnew Set([...(options.words ?? []), ...words]),\n\t\t).sort();\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockDevelopmentDocs({\n\t\t\t\t\tsections: {\n\t\t\t\t\t\tLinting: {\n\t\t\t\t\t\t\tcontents: {\n\t\t\t\t\t\t\t\titems: [\n\t\t\t\t\t\t\t\t\t`- \\`pnpm lint:spelling\\` ([cspell](https://cspell.org)): Spell checks across all source files`,\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\tblockVSCode({\n\t\t\t\t\textensions: [\"streetsidesoftware.code-spell-checker\"],\n\t\t\t\t}),\n\t\t\t\tblockGitHubActionsCI({\n\t\t\t\t\tjobs: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Lint Spelling\",\n\t\t\t\t\t\t\tsteps: [{ run: \"pnpm lint:spelling\" }],\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(\"cspell\"),\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\t\"lint:spelling\": `cspell ${filesGlob}`,\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\"cspell.json\": JSON.stringify({\n\t\t\t\t\tdictionaries: [\"npm\", \"node\", \"typescript\"],\n\t\t\t\t\tignorePaths: Array.from(\n\t\t\t\t\t\tnew Set([\n\t\t\t\t\t\t\t\".github\",\n\t\t\t\t\t\t\t\"CHANGELOG.md\",\n\t\t\t\t\t\t\t\"lib\",\n\t\t\t\t\t\t\t\"node_modules\",\n\t\t\t\t\t\t\t\"pnpm-lock.yaml\",\n\t\t\t\t\t\t\t...ignorePaths,\n\t\t\t\t\t\t]),\n\t\t\t\t\t).sort(),\n\t\t\t\t\t...(allWords.length && { words: allWords }),\n\t\t\t\t}),\n\t\t\t},\n\t\t};\n\t},\n\tsetup({ options }) {\n\t\tconst wordArgs = getObjectStringsDeep(options)\n\t\t\t.map((word) => `--words \"${word.replaceAll(`\"`, \" \")}\"`)\n\t\t\t.join(\" \");\n\n\t\treturn {\n\t\t\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [\n\t\t\t\t\t\t`node ${resolveBin(\"cspell-populate-words/bin/index.mjs\")} ${wordArgs}`,\n\t\t\t\t\t],\n\t\t\t\t\tphase: CommandPhase.Process,\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-spelling\", \"spelling\"],\n\t\t\t\t}),\n\t\t\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GAAG;KACH,CAAC,CACF,CAAC,MAAM;IACR,GAAI,SAAS,UAAU,EAAE,OAAO,UAAU;IAC1C,CAAC,EACF;GACD;;CAEF,MAAM,EAAE,WAAW;EAClB,MAAM,WAAW,qBAAqB,QAAQ,CAC5C,KAAK,SAAS,YAAY,KAAK,WAAW,KAAK,IAAI,CAAC,GAAG,CACvD,KAAK,IAAI;AAEX,SAAO,EACN,SAAS,CACR;GACC,UAAU,CACT,QAAQ,WAAW,sCAAsC,CAAC,GAAG,WAC7D;GACD,OAAO,aAAa;GACpB,CACD,EACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CACP,qBAAqB,EACpB,WAAW,CAAC,iBAAiB,WAAW,EACxC,CAAC,CACF,EACD;;CAEF,CAAC"}
@@ -1,74 +0,0 @@
1
- import * as bingo_stratum64 from "bingo-stratum";
2
-
3
- //#region src/blocks/blockCTATransitions.d.ts
4
- declare const blockCTATransitions: bingo_stratum64.BlockWithoutAddons<{
5
- access: "public" | "restricted";
6
- description: string;
7
- directory: string;
8
- documentation: {
9
- readme: {
10
- additional?: string | undefined;
11
- explainer?: string | undefined;
12
- footnotes?: string | undefined;
13
- usage?: string | undefined;
14
- };
15
- development?: string | undefined;
16
- };
17
- email: {
18
- github: string;
19
- npm: string;
20
- };
21
- title: string;
22
- node: {
23
- minimum: string;
24
- pinned?: string | undefined;
25
- };
26
- owner: string;
27
- repository: string;
28
- type?: "commonjs" | "module" | undefined;
29
- author?: string | undefined;
30
- bin?: string | Record<string, string> | undefined;
31
- contributors?: {
32
- avatar_url: string;
33
- contributions: string[];
34
- login: string;
35
- name: string;
36
- profile: string;
37
- }[] | undefined;
38
- emoji?: string | undefined;
39
- existingLabels?: {
40
- name: string;
41
- description: string;
42
- color: string;
43
- }[] | undefined;
44
- funding?: string | undefined;
45
- guide?: {
46
- href: string;
47
- title: string;
48
- } | undefined;
49
- keywords?: string[] | undefined;
50
- logo?: {
51
- alt: string;
52
- src: string;
53
- height?: number | undefined;
54
- width?: number | undefined;
55
- } | undefined;
56
- packageData?: {
57
- dependencies?: Record<string, string> | undefined;
58
- devDependencies?: Record<string, string> | undefined;
59
- peerDependencies?: Record<string, string> | undefined;
60
- peerDependenciesMeta?: Record<string, unknown> | undefined;
61
- scripts?: Record<string, string | undefined> | undefined;
62
- } | undefined;
63
- pnpm?: string | undefined;
64
- rulesetId?: string | undefined;
65
- version?: string | undefined;
66
- words?: string[] | undefined;
67
- workflowsVersions?: Record<string, Record<string, {
68
- pinned?: boolean | undefined;
69
- hash?: string | undefined;
70
- }>> | undefined;
71
- }>;
72
- //#endregion
73
- export { blockCTATransitions };
74
- //# sourceMappingURL=blockCTATransitions.d.ts.map