create-typescript-app 2.0.0-beta.2 → 2.0.0-beta.21

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 (631) hide show
  1. package/README.md +64 -57
  2. package/bin/index.js +4 -2
  3. package/lib/{next/base.d.ts → base.d.ts} +28 -7
  4. package/lib/{next/base.js → base.js} +40 -29
  5. package/lib/base.js.map +1 -0
  6. package/lib/{next/blocks → blocks}/blockAllContributors.d.ts +6 -5
  7. package/lib/blocks/blockAllContributors.js +139 -0
  8. package/lib/blocks/blockAllContributors.js.map +1 -0
  9. package/lib/{next/blocks → blocks}/blockAreTheTypesWrong.d.ts +6 -5
  10. package/lib/{next/blocks → blocks}/blockAreTheTypesWrong.js +2 -1
  11. package/lib/blocks/blockAreTheTypesWrong.js.map +1 -0
  12. package/lib/{next/blocks → blocks}/blockCSpell.d.ts +6 -5
  13. package/lib/{next/blocks → blocks}/blockCSpell.js +14 -14
  14. package/lib/blocks/blockCSpell.js.map +1 -0
  15. package/lib/blocks/blockCodecov.d.ts +53 -0
  16. package/lib/blocks/blockCodecov.js +50 -0
  17. package/lib/blocks/blockCodecov.js.map +1 -0
  18. package/lib/{next/blocks → blocks}/blockContributingDocs.d.ts +6 -5
  19. package/lib/{next/blocks → blocks}/blockContributingDocs.js +11 -10
  20. package/lib/{next/blocks → blocks}/blockContributingDocs.js.map +1 -1
  21. package/lib/{next/blocks → blocks}/blockContributorCovenant.d.ts +6 -5
  22. package/lib/{next/blocks → blocks}/blockContributorCovenant.js +11 -10
  23. package/lib/blocks/blockContributorCovenant.js.map +1 -0
  24. package/lib/{next/blocks → blocks}/blockDevelopmentDocs.d.ts +8 -7
  25. package/lib/{next/blocks → blocks}/blockDevelopmentDocs.js +12 -11
  26. package/lib/blocks/blockDevelopmentDocs.js.map +1 -0
  27. package/lib/{next/blocks → blocks}/blockESLint.d.ts +13 -11
  28. package/lib/{next/blocks → blocks}/blockESLint.js +23 -14
  29. package/lib/blocks/blockESLint.js.map +1 -0
  30. package/lib/{next/blocks → blocks}/blockESLintComments.d.ts +6 -5
  31. package/lib/blocks/blockESLintComments.js.map +1 -0
  32. package/lib/{next/blocks → blocks}/blockESLintJSDoc.d.ts +6 -5
  33. package/lib/blocks/blockESLintJSDoc.js.map +1 -0
  34. package/lib/{next/blocks → blocks}/blockESLintJSONC.d.ts +6 -5
  35. package/lib/blocks/blockESLintJSONC.js.map +1 -0
  36. package/lib/{next/blocks → blocks}/blockESLintMarkdown.d.ts +6 -5
  37. package/lib/blocks/blockESLintMarkdown.js.map +1 -0
  38. package/lib/{next/blocks → blocks}/blockESLintMoreStyling.d.ts +6 -5
  39. package/lib/blocks/blockESLintMoreStyling.js.map +1 -0
  40. package/lib/{next/blocks → blocks}/blockESLintNode.d.ts +6 -5
  41. package/lib/{next/blocks → blocks}/blockESLintNode.js +7 -5
  42. package/lib/blocks/blockESLintNode.js.map +1 -0
  43. package/lib/{next/blocks → blocks}/blockESLintPackageJson.d.ts +6 -5
  44. package/lib/blocks/blockESLintPackageJson.js.map +1 -0
  45. package/lib/{next/blocks → blocks}/blockESLintPerfectionist.d.ts +6 -5
  46. package/lib/blocks/blockESLintPerfectionist.js.map +1 -0
  47. package/lib/{next/blocks → blocks}/blockESLintRegexp.d.ts +6 -5
  48. package/lib/blocks/blockESLintRegexp.js.map +1 -0
  49. package/lib/{next/blocks → blocks}/blockESLintYML.d.ts +6 -5
  50. package/lib/blocks/blockESLintYML.js.map +1 -0
  51. package/lib/{next/blocks → blocks}/blockExampleFiles.d.ts +6 -5
  52. package/lib/{next/blocks → blocks}/blockExampleFiles.js +3 -2
  53. package/lib/blocks/blockExampleFiles.js.map +1 -0
  54. package/lib/{next/blocks → blocks}/blockFunding.d.ts +6 -5
  55. package/lib/{next/blocks → blocks}/blockFunding.js +1 -1
  56. package/lib/blocks/blockFunding.js.map +1 -0
  57. package/lib/{next/blocks → blocks}/blockGitHubActionsCI.d.ts +34 -7
  58. package/lib/{next/blocks → blocks}/blockGitHubActionsCI.js +30 -26
  59. package/lib/blocks/blockGitHubActionsCI.js.map +1 -0
  60. package/lib/{next/blocks → blocks}/blockGitHubApps.d.ts +6 -5
  61. package/lib/blocks/blockGitHubApps.js.map +1 -0
  62. package/lib/{next/blocks → blocks}/blockGitHubIssueTemplates.d.ts +6 -5
  63. package/lib/{next/blocks → blocks}/blockGitHubIssueTemplates.js +1 -1
  64. package/lib/blocks/blockGitHubIssueTemplates.js.map +1 -0
  65. package/lib/{next/blocks → blocks}/blockGitHubPRTemplate.d.ts +6 -5
  66. package/lib/blocks/blockGitHubPRTemplate.js.map +1 -0
  67. package/lib/{next/blocks → blocks}/blockGitignore.d.ts +6 -5
  68. package/lib/{next/blocks → blocks}/blockGitignore.js +1 -1
  69. package/lib/blocks/blockGitignore.js.map +1 -0
  70. package/lib/{next/blocks → blocks}/blockKnip.d.ts +8 -5
  71. package/lib/{next/blocks → blocks}/blockKnip.js +23 -13
  72. package/lib/blocks/blockKnip.js.map +1 -0
  73. package/lib/{next/blocks → blocks}/blockMITLicense.d.ts +6 -5
  74. package/lib/blocks/blockMITLicense.js.map +1 -0
  75. package/lib/{next/blocks → blocks}/blockMarkdownlint.d.ts +6 -5
  76. package/lib/{next/blocks → blocks}/blockMarkdownlint.js +10 -7
  77. package/lib/blocks/blockMarkdownlint.js.map +1 -0
  78. package/lib/{next/blocks → blocks}/blockNvmrc.d.ts +6 -5
  79. package/lib/blocks/blockNvmrc.js.map +1 -0
  80. package/lib/{next/blocks → blocks}/blockPRCompliance.d.ts +6 -5
  81. package/lib/{next/blocks → blocks}/blockPRCompliance.js +1 -1
  82. package/lib/blocks/blockPRCompliance.js.map +1 -0
  83. package/lib/{next/blocks → blocks}/blockPackageJson.d.ts +7 -6
  84. package/lib/{next/blocks → blocks}/blockPackageJson.js +16 -13
  85. package/lib/blocks/blockPackageJson.js.map +1 -0
  86. package/lib/{next/blocks → blocks}/blockPnpmDedupe.d.ts +6 -5
  87. package/lib/blocks/blockPnpmDedupe.js.map +1 -0
  88. package/lib/{next/blocks → blocks}/blockPrettier.d.ts +7 -6
  89. package/lib/{next/blocks → blocks}/blockPrettier.js +17 -13
  90. package/lib/blocks/blockPrettier.js.map +1 -0
  91. package/lib/{next/blocks → blocks}/blockPrettierPluginCurly.d.ts +6 -5
  92. package/lib/blocks/blockPrettierPluginCurly.js.map +1 -0
  93. package/lib/{next/blocks → blocks}/blockPrettierPluginPackageJson.d.ts +6 -5
  94. package/lib/blocks/blockPrettierPluginPackageJson.js.map +1 -0
  95. package/lib/{next/blocks → blocks}/blockPrettierPluginSh.d.ts +6 -5
  96. package/lib/blocks/blockPrettierPluginSh.js.map +1 -0
  97. package/lib/{next/blocks → blocks}/blockREADME.d.ts +8 -5
  98. package/lib/{next/blocks → blocks}/blockREADME.js +16 -19
  99. package/lib/blocks/blockREADME.js.map +1 -0
  100. package/lib/{next/blocks → blocks}/blockReleaseIt.d.ts +6 -5
  101. package/lib/{next/blocks → blocks}/blockReleaseIt.js +4 -4
  102. package/lib/blocks/blockReleaseIt.js.map +1 -0
  103. package/lib/{next/blocks → blocks}/blockRenovate.d.ts +6 -5
  104. package/lib/{next/blocks → blocks}/blockRenovate.js +6 -1
  105. package/lib/blocks/blockRenovate.js.map +1 -0
  106. package/lib/{next/blocks → blocks}/blockRepositoryBranchRuleset.d.ts +6 -5
  107. package/lib/blocks/blockRepositoryBranchRuleset.js +94 -0
  108. package/lib/blocks/blockRepositoryBranchRuleset.js.map +1 -0
  109. package/lib/{next/blocks → blocks}/blockRepositoryLabels.d.ts +6 -5
  110. package/lib/{next/blocks → blocks}/blockRepositoryLabels.js +1 -1
  111. package/lib/blocks/blockRepositoryLabels.js.map +1 -0
  112. package/lib/{next/blocks → blocks}/blockRepositorySecrets.d.ts +6 -5
  113. package/lib/blocks/blockRepositorySecrets.js.map +1 -0
  114. package/lib/{next/blocks → blocks}/blockRepositorySettings.d.ts +6 -5
  115. package/lib/blocks/blockRepositorySettings.js.map +1 -0
  116. package/lib/{next/blocks → blocks}/blockSecurityDocs.d.ts +6 -5
  117. package/lib/blocks/blockSecurityDocs.js.map +1 -0
  118. package/lib/{next/blocks → blocks}/blockTSup.d.ts +7 -5
  119. package/lib/{next/blocks → blocks}/blockTSup.js +27 -13
  120. package/lib/blocks/blockTSup.js.map +1 -0
  121. package/lib/blocks/blockTemplatedWith.d.ts +51 -0
  122. package/lib/{next/blocks/blockTemplatedBy.js → blocks/blockTemplatedWith.js} +3 -3
  123. package/lib/blocks/blockTemplatedWith.js.map +1 -0
  124. package/lib/{next/blocks → blocks}/blockTypeScript.d.ts +6 -5
  125. package/lib/{next/blocks → blocks}/blockTypeScript.js +2 -2
  126. package/lib/blocks/blockTypeScript.js.map +1 -0
  127. package/lib/{next/blocks → blocks}/blockVSCode.d.ts +6 -5
  128. package/lib/blocks/blockVSCode.js.map +1 -0
  129. package/lib/{next/blocks → blocks}/blockVitest.d.ts +15 -9
  130. package/lib/{next/blocks → blocks}/blockVitest.js +29 -44
  131. package/lib/blocks/blockVitest.js.map +1 -0
  132. package/lib/blocks/files/createJobName.d.ts +3 -0
  133. package/lib/blocks/files/createJobName.js +7 -0
  134. package/lib/blocks/files/createJobName.js.map +1 -0
  135. package/lib/{steps/writing/creation/dotGitHub → blocks/files}/createMultiWorkflowFile.js +2 -1
  136. package/lib/blocks/files/createMultiWorkflowFile.js.map +1 -0
  137. package/lib/{steps/writing/creation/dotGitHub → blocks/files}/createSoloWorkflowFile.js +2 -1
  138. package/lib/blocks/files/createSoloWorkflowFile.js.map +1 -0
  139. package/lib/blocks/files/formatIgnoreFile.js.map +1 -0
  140. package/lib/{steps/writing/creation/dotGitHub → blocks/files}/formatWorkflowYaml.js +1 -1
  141. package/lib/blocks/files/formatWorkflowYaml.js.map +1 -0
  142. package/lib/{steps/writing/creation/formatters → blocks/files}/formatYaml.js +1 -3
  143. package/lib/blocks/files/formatYaml.js.map +1 -0
  144. package/lib/blocks/index.d.ts +2184 -0
  145. package/lib/blocks/index.js +178 -0
  146. package/lib/blocks/index.js.map +1 -0
  147. package/lib/blocks/options.fakes.js.map +1 -0
  148. package/lib/{steps/initializeGitHubRepository → blocks}/outcomeLabels.js +1 -0
  149. package/lib/blocks/outcomeLabels.js.map +1 -0
  150. package/lib/blocks/phases.js.map +1 -0
  151. package/lib/data/packageData.d.ts +159 -0
  152. package/lib/{next/blocks → data}/packageData.js +9 -3
  153. package/lib/data/packageData.js.map +1 -0
  154. package/lib/index.d.ts +52 -49
  155. package/lib/index.js +6 -6
  156. package/lib/index.js.map +1 -1
  157. package/lib/inputs/inputFromOctokit.d.ts +9 -0
  158. package/lib/inputs/inputFromOctokit.js +28 -0
  159. package/lib/inputs/inputFromOctokit.js.map +1 -0
  160. package/lib/options/getUsageFromReadme.js.map +1 -0
  161. package/lib/{shared/options/createOptionDefaults → options}/parsePackageAuthor.d.ts +1 -3
  162. package/lib/options/parsePackageAuthor.js.map +1 -0
  163. package/lib/{shared/options/createOptionDefaults → options}/readDefaultsFromReadme.d.ts +1 -0
  164. package/lib/{shared/options/createOptionDefaults → options}/readDefaultsFromReadme.js +12 -3
  165. package/lib/options/readDefaultsFromReadme.js.map +1 -0
  166. package/lib/{next → options}/readDescription.d.ts +1 -3
  167. package/lib/{next → options}/readDescription.js +2 -2
  168. package/lib/options/readDescription.js.map +1 -0
  169. package/lib/options/readDescriptionFromReadme.js.map +1 -0
  170. package/lib/{next → options}/readDocumentation.d.ts +1 -1
  171. package/lib/{next → options}/readDocumentation.js +1 -1
  172. package/lib/options/readDocumentation.js.map +1 -0
  173. package/lib/{shared/options/createOptionDefaults → options}/readEmails.js +1 -1
  174. package/lib/options/readEmails.js.map +1 -0
  175. package/lib/options/readFileAsJson.js.map +1 -0
  176. package/lib/options/readFileSafe.js.map +1 -0
  177. package/lib/{shared/options/createOptionDefaults → options}/readFunding.js +1 -1
  178. package/lib/options/readFunding.js.map +1 -0
  179. package/lib/{shared/options/createOptionDefaults → options}/readGitHubEmail.js +1 -1
  180. package/lib/options/readGitHubEmail.js.map +1 -0
  181. package/lib/{shared/options/createOptionDefaults → options}/readGuide.js +1 -1
  182. package/lib/options/readGuide.js.map +1 -0
  183. package/lib/{shared/options → options}/readLogoSizing.js +1 -1
  184. package/lib/options/readLogoSizing.js.map +1 -0
  185. package/lib/options/readPackageData.d.ts +5 -0
  186. package/lib/options/readPackageData.js +8 -0
  187. package/lib/options/readPackageData.js.map +1 -0
  188. package/lib/{next/presets/presetCommon.d.ts → presets/common.d.ts} +6 -5
  189. package/lib/{next/presets/presetCommon.js → presets/common.js} +6 -2
  190. package/lib/presets/common.js.map +1 -0
  191. package/lib/{next/presets/presetEverything.d.ts → presets/everything.d.ts} +6 -5
  192. package/lib/{next/presets/presetEverything.js → presets/everything.js} +2 -4
  193. package/lib/presets/everything.js.map +1 -0
  194. package/lib/presets/index.d.ts +313 -0
  195. package/lib/presets/index.js +18 -0
  196. package/lib/presets/index.js.map +1 -0
  197. package/lib/{next/presets/presetMinimal.d.ts → presets/minimal.d.ts} +6 -5
  198. package/lib/{next/presets/presetMinimal.js → presets/minimal.js} +5 -5
  199. package/lib/presets/minimal.js.map +1 -0
  200. package/lib/{next/template.d.ts → template.d.ts} +7 -6
  201. package/lib/template.js +19 -0
  202. package/lib/template.js.map +1 -0
  203. package/lib/types.d.ts +31 -5
  204. package/lib/utils/resolveBin.js.map +1 -0
  205. package/lib/utils/sortObject.js.map +1 -0
  206. package/lib/utils/swallowError.js.map +1 -0
  207. package/lib/utils/tryCatchAsync.js.map +1 -0
  208. package/lib/utils/tryCatchLazyValueAsync.js.map +1 -0
  209. package/package.json +43 -52
  210. package/lib/bin/help.d.ts +0 -3
  211. package/lib/bin/help.js +0 -117
  212. package/lib/bin/help.js.map +0 -1
  213. package/lib/bin/index.d.ts +0 -5
  214. package/lib/bin/index.js +0 -91
  215. package/lib/bin/index.js.map +0 -1
  216. package/lib/bin/packageJson.d.ts +0 -3
  217. package/lib/bin/packageJson.js +0 -13
  218. package/lib/bin/packageJson.js.map +0 -1
  219. package/lib/bin/promptForMode.d.ts +0 -11
  220. package/lib/bin/promptForMode.js +0 -108
  221. package/lib/bin/promptForMode.js.map +0 -1
  222. package/lib/create/createAndEnterGitDirectory.d.ts +0 -3
  223. package/lib/create/createAndEnterGitDirectory.js +0 -20
  224. package/lib/create/createAndEnterGitDirectory.js.map +0 -1
  225. package/lib/create/createRerunDirectorySuggestion.d.ts +0 -7
  226. package/lib/create/createRerunDirectorySuggestion.js +0 -8
  227. package/lib/create/createRerunDirectorySuggestion.js.map +0 -1
  228. package/lib/create/createRerunSuggestion.d.ts +0 -7
  229. package/lib/create/createRerunSuggestion.js +0 -56
  230. package/lib/create/createRerunSuggestion.js.map +0 -1
  231. package/lib/create/createWithOptions.d.ts +0 -11
  232. package/lib/create/createWithOptions.js +0 -68
  233. package/lib/create/createWithOptions.js.map +0 -1
  234. package/lib/create/index.d.ts +0 -7
  235. package/lib/create/index.js +0 -69
  236. package/lib/create/index.js.map +0 -1
  237. package/lib/greet.d.ts +0 -5
  238. package/lib/greet.js +0 -14
  239. package/lib/greet.js.map +0 -1
  240. package/lib/initialize/index.d.ts +0 -7
  241. package/lib/initialize/index.js +0 -43
  242. package/lib/initialize/index.js.map +0 -1
  243. package/lib/initialize/initializeWithOptions.d.ts +0 -9
  244. package/lib/initialize/initializeWithOptions.js +0 -66
  245. package/lib/initialize/initializeWithOptions.js.map +0 -1
  246. package/lib/migrate/index.d.ts +0 -7
  247. package/lib/migrate/index.js +0 -43
  248. package/lib/migrate/index.js.map +0 -1
  249. package/lib/migrate/migrateWithOptions.d.ts +0 -9
  250. package/lib/migrate/migrateWithOptions.js +0 -72
  251. package/lib/migrate/migrateWithOptions.js.map +0 -1
  252. package/lib/next/base.js.map +0 -1
  253. package/lib/next/blocks/blockAllContributors.js +0 -65
  254. package/lib/next/blocks/blockAllContributors.js.map +0 -1
  255. package/lib/next/blocks/blockAreTheTypesWrong.js.map +0 -1
  256. package/lib/next/blocks/blockCSpell.js.map +0 -1
  257. package/lib/next/blocks/blockContributorCovenant.js.map +0 -1
  258. package/lib/next/blocks/blockDevelopmentDocs.js.map +0 -1
  259. package/lib/next/blocks/blockESLint.js.map +0 -1
  260. package/lib/next/blocks/blockESLintComments.js.map +0 -1
  261. package/lib/next/blocks/blockESLintJSDoc.js.map +0 -1
  262. package/lib/next/blocks/blockESLintJSONC.js.map +0 -1
  263. package/lib/next/blocks/blockESLintMarkdown.js.map +0 -1
  264. package/lib/next/blocks/blockESLintMoreStyling.js.map +0 -1
  265. package/lib/next/blocks/blockESLintNode.js.map +0 -1
  266. package/lib/next/blocks/blockESLintPackageJson.js.map +0 -1
  267. package/lib/next/blocks/blockESLintPerfectionist.js.map +0 -1
  268. package/lib/next/blocks/blockESLintRegexp.js.map +0 -1
  269. package/lib/next/blocks/blockESLintYML.js.map +0 -1
  270. package/lib/next/blocks/blockExampleFiles.js.map +0 -1
  271. package/lib/next/blocks/blockFunding.js.map +0 -1
  272. package/lib/next/blocks/blockGitHubActionsCI.js.map +0 -1
  273. package/lib/next/blocks/blockGitHubApps.js.map +0 -1
  274. package/lib/next/blocks/blockGitHubIssueTemplates.js.map +0 -1
  275. package/lib/next/blocks/blockGitHubPRTemplate.js.map +0 -1
  276. package/lib/next/blocks/blockGitignore.js.map +0 -1
  277. package/lib/next/blocks/blockKnip.js.map +0 -1
  278. package/lib/next/blocks/blockMITLicense.js.map +0 -1
  279. package/lib/next/blocks/blockMarkdownlint.js.map +0 -1
  280. package/lib/next/blocks/blockNvmrc.js.map +0 -1
  281. package/lib/next/blocks/blockPRCompliance.js.map +0 -1
  282. package/lib/next/blocks/blockPackageJson.js.map +0 -1
  283. package/lib/next/blocks/blockPnpmDedupe.js.map +0 -1
  284. package/lib/next/blocks/blockPrettier.js.map +0 -1
  285. package/lib/next/blocks/blockPrettierPluginCurly.js.map +0 -1
  286. package/lib/next/blocks/blockPrettierPluginPackageJson.js.map +0 -1
  287. package/lib/next/blocks/blockPrettierPluginSh.js.map +0 -1
  288. package/lib/next/blocks/blockREADME.js.map +0 -1
  289. package/lib/next/blocks/blockReleaseIt.js.map +0 -1
  290. package/lib/next/blocks/blockRenovate.js.map +0 -1
  291. package/lib/next/blocks/blockRepositoryBranchRuleset.js +0 -71
  292. package/lib/next/blocks/blockRepositoryBranchRuleset.js.map +0 -1
  293. package/lib/next/blocks/blockRepositoryLabels.js.map +0 -1
  294. package/lib/next/blocks/blockRepositorySecrets.js.map +0 -1
  295. package/lib/next/blocks/blockRepositorySettings.js.map +0 -1
  296. package/lib/next/blocks/blockSecurityDocs.js.map +0 -1
  297. package/lib/next/blocks/blockTSup.js.map +0 -1
  298. package/lib/next/blocks/blockTemplatedBy.d.ts +0 -50
  299. package/lib/next/blocks/blockTemplatedBy.js.map +0 -1
  300. package/lib/next/blocks/blockTypeScript.js.map +0 -1
  301. package/lib/next/blocks/blockVSCode.js.map +0 -1
  302. package/lib/next/blocks/blockVitest.js.map +0 -1
  303. package/lib/next/blocks/index.d.ts +0 -43
  304. package/lib/next/blocks/index.js +0 -43
  305. package/lib/next/blocks/index.js.map +0 -1
  306. package/lib/next/blocks/options.fakes.js.map +0 -1
  307. package/lib/next/blocks/packageData.d.ts +0 -6
  308. package/lib/next/blocks/packageData.js.map +0 -1
  309. package/lib/next/blocks/phases.js.map +0 -1
  310. package/lib/next/blocks/sourcePackageJson.d.ts +0 -164
  311. package/lib/next/blocks/sourcePackageJson.js +0 -10
  312. package/lib/next/blocks/sourcePackageJson.js.map +0 -1
  313. package/lib/next/presets/index.d.ts +0 -5
  314. package/lib/next/presets/index.js +0 -4
  315. package/lib/next/presets/index.js.map +0 -1
  316. package/lib/next/presets/presetCommon.js.map +0 -1
  317. package/lib/next/presets/presetEverything.js.map +0 -1
  318. package/lib/next/presets/presetMinimal.js.map +0 -1
  319. package/lib/next/readDescription.js.map +0 -1
  320. package/lib/next/readDescriptionFromReadme.js.map +0 -1
  321. package/lib/next/readDocumentation.js.map +0 -1
  322. package/lib/next/runCreateEnginePreset.d.ts +0 -7
  323. package/lib/next/runCreateEnginePreset.js +0 -20
  324. package/lib/next/runCreateEnginePreset.js.map +0 -1
  325. package/lib/next/template.js +0 -17
  326. package/lib/next/template.js.map +0 -1
  327. package/lib/next/utils/resolveBin.js.map +0 -1
  328. package/lib/next/utils/sortObject.js.map +0 -1
  329. package/lib/next/utils/swallowError.js.map +0 -1
  330. package/lib/shared/cli/lines.d.ts +0 -5
  331. package/lib/shared/cli/lines.js +0 -17
  332. package/lib/shared/cli/lines.js.map +0 -1
  333. package/lib/shared/cli/lowerFirst.d.ts +0 -3
  334. package/lib/shared/cli/lowerFirst.js +0 -7
  335. package/lib/shared/cli/lowerFirst.js.map +0 -1
  336. package/lib/shared/cli/outro.d.ts +0 -8
  337. package/lib/shared/cli/outro.js +0 -21
  338. package/lib/shared/cli/outro.js.map +0 -1
  339. package/lib/shared/cli/spinners.d.ts +0 -6
  340. package/lib/shared/cli/spinners.js +0 -50
  341. package/lib/shared/cli/spinners.js.map +0 -1
  342. package/lib/shared/cli/startLineWithDots.d.ts +0 -3
  343. package/lib/shared/cli/startLineWithDots.js +0 -32
  344. package/lib/shared/cli/startLineWithDots.js.map +0 -1
  345. package/lib/shared/codes.d.ts +0 -8
  346. package/lib/shared/codes.js +0 -9
  347. package/lib/shared/codes.js.map +0 -1
  348. package/lib/shared/createCleanupCommands.d.ts +0 -3
  349. package/lib/shared/createCleanupCommands.js +0 -13
  350. package/lib/shared/createCleanupCommands.js.map +0 -1
  351. package/lib/shared/doesRepositoryExist.d.ts +0 -9
  352. package/lib/shared/doesRepositoryExist.js +0 -18
  353. package/lib/shared/doesRepositoryExist.js.map +0 -1
  354. package/lib/shared/ensureGitRepository.d.ts +0 -3
  355. package/lib/shared/ensureGitRepository.js +0 -12
  356. package/lib/shared/ensureGitRepository.js.map +0 -1
  357. package/lib/shared/generateNextSteps.d.ts +0 -8
  358. package/lib/shared/generateNextSteps.js +0 -60
  359. package/lib/shared/generateNextSteps.js.map +0 -1
  360. package/lib/shared/getGitHubUserAsAllContributor.d.ts +0 -8
  361. package/lib/shared/getGitHubUserAsAllContributor.js +0 -43
  362. package/lib/shared/getGitHubUserAsAllContributor.js.map +0 -1
  363. package/lib/shared/isUsingCreateEngine.d.ts +0 -3
  364. package/lib/shared/isUsingCreateEngine.js +0 -7
  365. package/lib/shared/isUsingCreateEngine.js.map +0 -1
  366. package/lib/shared/options/args.d.ts +0 -273
  367. package/lib/shared/options/args.js +0 -335
  368. package/lib/shared/options/args.js.map +0 -1
  369. package/lib/shared/options/augmentOptionsWithExcludes.d.ts +0 -7
  370. package/lib/shared/options/augmentOptionsWithExcludes.js +0 -94
  371. package/lib/shared/options/augmentOptionsWithExcludes.js.map +0 -1
  372. package/lib/shared/options/createOptionDefaults/getUsageFromReadme.js.map +0 -1
  373. package/lib/shared/options/createOptionDefaults/index.d.ts +0 -28
  374. package/lib/shared/options/createOptionDefaults/index.js +0 -49
  375. package/lib/shared/options/createOptionDefaults/index.js.map +0 -1
  376. package/lib/shared/options/createOptionDefaults/parsePackageAuthor.js.map +0 -1
  377. package/lib/shared/options/createOptionDefaults/readDefaultsFromReadme.js.map +0 -1
  378. package/lib/shared/options/createOptionDefaults/readEmails.js.map +0 -1
  379. package/lib/shared/options/createOptionDefaults/readFunding.js.map +0 -1
  380. package/lib/shared/options/createOptionDefaults/readGitHubEmail.js.map +0 -1
  381. package/lib/shared/options/createOptionDefaults/readGuide.js.map +0 -1
  382. package/lib/shared/options/createRepositoryWithApi.d.ts +0 -10
  383. package/lib/shared/options/createRepositoryWithApi.js +0 -32
  384. package/lib/shared/options/createRepositoryWithApi.js.map +0 -1
  385. package/lib/shared/options/detectEmailRedundancy.d.ts +0 -8
  386. package/lib/shared/options/detectEmailRedundancy.js +0 -16
  387. package/lib/shared/options/detectEmailRedundancy.js.map +0 -1
  388. package/lib/shared/options/ensureRepositoryExists.d.ts +0 -13
  389. package/lib/shared/options/ensureRepositoryExists.js +0 -64
  390. package/lib/shared/options/ensureRepositoryExists.js.map +0 -1
  391. package/lib/shared/options/exclusionKeys.d.ts +0 -15
  392. package/lib/shared/options/exclusionKeys.js +0 -129
  393. package/lib/shared/options/exclusionKeys.js.map +0 -1
  394. package/lib/shared/options/getBase.d.ts +0 -7
  395. package/lib/shared/options/getBase.js +0 -27
  396. package/lib/shared/options/getBase.js.map +0 -1
  397. package/lib/shared/options/getPrefillOrPromptedOption.d.ts +0 -16
  398. package/lib/shared/options/getPrefillOrPromptedOption.js +0 -37
  399. package/lib/shared/options/getPrefillOrPromptedOption.js.map +0 -1
  400. package/lib/shared/options/logInferredOptions.d.ts +0 -8
  401. package/lib/shared/options/logInferredOptions.js +0 -30
  402. package/lib/shared/options/logInferredOptions.js.map +0 -1
  403. package/lib/shared/options/optionsSchema.d.ts +0 -218
  404. package/lib/shared/options/optionsSchema.js +0 -63
  405. package/lib/shared/options/optionsSchema.js.map +0 -1
  406. package/lib/shared/options/readLogoSizing.js.map +0 -1
  407. package/lib/shared/options/readOptions.d.ts +0 -21
  408. package/lib/shared/options/readOptions.js +0 -235
  409. package/lib/shared/options/readOptions.js.map +0 -1
  410. package/lib/shared/packages.d.ts +0 -8
  411. package/lib/shared/packages.js +0 -18
  412. package/lib/shared/packages.js.map +0 -1
  413. package/lib/shared/prompts.d.ts +0 -3
  414. package/lib/shared/prompts.js +0 -8
  415. package/lib/shared/prompts.js.map +0 -1
  416. package/lib/shared/readFileAsJson.js.map +0 -1
  417. package/lib/shared/readFileSafe.js.map +0 -1
  418. package/lib/shared/readFileSafeAsJson.d.ts +0 -3
  419. package/lib/shared/readFileSafeAsJson.js +0 -8
  420. package/lib/shared/readFileSafeAsJson.js.map +0 -1
  421. package/lib/shared/runOrRestore.d.ts +0 -7
  422. package/lib/shared/runOrRestore.js +0 -37
  423. package/lib/shared/runOrRestore.js.map +0 -1
  424. package/lib/shared/tryCatchAsync.js.map +0 -1
  425. package/lib/shared/tryCatchLazyValueAsync.js.map +0 -1
  426. package/lib/shared/types.d.ts +0 -120
  427. package/lib/shared/types.js +0 -1
  428. package/lib/shared/types.js.map +0 -1
  429. package/lib/steps/addOwnerAsAllContributor.d.ts +0 -8
  430. package/lib/steps/addOwnerAsAllContributor.js +0 -43
  431. package/lib/steps/addOwnerAsAllContributor.js.map +0 -1
  432. package/lib/steps/addToolAllContributors.d.ts +0 -8
  433. package/lib/steps/addToolAllContributors.js +0 -12
  434. package/lib/steps/addToolAllContributors.js.map +0 -1
  435. package/lib/steps/clearChangelog.d.ts +0 -3
  436. package/lib/steps/clearChangelog.js +0 -12
  437. package/lib/steps/clearChangelog.js.map +0 -1
  438. package/lib/steps/clearLocalGitTags.d.ts +0 -3
  439. package/lib/steps/clearLocalGitTags.js +0 -9
  440. package/lib/steps/clearLocalGitTags.js.map +0 -1
  441. package/lib/steps/clearUnnecessaryFiles.d.ts +0 -3
  442. package/lib/steps/clearUnnecessaryFiles.js +0 -38
  443. package/lib/steps/clearUnnecessaryFiles.js.map +0 -1
  444. package/lib/steps/createJoshuaKGoldbergReplacement.d.ts +0 -11
  445. package/lib/steps/createJoshuaKGoldbergReplacement.js +0 -16
  446. package/lib/steps/createJoshuaKGoldbergReplacement.js.map +0 -1
  447. package/lib/steps/finalizeDependencies.d.ts +0 -7
  448. package/lib/steps/finalizeDependencies.js +0 -59
  449. package/lib/steps/finalizeDependencies.js.map +0 -1
  450. package/lib/steps/initializeGitHubRepository/index.d.ts +0 -8
  451. package/lib/steps/initializeGitHubRepository/index.js +0 -19
  452. package/lib/steps/initializeGitHubRepository/index.js.map +0 -1
  453. package/lib/steps/initializeGitHubRepository/initializeBranchProtectionSettings.d.ts +0 -8
  454. package/lib/steps/initializeGitHubRepository/initializeBranchProtectionSettings.js +0 -67
  455. package/lib/steps/initializeGitHubRepository/initializeBranchProtectionSettings.js.map +0 -1
  456. package/lib/steps/initializeGitHubRepository/outcomeLabels.js.map +0 -1
  457. package/lib/steps/initializeGitRemote.d.ts +0 -8
  458. package/lib/steps/initializeGitRemote.js +0 -15
  459. package/lib/steps/initializeGitRemote.js.map +0 -1
  460. package/lib/steps/initializeRepositorySettings.d.ts +0 -9
  461. package/lib/steps/initializeRepositorySettings.js +0 -27
  462. package/lib/steps/initializeRepositorySettings.js.map +0 -1
  463. package/lib/steps/populateCSpellDictionary.d.ts +0 -3
  464. package/lib/steps/populateCSpellDictionary.js +0 -36
  465. package/lib/steps/populateCSpellDictionary.js.map +0 -1
  466. package/lib/steps/removeSetupScripts.d.ts +0 -3
  467. package/lib/steps/removeSetupScripts.js +0 -29
  468. package/lib/steps/removeSetupScripts.js.map +0 -1
  469. package/lib/steps/resetGitTags.d.ts +0 -3
  470. package/lib/steps/resetGitTags.js +0 -12
  471. package/lib/steps/resetGitTags.js.map +0 -1
  472. package/lib/steps/runCleanup.d.ts +0 -7
  473. package/lib/steps/runCleanup.js +0 -37
  474. package/lib/steps/runCleanup.js.map +0 -1
  475. package/lib/steps/uninstallPackages.d.ts +0 -3
  476. package/lib/steps/uninstallPackages.js +0 -64
  477. package/lib/steps/uninstallPackages.js.map +0 -1
  478. package/lib/steps/updateAllContributorsTable.d.ts +0 -7
  479. package/lib/steps/updateAllContributorsTable.js +0 -24
  480. package/lib/steps/updateAllContributorsTable.js.map +0 -1
  481. package/lib/steps/updateLocalFiles.d.ts +0 -7
  482. package/lib/steps/updateLocalFiles.js +0 -84
  483. package/lib/steps/updateLocalFiles.js.map +0 -1
  484. package/lib/steps/updateReadme.d.ts +0 -10
  485. package/lib/steps/updateReadme.js +0 -27
  486. package/lib/steps/updateReadme.js.map +0 -1
  487. package/lib/steps/writeReadme/findExistingBadges.d.ts +0 -4
  488. package/lib/steps/writeReadme/findExistingBadges.js +0 -28
  489. package/lib/steps/writeReadme/findExistingBadges.js.map +0 -1
  490. package/lib/steps/writeReadme/findIntroSectionClose.d.ts +0 -3
  491. package/lib/steps/writeReadme/findIntroSectionClose.js +0 -22
  492. package/lib/steps/writeReadme/findIntroSectionClose.js.map +0 -1
  493. package/lib/steps/writeReadme/generateTopContent.d.ts +0 -7
  494. package/lib/steps/writeReadme/generateTopContent.js +0 -70
  495. package/lib/steps/writeReadme/generateTopContent.js.map +0 -1
  496. package/lib/steps/writeReadme/index.d.ts +0 -7
  497. package/lib/steps/writeReadme/index.js +0 -57
  498. package/lib/steps/writeReadme/index.js.map +0 -1
  499. package/lib/steps/writing/creation/createCSpellConfig.d.ts +0 -7
  500. package/lib/steps/writing/creation/createCSpellConfig.js +0 -27
  501. package/lib/steps/writing/creation/createCSpellConfig.js.map +0 -1
  502. package/lib/steps/writing/creation/createDotGitignore.d.ts +0 -7
  503. package/lib/steps/writing/creation/createDotGitignore.js +0 -14
  504. package/lib/steps/writing/creation/createDotGitignore.js.map +0 -1
  505. package/lib/steps/writing/creation/createESLintConfig.d.ts +0 -7
  506. package/lib/steps/writing/creation/createESLintConfig.js +0 -105
  507. package/lib/steps/writing/creation/createESLintConfig.js.map +0 -1
  508. package/lib/steps/writing/creation/createKnipConfig.d.ts +0 -3
  509. package/lib/steps/writing/creation/createKnipConfig.js +0 -20
  510. package/lib/steps/writing/creation/createKnipConfig.js.map +0 -1
  511. package/lib/steps/writing/creation/createTsupConfig.d.ts +0 -7
  512. package/lib/steps/writing/creation/createTsupConfig.js +0 -19
  513. package/lib/steps/writing/creation/createTsupConfig.js.map +0 -1
  514. package/lib/steps/writing/creation/dotGitHub/actions.d.ts +0 -7
  515. package/lib/steps/writing/creation/dotGitHub/actions.js +0 -32
  516. package/lib/steps/writing/creation/dotGitHub/actions.js.map +0 -1
  517. package/lib/steps/writing/creation/dotGitHub/createDevelopment/index.d.ts +0 -7
  518. package/lib/steps/writing/creation/dotGitHub/createDevelopment/index.js +0 -154
  519. package/lib/steps/writing/creation/dotGitHub/createDevelopment/index.js.map +0 -1
  520. package/lib/steps/writing/creation/dotGitHub/createDevelopment/splitIntoSections.d.ts +0 -3
  521. package/lib/steps/writing/creation/dotGitHub/createDevelopment/splitIntoSections.js +0 -24
  522. package/lib/steps/writing/creation/dotGitHub/createDevelopment/splitIntoSections.js.map +0 -1
  523. package/lib/steps/writing/creation/dotGitHub/createDotGitHubFiles.d.ts +0 -16
  524. package/lib/steps/writing/creation/dotGitHub/createDotGitHubFiles.js +0 -292
  525. package/lib/steps/writing/creation/dotGitHub/createDotGitHubFiles.js.map +0 -1
  526. package/lib/steps/writing/creation/dotGitHub/createMultiWorkflowFile.js.map +0 -1
  527. package/lib/steps/writing/creation/dotGitHub/createSoloWorkflowFile.js.map +0 -1
  528. package/lib/steps/writing/creation/dotGitHub/createWorkflows.d.ts +0 -15
  529. package/lib/steps/writing/creation/dotGitHub/createWorkflows.js +0 -236
  530. package/lib/steps/writing/creation/dotGitHub/createWorkflows.js.map +0 -1
  531. package/lib/steps/writing/creation/dotGitHub/formatWorkflowYaml.js.map +0 -1
  532. package/lib/steps/writing/creation/dotGitHub/index.d.ts +0 -36
  533. package/lib/steps/writing/creation/dotGitHub/index.js +0 -16
  534. package/lib/steps/writing/creation/dotGitHub/index.js.map +0 -1
  535. package/lib/steps/writing/creation/dotGitHub/issueTemplate.d.ts +0 -12
  536. package/lib/steps/writing/creation/dotGitHub/issueTemplate.js +0 -198
  537. package/lib/steps/writing/creation/dotGitHub/issueTemplate.js.map +0 -1
  538. package/lib/steps/writing/creation/dotHusky.d.ts +0 -6
  539. package/lib/steps/writing/creation/dotHusky.js +0 -11
  540. package/lib/steps/writing/creation/dotHusky.js.map +0 -1
  541. package/lib/steps/writing/creation/dotVSCode.d.ts +0 -12
  542. package/lib/steps/writing/creation/dotVSCode.js +0 -79
  543. package/lib/steps/writing/creation/dotVSCode.js.map +0 -1
  544. package/lib/steps/writing/creation/formatters/formatIgnoreFile.js.map +0 -1
  545. package/lib/steps/writing/creation/formatters/formatJson.d.ts +0 -3
  546. package/lib/steps/writing/creation/formatters/formatJson.js +0 -18
  547. package/lib/steps/writing/creation/formatters/formatJson.js.map +0 -1
  548. package/lib/steps/writing/creation/formatters/formatTypeScript.d.ts +0 -3
  549. package/lib/steps/writing/creation/formatters/formatTypeScript.js +0 -8
  550. package/lib/steps/writing/creation/formatters/formatTypeScript.js.map +0 -1
  551. package/lib/steps/writing/creation/formatters/formatYaml.js.map +0 -1
  552. package/lib/steps/writing/creation/index.d.ts +0 -9
  553. package/lib/steps/writing/creation/index.js +0 -78
  554. package/lib/steps/writing/creation/index.js.map +0 -1
  555. package/lib/steps/writing/creation/rootFiles.d.ts +0 -24
  556. package/lib/steps/writing/creation/rootFiles.js +0 -152
  557. package/lib/steps/writing/creation/rootFiles.js.map +0 -1
  558. package/lib/steps/writing/creation/src.d.ts +0 -12
  559. package/lib/steps/writing/creation/src.js +0 -90
  560. package/lib/steps/writing/creation/src.js.map +0 -1
  561. package/lib/steps/writing/creation/writeAllContributorsRC.d.ts +0 -7
  562. package/lib/steps/writing/creation/writeAllContributorsRC.js +0 -18
  563. package/lib/steps/writing/creation/writeAllContributorsRC.js.map +0 -1
  564. package/lib/steps/writing/creation/writePackageJson.d.ts +0 -7
  565. package/lib/steps/writing/creation/writePackageJson.js +0 -118
  566. package/lib/steps/writing/creation/writePackageJson.js.map +0 -1
  567. package/lib/steps/writing/types.d.ts +0 -5
  568. package/lib/steps/writing/types.js +0 -1
  569. package/lib/steps/writing/types.js.map +0 -1
  570. package/lib/steps/writing/writeStructure.d.ts +0 -7
  571. package/lib/steps/writing/writeStructure.js +0 -22
  572. package/lib/steps/writing/writeStructure.js.map +0 -1
  573. package/lib/steps/writing/writeStructureWorker.d.ts +0 -5
  574. package/lib/steps/writing/writeStructureWorker.js +0 -47
  575. package/lib/steps/writing/writeStructureWorker.js.map +0 -1
  576. /package/lib/{next/blocks → blocks}/blockESLintComments.js +0 -0
  577. /package/lib/{next/blocks → blocks}/blockESLintJSDoc.js +0 -0
  578. /package/lib/{next/blocks → blocks}/blockESLintJSONC.js +0 -0
  579. /package/lib/{next/blocks → blocks}/blockESLintMarkdown.js +0 -0
  580. /package/lib/{next/blocks → blocks}/blockESLintMoreStyling.js +0 -0
  581. /package/lib/{next/blocks → blocks}/blockESLintPackageJson.js +0 -0
  582. /package/lib/{next/blocks → blocks}/blockESLintPerfectionist.js +0 -0
  583. /package/lib/{next/blocks → blocks}/blockESLintRegexp.js +0 -0
  584. /package/lib/{next/blocks → blocks}/blockESLintYML.js +0 -0
  585. /package/lib/{next/blocks → blocks}/blockGitHubApps.js +0 -0
  586. /package/lib/{next/blocks → blocks}/blockGitHubPRTemplate.js +0 -0
  587. /package/lib/{next/blocks → blocks}/blockMITLicense.js +0 -0
  588. /package/lib/{next/blocks → blocks}/blockNvmrc.js +0 -0
  589. /package/lib/{next/blocks → blocks}/blockPnpmDedupe.js +0 -0
  590. /package/lib/{next/blocks → blocks}/blockPrettierPluginCurly.js +0 -0
  591. /package/lib/{next/blocks → blocks}/blockPrettierPluginPackageJson.js +0 -0
  592. /package/lib/{next/blocks → blocks}/blockPrettierPluginSh.js +0 -0
  593. /package/lib/{next/blocks → blocks}/blockRepositorySecrets.js +0 -0
  594. /package/lib/{next/blocks → blocks}/blockRepositorySettings.js +0 -0
  595. /package/lib/{next/blocks → blocks}/blockSecurityDocs.js +0 -0
  596. /package/lib/{next/blocks → blocks}/blockVSCode.js +0 -0
  597. /package/lib/{steps/writing/creation/dotGitHub → blocks/files}/createMultiWorkflowFile.d.ts +0 -0
  598. /package/lib/{steps/writing/creation/dotGitHub → blocks/files}/createSoloWorkflowFile.d.ts +0 -0
  599. /package/lib/{steps/writing/creation/formatters → blocks/files}/formatIgnoreFile.d.ts +0 -0
  600. /package/lib/{steps/writing/creation/formatters → blocks/files}/formatIgnoreFile.js +0 -0
  601. /package/lib/{steps/writing/creation/dotGitHub → blocks/files}/formatWorkflowYaml.d.ts +0 -0
  602. /package/lib/{steps/writing/creation/formatters → blocks/files}/formatYaml.d.ts +0 -0
  603. /package/lib/{next/blocks → blocks}/options.fakes.d.ts +0 -0
  604. /package/lib/{next/blocks → blocks}/options.fakes.js +0 -0
  605. /package/lib/{steps/initializeGitHubRepository → blocks}/outcomeLabels.d.ts +0 -0
  606. /package/lib/{next/blocks → blocks}/phases.d.ts +0 -0
  607. /package/lib/{next/blocks → blocks}/phases.js +0 -0
  608. /package/lib/{shared/options/createOptionDefaults → options}/getUsageFromReadme.d.ts +0 -0
  609. /package/lib/{shared/options/createOptionDefaults → options}/getUsageFromReadme.js +0 -0
  610. /package/lib/{shared/options/createOptionDefaults → options}/parsePackageAuthor.js +0 -0
  611. /package/lib/{next → options}/readDescriptionFromReadme.d.ts +0 -0
  612. /package/lib/{next → options}/readDescriptionFromReadme.js +0 -0
  613. /package/lib/{shared/options/createOptionDefaults → options}/readEmails.d.ts +0 -0
  614. /package/lib/{shared → options}/readFileAsJson.d.ts +0 -0
  615. /package/lib/{shared → options}/readFileAsJson.js +0 -0
  616. /package/lib/{shared → options}/readFileSafe.d.ts +0 -0
  617. /package/lib/{shared → options}/readFileSafe.js +0 -0
  618. /package/lib/{shared/options/createOptionDefaults → options}/readFunding.d.ts +0 -0
  619. /package/lib/{shared/options/createOptionDefaults → options}/readGitHubEmail.d.ts +0 -0
  620. /package/lib/{shared/options/createOptionDefaults → options}/readGuide.d.ts +0 -0
  621. /package/lib/{shared/options → options}/readLogoSizing.d.ts +0 -0
  622. /package/lib/{next/utils → utils}/resolveBin.d.ts +0 -0
  623. /package/lib/{next/utils → utils}/resolveBin.js +0 -0
  624. /package/lib/{next/utils → utils}/sortObject.d.ts +0 -0
  625. /package/lib/{next/utils → utils}/sortObject.js +0 -0
  626. /package/lib/{next/utils → utils}/swallowError.d.ts +0 -0
  627. /package/lib/{next/utils → utils}/swallowError.js +0 -0
  628. /package/lib/{shared → utils}/tryCatchAsync.d.ts +0 -0
  629. /package/lib/{shared → utils}/tryCatchAsync.js +0 -0
  630. /package/lib/{shared → utils}/tryCatchLazyValueAsync.d.ts +0 -0
  631. /package/lib/{shared → utils}/tryCatchLazyValueAsync.js +0 -0
@@ -1,8 +1,8 @@
1
- import * as create from 'create';
1
+ import * as bingo_stratum from 'bingo-stratum';
2
2
 
3
- declare const blockAllContributors: create.BlockWithoutAddons<{
4
- description: string;
3
+ declare const blockAllContributors: bingo_stratum.BlockWithoutAddons<{
5
4
  access: "public" | "restricted";
5
+ description: string;
6
6
  directory: string;
7
7
  email: {
8
8
  github: string;
@@ -14,19 +14,19 @@ declare const blockAllContributors: create.BlockWithoutAddons<{
14
14
  author?: string | undefined;
15
15
  bin?: string | undefined;
16
16
  contributors?: {
17
- name: string;
18
17
  avatar_url: string;
19
18
  contributions: string[];
20
19
  login: string;
20
+ name: string;
21
21
  profile: string;
22
22
  }[] | undefined;
23
23
  documentation?: string | undefined;
24
+ explainer?: string[] | undefined;
24
25
  funding?: string | undefined;
25
26
  guide?: {
26
27
  href: string;
27
28
  title: string;
28
29
  } | undefined;
29
- hideTemplatedBy?: boolean | undefined;
30
30
  keywords?: string[] | undefined;
31
31
  logo?: {
32
32
  alt: string;
@@ -43,6 +43,7 @@ declare const blockAllContributors: create.BlockWithoutAddons<{
43
43
  devDependencies?: Record<string, string> | undefined;
44
44
  scripts?: Record<string, string> | undefined;
45
45
  } | undefined;
46
+ rulesetId?: string | undefined;
46
47
  usage?: string | undefined;
47
48
  version?: string | undefined;
48
49
  }>;
@@ -0,0 +1,139 @@
1
+ import _ from "lodash";
2
+ import { base } from "../base.js";
3
+ import { blockREADME } from "./blockREADME.js";
4
+ import { blockRepositorySecrets } from "./blockRepositorySecrets.js";
5
+ import { createSoloWorkflowFile } from "./files/createSoloWorkflowFile.js";
6
+ import { CommandPhase } from "./phases.js";
7
+ const blockAllContributors = base.createBlock({
8
+ about: {
9
+ name: "AllContributors"
10
+ },
11
+ produce({ options }) {
12
+ const contributions = options.contributors?.length;
13
+ return {
14
+ addons: [
15
+ blockREADME({
16
+ badges: [
17
+ `<!-- prettier-ignore-start -->
18
+ <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
19
+ <a href="#contributors" target="_blank"><img alt="\u{1F46A} All Contributors: ${contributions}" src="https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-${contributions}-21bb42.svg" /></a>
20
+ <!-- ALL-CONTRIBUTORS-BADGE:END -->
21
+ <!-- prettier-ignore-end -->`
22
+ ],
23
+ sections: options.contributors ? [printAllContributorsTable(options.contributors)] : void 0
24
+ }),
25
+ blockRepositorySecrets({
26
+ secrets: [
27
+ {
28
+ description: "a GitHub PAT with repo and workflow permissions",
29
+ name: "ACCESS_TOKEN"
30
+ }
31
+ ]
32
+ })
33
+ ],
34
+ files: {
35
+ ".all-contributorsrc": JSON.stringify({
36
+ badgeTemplate: ' <a href="#contributors" target="_blank"><img alt="\u{1F46A} All Contributors: <%= contributors.length %>" src="https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-<%= contributors.length %>-21bb42.svg" /></a>',
37
+ contributors: options.contributors ?? [],
38
+ contributorsSortAlphabetically: true,
39
+ projectName: options.repository,
40
+ projectOwner: options.owner
41
+ }),
42
+ ".github": {
43
+ workflows: {
44
+ "contributors.yml": createSoloWorkflowFile({
45
+ name: "Contributors",
46
+ on: {
47
+ push: {
48
+ branches: ["main"]
49
+ }
50
+ },
51
+ steps: [
52
+ { uses: "actions/checkout@v4", with: { "fetch-depth": 0 } },
53
+ { uses: "./.github/actions/prepare" },
54
+ {
55
+ env: { GITHUB_TOKEN: "${{ secrets.ACCESS_TOKEN }}" },
56
+ uses: `JoshuaKGoldberg/all-contributors-auto-action@v0.5.0`
57
+ }
58
+ ]
59
+ })
60
+ }
61
+ }
62
+ },
63
+ scripts: [
64
+ {
65
+ commands: [
66
+ `pnpx all-contributors-cli add ${options.owner} code,content,doc,ideas,infra,maintenance,projectManagement,tool`
67
+ ],
68
+ phase: CommandPhase.Process
69
+ }
70
+ ]
71
+ };
72
+ }
73
+ });
74
+ function printAllContributorsTable(contributors) {
75
+ return [
76
+ `## Contributors`,
77
+ ``,
78
+ `<!-- spellchecker: disable -->`,
79
+ `<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->`,
80
+ `<!-- prettier-ignore-start -->`,
81
+ `<!-- markdownlint-disable -->`,
82
+ `<table>`,
83
+ ` <tbody>`,
84
+ ` <tr>`,
85
+ // This intentionally uses the same sort as all-contributors-cli:
86
+ // https://github.com/all-contributors/cli/blob/74bc388bd6f0ae2658e6495e9d3781d737438a97/src/generate/index.js#L76
87
+ ..._.sortBy(contributors, "name").flatMap((contributor, i) => {
88
+ const row = printContributorCell(contributor);
89
+ return i && i % 7 === 0 ? [` </tr>`, ` <tr>`, row] : [row];
90
+ }),
91
+ ` </tr>`,
92
+ ` </tbody>`,
93
+ `</table>`,
94
+ ``,
95
+ `<!-- markdownlint-restore -->`,
96
+ `<!-- prettier-ignore-end -->`,
97
+ ``,
98
+ `<!-- ALL-CONTRIBUTORS-LIST:END -->`,
99
+ `<!-- spellchecker: enable -->`
100
+ ].join("\n");
101
+ }
102
+ function printContributorCell(contributor) {
103
+ return [
104
+ ` <td align="center" valign="top" width="14.28%">`,
105
+ `<a href="${contributor.profile}">`,
106
+ `<img src="${contributor.avatar_url}?s=100" width="100px;" alt="${contributor.name}"/>`,
107
+ `<br />`,
108
+ `<sub><b>${contributor.name}</b></sub></a><br />`,
109
+ contributor.contributions.map((contribution) => {
110
+ switch (contribution) {
111
+ case "bug":
112
+ return `<a href="https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=author%3A${contributor.login}" title="Bug reports">\u{1F41B}</a>`;
113
+ case "code":
114
+ return `<a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=${contributor.login}" title="Code">\u{1F4BB}</a>`;
115
+ case "design":
116
+ return `<a href="#design-${contributor.login}" title="Design">\u{1F3A8}</a>`;
117
+ case "doc":
118
+ return `<a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=${contributor.login}" title="Documentation">\u{1F4D6}</a>`;
119
+ case "ideas":
120
+ return `<a href="#ideas-${contributor.login}" title="Ideas, Planning, & Feedback">\u{1F914}</a>`;
121
+ case "infra":
122
+ return `<a href="#infra-${contributor.login}" title="Infrastructure (Hosting, Build-Tools, etc)">\u{1F687}</a>`;
123
+ case "maintenance":
124
+ return `<a href="#maintenance-${contributor.login}" title="Maintenance">\u{1F6A7}</a>`;
125
+ case "review":
126
+ return `<a href="https://github.com/JoshuaKGoldberg/create-typescript-app/pulls?q=is%3Apr+reviewed-by%3A${contributor.login}" title="Reviewed Pull Requests">\u{1F440}</a>`;
127
+ case "test":
128
+ return `<a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=${contributor.login}" title="Tests">\u26A0\uFE0F</a>`;
129
+ case "tool":
130
+ return `<a href="#tool-${contributor.login}" title="Tools">\u{1F527}</a>`;
131
+ }
132
+ }).join(" "),
133
+ `</td>`
134
+ ].join("");
135
+ }
136
+ export {
137
+ blockAllContributors
138
+ };
139
+ //# sourceMappingURL=blockAllContributors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/blocks/blockAllContributors.ts"],"sourcesContent":["import _ from \"lodash\";\n\nimport { base, Contributor } from \"../base.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\treturn {\n\t\t\taddons: [\n\t\t\t\tblockREADME({\n\t\t\t\t\tbadges: [\n\t\t\t\t\t\t`<!-- prettier-ignore-start -->\n\\t<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n\\t<a href=\"#contributors\" target=\"_blank\"><img alt=\"👪 All Contributors: ${contributions}\" src=\"https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-${contributions}-21bb42.svg\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\\t<!-- prettier-ignore-end -->`,\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\tbadgeTemplate:\n\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\tcontributors: options.contributors ?? [],\n\t\t\t\t\tcontributorsSortAlphabetically: true,\n\t\t\t\t\tprojectName: options.repository,\n\t\t\t\t\tprojectOwner: options.owner,\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.yml\": 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{ uses: \"actions/checkout@v4\", with: { \"fetch-depth\": 0 } },\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: `JoshuaKGoldberg/all-contributors-auto-action@v0.5.0`,\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 add ${options.owner} code,content,doc,ideas,infra,maintenance,projectManagement,tool`,\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`<!-- markdownlint-disable -->`,\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`<!-- markdownlint-restore -->`,\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":"AAAA,OAAO,OAAO;AAEd,SAAS,YAAyB;AAClC,SAAS,mBAAmB;AAC5B,SAAS,8BAA8B;AACvC,SAAS,8BAA8B;AACvC,SAAS,oBAAoB;AAEtB,MAAM,uBAAuB,KAAK,YAAY;AAAA,EACpD,OAAO;AAAA,IACN,MAAM;AAAA,EACP;AAAA,EACA,QAAQ,EAAE,QAAQ,GAAG;AACpB,UAAM,gBAAgB,QAAQ,cAAc;AAC5C,WAAO;AAAA,MACN,QAAQ;AAAA,QACP,YAAY;AAAA,UACX,QAAQ;AAAA,YACP;AAAA;AAAA,iFAEqE,aAAa,qEAAqE,aAAa;AAAA;AAAA;AAAA,UAGrK;AAAA,UACA,UAAU,QAAQ,eACf,CAAC,0BAA0B,QAAQ,YAAY,CAAC,IAChD;AAAA,QACJ,CAAC;AAAA,QACD,uBAAuB;AAAA,UACtB,SAAS;AAAA,YACR;AAAA,cACC,aAAa;AAAA,cACb,MAAM;AAAA,YACP;AAAA,UACD;AAAA,QACD,CAAC;AAAA,MACF;AAAA,MACA,OAAO;AAAA,QACN,uBAAuB,KAAK,UAAU;AAAA,UACrC,eACC;AAAA,UACD,cAAc,QAAQ,gBAAgB,CAAC;AAAA,UACvC,gCAAgC;AAAA,UAChC,aAAa,QAAQ;AAAA,UACrB,cAAc,QAAQ;AAAA,QACvB,CAAC;AAAA,QACD,WAAW;AAAA,UACV,WAAW;AAAA,YACV,oBAAoB,uBAAuB;AAAA,cAC1C,MAAM;AAAA,cACN,IAAI;AAAA,gBACH,MAAM;AAAA,kBACL,UAAU,CAAC,MAAM;AAAA,gBAClB;AAAA,cACD;AAAA,cACA,OAAO;AAAA,gBACN,EAAE,MAAM,uBAAuB,MAAM,EAAE,eAAe,EAAE,EAAE;AAAA,gBAC1D,EAAE,MAAM,4BAA4B;AAAA,gBACpC;AAAA,kBACC,KAAK,EAAE,cAAc,8BAA8B;AAAA,kBACnD,MAAM;AAAA,gBACP;AAAA,cACD;AAAA,YACD,CAAC;AAAA,UACF;AAAA,QACD;AAAA,MACD;AAAA,MACA,SAAS;AAAA,QACR;AAAA,UACC,UAAU;AAAA,YACT,iCAAiC,QAAQ,KAAK;AAAA,UAC/C;AAAA,UACA,OAAO,aAAa;AAAA,QACrB;AAAA,MACD;AAAA,IACD;AAAA,EACD;AACD,CAAC;AAED,SAAS,0BAA0B,cAA6B;AAC/D,SAAO;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAAA;AAAA,IAGA,GAAG,EAAE,OAAO,cAAc,MAAM,EAAE,QAAQ,CAAC,aAAa,MAAM;AAC7D,YAAM,MAAM,qBAAqB,WAAW;AAE5C,aAAO,KAAK,IAAI,MAAM,IAAI,CAAC,aAAa,YAAY,GAAG,IAAI,CAAC,GAAG;AAAA,IAChE,CAAC;AAAA,IACD;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD,EAAE,KAAK,IAAI;AACZ;AAEA,SAAS,qBAAqB,aAA0B;AACvD,SAAO;AAAA,IACN;AAAA,IACA,YAAY,YAAY,OAAO;AAAA,IAC/B,aAAa,YAAY,UAAU,+BAA+B,YAAY,IAAI;AAAA,IAClF;AAAA,IACA,WAAW,YAAY,IAAI;AAAA,IAC3B,YAAY,cACV,IAAI,CAAC,iBAAiB;AACtB,cAAQ,cAAc;AAAA,QACrB,KAAK;AACJ,iBAAO,uFAAuF,YAAY,KAAK;AAAA,QAChH,KAAK;AACJ,iBAAO,oFAAoF,YAAY,KAAK;AAAA,QAC7G,KAAK;AACJ,iBAAO,oBAAoB,YAAY,KAAK;AAAA,QAC7C,KAAK;AACJ,iBAAO,oFAAoF,YAAY,KAAK;AAAA,QAC7G,KAAK;AACJ,iBAAO,mBAAmB,YAAY,KAAK;AAAA,QAC5C,KAAK;AACJ,iBAAO,mBAAmB,YAAY,KAAK;AAAA,QAC5C,KAAK;AACJ,iBAAO,yBAAyB,YAAY,KAAK;AAAA,QAClD,KAAK;AACJ,iBAAO,mGAAmG,YAAY,KAAK;AAAA,QAC5H,KAAK;AACJ,iBAAO,oFAAoF,YAAY,KAAK;AAAA,QAC7G,KAAK;AACJ,iBAAO,kBAAkB,YAAY,KAAK;AAAA,MAC5C;AAAA,IACD,CAAC,EACA,KAAK,GAAG;AAAA,IACV;AAAA,EACD,EAAE,KAAK,EAAE;AACV;","names":[]}
@@ -1,8 +1,8 @@
1
- import * as create from 'create';
1
+ import * as bingo_stratum from 'bingo-stratum';
2
2
 
3
- declare const blockAreTheTypesWrong: create.BlockWithoutAddons<{
4
- description: string;
3
+ declare const blockAreTheTypesWrong: bingo_stratum.BlockWithoutAddons<{
5
4
  access: "public" | "restricted";
5
+ description: string;
6
6
  directory: string;
7
7
  email: {
8
8
  github: string;
@@ -14,19 +14,19 @@ declare const blockAreTheTypesWrong: create.BlockWithoutAddons<{
14
14
  author?: string | undefined;
15
15
  bin?: string | undefined;
16
16
  contributors?: {
17
- name: string;
18
17
  avatar_url: string;
19
18
  contributions: string[];
20
19
  login: string;
20
+ name: string;
21
21
  profile: string;
22
22
  }[] | undefined;
23
23
  documentation?: string | undefined;
24
+ explainer?: string[] | undefined;
24
25
  funding?: string | undefined;
25
26
  guide?: {
26
27
  href: string;
27
28
  title: string;
28
29
  } | undefined;
29
- hideTemplatedBy?: boolean | undefined;
30
30
  keywords?: string[] | undefined;
31
31
  logo?: {
32
32
  alt: string;
@@ -43,6 +43,7 @@ declare const blockAreTheTypesWrong: create.BlockWithoutAddons<{
43
43
  devDependencies?: Record<string, string> | undefined;
44
44
  scripts?: Record<string, string> | undefined;
45
45
  } | undefined;
46
+ rulesetId?: string | undefined;
46
47
  usage?: string | undefined;
47
48
  version?: string | undefined;
48
49
  }>;
@@ -2,7 +2,7 @@ import { base } from "../base.js";
2
2
  import { blockGitHubActionsCI } from "./blockGitHubActionsCI.js";
3
3
  const blockAreTheTypesWrong = base.createBlock({
4
4
  about: {
5
- name: "README.md"
5
+ name: "Are The Types Wrong"
6
6
  },
7
7
  produce() {
8
8
  return {
@@ -12,6 +12,7 @@ const blockAreTheTypesWrong = base.createBlock({
12
12
  {
13
13
  name: "Are The Types Wrong?",
14
14
  steps: [
15
+ { run: "pnpm build" },
15
16
  {
16
17
  run: "npx --yes @arethetypeswrong/cli --pack . --ignore-rules cjs-resolves-to-esm"
17
18
  }
@@ -0,0 +1 @@
1
+ {"version":3,"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\",\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":"AAAA,SAAS,YAAY;AACrB,SAAS,4BAA4B;AAE9B,MAAM,wBAAwB,KAAK,YAAY;AAAA,EACrD,OAAO;AAAA,IACN,MAAM;AAAA,EACP;AAAA,EACA,UAAU;AACT,WAAO;AAAA,MACN,QAAQ;AAAA,QACP,qBAAqB;AAAA,UACpB,MAAM;AAAA,YACL;AAAA,cACC,MAAM;AAAA,cACN,OAAO;AAAA,gBACN,EAAE,KAAK,aAAa;AAAA,gBACpB;AAAA,kBACC,KAAK;AAAA,gBACN;AAAA,cACD;AAAA,YACD;AAAA,UACD;AAAA,QACD,CAAC;AAAA,MACF;AAAA,IACD;AAAA,EACD;AACD,CAAC;","names":[]}
@@ -1,11 +1,11 @@
1
- import * as create from 'create';
1
+ import * as bingo_stratum from 'bingo-stratum';
2
2
 
3
- declare const blockCSpell: create.BlockWithAddons<{
3
+ declare const blockCSpell: bingo_stratum.BlockWithAddons<{
4
4
  ignores: string[];
5
5
  words: string[];
6
6
  }, {
7
- description: string;
8
7
  access: "public" | "restricted";
8
+ description: string;
9
9
  directory: string;
10
10
  email: {
11
11
  github: string;
@@ -17,19 +17,19 @@ declare const blockCSpell: create.BlockWithAddons<{
17
17
  author?: string | undefined;
18
18
  bin?: string | undefined;
19
19
  contributors?: {
20
- name: string;
21
20
  avatar_url: string;
22
21
  contributions: string[];
23
22
  login: string;
23
+ name: string;
24
24
  profile: string;
25
25
  }[] | undefined;
26
26
  documentation?: string | undefined;
27
+ explainer?: string[] | undefined;
27
28
  funding?: string | undefined;
28
29
  guide?: {
29
30
  href: string;
30
31
  title: string;
31
32
  } | undefined;
32
- hideTemplatedBy?: boolean | undefined;
33
33
  keywords?: string[] | undefined;
34
34
  logo?: {
35
35
  alt: string;
@@ -46,6 +46,7 @@ declare const blockCSpell: create.BlockWithAddons<{
46
46
  devDependencies?: Record<string, string> | undefined;
47
47
  scripts?: Record<string, string> | undefined;
48
48
  } | undefined;
49
+ rulesetId?: string | undefined;
49
50
  usage?: string | undefined;
50
51
  version?: string | undefined;
51
52
  }>;
@@ -1,12 +1,12 @@
1
1
  import { getObjectStringsDeep } from "object-strings-deep";
2
2
  import { z } from "zod";
3
3
  import { base } from "../base.js";
4
+ import { getPackageDependencies } from "../data/packageData.js";
4
5
  import { resolveBin } from "../utils/resolveBin.js";
5
6
  import { blockDevelopmentDocs } from "./blockDevelopmentDocs.js";
6
7
  import { blockGitHubActionsCI } from "./blockGitHubActionsCI.js";
7
8
  import { blockPackageJson } from "./blockPackageJson.js";
8
9
  import { blockVSCode } from "./blockVSCode.js";
9
- import { getPackageDependencies } from "./packageData.js";
10
10
  import { CommandPhase } from "./phases.js";
11
11
  const filesGlob = `"**" ".github/**/*"`;
12
12
  const blockCSpell = base.createBlock({
@@ -17,19 +17,6 @@ const blockCSpell = base.createBlock({
17
17
  ignores: z.array(z.string()).default([]),
18
18
  words: z.array(z.string()).default([])
19
19
  },
20
- initialize({ options }) {
21
- const wordArgs = getObjectStringsDeep(options).map((word) => `--words "${word.replaceAll(`"`, " ")}"`).join(" ");
22
- return {
23
- scripts: [
24
- {
25
- commands: [
26
- `node ${resolveBin("cspell-populate-words/bin/index.mjs")} ${wordArgs}`
27
- ],
28
- phase: CommandPhase.Process
29
- }
30
- ]
31
- };
32
- },
33
20
  produce({ addons }) {
34
21
  const { ignores, words } = addons;
35
22
  return {
@@ -80,6 +67,19 @@ const blockCSpell = base.createBlock({
80
67
  })
81
68
  }
82
69
  };
70
+ },
71
+ setup({ options }) {
72
+ const wordArgs = getObjectStringsDeep(options).map((word) => `--words "${word.replaceAll(`"`, " ")}"`).join(" ");
73
+ return {
74
+ scripts: [
75
+ {
76
+ commands: [
77
+ `node ${resolveBin("cspell-populate-words/bin/index.mjs")} ${wordArgs}`
78
+ ],
79
+ phase: CommandPhase.Process
80
+ }
81
+ ]
82
+ };
83
83
  }
84
84
  });
85
85
  export {
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/blocks/blockCSpell.ts"],"sourcesContent":["import { 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 { blockVSCode } from \"./blockVSCode.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nconst filesGlob = `\"**\" \".github/**/*\"`;\n\nexport const blockCSpell = base.createBlock({\n\tabout: {\n\t\tname: \"CSpell\",\n\t},\n\taddons: {\n\t\tignores: z.array(z.string()).default([]),\n\t\twords: z.array(z.string()).default([]),\n\t},\n\tproduce({ addons }) {\n\t\tconst { ignores, words } = 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\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: [\n\t\t\t\t\t\t\".github\",\n\t\t\t\t\t\t\"CHANGELOG.md\",\n\t\t\t\t\t\t\"lib\",\n\t\t\t\t\t\t\"node_modules\",\n\t\t\t\t\t\t\"pnpm-lock.yaml\",\n\t\t\t\t\t\t...ignores,\n\t\t\t\t\t].sort(),\n\t\t\t\t\t...(words.length && { words: words.sort() }),\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});\n"],"mappings":"AAAA,SAAS,4BAA4B;AACrC,SAAS,SAAS;AAElB,SAAS,YAAY;AACrB,SAAS,8BAA8B;AACvC,SAAS,kBAAkB;AAC3B,SAAS,4BAA4B;AACrC,SAAS,4BAA4B;AACrC,SAAS,wBAAwB;AACjC,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAE7B,MAAM,YAAY;AAEX,MAAM,cAAc,KAAK,YAAY;AAAA,EAC3C,OAAO;AAAA,IACN,MAAM;AAAA,EACP;AAAA,EACA,QAAQ;AAAA,IACP,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,CAAC;AAAA,IACvC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,CAAC;AAAA,EACtC;AAAA,EACA,QAAQ,EAAE,OAAO,GAAG;AACnB,UAAM,EAAE,SAAS,MAAM,IAAI;AAE3B,WAAO;AAAA,MACN,QAAQ;AAAA,QACP,qBAAqB;AAAA,UACpB,UAAU;AAAA,YACT,SAAS;AAAA,cACR,UAAU;AAAA,gBACT,OAAO;AAAA,kBACN;AAAA,gBACD;AAAA,cACD;AAAA,YACD;AAAA,UACD;AAAA,QACD,CAAC;AAAA,QACD,YAAY;AAAA,UACX,YAAY,CAAC,uCAAuC;AAAA,QACrD,CAAC;AAAA,QACD,qBAAqB;AAAA,UACpB,MAAM;AAAA,YACL;AAAA,cACC,MAAM;AAAA,cACN,OAAO,CAAC,EAAE,KAAK,qBAAqB,CAAC;AAAA,YACtC;AAAA,UACD;AAAA,QACD,CAAC;AAAA,QACD,iBAAiB;AAAA,UAChB,YAAY;AAAA,YACX,iBAAiB,uBAAuB,QAAQ;AAAA,YAChD,SAAS;AAAA,cACR,iBAAiB,UAAU,SAAS;AAAA,YACrC;AAAA,UACD;AAAA,QACD,CAAC;AAAA,MACF;AAAA,MACA,OAAO;AAAA,QACN,eAAe,KAAK,UAAU;AAAA,UAC7B,cAAc,CAAC,OAAO,QAAQ,YAAY;AAAA,UAC1C,aAAa;AAAA,YACZ;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA,GAAG;AAAA,UACJ,EAAE,KAAK;AAAA,UACP,GAAI,MAAM,UAAU,EAAE,OAAO,MAAM,KAAK,EAAE;AAAA,QAC3C,CAAC;AAAA,MACF;AAAA,IACD;AAAA,EACD;AAAA,EACA,MAAM,EAAE,QAAQ,GAAG;AAClB,UAAM,WAAW,qBAAqB,OAAO,EAC3C,IAAI,CAAC,SAAS,YAAY,KAAK,WAAW,KAAK,GAAG,CAAC,GAAG,EACtD,KAAK,GAAG;AAEV,WAAO;AAAA,MACN,SAAS;AAAA,QACR;AAAA,UACC,UAAU;AAAA,YACT,QAAQ,WAAW,qCAAqC,CAAC,IAAI,QAAQ;AAAA,UACtE;AAAA,UACA,OAAO,aAAa;AAAA,QACrB;AAAA,MACD;AAAA,IACD;AAAA,EACD;AACD,CAAC;","names":[]}
@@ -0,0 +1,53 @@
1
+ import * as bingo_stratum from 'bingo-stratum';
2
+
3
+ declare const blockCodecov: bingo_stratum.BlockWithAddons<{
4
+ env?: Record<string, string> | undefined;
5
+ }, {
6
+ access: "public" | "restricted";
7
+ description: string;
8
+ directory: string;
9
+ email: {
10
+ github: string;
11
+ npm: string;
12
+ };
13
+ title: string;
14
+ owner: string;
15
+ repository: string;
16
+ author?: string | undefined;
17
+ bin?: string | undefined;
18
+ contributors?: {
19
+ avatar_url: string;
20
+ contributions: string[];
21
+ login: string;
22
+ name: string;
23
+ profile: string;
24
+ }[] | undefined;
25
+ documentation?: string | undefined;
26
+ explainer?: string[] | undefined;
27
+ funding?: string | undefined;
28
+ guide?: {
29
+ href: string;
30
+ title: string;
31
+ } | undefined;
32
+ keywords?: string[] | undefined;
33
+ logo?: {
34
+ alt: string;
35
+ src: string;
36
+ height?: number | undefined;
37
+ width?: number | undefined;
38
+ } | undefined;
39
+ node?: {
40
+ minimum: string;
41
+ pinned?: string | undefined;
42
+ } | undefined;
43
+ packageData?: {
44
+ dependencies?: Record<string, string> | undefined;
45
+ devDependencies?: Record<string, string> | undefined;
46
+ scripts?: Record<string, string> | undefined;
47
+ } | undefined;
48
+ rulesetId?: string | undefined;
49
+ usage?: string | undefined;
50
+ version?: string | undefined;
51
+ }>;
52
+
53
+ export { blockCodecov };
@@ -0,0 +1,50 @@
1
+ import { z } from "zod";
2
+ import { base } from "../base.js";
3
+ import { blockGitHubApps } from "./blockGitHubApps.js";
4
+ import { blockVitest } from "./blockVitest.js";
5
+ import { CommandPhase } from "./phases.js";
6
+ const blockCodecov = base.createBlock({
7
+ about: {
8
+ name: "Codecov"
9
+ },
10
+ addons: { env: z.record(z.string(), z.string()).optional() },
11
+ produce({ addons }) {
12
+ const { env } = addons;
13
+ return {
14
+ addons: [
15
+ blockGitHubApps({
16
+ apps: [
17
+ {
18
+ name: "Codecov",
19
+ url: "https://github.com/apps/codecov"
20
+ }
21
+ ]
22
+ }),
23
+ blockVitest({
24
+ actionSteps: [
25
+ {
26
+ ...env && { env },
27
+ if: "always()",
28
+ uses: "codecov/codecov-action@v3"
29
+ }
30
+ ]
31
+ })
32
+ ]
33
+ };
34
+ },
35
+ transition() {
36
+ return {
37
+ scripts: [
38
+ {
39
+ commands: ["rm .github/codecov.yml codecov.yml"],
40
+ phase: CommandPhase.Migrations,
41
+ silent: true
42
+ }
43
+ ]
44
+ };
45
+ }
46
+ });
47
+ export {
48
+ blockCodecov
49
+ };
50
+ //# sourceMappingURL=blockCodecov.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/blocks/blockCodecov.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { blockGitHubApps } from \"./blockGitHubApps.js\";\nimport { blockVitest } from \"./blockVitest.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nexport const blockCodecov = base.createBlock({\n\tabout: {\n\t\tname: \"Codecov\",\n\t},\n\taddons: { env: z.record(z.string(), z.string()).optional() },\n\tproduce({ addons }) {\n\t\tconst { env } = addons;\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockGitHubApps({\n\t\t\t\t\tapps: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Codecov\",\n\t\t\t\t\t\t\turl: \"https://github.com/apps/codecov\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockVitest({\n\t\t\t\t\tactionSteps: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t...(env && { env }),\n\t\t\t\t\t\t\tif: \"always()\",\n\t\t\t\t\t\t\tuses: \"codecov/codecov-action@v3\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [\"rm .github/codecov.yml codecov.yml\"],\n\t\t\t\t\tphase: CommandPhase.Migrations,\n\t\t\t\t\tsilent: true,\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":"AAAA,SAAS,SAAS;AAElB,SAAS,YAAY;AACrB,SAAS,uBAAuB;AAChC,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAEtB,MAAM,eAAe,KAAK,YAAY;AAAA,EAC5C,OAAO;AAAA,IACN,MAAM;AAAA,EACP;AAAA,EACA,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE;AAAA,EAC3D,QAAQ,EAAE,OAAO,GAAG;AACnB,UAAM,EAAE,IAAI,IAAI;AAChB,WAAO;AAAA,MACN,QAAQ;AAAA,QACP,gBAAgB;AAAA,UACf,MAAM;AAAA,YACL;AAAA,cACC,MAAM;AAAA,cACN,KAAK;AAAA,YACN;AAAA,UACD;AAAA,QACD,CAAC;AAAA,QACD,YAAY;AAAA,UACX,aAAa;AAAA,YACZ;AAAA,cACC,GAAI,OAAO,EAAE,IAAI;AAAA,cACjB,IAAI;AAAA,cACJ,MAAM;AAAA,YACP;AAAA,UACD;AAAA,QACD,CAAC;AAAA,MACF;AAAA,IACD;AAAA,EACD;AAAA,EACA,aAAa;AACZ,WAAO;AAAA,MACN,SAAS;AAAA,QACR;AAAA,UACC,UAAU,CAAC,oCAAoC;AAAA,UAC/C,OAAO,aAAa;AAAA,UACpB,QAAQ;AAAA,QACT;AAAA,MACD;AAAA,IACD;AAAA,EACD;AACD,CAAC;","names":[]}
@@ -1,8 +1,8 @@
1
- import * as create from 'create';
1
+ import * as bingo_stratum from 'bingo-stratum';
2
2
 
3
- declare const blockContributingDocs: create.BlockWithoutAddons<{
4
- description: string;
3
+ declare const blockContributingDocs: bingo_stratum.BlockWithoutAddons<{
5
4
  access: "public" | "restricted";
5
+ description: string;
6
6
  directory: string;
7
7
  email: {
8
8
  github: string;
@@ -14,19 +14,19 @@ declare const blockContributingDocs: create.BlockWithoutAddons<{
14
14
  author?: string | undefined;
15
15
  bin?: string | undefined;
16
16
  contributors?: {
17
- name: string;
18
17
  avatar_url: string;
19
18
  contributions: string[];
20
19
  login: string;
20
+ name: string;
21
21
  profile: string;
22
22
  }[] | undefined;
23
23
  documentation?: string | undefined;
24
+ explainer?: string[] | undefined;
24
25
  funding?: string | undefined;
25
26
  guide?: {
26
27
  href: string;
27
28
  title: string;
28
29
  } | undefined;
29
- hideTemplatedBy?: boolean | undefined;
30
30
  keywords?: string[] | undefined;
31
31
  logo?: {
32
32
  alt: string;
@@ -43,6 +43,7 @@ declare const blockContributingDocs: create.BlockWithoutAddons<{
43
43
  devDependencies?: Record<string, string> | undefined;
44
44
  scripts?: Record<string, string> | undefined;
45
45
  } | undefined;
46
+ rulesetId?: string | undefined;
46
47
  usage?: string | undefined;
47
48
  version?: string | undefined;
48
49
  }>;
@@ -4,16 +4,6 @@ const blockContributingDocs = base.createBlock({
4
4
  about: {
5
5
  name: "Contributing Docs"
6
6
  },
7
- migrate() {
8
- return {
9
- scripts: [
10
- {
11
- commands: ["rm CONTRIBUTING.md"],
12
- phase: CommandPhase.Migrations
13
- }
14
- ]
15
- };
16
- },
17
7
  produce({ options }) {
18
8
  return {
19
9
  files: {
@@ -119,6 +109,17 @@ Please include your favorite emoji in the bottom of your issues and PRs to signa
119
109
  }
120
110
  }
121
111
  };
112
+ },
113
+ transition() {
114
+ return {
115
+ scripts: [
116
+ {
117
+ commands: ["rm CONTRIBUTING.md"],
118
+ phase: CommandPhase.Migrations,
119
+ silent: true
120
+ }
121
+ ]
122
+ };
122
123
  }
123
124
  });
124
125
  export {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/next/blocks/blockContributingDocs.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nexport const blockContributingDocs = base.createBlock({\n\tabout: {\n\t\tname: \"Contributing Docs\",\n\t},\n\tmigrate() {\n\t\treturn {\n\t\t\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [\"rm CONTRIBUTING.md\"],\n\t\t\t\t\tphase: CommandPhase.Migrations,\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\t\"CONTRIBUTING.md\": `# Contributing\n\nThanks for your interest in contributing to \\`${options.repository}\\`! 💖\n\n> After this page, see [DEVELOPMENT.md](./DEVELOPMENT.md) for local development instructions.\n\n## Code of Conduct\n\nThis project contains a [Contributor Covenant code of conduct](./CODE_OF_CONDUCT.md) all contributors are expected to follow.\n\n## Reporting Issues\n\nPlease do [report an issue on the issue tracker](https://github.com/${options.owner}/${options.repository}/issues/new/choose) if there's any bugfix, documentation improvement, or general enhancement you'd like to see in the repository! Please fully fill out all required fields in the most appropriate issue form.\n\n## Sending Contributions\n\nSending your own changes as contribution is always appreciated!\nThere are two steps involved:\n\n1. [Finding an Issue](#finding-an-issue)\n2. [Sending a Pull Request](#sending-a-pull-request)\n\n### Finding an Issue\n\nWith the exception of very small typos, all changes to this repository generally need to correspond to an [unassigned open issue marked as \\`status: accepting prs\\` on the issue tracker](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue+is%3Aopen+label%3A%22status%3A+accepting+prs%22+no%3Aassignee+).\nIf this is your first time contributing, consider searching for [unassigned issues that also have the \\`good first issue\\` label](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22+label%3A%22status%3A+accepting+prs%22+no%3Aassignee+).\nIf the issue you'd like to fix isn't found on the issue, see [Reporting Issues](#reporting-issues) for filing your own (please do!).\n\n#### Issue Claiming\n\nWe don't use any kind of issue claiming system.\nWe've found in the past that they result in accidental [\"licked cookie\"](https://devblogs.microsoft.com/oldnewthing/20091201-00/?p=15843) situations where contributors claim an issue but run out of time or energy trying before sending a PR.\n\nIf an unassigned issue has been marked as \\`status: accepting prs\\` and an open PR does not exist, feel free to send a PR.\nPlease don't post comments asking for permission or stating you will work on an issue.\n\n### Sending a Pull Request\n\nOnce you've identified an open issue accepting PRs that doesn't yet have a PR sent, you're free to send a pull request.\nBe sure to fill out the pull request template's requested information -- otherwise your PR will likely be closed.\n\nPRs are also expected to have a title that adheres to [conventional commits](https://www.conventionalcommits.org/en/v1.0.0).\nOnly PR titles need to be in that format, not individual commits.\nDon't worry if you get this wrong: you can always change the PR title after sending it.\nCheck [previously merged PRs](https://github.com/${options.owner}/${options.repository}/pulls?q=is%3Apr+is%3Amerged+-label%3Adependencies+) for reference.\n\n#### Draft PRs\n\nIf you don't think your PR is ready for review, [set it as a draft](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#converting-a-pull-request-to-a-draft).\nDraft PRs won't be reviewed.\n\n#### Granular PRs\n\nPlease keep pull requests single-purpose: in other words, don't attempt to solve multiple unrelated problems in one pull request.\nSend one PR per area of concern.\nMulti-purpose pull requests are harder and slower to review, block all changes from being merged until the whole pull request is reviewed, and are difficult to name well with semantic PR titles.\n\n#### Pull Request Reviews\n\nWhen a PR is not in draft, it's considered ready for review.\nPlease don't manually \\`@\\` tag anybody to request review.\nA maintainer will look at it when they're next able to.\n\nPRs should have passing [GitHub status checks](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks) before review is requested (unless there are explicit questions asked in the PR about any failures).\n\n#### Asking Questions\n\nIf you need help and/or have a question, posting a comment in the PR is a great way to do so.\nThere's no need to tag anybody individually.\nOne of us will drop by and help when we can.\n\nPlease post comments as [line comments](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request) when possible, so that they can be threaded.\nYou can [resolve conversations](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#resolving-conversations) on your own when you feel they're resolved - no need to comment explicitly and/or wait for a maintainer.\n\n#### Requested Changes\n\nAfter a maintainer reviews your PR, they may request changes on it.\nOnce you've made those changes, [re-request review on GitHub](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews#re-requesting-a-review).\n\nPlease try not to force-push commits to PRs that have already been reviewed.\nDoing so makes it harder to review the changes.\nWe squash merge all commits so there's no need to try to preserve Git history within a PR branch.\n\nOnce you've addressed all our feedback by making code changes and/or started a followup discussion, [re-request review](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews#re-requesting-a-review) from each maintainer whose feedback you addressed.\n\nOnce all feedback is addressed and the PR is approved, we'll ensure the branch is up to date with \\`main\\` and merge it for you.\n\n#### Post-Merge Recognition\n\nOnce your PR is merged, if you haven't yet been added to the [_Contributors_ table in the README.md](../README.md#contributors) for its [type of contribution](https://allcontributors.org/docs/en/emoji-key \"Allcontributors emoji key\"), you should be soon.\nPlease do ping the maintainer who merged your PR if that doesn't happen within 24 hours - it was likely an oversight on our end!\n\n## Emojis & Appreciation\n\nIf you made it all the way to the end, bravo dear user, we love you.\nPlease include your favorite emoji in the bottom of your issues and PRs to signal to us that you did in fact read this file and are trying to conform to it as best as possible.\n💖 is a good starter if you're not sure which to use.\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":"AAAA,SAAS,YAAY;AACrB,SAAS,oBAAoB;AAEtB,MAAM,wBAAwB,KAAK,YAAY;AAAA,EACrD,OAAO;AAAA,IACN,MAAM;AAAA,EACP;AAAA,EACA,UAAU;AACT,WAAO;AAAA,MACN,SAAS;AAAA,QACR;AAAA,UACC,UAAU,CAAC,oBAAoB;AAAA,UAC/B,OAAO,aAAa;AAAA,QACrB;AAAA,MACD;AAAA,IACD;AAAA,EACD;AAAA,EACA,QAAQ,EAAE,QAAQ,GAAG;AACpB,WAAO;AAAA,MACN,OAAO;AAAA,QACN,WAAW;AAAA,UACV,mBAAmB;AAAA;AAAA,gDAEwB,QAAQ,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sEAUI,QAAQ,KAAK,IAAI,QAAQ,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gNAYuG,QAAQ,KAAK,IAAI,QAAQ,UAAU;AAAA,uJAC5F,QAAQ,KAAK,IAAI,QAAQ,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mDAmBvI,QAAQ,KAAK,IAAI,QAAQ,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAsDlF;AAAA,MACD;AAAA,IACD;AAAA,EACD;AACD,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../src/blocks/blockContributingDocs.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nexport const blockContributingDocs = base.createBlock({\n\tabout: {\n\t\tname: \"Contributing Docs\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\t\"CONTRIBUTING.md\": `# Contributing\n\nThanks for your interest in contributing to \\`${options.repository}\\`! 💖\n\n> After this page, see [DEVELOPMENT.md](./DEVELOPMENT.md) for local development instructions.\n\n## Code of Conduct\n\nThis project contains a [Contributor Covenant code of conduct](./CODE_OF_CONDUCT.md) all contributors are expected to follow.\n\n## Reporting Issues\n\nPlease do [report an issue on the issue tracker](https://github.com/${options.owner}/${options.repository}/issues/new/choose) if there's any bugfix, documentation improvement, or general enhancement you'd like to see in the repository! Please fully fill out all required fields in the most appropriate issue form.\n\n## Sending Contributions\n\nSending your own changes as contribution is always appreciated!\nThere are two steps involved:\n\n1. [Finding an Issue](#finding-an-issue)\n2. [Sending a Pull Request](#sending-a-pull-request)\n\n### Finding an Issue\n\nWith the exception of very small typos, all changes to this repository generally need to correspond to an [unassigned open issue marked as \\`status: accepting prs\\` on the issue tracker](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue+is%3Aopen+label%3A%22status%3A+accepting+prs%22+no%3Aassignee+).\nIf this is your first time contributing, consider searching for [unassigned issues that also have the \\`good first issue\\` label](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22+label%3A%22status%3A+accepting+prs%22+no%3Aassignee+).\nIf the issue you'd like to fix isn't found on the issue, see [Reporting Issues](#reporting-issues) for filing your own (please do!).\n\n#### Issue Claiming\n\nWe don't use any kind of issue claiming system.\nWe've found in the past that they result in accidental [\"licked cookie\"](https://devblogs.microsoft.com/oldnewthing/20091201-00/?p=15843) situations where contributors claim an issue but run out of time or energy trying before sending a PR.\n\nIf an unassigned issue has been marked as \\`status: accepting prs\\` and an open PR does not exist, feel free to send a PR.\nPlease don't post comments asking for permission or stating you will work on an issue.\n\n### Sending a Pull Request\n\nOnce you've identified an open issue accepting PRs that doesn't yet have a PR sent, you're free to send a pull request.\nBe sure to fill out the pull request template's requested information -- otherwise your PR will likely be closed.\n\nPRs are also expected to have a title that adheres to [conventional commits](https://www.conventionalcommits.org/en/v1.0.0).\nOnly PR titles need to be in that format, not individual commits.\nDon't worry if you get this wrong: you can always change the PR title after sending it.\nCheck [previously merged PRs](https://github.com/${options.owner}/${options.repository}/pulls?q=is%3Apr+is%3Amerged+-label%3Adependencies+) for reference.\n\n#### Draft PRs\n\nIf you don't think your PR is ready for review, [set it as a draft](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#converting-a-pull-request-to-a-draft).\nDraft PRs won't be reviewed.\n\n#### Granular PRs\n\nPlease keep pull requests single-purpose: in other words, don't attempt to solve multiple unrelated problems in one pull request.\nSend one PR per area of concern.\nMulti-purpose pull requests are harder and slower to review, block all changes from being merged until the whole pull request is reviewed, and are difficult to name well with semantic PR titles.\n\n#### Pull Request Reviews\n\nWhen a PR is not in draft, it's considered ready for review.\nPlease don't manually \\`@\\` tag anybody to request review.\nA maintainer will look at it when they're next able to.\n\nPRs should have passing [GitHub status checks](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks) before review is requested (unless there are explicit questions asked in the PR about any failures).\n\n#### Asking Questions\n\nIf you need help and/or have a question, posting a comment in the PR is a great way to do so.\nThere's no need to tag anybody individually.\nOne of us will drop by and help when we can.\n\nPlease post comments as [line comments](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request) when possible, so that they can be threaded.\nYou can [resolve conversations](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#resolving-conversations) on your own when you feel they're resolved - no need to comment explicitly and/or wait for a maintainer.\n\n#### Requested Changes\n\nAfter a maintainer reviews your PR, they may request changes on it.\nOnce you've made those changes, [re-request review on GitHub](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews#re-requesting-a-review).\n\nPlease try not to force-push commits to PRs that have already been reviewed.\nDoing so makes it harder to review the changes.\nWe squash merge all commits so there's no need to try to preserve Git history within a PR branch.\n\nOnce you've addressed all our feedback by making code changes and/or started a followup discussion, [re-request review](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews#re-requesting-a-review) from each maintainer whose feedback you addressed.\n\nOnce all feedback is addressed and the PR is approved, we'll ensure the branch is up to date with \\`main\\` and merge it for you.\n\n#### Post-Merge Recognition\n\nOnce your PR is merged, if you haven't yet been added to the [_Contributors_ table in the README.md](../README.md#contributors) for its [type of contribution](https://allcontributors.org/docs/en/emoji-key \"Allcontributors emoji key\"), you should be soon.\nPlease do ping the maintainer who merged your PR if that doesn't happen within 24 hours - it was likely an oversight on our end!\n\n## Emojis & Appreciation\n\nIf you made it all the way to the end, bravo dear user, we love you.\nPlease include your favorite emoji in the bottom of your issues and PRs to signal to us that you did in fact read this file and are trying to conform to it as best as possible.\n💖 is a good starter if you're not sure which to use.\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [\"rm CONTRIBUTING.md\"],\n\t\t\t\t\tphase: CommandPhase.Migrations,\n\t\t\t\t\tsilent: true,\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":"AAAA,SAAS,YAAY;AACrB,SAAS,oBAAoB;AAEtB,MAAM,wBAAwB,KAAK,YAAY;AAAA,EACrD,OAAO;AAAA,IACN,MAAM;AAAA,EACP;AAAA,EACA,QAAQ,EAAE,QAAQ,GAAG;AACpB,WAAO;AAAA,MACN,OAAO;AAAA,QACN,WAAW;AAAA,UACV,mBAAmB;AAAA;AAAA,gDAEwB,QAAQ,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sEAUI,QAAQ,KAAK,IAAI,QAAQ,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gNAYuG,QAAQ,KAAK,IAAI,QAAQ,UAAU;AAAA,uJAC5F,QAAQ,KAAK,IAAI,QAAQ,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mDAmBvI,QAAQ,KAAK,IAAI,QAAQ,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAsDlF;AAAA,MACD;AAAA,IACD;AAAA,EACD;AAAA,EACA,aAAa;AACZ,WAAO;AAAA,MACN,SAAS;AAAA,QACR;AAAA,UACC,UAAU,CAAC,oBAAoB;AAAA,UAC/B,OAAO,aAAa;AAAA,UACpB,QAAQ;AAAA,QACT;AAAA,MACD;AAAA,IACD;AAAA,EACD;AACD,CAAC;","names":[]}
@@ -1,8 +1,8 @@
1
- import * as create from 'create';
1
+ import * as bingo_stratum from 'bingo-stratum';
2
2
 
3
- declare const blockContributorCovenant: create.BlockWithoutAddons<{
4
- description: string;
3
+ declare const blockContributorCovenant: bingo_stratum.BlockWithoutAddons<{
5
4
  access: "public" | "restricted";
5
+ description: string;
6
6
  directory: string;
7
7
  email: {
8
8
  github: string;
@@ -14,19 +14,19 @@ declare const blockContributorCovenant: create.BlockWithoutAddons<{
14
14
  author?: string | undefined;
15
15
  bin?: string | undefined;
16
16
  contributors?: {
17
- name: string;
18
17
  avatar_url: string;
19
18
  contributions: string[];
20
19
  login: string;
20
+ name: string;
21
21
  profile: string;
22
22
  }[] | undefined;
23
23
  documentation?: string | undefined;
24
+ explainer?: string[] | undefined;
24
25
  funding?: string | undefined;
25
26
  guide?: {
26
27
  href: string;
27
28
  title: string;
28
29
  } | undefined;
29
- hideTemplatedBy?: boolean | undefined;
30
30
  keywords?: string[] | undefined;
31
31
  logo?: {
32
32
  alt: string;
@@ -43,6 +43,7 @@ declare const blockContributorCovenant: create.BlockWithoutAddons<{
43
43
  devDependencies?: Record<string, string> | undefined;
44
44
  scripts?: Record<string, string> | undefined;
45
45
  } | undefined;
46
+ rulesetId?: string | undefined;
46
47
  usage?: string | undefined;
47
48
  version?: string | undefined;
48
49
  }>;