create-typescript-app 2.64.0 → 2.65.0

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 (866) hide show
  1. package/bin/index.js +1 -1
  2. package/dist/base.d.mts +170 -0
  3. package/dist/base.mjs +162 -0
  4. package/dist/blocks/actions/resolveUses.d.mts +5 -0
  5. package/dist/blocks/actions/resolveUses.mjs +16 -0
  6. package/dist/blocks/actions/steps.d.mts +37 -0
  7. package/dist/blocks/actions/steps.mjs +19 -0
  8. package/dist/blocks/bin/getPrimaryBin.d.mts +4 -0
  9. package/dist/blocks/bin/getPrimaryBin.mjs +6 -0
  10. package/dist/blocks/blockAllContributors.d.mts +73 -0
  11. package/dist/blocks/blockAllContributors.mjs +132 -0
  12. package/dist/blocks/blockAreTheTypesWrong.d.mts +73 -0
  13. package/dist/blocks/blockAreTheTypesWrong.mjs +14 -0
  14. package/dist/blocks/blockBin.d.mts +75 -0
  15. package/dist/blocks/blockBin.mjs +27 -0
  16. package/dist/blocks/blockCSpell.d.mts +76 -0
  17. package/dist/blocks/blockCSpell.mjs +77 -0
  18. package/dist/blocks/blockCTATransitions.d.mts +73 -0
  19. package/dist/blocks/blockCTATransitions.mjs +115 -0
  20. package/dist/blocks/blockCodecov.d.mts +75 -0
  21. package/dist/blocks/blockCodecov.mjs +58 -0
  22. package/dist/blocks/blockContributingDocs.d.mts +73 -0
  23. package/dist/blocks/blockContributingDocs.mjs +112 -0
  24. package/dist/blocks/blockContributorCovenant.d.mts +73 -0
  25. package/dist/blocks/blockContributorCovenant.mjs +158 -0
  26. package/dist/blocks/blockDevelopmentDocs.d.mts +87 -0
  27. package/dist/blocks/blockDevelopmentDocs.mjs +72 -0
  28. package/dist/blocks/blockESLint.d.mts +97 -0
  29. package/dist/blocks/blockESLint.mjs +196 -0
  30. package/dist/blocks/blockESLintComments.d.mts +73 -0
  31. package/dist/blocks/blockESLintComments.mjs +21 -0
  32. package/dist/blocks/blockESLintJSDoc.d.mts +73 -0
  33. package/dist/blocks/blockESLintJSDoc.mjs +25 -0
  34. package/dist/blocks/blockESLintJSONC.d.mts +73 -0
  35. package/dist/blocks/blockESLintJSONC.mjs +20 -0
  36. package/dist/blocks/blockESLintMarkdown.d.mts +73 -0
  37. package/dist/blocks/blockESLintMarkdown.mjs +36 -0
  38. package/dist/blocks/blockESLintMarkdownLinks.d.mts +73 -0
  39. package/dist/blocks/blockESLintMarkdownLinks.mjs +20 -0
  40. package/dist/blocks/blockESLintMoreStyling.d.mts +74 -0
  41. package/dist/blocks/blockESLintMoreStyling.mjs +28 -0
  42. package/dist/blocks/blockESLintNode.d.mts +73 -0
  43. package/dist/blocks/blockESLintNode.mjs +32 -0
  44. package/dist/blocks/blockESLintPackageJson.d.mts +73 -0
  45. package/dist/blocks/blockESLintPackageJson.mjs +31 -0
  46. package/dist/blocks/blockESLintPerfectionist.d.mts +73 -0
  47. package/dist/blocks/blockESLintPerfectionist.mjs +25 -0
  48. package/dist/blocks/blockESLintPlugin.d.mts +75 -0
  49. package/dist/blocks/blockESLintPlugin.mjs +230 -0
  50. package/dist/blocks/blockESLintRegexp.d.mts +73 -0
  51. package/dist/blocks/blockESLintRegexp.mjs +21 -0
  52. package/dist/blocks/blockESLintYML.d.mts +73 -0
  53. package/dist/blocks/blockESLintYML.mjs +31 -0
  54. package/dist/blocks/blockExampleFiles.d.mts +76 -0
  55. package/dist/blocks/blockExampleFiles.mjs +23 -0
  56. package/dist/blocks/blockExports.d.mts +76 -0
  57. package/dist/blocks/blockExports.mjs +27 -0
  58. package/dist/blocks/blockFunding.d.mts +73 -0
  59. package/dist/blocks/blockFunding.mjs +15 -0
  60. package/dist/blocks/blockGitHubActionsCI.d.mts +88 -0
  61. package/dist/blocks/blockGitHubActionsCI.mjs +89 -0
  62. package/dist/blocks/blockGitHubApps.d.mts +78 -0
  63. package/dist/blocks/blockGitHubApps.mjs +16 -0
  64. package/dist/blocks/blockGitHubIssueTemplates.d.mts +73 -0
  65. package/dist/blocks/blockGitHubIssueTemplates.mjs +203 -0
  66. package/dist/blocks/blockGitHubPRTemplate.d.mts +73 -0
  67. package/dist/blocks/blockGitHubPRTemplate.mjs +23 -0
  68. package/dist/blocks/blockGitignore.d.mts +75 -0
  69. package/dist/blocks/blockGitignore.mjs +14 -0
  70. package/dist/blocks/blockKnip.d.mts +77 -0
  71. package/dist/blocks/blockKnip.mjs +70 -0
  72. package/dist/blocks/blockMITLicense.d.mts +73 -0
  73. package/dist/blocks/blockMITLicense.mjs +39 -0
  74. package/dist/blocks/blockNcc.d.mts +75 -0
  75. package/dist/blocks/blockNcc.mjs +65 -0
  76. package/dist/blocks/blockNvmrc.d.mts +73 -0
  77. package/dist/blocks/blockNvmrc.mjs +17 -0
  78. package/dist/blocks/blockOctoGuide.d.mts +75 -0
  79. package/dist/blocks/blockOctoGuide.mjs +73 -0
  80. package/dist/blocks/blockOctoGuideStrict.d.mts +73 -0
  81. package/dist/blocks/blockOctoGuideStrict.mjs +11 -0
  82. package/dist/blocks/blockPackageJson.d.mts +150 -0
  83. package/dist/blocks/blockPackageJson.mjs +86 -0
  84. package/dist/blocks/blockPnpmDedupe.d.mts +73 -0
  85. package/dist/blocks/blockPnpmDedupe.mjs +19 -0
  86. package/dist/blocks/blockPrettier.d.mts +83 -0
  87. package/dist/blocks/blockPrettier.mjs +97 -0
  88. package/dist/blocks/blockPrettierPluginCurly.d.mts +73 -0
  89. package/dist/blocks/blockPrettierPluginCurly.mjs +11 -0
  90. package/dist/blocks/blockPrettierPluginPackageJson.d.mts +73 -0
  91. package/dist/blocks/blockPrettierPluginPackageJson.mjs +11 -0
  92. package/dist/blocks/blockPrettierPluginPaddingLines.d.mts +73 -0
  93. package/dist/blocks/blockPrettierPluginPaddingLines.mjs +11 -0
  94. package/dist/blocks/blockPrettierPluginSentencesPerLine.d.mts +73 -0
  95. package/dist/blocks/blockPrettierPluginSentencesPerLine.mjs +11 -0
  96. package/dist/blocks/blockPrettierPluginSh.d.mts +73 -0
  97. package/dist/blocks/blockPrettierPluginSh.mjs +11 -0
  98. package/dist/blocks/blockREADME.d.mts +86 -0
  99. package/dist/blocks/blockREADME.mjs +74 -0
  100. package/dist/blocks/blockReleaseIt.d.mts +78 -0
  101. package/dist/blocks/blockReleaseIt.mjs +160 -0
  102. package/dist/blocks/blockRemoveDependencies.d.mts +75 -0
  103. package/dist/blocks/blockRemoveDependencies.mjs +20 -0
  104. package/dist/blocks/blockRemoveFiles.d.mts +75 -0
  105. package/dist/blocks/blockRemoveFiles.mjs +21 -0
  106. package/dist/blocks/blockRemoveWorkflows.d.mts +75 -0
  107. package/dist/blocks/blockRemoveWorkflows.mjs +17 -0
  108. package/dist/blocks/blockRenovate.d.mts +75 -0
  109. package/dist/blocks/blockRenovate.mjs +39 -0
  110. package/dist/blocks/blockRepositoryBranchRuleset.d.mts +75 -0
  111. package/dist/blocks/blockRepositoryBranchRuleset.mjs +79 -0
  112. package/dist/blocks/blockRepositoryLabels.d.mts +73 -0
  113. package/dist/blocks/blockRepositoryLabels.mjs +52 -0
  114. package/dist/blocks/blockRepositorySecrets.d.mts +78 -0
  115. package/dist/blocks/blockRepositorySecrets.mjs +16 -0
  116. package/dist/blocks/blockRepositorySettings.d.mts +73 -0
  117. package/dist/blocks/blockRepositorySettings.mjs +32 -0
  118. package/dist/blocks/blockSecurityDocs.d.mts +73 -0
  119. package/dist/blocks/blockSecurityDocs.mjs +20 -0
  120. package/dist/blocks/blockSideEffects.d.mts +75 -0
  121. package/dist/blocks/blockSideEffects.mjs +14 -0
  122. package/dist/blocks/blockTSDown.d.mts +77 -0
  123. package/dist/blocks/blockTSDown.mjs +121 -0
  124. package/dist/blocks/blockTemplatedWith.d.mts +73 -0
  125. package/dist/blocks/blockTemplatedWith.mjs +13 -0
  126. package/dist/blocks/blockTypeScript.d.mts +185 -0
  127. package/dist/blocks/blockTypeScript.mjs +136 -0
  128. package/dist/blocks/blockVSCode.d.mts +82 -0
  129. package/dist/blocks/blockVSCode.mjs +59 -0
  130. package/dist/blocks/blockVitest.d.mts +90 -0
  131. package/dist/blocks/blockVitest.mjs +208 -0
  132. package/dist/blocks/blockWebExt.d.mts +73 -0
  133. package/dist/blocks/blockWebExt.mjs +104 -0
  134. package/dist/blocks/codecov/findCodecovStep.d.mts +6 -0
  135. package/dist/blocks/codecov/findCodecovStep.mjs +7 -0
  136. package/dist/blocks/eslint/blockESLintIntake.d.mts +10 -0
  137. package/dist/blocks/eslint/blockESLintIntake.mjs +84 -0
  138. package/dist/blocks/eslint/blockESLintPluginIntake.d.mts +6 -0
  139. package/dist/blocks/eslint/blockESLintPluginIntake.mjs +27 -0
  140. package/dist/blocks/eslint/getScriptFileExtension.d.mts +7 -0
  141. package/dist/blocks/eslint/getScriptFileExtension.mjs +6 -0
  142. package/dist/blocks/eslint/mergeAllExtensions.d.mts +16 -0
  143. package/dist/blocks/eslint/mergeAllExtensions.mjs +46 -0
  144. package/dist/blocks/eslint/schemas.d.mts +111 -0
  145. package/dist/blocks/eslint/schemas.mjs +40 -0
  146. package/dist/blocks/files/createJobName.d.mts +4 -0
  147. package/dist/blocks/files/createJobName.mjs +6 -0
  148. package/dist/blocks/files/createMultiWorkflowFile.d.mts +24 -0
  149. package/dist/blocks/files/createMultiWorkflowFile.mjs +28 -0
  150. package/dist/blocks/files/createSoloWorkflowFile.d.mts +64 -0
  151. package/dist/blocks/files/createSoloWorkflowFile.mjs +19 -0
  152. package/dist/blocks/files/formatIgnoreFile.d.mts +4 -0
  153. package/dist/blocks/files/formatIgnoreFile.mjs +6 -0
  154. package/dist/blocks/files/formatWorkflowYaml.d.mts +4 -0
  155. package/dist/blocks/files/formatWorkflowYaml.mjs +10 -0
  156. package/dist/blocks/files/formatYaml.d.mts +4 -0
  157. package/dist/blocks/files/formatYaml.mjs +21 -0
  158. package/dist/blocks/files/removeUsesQuotes.d.mts +4 -0
  159. package/dist/blocks/files/removeUsesQuotes.mjs +6 -0
  160. package/dist/blocks/getInstallationSuggestions.d.mts +4 -0
  161. package/dist/blocks/getInstallationSuggestions.mjs +11 -0
  162. package/dist/blocks/index.d.mts +3953 -0
  163. package/dist/blocks/index.mjs +108 -0
  164. package/dist/blocks/intake/intakeFile.d.mts +5 -0
  165. package/dist/blocks/intake/intakeFile.mjs +11 -0
  166. package/dist/blocks/intake/intakeFileAsJson.d.mts +5 -0
  167. package/dist/blocks/intake/intakeFileAsJson.mjs +13 -0
  168. package/dist/blocks/intake/intakeFileAsYaml.d.mts +6 -0
  169. package/dist/blocks/intake/intakeFileAsYaml.mjs +16 -0
  170. package/dist/blocks/intake/intakeFileDefineConfig.d.mts +5 -0
  171. package/dist/blocks/intake/intakeFileDefineConfig.mjs +9 -0
  172. package/dist/blocks/intake/intakeFileExportObject.d.mts +5 -0
  173. package/dist/blocks/intake/intakeFileExportObject.mjs +22 -0
  174. package/dist/blocks/options.fakes.d.mts +25 -0
  175. package/dist/blocks/options.fakes.mjs +19 -0
  176. package/dist/blocks/outcomeLabels.d.mts +14 -0
  177. package/dist/blocks/outcomeLabels.mjs +93 -0
  178. package/dist/blocks/phases.d.mts +10 -0
  179. package/dist/blocks/phases.mjs +10 -0
  180. package/dist/constants.d.mts +9 -0
  181. package/dist/constants.mjs +7 -0
  182. package/dist/data/contributions.d.mts +4 -0
  183. package/dist/data/contributions.mjs +13 -0
  184. package/dist/data/packageData.d.mts +9 -0
  185. package/dist/data/packageData.mjs +17 -0
  186. package/dist/index.d.mts +293 -0
  187. package/dist/index.mjs +63 -0
  188. package/dist/inputs/inputFromDirectory.d.mts +7 -0
  189. package/dist/inputs/inputFromDirectory.mjs +11 -0
  190. package/dist/inputs/inputFromOctokit.d.mts +8 -0
  191. package/dist/inputs/inputFromOctokit.mjs +23 -0
  192. package/dist/options/readAccess.d.mts +5 -0
  193. package/dist/options/readAccess.mjs +6 -0
  194. package/dist/options/readAllContributors.d.mts +6 -0
  195. package/dist/options/readAllContributors.mjs +18 -0
  196. package/dist/options/readAuthor.d.mts +8 -0
  197. package/dist/options/readAuthor.mjs +6 -0
  198. package/dist/options/readBin.d.mts +5 -0
  199. package/dist/options/readBin.mjs +11 -0
  200. package/dist/options/readBundle.d.mts +5 -0
  201. package/dist/options/readBundle.mjs +12 -0
  202. package/dist/options/readCodecovToken.d.mts +5 -0
  203. package/dist/options/readCodecovToken.mjs +23 -0
  204. package/dist/options/readDescription.d.mts +5 -0
  205. package/dist/options/readDescription.mjs +17 -0
  206. package/dist/options/readDescriptionFromReadme.d.mts +4 -0
  207. package/dist/options/readDescriptionFromReadme.mjs +13 -0
  208. package/dist/options/readDevelopmentDocumentation.d.mts +5 -0
  209. package/dist/options/readDevelopmentDocumentation.mjs +21 -0
  210. package/dist/options/readDocumentation.d.mts +5 -0
  211. package/dist/options/readDocumentation.mjs +21 -0
  212. package/dist/options/readEmailFromCodeOfConduct.d.mts +5 -0
  213. package/dist/options/readEmailFromCodeOfConduct.mjs +8 -0
  214. package/dist/options/readEmailFromGit.d.mts +5 -0
  215. package/dist/options/readEmailFromGit.mjs +7 -0
  216. package/dist/options/readEmailFromNpm.d.mts +6 -0
  217. package/dist/options/readEmailFromNpm.mjs +6 -0
  218. package/dist/options/readEmails.d.mts +8 -0
  219. package/dist/options/readEmails.mjs +11 -0
  220. package/dist/options/readEmoji.d.mts +4 -0
  221. package/dist/options/readEmoji.mjs +10 -0
  222. package/dist/options/readExistingLabels.d.mts +9 -0
  223. package/dist/options/readExistingLabels.mjs +21 -0
  224. package/dist/options/readFileAsJson.d.mts +4 -0
  225. package/dist/options/readFileAsJson.mjs +11 -0
  226. package/dist/options/readFileSafe.d.mts +4 -0
  227. package/dist/options/readFileSafe.mjs +11 -0
  228. package/dist/options/readFunding.d.mts +5 -0
  229. package/dist/options/readFunding.mjs +8 -0
  230. package/dist/options/readGitDefaults.d.mts +6 -0
  231. package/dist/options/readGitDefaults.mjs +9 -0
  232. package/dist/options/readGuide.d.mts +8 -0
  233. package/dist/options/readGuide.mjs +14 -0
  234. package/dist/options/readKeywords.d.mts +5 -0
  235. package/dist/options/readKeywords.mjs +7 -0
  236. package/dist/options/readLogo.d.mts +9 -0
  237. package/dist/options/readLogo.mjs +19 -0
  238. package/dist/options/readLogoSizing.d.mts +8 -0
  239. package/dist/options/readLogoSizing.mjs +29 -0
  240. package/dist/options/readNode.d.mts +8 -0
  241. package/dist/options/readNode.mjs +12 -0
  242. package/dist/options/readNpmDefaults.d.mts +5 -0
  243. package/dist/options/readNpmDefaults.mjs +9 -0
  244. package/dist/options/readOwner.d.mts +7 -0
  245. package/dist/options/readOwner.mjs +7 -0
  246. package/dist/options/readPackageAuthor.d.mts +9 -0
  247. package/dist/options/readPackageAuthor.mjs +12 -0
  248. package/dist/options/readPackageData.d.mts +6 -0
  249. package/dist/options/readPackageData.mjs +8 -0
  250. package/dist/options/readPnpm.d.mts +5 -0
  251. package/dist/options/readPnpm.mjs +7 -0
  252. package/dist/options/readReadmeAdditional.d.mts +4 -0
  253. package/dist/options/readReadmeAdditional.mjs +17 -0
  254. package/dist/options/readReadmeExplainer.d.mts +4 -0
  255. package/dist/options/readReadmeExplainer.mjs +25 -0
  256. package/dist/options/readReadmeFootnotes.d.mts +5 -0
  257. package/dist/options/readReadmeFootnotes.mjs +15 -0
  258. package/dist/options/readReadmeUsage.d.mts +4 -0
  259. package/dist/options/readReadmeUsage.mjs +13 -0
  260. package/dist/options/readRepository.d.mts +9 -0
  261. package/dist/options/readRepository.mjs +6 -0
  262. package/dist/options/readRulesetId.d.mts +5 -0
  263. package/dist/options/readRulesetId.mjs +13 -0
  264. package/dist/options/readTitle.d.mts +4 -0
  265. package/dist/options/readTitle.mjs +11 -0
  266. package/dist/options/readWords.d.mts +5 -0
  267. package/dist/options/readWords.mjs +8 -0
  268. package/dist/options/readWorkflowsVersions.d.mts +6 -0
  269. package/dist/options/readWorkflowsVersions.mjs +45 -0
  270. package/dist/package.json.d.mts +138 -0
  271. package/dist/presets/common.d.mts +165 -0
  272. package/dist/presets/common.mjs +26 -0
  273. package/dist/presets/everything.d.mts +165 -0
  274. package/dist/presets/everything.mjs +60 -0
  275. package/dist/presets/index.d.mts +494 -0
  276. package/dist/presets/index.mjs +11 -0
  277. package/dist/presets/minimal.d.mts +165 -0
  278. package/dist/presets/minimal.mjs +68 -0
  279. package/dist/schemas.d.mts +121 -0
  280. package/dist/schemas.mjs +31 -0
  281. package/dist/template.d.mts +165 -0
  282. package/dist/template.mjs +38 -0
  283. package/dist/types.d.mts +41 -0
  284. package/dist/utils/htmlToTextSafe.d.mts +4 -0
  285. package/dist/utils/htmlToTextSafe.mjs +13 -0
  286. package/dist/utils/parseDefineConfig.d.mts +7 -0
  287. package/dist/utils/parseDefineConfig.mjs +22 -0
  288. package/dist/utils/resolveBin.d.mts +4 -0
  289. package/dist/utils/resolveBin.mjs +7 -0
  290. package/dist/utils/resolveEmails.d.mts +5 -0
  291. package/dist/utils/resolveEmails.mjs +9 -0
  292. package/dist/utils/swallowError.d.mts +4 -0
  293. package/dist/utils/swallowError.mjs +6 -0
  294. package/dist/utils/swallowErrorAsync.d.mts +4 -0
  295. package/dist/utils/swallowErrorAsync.mjs +10 -0
  296. package/dist/utils/trimPrecedingSlash.d.mts +4 -0
  297. package/dist/utils/trimPrecedingSlash.mjs +6 -0
  298. package/dist/utils/tryCatch.d.mts +4 -0
  299. package/dist/utils/tryCatch.mjs +10 -0
  300. package/package.json +8 -7
  301. package/lib/base.d.ts +0 -175
  302. package/lib/base.d.ts.map +0 -1
  303. package/lib/base.js +0 -162
  304. package/lib/base.js.map +0 -1
  305. package/lib/blocks/actions/resolveUses.d.ts +0 -6
  306. package/lib/blocks/actions/resolveUses.d.ts.map +0 -1
  307. package/lib/blocks/actions/resolveUses.js +0 -18
  308. package/lib/blocks/actions/resolveUses.js.map +0 -1
  309. package/lib/blocks/actions/steps.d.ts +0 -37
  310. package/lib/blocks/actions/steps.d.ts.map +0 -1
  311. package/lib/blocks/actions/steps.js +0 -20
  312. package/lib/blocks/actions/steps.js.map +0 -1
  313. package/lib/blocks/bin/getPrimaryBin.d.ts +0 -5
  314. package/lib/blocks/bin/getPrimaryBin.d.ts.map +0 -1
  315. package/lib/blocks/bin/getPrimaryBin.js +0 -8
  316. package/lib/blocks/bin/getPrimaryBin.js.map +0 -1
  317. package/lib/blocks/blockAllContributors.d.ts +0 -72
  318. package/lib/blocks/blockAllContributors.d.ts.map +0 -1
  319. package/lib/blocks/blockAllContributors.js +0 -130
  320. package/lib/blocks/blockAllContributors.js.map +0 -1
  321. package/lib/blocks/blockAreTheTypesWrong.d.ts +0 -72
  322. package/lib/blocks/blockAreTheTypesWrong.d.ts.map +0 -1
  323. package/lib/blocks/blockAreTheTypesWrong.js +0 -16
  324. package/lib/blocks/blockAreTheTypesWrong.js.map +0 -1
  325. package/lib/blocks/blockCSpell.d.ts +0 -75
  326. package/lib/blocks/blockCSpell.d.ts.map +0 -1
  327. package/lib/blocks/blockCSpell.js +0 -79
  328. package/lib/blocks/blockCSpell.js.map +0 -1
  329. package/lib/blocks/blockCTATransitions.d.ts +0 -72
  330. package/lib/blocks/blockCTATransitions.d.ts.map +0 -1
  331. package/lib/blocks/blockCTATransitions.js +0 -113
  332. package/lib/blocks/blockCTATransitions.js.map +0 -1
  333. package/lib/blocks/blockCodecov.d.ts +0 -74
  334. package/lib/blocks/blockCodecov.d.ts.map +0 -1
  335. package/lib/blocks/blockCodecov.js +0 -54
  336. package/lib/blocks/blockCodecov.js.map +0 -1
  337. package/lib/blocks/blockContributingDocs.d.ts +0 -72
  338. package/lib/blocks/blockContributingDocs.d.ts.map +0 -1
  339. package/lib/blocks/blockContributingDocs.js +0 -114
  340. package/lib/blocks/blockContributingDocs.js.map +0 -1
  341. package/lib/blocks/blockContributorCovenant.d.ts +0 -72
  342. package/lib/blocks/blockContributorCovenant.d.ts.map +0 -1
  343. package/lib/blocks/blockContributorCovenant.js +0 -159
  344. package/lib/blocks/blockContributorCovenant.js.map +0 -1
  345. package/lib/blocks/blockDevelopmentDocs.d.ts +0 -86
  346. package/lib/blocks/blockDevelopmentDocs.d.ts.map +0 -1
  347. package/lib/blocks/blockDevelopmentDocs.js +0 -74
  348. package/lib/blocks/blockDevelopmentDocs.js.map +0 -1
  349. package/lib/blocks/blockESLint.d.ts +0 -96
  350. package/lib/blocks/blockESLint.d.ts.map +0 -1
  351. package/lib/blocks/blockESLint.js +0 -198
  352. package/lib/blocks/blockESLint.js.map +0 -1
  353. package/lib/blocks/blockESLintComments.d.ts +0 -72
  354. package/lib/blocks/blockESLintComments.d.ts.map +0 -1
  355. package/lib/blocks/blockESLintComments.js +0 -23
  356. package/lib/blocks/blockESLintComments.js.map +0 -1
  357. package/lib/blocks/blockESLintJSDoc.d.ts +0 -72
  358. package/lib/blocks/blockESLintJSDoc.d.ts.map +0 -1
  359. package/lib/blocks/blockESLintJSDoc.js +0 -27
  360. package/lib/blocks/blockESLintJSDoc.js.map +0 -1
  361. package/lib/blocks/blockESLintJSONC.d.ts +0 -72
  362. package/lib/blocks/blockESLintJSONC.d.ts.map +0 -1
  363. package/lib/blocks/blockESLintJSONC.js +0 -22
  364. package/lib/blocks/blockESLintJSONC.js.map +0 -1
  365. package/lib/blocks/blockESLintMarkdown.d.ts +0 -72
  366. package/lib/blocks/blockESLintMarkdown.d.ts.map +0 -1
  367. package/lib/blocks/blockESLintMarkdown.js +0 -38
  368. package/lib/blocks/blockESLintMarkdown.js.map +0 -1
  369. package/lib/blocks/blockESLintMoreStyling.d.ts +0 -73
  370. package/lib/blocks/blockESLintMoreStyling.d.ts.map +0 -1
  371. package/lib/blocks/blockESLintMoreStyling.js +0 -30
  372. package/lib/blocks/blockESLintMoreStyling.js.map +0 -1
  373. package/lib/blocks/blockESLintNode.d.ts +0 -72
  374. package/lib/blocks/blockESLintNode.d.ts.map +0 -1
  375. package/lib/blocks/blockESLintNode.js +0 -27
  376. package/lib/blocks/blockESLintNode.js.map +0 -1
  377. package/lib/blocks/blockESLintPackageJson.d.ts +0 -72
  378. package/lib/blocks/blockESLintPackageJson.d.ts.map +0 -1
  379. package/lib/blocks/blockESLintPackageJson.js +0 -33
  380. package/lib/blocks/blockESLintPackageJson.js.map +0 -1
  381. package/lib/blocks/blockESLintPerfectionist.d.ts +0 -72
  382. package/lib/blocks/blockESLintPerfectionist.d.ts.map +0 -1
  383. package/lib/blocks/blockESLintPerfectionist.js +0 -27
  384. package/lib/blocks/blockESLintPerfectionist.js.map +0 -1
  385. package/lib/blocks/blockESLintPlugin.d.ts +0 -74
  386. package/lib/blocks/blockESLintPlugin.d.ts.map +0 -1
  387. package/lib/blocks/blockESLintPlugin.js +0 -232
  388. package/lib/blocks/blockESLintPlugin.js.map +0 -1
  389. package/lib/blocks/blockESLintRegexp.d.ts +0 -72
  390. package/lib/blocks/blockESLintRegexp.d.ts.map +0 -1
  391. package/lib/blocks/blockESLintRegexp.js +0 -23
  392. package/lib/blocks/blockESLintRegexp.js.map +0 -1
  393. package/lib/blocks/blockESLintYML.d.ts +0 -72
  394. package/lib/blocks/blockESLintYML.d.ts.map +0 -1
  395. package/lib/blocks/blockESLintYML.js +0 -33
  396. package/lib/blocks/blockESLintYML.js.map +0 -1
  397. package/lib/blocks/blockExampleFiles.d.ts +0 -75
  398. package/lib/blocks/blockExampleFiles.d.ts.map +0 -1
  399. package/lib/blocks/blockExampleFiles.js +0 -25
  400. package/lib/blocks/blockExampleFiles.js.map +0 -1
  401. package/lib/blocks/blockExports.d.ts +0 -75
  402. package/lib/blocks/blockExports.d.ts.map +0 -1
  403. package/lib/blocks/blockExports.js +0 -20
  404. package/lib/blocks/blockExports.js.map +0 -1
  405. package/lib/blocks/blockFunding.d.ts +0 -72
  406. package/lib/blocks/blockFunding.d.ts.map +0 -1
  407. package/lib/blocks/blockFunding.js +0 -13
  408. package/lib/blocks/blockFunding.js.map +0 -1
  409. package/lib/blocks/blockGitHubActionsCI.d.ts +0 -88
  410. package/lib/blocks/blockGitHubActionsCI.d.ts.map +0 -1
  411. package/lib/blocks/blockGitHubActionsCI.js +0 -91
  412. package/lib/blocks/blockGitHubActionsCI.js.map +0 -1
  413. package/lib/blocks/blockGitHubApps.d.ts +0 -77
  414. package/lib/blocks/blockGitHubApps.d.ts.map +0 -1
  415. package/lib/blocks/blockGitHubApps.js +0 -18
  416. package/lib/blocks/blockGitHubApps.js.map +0 -1
  417. package/lib/blocks/blockGitHubIssueTemplates.d.ts +0 -72
  418. package/lib/blocks/blockGitHubIssueTemplates.d.ts.map +0 -1
  419. package/lib/blocks/blockGitHubIssueTemplates.js +0 -196
  420. package/lib/blocks/blockGitHubIssueTemplates.js.map +0 -1
  421. package/lib/blocks/blockGitHubPRTemplate.d.ts +0 -72
  422. package/lib/blocks/blockGitHubPRTemplate.d.ts.map +0 -1
  423. package/lib/blocks/blockGitHubPRTemplate.js +0 -25
  424. package/lib/blocks/blockGitHubPRTemplate.js.map +0 -1
  425. package/lib/blocks/blockGitignore.d.ts +0 -74
  426. package/lib/blocks/blockGitignore.d.ts.map +0 -1
  427. package/lib/blocks/blockGitignore.js +0 -16
  428. package/lib/blocks/blockGitignore.js.map +0 -1
  429. package/lib/blocks/blockKnip.d.ts +0 -76
  430. package/lib/blocks/blockKnip.d.ts.map +0 -1
  431. package/lib/blocks/blockKnip.js +0 -70
  432. package/lib/blocks/blockKnip.js.map +0 -1
  433. package/lib/blocks/blockMITLicense.d.ts +0 -72
  434. package/lib/blocks/blockMITLicense.d.ts.map +0 -1
  435. package/lib/blocks/blockMITLicense.js +0 -41
  436. package/lib/blocks/blockMITLicense.js.map +0 -1
  437. package/lib/blocks/blockNcc.d.ts +0 -74
  438. package/lib/blocks/blockNcc.d.ts.map +0 -1
  439. package/lib/blocks/blockNcc.js +0 -67
  440. package/lib/blocks/blockNcc.js.map +0 -1
  441. package/lib/blocks/blockNvmrc.d.ts +0 -72
  442. package/lib/blocks/blockNvmrc.d.ts.map +0 -1
  443. package/lib/blocks/blockNvmrc.js +0 -19
  444. package/lib/blocks/blockNvmrc.js.map +0 -1
  445. package/lib/blocks/blockOctoGuide.d.ts +0 -74
  446. package/lib/blocks/blockOctoGuide.d.ts.map +0 -1
  447. package/lib/blocks/blockOctoGuide.js +0 -71
  448. package/lib/blocks/blockOctoGuide.js.map +0 -1
  449. package/lib/blocks/blockOctoGuideStrict.d.ts +0 -72
  450. package/lib/blocks/blockOctoGuideStrict.d.ts.map +0 -1
  451. package/lib/blocks/blockOctoGuideStrict.js +0 -13
  452. package/lib/blocks/blockOctoGuideStrict.js.map +0 -1
  453. package/lib/blocks/blockPackageJson.d.ts +0 -149
  454. package/lib/blocks/blockPackageJson.d.ts.map +0 -1
  455. package/lib/blocks/blockPackageJson.js +0 -87
  456. package/lib/blocks/blockPackageJson.js.map +0 -1
  457. package/lib/blocks/blockPnpmDedupe.d.ts +0 -72
  458. package/lib/blocks/blockPnpmDedupe.d.ts.map +0 -1
  459. package/lib/blocks/blockPnpmDedupe.js +0 -21
  460. package/lib/blocks/blockPnpmDedupe.js.map +0 -1
  461. package/lib/blocks/blockPrettier.d.ts +0 -82
  462. package/lib/blocks/blockPrettier.d.ts.map +0 -1
  463. package/lib/blocks/blockPrettier.js +0 -97
  464. package/lib/blocks/blockPrettier.js.map +0 -1
  465. package/lib/blocks/blockPrettierPluginCurly.d.ts +0 -72
  466. package/lib/blocks/blockPrettierPluginCurly.d.ts.map +0 -1
  467. package/lib/blocks/blockPrettierPluginCurly.js +0 -13
  468. package/lib/blocks/blockPrettierPluginCurly.js.map +0 -1
  469. package/lib/blocks/blockPrettierPluginPackageJson.d.ts +0 -72
  470. package/lib/blocks/blockPrettierPluginPackageJson.d.ts.map +0 -1
  471. package/lib/blocks/blockPrettierPluginPackageJson.js +0 -13
  472. package/lib/blocks/blockPrettierPluginPackageJson.js.map +0 -1
  473. package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +0 -72
  474. package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts.map +0 -1
  475. package/lib/blocks/blockPrettierPluginSentencesPerLine.js +0 -13
  476. package/lib/blocks/blockPrettierPluginSentencesPerLine.js.map +0 -1
  477. package/lib/blocks/blockPrettierPluginSh.d.ts +0 -72
  478. package/lib/blocks/blockPrettierPluginSh.d.ts.map +0 -1
  479. package/lib/blocks/blockPrettierPluginSh.js +0 -13
  480. package/lib/blocks/blockPrettierPluginSh.js.map +0 -1
  481. package/lib/blocks/blockREADME.d.ts +0 -85
  482. package/lib/blocks/blockREADME.d.ts.map +0 -1
  483. package/lib/blocks/blockREADME.js +0 -76
  484. package/lib/blocks/blockREADME.js.map +0 -1
  485. package/lib/blocks/blockReleaseIt.d.ts +0 -77
  486. package/lib/blocks/blockReleaseIt.d.ts.map +0 -1
  487. package/lib/blocks/blockReleaseIt.js +0 -158
  488. package/lib/blocks/blockReleaseIt.js.map +0 -1
  489. package/lib/blocks/blockRemoveDependencies.d.ts +0 -74
  490. package/lib/blocks/blockRemoveDependencies.d.ts.map +0 -1
  491. package/lib/blocks/blockRemoveDependencies.js +0 -22
  492. package/lib/blocks/blockRemoveDependencies.js.map +0 -1
  493. package/lib/blocks/blockRemoveFiles.d.ts +0 -74
  494. package/lib/blocks/blockRemoveFiles.d.ts.map +0 -1
  495. package/lib/blocks/blockRemoveFiles.js +0 -23
  496. package/lib/blocks/blockRemoveFiles.js.map +0 -1
  497. package/lib/blocks/blockRemoveWorkflows.d.ts +0 -74
  498. package/lib/blocks/blockRemoveWorkflows.d.ts.map +0 -1
  499. package/lib/blocks/blockRemoveWorkflows.js +0 -19
  500. package/lib/blocks/blockRemoveWorkflows.js.map +0 -1
  501. package/lib/blocks/blockRenovate.d.ts +0 -74
  502. package/lib/blocks/blockRenovate.d.ts.map +0 -1
  503. package/lib/blocks/blockRenovate.js +0 -41
  504. package/lib/blocks/blockRenovate.js.map +0 -1
  505. package/lib/blocks/blockRepositoryBranchRuleset.d.ts +0 -74
  506. package/lib/blocks/blockRepositoryBranchRuleset.d.ts.map +0 -1
  507. package/lib/blocks/blockRepositoryBranchRuleset.js +0 -81
  508. package/lib/blocks/blockRepositoryBranchRuleset.js.map +0 -1
  509. package/lib/blocks/blockRepositoryLabels.d.ts +0 -72
  510. package/lib/blocks/blockRepositoryLabels.d.ts.map +0 -1
  511. package/lib/blocks/blockRepositoryLabels.js +0 -54
  512. package/lib/blocks/blockRepositoryLabels.js.map +0 -1
  513. package/lib/blocks/blockRepositorySecrets.d.ts +0 -77
  514. package/lib/blocks/blockRepositorySecrets.d.ts.map +0 -1
  515. package/lib/blocks/blockRepositorySecrets.js +0 -18
  516. package/lib/blocks/blockRepositorySecrets.js.map +0 -1
  517. package/lib/blocks/blockRepositorySettings.d.ts +0 -72
  518. package/lib/blocks/blockRepositorySettings.d.ts.map +0 -1
  519. package/lib/blocks/blockRepositorySettings.js +0 -34
  520. package/lib/blocks/blockRepositorySettings.js.map +0 -1
  521. package/lib/blocks/blockSecurityDocs.d.ts +0 -72
  522. package/lib/blocks/blockSecurityDocs.d.ts.map +0 -1
  523. package/lib/blocks/blockSecurityDocs.js +0 -21
  524. package/lib/blocks/blockSecurityDocs.js.map +0 -1
  525. package/lib/blocks/blockSideEffects.d.ts +0 -74
  526. package/lib/blocks/blockSideEffects.d.ts.map +0 -1
  527. package/lib/blocks/blockSideEffects.js +0 -16
  528. package/lib/blocks/blockSideEffects.js.map +0 -1
  529. package/lib/blocks/blockTSDown.d.ts +0 -76
  530. package/lib/blocks/blockTSDown.d.ts.map +0 -1
  531. package/lib/blocks/blockTSDown.js +0 -108
  532. package/lib/blocks/blockTSDown.js.map +0 -1
  533. package/lib/blocks/blockTemplatedWith.d.ts +0 -72
  534. package/lib/blocks/blockTemplatedWith.d.ts.map +0 -1
  535. package/lib/blocks/blockTemplatedWith.js +0 -15
  536. package/lib/blocks/blockTemplatedWith.js.map +0 -1
  537. package/lib/blocks/blockTypeScript.d.ts +0 -184
  538. package/lib/blocks/blockTypeScript.d.ts.map +0 -1
  539. package/lib/blocks/blockTypeScript.js +0 -138
  540. package/lib/blocks/blockTypeScript.js.map +0 -1
  541. package/lib/blocks/blockVSCode.d.ts +0 -81
  542. package/lib/blocks/blockVSCode.d.ts.map +0 -1
  543. package/lib/blocks/blockVSCode.js +0 -61
  544. package/lib/blocks/blockVSCode.js.map +0 -1
  545. package/lib/blocks/blockVitest.d.ts +0 -89
  546. package/lib/blocks/blockVitest.d.ts.map +0 -1
  547. package/lib/blocks/blockVitest.js +0 -207
  548. package/lib/blocks/blockVitest.js.map +0 -1
  549. package/lib/blocks/blockWebExt.d.ts +0 -72
  550. package/lib/blocks/blockWebExt.d.ts.map +0 -1
  551. package/lib/blocks/blockWebExt.js +0 -97
  552. package/lib/blocks/blockWebExt.js.map +0 -1
  553. package/lib/blocks/eslint/blockESLintIntake.d.ts +0 -11
  554. package/lib/blocks/eslint/blockESLintIntake.d.ts.map +0 -1
  555. package/lib/blocks/eslint/blockESLintIntake.js +0 -86
  556. package/lib/blocks/eslint/blockESLintIntake.js.map +0 -1
  557. package/lib/blocks/eslint/blockESLintPluginIntake.d.ts +0 -7
  558. package/lib/blocks/eslint/blockESLintPluginIntake.d.ts.map +0 -1
  559. package/lib/blocks/eslint/blockESLintPluginIntake.js +0 -29
  560. package/lib/blocks/eslint/blockESLintPluginIntake.js.map +0 -1
  561. package/lib/blocks/eslint/getScriptFileExtension.d.ts +0 -8
  562. package/lib/blocks/eslint/getScriptFileExtension.d.ts.map +0 -1
  563. package/lib/blocks/eslint/getScriptFileExtension.js +0 -8
  564. package/lib/blocks/eslint/getScriptFileExtension.js.map +0 -1
  565. package/lib/blocks/eslint/mergeAllExtensions.d.ts +0 -17
  566. package/lib/blocks/eslint/mergeAllExtensions.d.ts.map +0 -1
  567. package/lib/blocks/eslint/mergeAllExtensions.js +0 -48
  568. package/lib/blocks/eslint/mergeAllExtensions.js.map +0 -1
  569. package/lib/blocks/eslint/schemas.d.ts +0 -112
  570. package/lib/blocks/eslint/schemas.d.ts.map +0 -1
  571. package/lib/blocks/eslint/schemas.js +0 -42
  572. package/lib/blocks/eslint/schemas.js.map +0 -1
  573. package/lib/blocks/files/createJobName.d.ts +0 -5
  574. package/lib/blocks/files/createJobName.d.ts.map +0 -1
  575. package/lib/blocks/files/createJobName.js +0 -8
  576. package/lib/blocks/files/createJobName.js.map +0 -1
  577. package/lib/blocks/files/createMultiWorkflowFile.d.ts +0 -24
  578. package/lib/blocks/files/createMultiWorkflowFile.d.ts.map +0 -1
  579. package/lib/blocks/files/createMultiWorkflowFile.js +0 -30
  580. package/lib/blocks/files/createMultiWorkflowFile.js.map +0 -1
  581. package/lib/blocks/files/createSoloWorkflowFile.d.ts +0 -65
  582. package/lib/blocks/files/createSoloWorkflowFile.d.ts.map +0 -1
  583. package/lib/blocks/files/createSoloWorkflowFile.js +0 -21
  584. package/lib/blocks/files/createSoloWorkflowFile.js.map +0 -1
  585. package/lib/blocks/files/formatIgnoreFile.d.ts +0 -5
  586. package/lib/blocks/files/formatIgnoreFile.d.ts.map +0 -1
  587. package/lib/blocks/files/formatIgnoreFile.js +0 -8
  588. package/lib/blocks/files/formatIgnoreFile.js.map +0 -1
  589. package/lib/blocks/files/formatWorkflowYaml.d.ts +0 -5
  590. package/lib/blocks/files/formatWorkflowYaml.d.ts.map +0 -1
  591. package/lib/blocks/files/formatWorkflowYaml.js +0 -9
  592. package/lib/blocks/files/formatWorkflowYaml.js.map +0 -1
  593. package/lib/blocks/files/formatYaml.d.ts +0 -5
  594. package/lib/blocks/files/formatYaml.d.ts.map +0 -1
  595. package/lib/blocks/files/formatYaml.js +0 -20
  596. package/lib/blocks/files/formatYaml.js.map +0 -1
  597. package/lib/blocks/files/removeUsesQuotes.d.ts +0 -5
  598. package/lib/blocks/files/removeUsesQuotes.d.ts.map +0 -1
  599. package/lib/blocks/files/removeUsesQuotes.js +0 -8
  600. package/lib/blocks/files/removeUsesQuotes.js.map +0 -1
  601. package/lib/blocks/getInstallationSuggestions.d.ts +0 -5
  602. package/lib/blocks/getInstallationSuggestions.d.ts.map +0 -1
  603. package/lib/blocks/getInstallationSuggestions.js +0 -13
  604. package/lib/blocks/getInstallationSuggestions.js.map +0 -1
  605. package/lib/blocks/index.d.ts +0 -3713
  606. package/lib/blocks/index.d.ts.map +0 -1
  607. package/lib/blocks/index.js +0 -106
  608. package/lib/blocks/index.js.map +0 -1
  609. package/lib/blocks/intake/intakeFile.d.ts +0 -6
  610. package/lib/blocks/intake/intakeFile.d.ts.map +0 -1
  611. package/lib/blocks/intake/intakeFile.js +0 -13
  612. package/lib/blocks/intake/intakeFile.js.map +0 -1
  613. package/lib/blocks/intake/intakeFileAsJson.d.ts +0 -6
  614. package/lib/blocks/intake/intakeFileAsJson.d.ts.map +0 -1
  615. package/lib/blocks/intake/intakeFileAsJson.js +0 -15
  616. package/lib/blocks/intake/intakeFileAsJson.js.map +0 -1
  617. package/lib/blocks/intake/intakeFileAsYaml.d.ts +0 -6
  618. package/lib/blocks/intake/intakeFileAsYaml.d.ts.map +0 -1
  619. package/lib/blocks/intake/intakeFileAsYaml.js +0 -15
  620. package/lib/blocks/intake/intakeFileAsYaml.js.map +0 -1
  621. package/lib/blocks/intake/intakeFileDefineConfig.d.ts +0 -6
  622. package/lib/blocks/intake/intakeFileDefineConfig.d.ts.map +0 -1
  623. package/lib/blocks/intake/intakeFileDefineConfig.js +0 -24
  624. package/lib/blocks/intake/intakeFileDefineConfig.js.map +0 -1
  625. package/lib/blocks/intake/intakeFileExportObject.d.ts +0 -6
  626. package/lib/blocks/intake/intakeFileExportObject.d.ts.map +0 -1
  627. package/lib/blocks/intake/intakeFileExportObject.js +0 -24
  628. package/lib/blocks/intake/intakeFileExportObject.js.map +0 -1
  629. package/lib/blocks/options.fakes.d.ts +0 -26
  630. package/lib/blocks/options.fakes.d.ts.map +0 -1
  631. package/lib/blocks/options.fakes.js +0 -21
  632. package/lib/blocks/options.fakes.js.map +0 -1
  633. package/lib/blocks/outcomeLabels.d.ts +0 -15
  634. package/lib/blocks/outcomeLabels.d.ts.map +0 -1
  635. package/lib/blocks/outcomeLabels.js +0 -95
  636. package/lib/blocks/outcomeLabels.js.map +0 -1
  637. package/lib/blocks/phases.d.ts +0 -11
  638. package/lib/blocks/phases.d.ts.map +0 -1
  639. package/lib/blocks/phases.js +0 -12
  640. package/lib/blocks/phases.js.map +0 -1
  641. package/lib/constants.d.ts +0 -10
  642. package/lib/constants.d.ts.map +0 -1
  643. package/lib/constants.js +0 -9
  644. package/lib/constants.js.map +0 -1
  645. package/lib/data/contributions.d.ts +0 -5
  646. package/lib/data/contributions.d.ts.map +0 -1
  647. package/lib/data/contributions.js +0 -15
  648. package/lib/data/contributions.js.map +0 -1
  649. package/lib/data/packageData.d.ts +0 -10
  650. package/lib/data/packageData.d.ts.map +0 -1
  651. package/lib/data/packageData.js +0 -19
  652. package/lib/data/packageData.js.map +0 -1
  653. package/lib/index.d.ts +0 -294
  654. package/lib/index.d.ts.map +0 -1
  655. package/lib/index.js +0 -63
  656. package/lib/index.js.map +0 -1
  657. package/lib/inputs/inputFromDirectory.d.ts +0 -8
  658. package/lib/inputs/inputFromDirectory.d.ts.map +0 -1
  659. package/lib/inputs/inputFromDirectory.js +0 -13
  660. package/lib/inputs/inputFromDirectory.js.map +0 -1
  661. package/lib/inputs/inputFromOctokit.d.ts +0 -9
  662. package/lib/inputs/inputFromOctokit.d.ts.map +0 -1
  663. package/lib/inputs/inputFromOctokit.js +0 -25
  664. package/lib/inputs/inputFromOctokit.js.map +0 -1
  665. package/lib/options/readAccess.d.ts +0 -6
  666. package/lib/options/readAccess.d.ts.map +0 -1
  667. package/lib/options/readAccess.js +0 -8
  668. package/lib/options/readAccess.js.map +0 -1
  669. package/lib/options/readAllContributors.d.ts +0 -7
  670. package/lib/options/readAllContributors.d.ts.map +0 -1
  671. package/lib/options/readAllContributors.js +0 -20
  672. package/lib/options/readAllContributors.js.map +0 -1
  673. package/lib/options/readAuthor.d.ts +0 -9
  674. package/lib/options/readAuthor.d.ts.map +0 -1
  675. package/lib/options/readAuthor.js +0 -8
  676. package/lib/options/readAuthor.js.map +0 -1
  677. package/lib/options/readBin.d.ts +0 -6
  678. package/lib/options/readBin.d.ts.map +0 -1
  679. package/lib/options/readBin.js +0 -10
  680. package/lib/options/readBin.js.map +0 -1
  681. package/lib/options/readDescription.d.ts +0 -6
  682. package/lib/options/readDescription.d.ts.map +0 -1
  683. package/lib/options/readDescription.js +0 -19
  684. package/lib/options/readDescription.js.map +0 -1
  685. package/lib/options/readDescriptionFromReadme.d.ts +0 -5
  686. package/lib/options/readDescriptionFromReadme.d.ts.map +0 -1
  687. package/lib/options/readDescriptionFromReadme.js +0 -15
  688. package/lib/options/readDescriptionFromReadme.js.map +0 -1
  689. package/lib/options/readDevelopmentDocumentation.d.ts +0 -6
  690. package/lib/options/readDevelopmentDocumentation.d.ts.map +0 -1
  691. package/lib/options/readDevelopmentDocumentation.js +0 -23
  692. package/lib/options/readDevelopmentDocumentation.js.map +0 -1
  693. package/lib/options/readDocumentation.d.ts +0 -6
  694. package/lib/options/readDocumentation.d.ts.map +0 -1
  695. package/lib/options/readDocumentation.js +0 -23
  696. package/lib/options/readDocumentation.js.map +0 -1
  697. package/lib/options/readEmailFromCodeOfConduct.d.ts +0 -6
  698. package/lib/options/readEmailFromCodeOfConduct.d.ts.map +0 -1
  699. package/lib/options/readEmailFromCodeOfConduct.js +0 -10
  700. package/lib/options/readEmailFromCodeOfConduct.js.map +0 -1
  701. package/lib/options/readEmailFromGit.d.ts +0 -6
  702. package/lib/options/readEmailFromGit.d.ts.map +0 -1
  703. package/lib/options/readEmailFromGit.js +0 -9
  704. package/lib/options/readEmailFromGit.js.map +0 -1
  705. package/lib/options/readEmailFromNpm.d.ts +0 -7
  706. package/lib/options/readEmailFromNpm.d.ts.map +0 -1
  707. package/lib/options/readEmailFromNpm.js +0 -8
  708. package/lib/options/readEmailFromNpm.js.map +0 -1
  709. package/lib/options/readEmails.d.ts +0 -9
  710. package/lib/options/readEmails.d.ts.map +0 -1
  711. package/lib/options/readEmails.js +0 -13
  712. package/lib/options/readEmails.js.map +0 -1
  713. package/lib/options/readEmoji.d.ts +0 -5
  714. package/lib/options/readEmoji.d.ts.map +0 -1
  715. package/lib/options/readEmoji.js +0 -8
  716. package/lib/options/readEmoji.js.map +0 -1
  717. package/lib/options/readExistingLabels.d.ts +0 -10
  718. package/lib/options/readExistingLabels.d.ts.map +0 -1
  719. package/lib/options/readExistingLabels.js +0 -23
  720. package/lib/options/readExistingLabels.js.map +0 -1
  721. package/lib/options/readFileAsJson.d.ts +0 -5
  722. package/lib/options/readFileAsJson.d.ts.map +0 -1
  723. package/lib/options/readFileAsJson.js +0 -13
  724. package/lib/options/readFileAsJson.js.map +0 -1
  725. package/lib/options/readFileSafe.d.ts +0 -5
  726. package/lib/options/readFileSafe.d.ts.map +0 -1
  727. package/lib/options/readFileSafe.js +0 -13
  728. package/lib/options/readFileSafe.js.map +0 -1
  729. package/lib/options/readFunding.d.ts +0 -6
  730. package/lib/options/readFunding.d.ts.map +0 -1
  731. package/lib/options/readFunding.js +0 -10
  732. package/lib/options/readFunding.js.map +0 -1
  733. package/lib/options/readGitDefaults.d.ts +0 -7
  734. package/lib/options/readGitDefaults.d.ts.map +0 -1
  735. package/lib/options/readGitDefaults.js +0 -11
  736. package/lib/options/readGitDefaults.js.map +0 -1
  737. package/lib/options/readGuide.d.ts +0 -9
  738. package/lib/options/readGuide.d.ts.map +0 -1
  739. package/lib/options/readGuide.js +0 -16
  740. package/lib/options/readGuide.js.map +0 -1
  741. package/lib/options/readKeywords.d.ts +0 -6
  742. package/lib/options/readKeywords.d.ts.map +0 -1
  743. package/lib/options/readKeywords.js +0 -9
  744. package/lib/options/readKeywords.js.map +0 -1
  745. package/lib/options/readLogo.d.ts +0 -10
  746. package/lib/options/readLogo.d.ts.map +0 -1
  747. package/lib/options/readLogo.js +0 -21
  748. package/lib/options/readLogo.js.map +0 -1
  749. package/lib/options/readLogoSizing.d.ts +0 -9
  750. package/lib/options/readLogoSizing.d.ts.map +0 -1
  751. package/lib/options/readLogoSizing.js +0 -31
  752. package/lib/options/readLogoSizing.js.map +0 -1
  753. package/lib/options/readNode.d.ts +0 -9
  754. package/lib/options/readNode.d.ts.map +0 -1
  755. package/lib/options/readNode.js +0 -14
  756. package/lib/options/readNode.js.map +0 -1
  757. package/lib/options/readNpmDefaults.d.ts +0 -6
  758. package/lib/options/readNpmDefaults.d.ts.map +0 -1
  759. package/lib/options/readNpmDefaults.js +0 -11
  760. package/lib/options/readNpmDefaults.js.map +0 -1
  761. package/lib/options/readOwner.d.ts +0 -8
  762. package/lib/options/readOwner.d.ts.map +0 -1
  763. package/lib/options/readOwner.js +0 -9
  764. package/lib/options/readOwner.js.map +0 -1
  765. package/lib/options/readPackageAuthor.d.ts +0 -10
  766. package/lib/options/readPackageAuthor.d.ts.map +0 -1
  767. package/lib/options/readPackageAuthor.js +0 -14
  768. package/lib/options/readPackageAuthor.js.map +0 -1
  769. package/lib/options/readPackageData.d.ts +0 -7
  770. package/lib/options/readPackageData.d.ts.map +0 -1
  771. package/lib/options/readPackageData.js +0 -10
  772. package/lib/options/readPackageData.js.map +0 -1
  773. package/lib/options/readPnpm.d.ts +0 -6
  774. package/lib/options/readPnpm.d.ts.map +0 -1
  775. package/lib/options/readPnpm.js +0 -9
  776. package/lib/options/readPnpm.js.map +0 -1
  777. package/lib/options/readReadmeAdditional.d.ts +0 -5
  778. package/lib/options/readReadmeAdditional.d.ts.map +0 -1
  779. package/lib/options/readReadmeAdditional.js +0 -19
  780. package/lib/options/readReadmeAdditional.js.map +0 -1
  781. package/lib/options/readReadmeExplainer.d.ts +0 -5
  782. package/lib/options/readReadmeExplainer.d.ts.map +0 -1
  783. package/lib/options/readReadmeExplainer.js +0 -27
  784. package/lib/options/readReadmeExplainer.js.map +0 -1
  785. package/lib/options/readReadmeFootnotes.d.ts +0 -6
  786. package/lib/options/readReadmeFootnotes.d.ts.map +0 -1
  787. package/lib/options/readReadmeFootnotes.js +0 -17
  788. package/lib/options/readReadmeFootnotes.js.map +0 -1
  789. package/lib/options/readReadmeUsage.d.ts +0 -5
  790. package/lib/options/readReadmeUsage.d.ts.map +0 -1
  791. package/lib/options/readReadmeUsage.js +0 -15
  792. package/lib/options/readReadmeUsage.js.map +0 -1
  793. package/lib/options/readRepository.d.ts +0 -10
  794. package/lib/options/readRepository.d.ts.map +0 -1
  795. package/lib/options/readRepository.js +0 -8
  796. package/lib/options/readRepository.js.map +0 -1
  797. package/lib/options/readRulesetId.d.ts +0 -6
  798. package/lib/options/readRulesetId.d.ts.map +0 -1
  799. package/lib/options/readRulesetId.js +0 -15
  800. package/lib/options/readRulesetId.js.map +0 -1
  801. package/lib/options/readTitle.d.ts +0 -5
  802. package/lib/options/readTitle.d.ts.map +0 -1
  803. package/lib/options/readTitle.js +0 -13
  804. package/lib/options/readTitle.js.map +0 -1
  805. package/lib/options/readWords.d.ts +0 -6
  806. package/lib/options/readWords.d.ts.map +0 -1
  807. package/lib/options/readWords.js +0 -10
  808. package/lib/options/readWords.js.map +0 -1
  809. package/lib/options/readWorkflowsVersions.d.ts +0 -7
  810. package/lib/options/readWorkflowsVersions.d.ts.map +0 -1
  811. package/lib/options/readWorkflowsVersions.js +0 -47
  812. package/lib/options/readWorkflowsVersions.js.map +0 -1
  813. package/lib/package.json.d.ts +0 -138
  814. package/lib/package.json.d.ts.map +0 -1
  815. package/lib/presets/common.d.ts +0 -170
  816. package/lib/presets/common.d.ts.map +0 -1
  817. package/lib/presets/common.js +0 -28
  818. package/lib/presets/common.js.map +0 -1
  819. package/lib/presets/everything.d.ts +0 -170
  820. package/lib/presets/everything.d.ts.map +0 -1
  821. package/lib/presets/everything.js +0 -58
  822. package/lib/presets/everything.js.map +0 -1
  823. package/lib/presets/index.d.ts +0 -507
  824. package/lib/presets/index.d.ts.map +0 -1
  825. package/lib/presets/index.js +0 -13
  826. package/lib/presets/index.js.map +0 -1
  827. package/lib/presets/minimal.d.ts +0 -170
  828. package/lib/presets/minimal.d.ts.map +0 -1
  829. package/lib/presets/minimal.js +0 -68
  830. package/lib/presets/minimal.js.map +0 -1
  831. package/lib/schemas.d.ts +0 -111
  832. package/lib/schemas.d.ts.map +0 -1
  833. package/lib/schemas.js +0 -29
  834. package/lib/schemas.js.map +0 -1
  835. package/lib/template.d.ts +0 -170
  836. package/lib/template.d.ts.map +0 -1
  837. package/lib/template.js +0 -40
  838. package/lib/template.js.map +0 -1
  839. package/lib/types.d.ts +0 -42
  840. package/lib/types.d.ts.map +0 -1
  841. package/lib/utils/htmlToTextSafe.d.ts +0 -5
  842. package/lib/utils/htmlToTextSafe.d.ts.map +0 -1
  843. package/lib/utils/htmlToTextSafe.js +0 -15
  844. package/lib/utils/htmlToTextSafe.js.map +0 -1
  845. package/lib/utils/resolveBin.d.ts +0 -5
  846. package/lib/utils/resolveBin.d.ts.map +0 -1
  847. package/lib/utils/resolveBin.js +0 -9
  848. package/lib/utils/resolveBin.js.map +0 -1
  849. package/lib/utils/swallowError.d.ts +0 -5
  850. package/lib/utils/swallowError.d.ts.map +0 -1
  851. package/lib/utils/swallowError.js +0 -8
  852. package/lib/utils/swallowError.js.map +0 -1
  853. package/lib/utils/swallowErrorAsync.d.ts +0 -5
  854. package/lib/utils/swallowErrorAsync.d.ts.map +0 -1
  855. package/lib/utils/swallowErrorAsync.js +0 -12
  856. package/lib/utils/swallowErrorAsync.js.map +0 -1
  857. package/lib/utils/trimPrecedingSlash.d.ts +0 -5
  858. package/lib/utils/trimPrecedingSlash.d.ts.map +0 -1
  859. package/lib/utils/trimPrecedingSlash.js +0 -8
  860. package/lib/utils/trimPrecedingSlash.js.map +0 -1
  861. package/lib/utils/tryCatch.d.ts +0 -5
  862. package/lib/utils/tryCatch.d.ts.map +0 -1
  863. package/lib/utils/tryCatch.js +0 -12
  864. package/lib/utils/tryCatch.js.map +0 -1
  865. /package/{lib/_virtual/_rolldown/runtime.js → dist/_virtual/_rolldown/runtime.mjs} +0 -0
  866. /package/{lib/types.js → dist/types.mjs} +0 -0
@@ -1,149 +0,0 @@
1
- //#region src/blocks/blockPackageJson.d.ts
2
- declare const blockPackageJson: import("bingo-stratum").BlockWithAddons<{
3
- properties: {
4
- type?: "commonjs" | "module" | undefined;
5
- author?: string | {
6
- name: string;
7
- url?: string | undefined;
8
- email?: string | undefined;
9
- } | undefined;
10
- bin?: string | Record<string, string> | undefined;
11
- name?: string | undefined;
12
- contributors?: (string | {
13
- name: string;
14
- url?: string | undefined;
15
- email?: string | undefined;
16
- })[] | undefined;
17
- description?: string | undefined;
18
- funding?: string | {
19
- url: string;
20
- type?: string | undefined;
21
- } | (string | {
22
- url: string;
23
- type?: string | undefined;
24
- })[] | undefined;
25
- keywords?: string[] | undefined;
26
- dependencies?: Record<string, string> | undefined;
27
- devDependencies?: Record<string, string> | undefined;
28
- peerDependencies?: Record<string, string> | undefined;
29
- peerDependenciesMeta?: Record<string, {
30
- optional: boolean;
31
- }> | undefined;
32
- scripts?: Record<string, string | undefined> | undefined;
33
- repository?: string | {
34
- type: string;
35
- url: string;
36
- directory?: string | undefined;
37
- } | undefined;
38
- module?: string | undefined;
39
- version?: string | undefined;
40
- engines?: Record<string, string> | undefined;
41
- packageManager?: string | undefined;
42
- files?: string[] | undefined;
43
- license?: string | undefined;
44
- config?: Record<string, unknown> | undefined;
45
- private?: boolean | undefined;
46
- homepage?: string | undefined;
47
- maintainers?: (string | {
48
- name: string;
49
- url?: string | undefined;
50
- email?: string | undefined;
51
- })[] | undefined;
52
- main?: string | undefined;
53
- bugs?: string | {
54
- url?: string | undefined;
55
- email?: string | undefined;
56
- } | undefined;
57
- browser?: string | Record<string, string | boolean> | undefined;
58
- man?: string | string[] | undefined;
59
- directories?: Record<string, string> | undefined;
60
- bundleDependencies?: boolean | string[] | undefined;
61
- bundledDependencies?: boolean | string[] | undefined;
62
- optionalDependencies?: Record<string, string> | undefined;
63
- overrides?: Record<string, unknown> | undefined;
64
- os?: string[] | undefined;
65
- cpu?: string[] | undefined;
66
- publishConfig?: Record<string, unknown> | undefined;
67
- workspaces?: string[] | undefined;
68
- deprecated?: string | undefined;
69
- types?: string | undefined;
70
- typings?: string | undefined;
71
- typesVersions?: Record<string, Record<string, string[]>> | undefined;
72
- sideEffects?: boolean | string[] | undefined;
73
- imports?: Record<string, unknown> | undefined;
74
- exports?: string | string[] | Record<string, unknown> | null | undefined;
75
- } & {
76
- [k: string]: unknown;
77
- };
78
- cleanupCommands: string[];
79
- }, {
80
- access: "public" | "restricted";
81
- description: string;
82
- directory: string;
83
- documentation: {
84
- readme: {
85
- additional?: string | undefined;
86
- explainer?: string | undefined;
87
- footnotes?: string | undefined;
88
- usage?: string | undefined;
89
- };
90
- development?: string | undefined;
91
- };
92
- email: {
93
- github: string;
94
- npm: string;
95
- };
96
- title: string;
97
- node: {
98
- minimum: string;
99
- pinned?: string | undefined;
100
- };
101
- owner: string;
102
- repository: string;
103
- type?: "commonjs" | "module" | undefined;
104
- author?: string | undefined;
105
- bin?: string | Record<string, string> | undefined;
106
- contributors?: {
107
- avatar_url: string;
108
- contributions: string[];
109
- login: string;
110
- name: string;
111
- profile: string;
112
- }[] | undefined;
113
- emoji?: string | undefined;
114
- existingLabels?: {
115
- name: string;
116
- description: string;
117
- color: string;
118
- }[] | undefined;
119
- funding?: string | undefined;
120
- guide?: {
121
- href: string;
122
- title: string;
123
- } | undefined;
124
- keywords?: string[] | undefined;
125
- logo?: {
126
- alt: string;
127
- src: string;
128
- height?: number | undefined;
129
- width?: number | undefined;
130
- } | undefined;
131
- packageData?: {
132
- dependencies?: Record<string, string> | undefined;
133
- devDependencies?: Record<string, string> | undefined;
134
- peerDependencies?: Record<string, string> | undefined;
135
- peerDependenciesMeta?: Record<string, unknown> | undefined;
136
- scripts?: Record<string, string | undefined> | undefined;
137
- } | undefined;
138
- pnpm?: string | undefined;
139
- rulesetId?: string | undefined;
140
- version?: string | undefined;
141
- words?: string[] | undefined;
142
- workflowsVersions?: Record<string, Record<string, {
143
- pinned?: boolean | undefined;
144
- hash?: string | undefined;
145
- }>> | undefined;
146
- }>;
147
- //#endregion
148
- export { blockPackageJson };
149
- //# sourceMappingURL=blockPackageJson.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockPackageJson.d.ts","names":[],"sources":["../../src/blocks/blockPackageJson.ts"],"mappings":";cAiBa,0CAAgB"}
@@ -1,87 +0,0 @@
1
- import { htmlToTextSafe } from "../utils/htmlToTextSafe.js";
2
- import { base } from "../base.js";
3
- import { CommandPhase } from "./phases.js";
4
- import { blockRemoveFiles } from "./blockRemoveFiles.js";
5
- import { z } from "zod";
6
- import semver from "semver";
7
- import removeUndefinedObjects from "remove-undefined-objects";
8
- import sortPackageJson from "sort-package-json";
9
- import { PackageJson } from "zod-package-json";
10
- //#region src/blocks/blockPackageJson.ts
11
- const PackageJsonWithNullableScripts = PackageJson.partial().extend({ scripts: z.record(z.string(), z.union([z.string(), z.undefined()])).optional() });
12
- const blockPackageJson = base.createBlock({
13
- about: { name: "Package JSON" },
14
- addons: {
15
- cleanupCommands: z.array(z.string()).default([]),
16
- properties: PackageJsonWithNullableScripts.default({})
17
- },
18
- produce({ addons, offline, options }) {
19
- const dependencies = useLargerVersions(options.packageData?.dependencies, {
20
- ...options.packageData?.dependencies,
21
- ...addons.properties.dependencies
22
- });
23
- const devDependencies = useLargerVersions(options.packageData?.devDependencies, {
24
- ...options.packageData?.devDependencies,
25
- ...addons.properties.devDependencies
26
- });
27
- const description = htmlToTextSafe(options.description);
28
- return {
29
- files: { "package.json": sortPackageJson(JSON.stringify(removeUndefinedObjects({
30
- ...options.packageData,
31
- ...addons.properties,
32
- author: {
33
- email: options.email.npm,
34
- name: options.author
35
- },
36
- bin: options.bin,
37
- dependencies: Object.keys(dependencies).length ? dependencies : void 0,
38
- description,
39
- devDependencies: Object.keys(devDependencies).length ? devDependencies : void 0,
40
- engines: { node: `>=${options.node.minimum}` },
41
- ...options.pnpm && { packageManager: `pnpm@${options.pnpm}` },
42
- files: processFiles(addons.properties.files),
43
- keywords: options.keywords,
44
- name: options.repository,
45
- repository: {
46
- type: "git",
47
- url: `git+https://github.com/${options.owner}/${options.repository}.git`
48
- },
49
- scripts: {
50
- ...options.packageData?.scripts,
51
- ...addons.properties.scripts
52
- },
53
- type: options.type ?? "module",
54
- version: options.version ?? "0.0.0"
55
- }))) },
56
- scripts: [{
57
- commands: [`pnpm install ${offline ? "--offline " : ""}--no-frozen-lockfile`, ...addons.cleanupCommands],
58
- phase: CommandPhase.Install
59
- }]
60
- };
61
- },
62
- transition() {
63
- return { addons: [blockRemoveFiles({ files: ["package-lock.json yarn.lock"] })] };
64
- }
65
- });
66
- function processFiles(files) {
67
- if (!files?.length) return;
68
- const sortedByLength = files.filter(Boolean).sort((a, b) => a.length - b.length);
69
- return sortedByLength.filter((file, i) => !sortedByLength.slice(0, i).some((earlier) => earlier.endsWith("/") && file.startsWith(earlier))).sort();
70
- }
71
- function removeRangePrefix(version) {
72
- const raw = version.replaceAll(/[\^~><=]/gu, "").split(" ")[0];
73
- return semver.coerce(raw) ?? raw;
74
- }
75
- function useLargerVersion(existing, replacement) {
76
- if (!existing || existing === replacement) return replacement;
77
- const existingCoerced = semver.coerce(removeRangePrefix(existing));
78
- return existingCoerced && semver.gt(existingCoerced, removeRangePrefix(replacement)) ? existing : replacement;
79
- }
80
- function useLargerVersions(existing, replacements) {
81
- if (!existing) return replacements;
82
- return Object.fromEntries(Object.entries(replacements).map(([key, replacement]) => [key, useLargerVersion(existing[key], replacement)]));
83
- }
84
- //#endregion
85
- export { blockPackageJson };
86
-
87
- //# sourceMappingURL=blockPackageJson.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockPackageJson.js","names":[],"sources":["../../src/blocks/blockPackageJson.ts"],"sourcesContent":["import removeUndefinedObjects from \"remove-undefined-objects\";\nimport semver from \"semver\";\nimport sortPackageJson from \"sort-package-json\";\nimport { z } from \"zod\";\nimport { PackageJson } from \"zod-package-json\";\n\nimport { base } from \"../base.js\";\nimport { htmlToTextSafe } from \"../utils/htmlToTextSafe.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nconst PackageJsonWithNullableScripts = PackageJson.partial().extend({\n\tscripts: z\n\t\t.record(z.string(), z.union([z.string(), z.undefined()]))\n\t\t.optional(),\n});\n\nexport const blockPackageJson = base.createBlock({\n\tabout: {\n\t\tname: \"Package JSON\",\n\t},\n\taddons: {\n\t\tcleanupCommands: z.array(z.string()).default([]),\n\t\tproperties: PackageJsonWithNullableScripts.default({}),\n\t},\n\tproduce({ addons, offline, options }) {\n\t\tconst dependencies = useLargerVersions(options.packageData?.dependencies, {\n\t\t\t...options.packageData?.dependencies,\n\t\t\t...addons.properties.dependencies,\n\t\t});\n\t\tconst devDependencies = useLargerVersions(\n\t\t\toptions.packageData?.devDependencies,\n\t\t\t{\n\t\t\t\t...options.packageData?.devDependencies,\n\t\t\t\t...addons.properties.devDependencies,\n\t\t\t},\n\t\t);\n\t\tconst description = htmlToTextSafe(options.description);\n\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\"package.json\": sortPackageJson(\n\t\t\t\t\tJSON.stringify(\n\t\t\t\t\t\tremoveUndefinedObjects({\n\t\t\t\t\t\t\t...options.packageData,\n\t\t\t\t\t\t\t...addons.properties,\n\t\t\t\t\t\t\tauthor: { email: options.email.npm, name: options.author },\n\t\t\t\t\t\t\tbin: options.bin,\n\t\t\t\t\t\t\tdependencies: Object.keys(dependencies).length\n\t\t\t\t\t\t\t\t? dependencies\n\t\t\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\t\tdescription,\n\t\t\t\t\t\t\tdevDependencies: Object.keys(devDependencies).length\n\t\t\t\t\t\t\t\t? devDependencies\n\t\t\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\t\tengines: {\n\t\t\t\t\t\t\t\tnode: `>=${options.node.minimum}`,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t...(options.pnpm && {\n\t\t\t\t\t\t\t\tpackageManager: `pnpm@${options.pnpm}`,\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tfiles: processFiles(addons.properties.files),\n\t\t\t\t\t\t\tkeywords: options.keywords,\n\t\t\t\t\t\t\tname: options.repository,\n\t\t\t\t\t\t\trepository: {\n\t\t\t\t\t\t\t\ttype: \"git\",\n\t\t\t\t\t\t\t\turl: `git+https://github.com/${options.owner}/${options.repository}.git`,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\t\t...options.packageData?.scripts,\n\t\t\t\t\t\t\t\t...addons.properties.scripts,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\ttype: options.type ?? \"module\",\n\t\t\t\t\t\t\tversion: options.version ?? \"0.0.0\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t),\n\t\t\t\t),\n\t\t\t},\n\t\t\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [\n\t\t\t\t\t\t`pnpm install ${offline ? \"--offline \" : \"\"}--no-frozen-lockfile`,\n\t\t\t\t\t\t...addons.cleanupCommands,\n\t\t\t\t\t],\n\t\t\t\t\tphase: CommandPhase.Install,\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [blockRemoveFiles({ files: [\"package-lock.json yarn.lock\"] })],\n\t\t};\n\t},\n});\n\nfunction processFiles(files: string[] | undefined) {\n\t// If no files have been specified, we can skip the property altogether\n\tif (!files?.length) {\n\t\treturn undefined;\n\t}\n\n\t// First sort so that shorter entries are first (e.g. \"lib/\")...\n\tconst sortedByLength = files\n\t\t.filter(Boolean)\n\t\t.sort((a, b) => a.length - b.length);\n\n\t// ...then remove entries captured by earlier directories (e.g. \"lib/index.js\")\n\treturn sortedByLength\n\t\t.filter(\n\t\t\t(file, i) =>\n\t\t\t\t!sortedByLength\n\t\t\t\t\t.slice(0, i)\n\t\t\t\t\t.some((earlier) => earlier.endsWith(\"/\") && file.startsWith(earlier)),\n\t\t)\n\t\t.sort();\n}\n\nfunction removeRangePrefix(version: string) {\n\tconst raw = version.replaceAll(/[\\^~><=]/gu, \"\").split(\" \")[0];\n\n\treturn semver.coerce(raw) ?? raw;\n}\n\nfunction useLargerVersion(existing: string | undefined, replacement: string) {\n\tif (!existing || existing === replacement) {\n\t\treturn replacement;\n\t}\n\n\tconst existingCoerced = semver.coerce(removeRangePrefix(existing));\n\n\treturn existingCoerced &&\n\t\tsemver.gt(existingCoerced, removeRangePrefix(replacement))\n\t\t? existing\n\t\t: replacement;\n}\n\nfunction useLargerVersions(\n\texisting: Record<string, string | undefined> | undefined,\n\treplacements: Record<string, string>,\n) {\n\tif (!existing) {\n\t\treturn replacements;\n\t}\n\n\treturn Object.fromEntries(\n\t\tObject.entries(replacements).map(([key, replacement]) => [\n\t\t\tkey,\n\t\t\tuseLargerVersion(existing[key], replacement),\n\t\t]),\n\t);\n}\n"],"mappings":";;;;;;;;;;AAWA,MAAM,iCAAiC,YAAY,QAAQ,CAAC,CAAC,OAAO,EACnE,SAAS,EACP,OAAO,EAAE,OAAO,GAAG,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CACxD,SAAS,EACZ,CAAC;AAED,MAAa,mBAAmB,KAAK,YAAY;CAChD,OAAO,EACN,MAAM,eACP;CACA,QAAQ;EACP,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;EAC/C,YAAY,+BAA+B,QAAQ,CAAC,CAAC;CACtD;CACA,QAAQ,EAAE,QAAQ,SAAS,WAAW;EACrC,MAAM,eAAe,kBAAkB,QAAQ,aAAa,cAAc;GACzE,GAAG,QAAQ,aAAa;GACxB,GAAG,OAAO,WAAW;EACtB,CAAC;EACD,MAAM,kBAAkB,kBACvB,QAAQ,aAAa,iBACrB;GACC,GAAG,QAAQ,aAAa;GACxB,GAAG,OAAO,WAAW;EACtB,CACD;EACA,MAAM,cAAc,eAAe,QAAQ,WAAW;EAEtD,OAAO;GACN,OAAO,EACN,gBAAgB,gBACf,KAAK,UACJ,uBAAuB;IACtB,GAAG,QAAQ;IACX,GAAG,OAAO;IACV,QAAQ;KAAE,OAAO,QAAQ,MAAM;KAAK,MAAM,QAAQ;IAAO;IACzD,KAAK,QAAQ;IACb,cAAc,OAAO,KAAK,YAAY,CAAC,CAAC,SACrC,eACA,KAAA;IACH;IACA,iBAAiB,OAAO,KAAK,eAAe,CAAC,CAAC,SAC3C,kBACA,KAAA;IACH,SAAS,EACR,MAAM,KAAK,QAAQ,KAAK,UACzB;IACA,GAAI,QAAQ,QAAQ,EACnB,gBAAgB,QAAQ,QAAQ,OACjC;IACA,OAAO,aAAa,OAAO,WAAW,KAAK;IAC3C,UAAU,QAAQ;IAClB,MAAM,QAAQ;IACd,YAAY;KACX,MAAM;KACN,KAAK,0BAA0B,QAAQ,MAAM,GAAG,QAAQ,WAAW;IACpE;IACA,SAAS;KACR,GAAG,QAAQ,aAAa;KACxB,GAAG,OAAO,WAAW;IACtB;IACA,MAAM,QAAQ,QAAQ;IACtB,SAAS,QAAQ,WAAW;GAC7B,CAAC,CACF,CACD,EACD;GACA,SAAS,CACR;IACC,UAAU,CACT,gBAAgB,UAAU,eAAe,GAAG,uBAC5C,GAAG,OAAO,eACX;IACA,OAAO,aAAa;GACrB,CACD;EACD;CACD;CACA,aAAa;EACZ,OAAO,EACN,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC,6BAA6B,EAAE,CAAC,CAAC,EACtE;CACD;AACD,CAAC;AAED,SAAS,aAAa,OAA6B;CAElD,IAAI,CAAC,OAAO,QACX;CAID,MAAM,iBAAiB,MACrB,OAAO,OAAO,CAAC,CACf,MAAM,GAAG,MAAM,EAAE,SAAS,EAAE,MAAM;CAGpC,OAAO,eACL,QACC,MAAM,MACN,CAAC,eACC,MAAM,GAAG,CAAC,CAAC,CACX,MAAM,YAAY,QAAQ,SAAS,GAAG,KAAK,KAAK,WAAW,OAAO,CAAC,CACvE,CAAC,CACA,KAAK;AACR;AAEA,SAAS,kBAAkB,SAAiB;CAC3C,MAAM,MAAM,QAAQ,WAAW,cAAc,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;CAE5D,OAAO,OAAO,OAAO,GAAG,KAAK;AAC9B;AAEA,SAAS,iBAAiB,UAA8B,aAAqB;CAC5E,IAAI,CAAC,YAAY,aAAa,aAC7B,OAAO;CAGR,MAAM,kBAAkB,OAAO,OAAO,kBAAkB,QAAQ,CAAC;CAEjE,OAAO,mBACN,OAAO,GAAG,iBAAiB,kBAAkB,WAAW,CAAC,IACvD,WACA;AACJ;AAEA,SAAS,kBACR,UACA,cACC;CACD,IAAI,CAAC,UACJ,OAAO;CAGR,OAAO,OAAO,YACb,OAAO,QAAQ,YAAY,CAAC,CAAC,KAAK,CAAC,KAAK,iBAAiB,CACxD,KACA,iBAAiB,SAAS,MAAM,WAAW,CAC5C,CAAC,CACF;AACD"}
@@ -1,72 +0,0 @@
1
- //#region src/blocks/blockPnpmDedupe.d.ts
2
- declare const blockPnpmDedupe: import("bingo-stratum").BlockWithoutAddons<{
3
- access: "public" | "restricted";
4
- description: string;
5
- directory: string;
6
- documentation: {
7
- readme: {
8
- additional?: string | undefined;
9
- explainer?: string | undefined;
10
- footnotes?: string | undefined;
11
- usage?: string | undefined;
12
- };
13
- development?: string | undefined;
14
- };
15
- email: {
16
- github: string;
17
- npm: string;
18
- };
19
- title: string;
20
- node: {
21
- minimum: string;
22
- pinned?: string | undefined;
23
- };
24
- owner: string;
25
- repository: string;
26
- type?: "commonjs" | "module" | undefined;
27
- author?: string | undefined;
28
- bin?: string | Record<string, string> | undefined;
29
- contributors?: {
30
- avatar_url: string;
31
- contributions: string[];
32
- login: string;
33
- name: string;
34
- profile: string;
35
- }[] | undefined;
36
- emoji?: string | undefined;
37
- existingLabels?: {
38
- name: string;
39
- description: string;
40
- color: string;
41
- }[] | undefined;
42
- funding?: string | undefined;
43
- guide?: {
44
- href: string;
45
- title: string;
46
- } | undefined;
47
- keywords?: string[] | undefined;
48
- logo?: {
49
- alt: string;
50
- src: string;
51
- height?: number | undefined;
52
- width?: number | undefined;
53
- } | undefined;
54
- packageData?: {
55
- dependencies?: Record<string, string> | undefined;
56
- devDependencies?: Record<string, string> | undefined;
57
- peerDependencies?: Record<string, string> | undefined;
58
- peerDependenciesMeta?: Record<string, unknown> | undefined;
59
- scripts?: Record<string, string | undefined> | undefined;
60
- } | undefined;
61
- pnpm?: string | undefined;
62
- rulesetId?: string | undefined;
63
- version?: string | undefined;
64
- words?: string[] | undefined;
65
- workflowsVersions?: Record<string, Record<string, {
66
- pinned?: boolean | undefined;
67
- hash?: string | undefined;
68
- }>> | undefined;
69
- }>;
70
- //#endregion
71
- export { blockPnpmDedupe };
72
- //# sourceMappingURL=blockPnpmDedupe.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockPnpmDedupe.d.ts","names":[],"sources":["../../src/blocks/blockPnpmDedupe.ts"],"mappings":";cAKa,yCAAe"}
@@ -1,21 +0,0 @@
1
- import { base } from "../base.js";
2
- import { blockGitHubActionsCI } from "./blockGitHubActionsCI.js";
3
- import { blockPackageJson } from "./blockPackageJson.js";
4
- import { blockRemoveWorkflows } from "./blockRemoveWorkflows.js";
5
- //#region src/blocks/blockPnpmDedupe.ts
6
- const blockPnpmDedupe = base.createBlock({
7
- about: { name: "pnpm Dedupe" },
8
- produce() {
9
- return { addons: [blockGitHubActionsCI({ jobs: [{
10
- name: "Dedupe Check",
11
- steps: [{ run: "pnpm dedupe --check" }]
12
- }] }), blockPackageJson({ cleanupCommands: ["pnpm dedupe"] })] };
13
- },
14
- transition() {
15
- return { addons: [blockRemoveWorkflows({ workflows: ["lint-packages"] })] };
16
- }
17
- });
18
- //#endregion
19
- export { blockPnpmDedupe };
20
-
21
- //# sourceMappingURL=blockPnpmDedupe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockPnpmDedupe.js","names":[],"sources":["../../src/blocks/blockPnpmDedupe.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\n\nexport const blockPnpmDedupe = base.createBlock({\n\tabout: {\n\t\tname: \"pnpm Dedupe\",\n\t},\n\tproduce() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockGitHubActionsCI({\n\t\t\t\t\tjobs: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Dedupe Check\",\n\t\t\t\t\t\t\tsteps: [{ run: \"pnpm dedupe --check\" }],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tcleanupCommands: [\"pnpm dedupe\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"lint-packages\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;AAKA,MAAa,kBAAkB,KAAK,YAAY;CAC/C,OAAO,EACN,MAAM,cACP;CACA,UAAU;EACT,OAAO,EACN,QAAQ,CACP,qBAAqB,EACpB,MAAM,CACL;GACC,MAAM;GACN,OAAO,CAAC,EAAE,KAAK,sBAAsB,CAAC;EACvC,CACD,EACD,CAAC,GACD,iBAAiB,EAChB,iBAAiB,CAAC,aAAa,EAChC,CAAC,CACF,EACD;CACD;CACA,aAAa;EACZ,OAAO,EACN,QAAQ,CACP,qBAAqB,EACpB,WAAW,CAAC,eAAe,EAC5B,CAAC,CACF,EACD;CACD;AACD,CAAC"}
@@ -1,82 +0,0 @@
1
- //#region src/blocks/blockPrettier.d.ts
2
- declare const blockPrettier: import("bingo-stratum").BlockWithAddons<{
3
- overrides: {
4
- options: {
5
- parser: string;
6
- };
7
- files: string;
8
- }[];
9
- ignores: string[];
10
- plugins: string[];
11
- runBefore: string[];
12
- }, {
13
- access: "public" | "restricted";
14
- description: string;
15
- directory: string;
16
- documentation: {
17
- readme: {
18
- additional?: string | undefined;
19
- explainer?: string | undefined;
20
- footnotes?: string | undefined;
21
- usage?: string | undefined;
22
- };
23
- development?: string | undefined;
24
- };
25
- email: {
26
- github: string;
27
- npm: string;
28
- };
29
- title: string;
30
- node: {
31
- minimum: string;
32
- pinned?: string | undefined;
33
- };
34
- owner: string;
35
- repository: string;
36
- type?: "commonjs" | "module" | undefined;
37
- author?: string | undefined;
38
- bin?: string | Record<string, string> | undefined;
39
- contributors?: {
40
- avatar_url: string;
41
- contributions: string[];
42
- login: string;
43
- name: string;
44
- profile: string;
45
- }[] | undefined;
46
- emoji?: string | undefined;
47
- existingLabels?: {
48
- name: string;
49
- description: string;
50
- color: string;
51
- }[] | undefined;
52
- funding?: string | undefined;
53
- guide?: {
54
- href: string;
55
- title: string;
56
- } | undefined;
57
- keywords?: string[] | undefined;
58
- logo?: {
59
- alt: string;
60
- src: string;
61
- height?: number | undefined;
62
- width?: number | undefined;
63
- } | undefined;
64
- packageData?: {
65
- dependencies?: Record<string, string> | undefined;
66
- devDependencies?: Record<string, string> | undefined;
67
- peerDependencies?: Record<string, string> | undefined;
68
- peerDependenciesMeta?: Record<string, unknown> | undefined;
69
- scripts?: Record<string, string | undefined> | undefined;
70
- } | undefined;
71
- pnpm?: string | undefined;
72
- rulesetId?: string | undefined;
73
- version?: string | undefined;
74
- words?: string[] | undefined;
75
- workflowsVersions?: Record<string, Record<string, {
76
- pinned?: boolean | undefined;
77
- hash?: string | undefined;
78
- }>> | undefined;
79
- }>;
80
- //#endregion
81
- export { blockPrettier };
82
- //# sourceMappingURL=blockPrettier.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockPrettier.d.ts","names":[],"sources":["../../src/blocks/blockPrettier.ts"],"mappings":";cAea,uCAAa"}
@@ -1,97 +0,0 @@
1
- import { getPackageDependencies } from "../data/packageData.js";
2
- import { base } from "../base.js";
3
- import { CommandPhase } from "./phases.js";
4
- import { blockRemoveFiles } from "./blockRemoveFiles.js";
5
- import { blockGitHubActionsCI } from "./blockGitHubActionsCI.js";
6
- import { blockPackageJson } from "./blockPackageJson.js";
7
- import { blockDevelopmentDocs } from "./blockDevelopmentDocs.js";
8
- import { blockRemoveWorkflows } from "./blockRemoveWorkflows.js";
9
- import { blockVSCode } from "./blockVSCode.js";
10
- import { blockCSpell } from "./blockCSpell.js";
11
- import { blockRemoveDependencies } from "./blockRemoveDependencies.js";
12
- import { formatIgnoreFile } from "./files/formatIgnoreFile.js";
13
- import { z } from "zod";
14
- //#region src/blocks/blockPrettier.ts
15
- const blockPrettier = base.createBlock({
16
- about: { name: "Prettier" },
17
- addons: {
18
- ignores: z.array(z.string()).default([]),
19
- overrides: z.array(z.object({
20
- files: z.string(),
21
- options: z.object({ parser: z.string() })
22
- })).default([]),
23
- plugins: z.array(z.string()).default([]),
24
- runBefore: z.array(z.string()).default([])
25
- },
26
- produce({ addons }) {
27
- const { ignores, overrides, plugins, runBefore } = addons;
28
- return {
29
- addons: [
30
- blockCSpell({ ignorePaths: [".all-contributorsrc"] }),
31
- blockDevelopmentDocs({ sections: { Formatting: { contents: `
32
- [Prettier](https://prettier.io) is used to format code.
33
- It should be applied automatically when you save files in VS Code or make a Git commit.
34
-
35
- To manually reformat all files, you can run:
36
-
37
- \`\`\`shell
38
- pnpm format --write
39
- \`\`\`
40
- ` } } }),
41
- blockGitHubActionsCI({ jobs: [{
42
- name: "Format Check",
43
- steps: [...runBefore.map((run) => ({ run })), { run: "pnpm format --list-different" }]
44
- }] }),
45
- blockPackageJson({ properties: {
46
- devDependencies: getPackageDependencies(...plugins.filter((plugin) => !plugin.startsWith(".")), "husky", "lint-staged", "prettier"),
47
- "lint-staged": { "*": "prettier --ignore-unknown --write" },
48
- scripts: {
49
- format: "prettier .",
50
- prepare: "husky"
51
- }
52
- } }),
53
- blockVSCode({
54
- extensions: ["esbenp.prettier-vscode"],
55
- settings: { "editor.defaultFormatter": "esbenp.prettier-vscode" }
56
- })
57
- ],
58
- files: {
59
- ".husky": {
60
- ".gitignore": "_\n",
61
- "pre-commit": ["npx lint-staged\n", { executable: true }]
62
- },
63
- ".prettierignore": formatIgnoreFile([
64
- "/.husky",
65
- "/lib",
66
- "/pnpm-lock.yaml",
67
- ...ignores
68
- ].sort()),
69
- ".prettierrc.json": JSON.stringify({
70
- $schema: "http://json.schemastore.org/prettierrc",
71
- ...overrides.length && { overrides: overrides.sort() },
72
- ...plugins.length && { plugins: plugins.sort() },
73
- useTabs: true
74
- })
75
- },
76
- scripts: [{
77
- commands: [...runBefore, "pnpm format --write"],
78
- phase: CommandPhase.Format
79
- }]
80
- };
81
- },
82
- transition() {
83
- return { addons: [
84
- blockRemoveDependencies({ dependencies: ["eslint-config-prettier", "eslint-plugin-prettier"] }),
85
- blockRemoveFiles({ files: [
86
- ".prettierrc",
87
- ".prettierrc.{c*,js,m*,t*}",
88
- "prettier.config*"
89
- ] }),
90
- blockRemoveWorkflows({ workflows: ["format", "prettier"] })
91
- ] };
92
- }
93
- });
94
- //#endregion
95
- export { blockPrettier };
96
-
97
- //# sourceMappingURL=blockPrettier.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockPrettier.js","names":[],"sources":["../../src/blocks/blockPrettier.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.js\";\nimport { blockCSpell } from \"./blockCSpell.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRemoveDependencies } from \"./blockRemoveDependencies.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\nimport { blockVSCode } from \"./blockVSCode.js\";\nimport { formatIgnoreFile } from \"./files/formatIgnoreFile.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nexport const blockPrettier = base.createBlock({\n\tabout: {\n\t\tname: \"Prettier\",\n\t},\n\taddons: {\n\t\tignores: z.array(z.string()).default([]),\n\t\toverrides: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\tfiles: z.string(),\n\t\t\t\t\toptions: z.object({\n\t\t\t\t\t\tparser: z.string(),\n\t\t\t\t\t}),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.default([]),\n\t\tplugins: z.array(z.string()).default([]),\n\t\trunBefore: z.array(z.string()).default([]),\n\t},\n\tproduce({ addons }) {\n\t\tconst { ignores, overrides, plugins, runBefore } = addons;\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockCSpell({\n\t\t\t\t\tignorePaths: [\".all-contributorsrc\"],\n\t\t\t\t}),\n\t\t\t\tblockDevelopmentDocs({\n\t\t\t\t\tsections: {\n\t\t\t\t\t\tFormatting: {\n\t\t\t\t\t\t\tcontents: `\n[Prettier](https://prettier.io) is used to format code.\nIt should be applied automatically when you save files in VS Code or make a Git commit.\n\nTo manually reformat all files, you can run:\n\n\\`\\`\\`shell\npnpm format --write\n\\`\\`\\`\n`,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockGitHubActionsCI({\n\t\t\t\t\tjobs: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Format Check\",\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t...runBefore.map((run) => ({ run })),\n\t\t\t\t\t\t\t\t{ run: \"pnpm format --list-different\" },\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tdevDependencies: getPackageDependencies(\n\t\t\t\t\t\t\t...plugins.filter((plugin) => !plugin.startsWith(\".\")),\n\t\t\t\t\t\t\t\"husky\",\n\t\t\t\t\t\t\t\"lint-staged\",\n\t\t\t\t\t\t\t\"prettier\",\n\t\t\t\t\t\t),\n\t\t\t\t\t\t\"lint-staged\": {\n\t\t\t\t\t\t\t\"*\": \"prettier --ignore-unknown --write\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\tformat: \"prettier .\",\n\t\t\t\t\t\t\tprepare: \"husky\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockVSCode({\n\t\t\t\t\textensions: [\"esbenp.prettier-vscode\"],\n\t\t\t\t\tsettings: { \"editor.defaultFormatter\": \"esbenp.prettier-vscode\" },\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t\".husky\": {\n\t\t\t\t\t\".gitignore\": \"_\\n\",\n\t\t\t\t\t\"pre-commit\": [\"npx lint-staged\\n\", { executable: true }],\n\t\t\t\t},\n\t\t\t\t\".prettierignore\": formatIgnoreFile(\n\t\t\t\t\t[\"/.husky\", \"/lib\", \"/pnpm-lock.yaml\", ...ignores].sort(),\n\t\t\t\t),\n\t\t\t\t\".prettierrc.json\": JSON.stringify({\n\t\t\t\t\t$schema: \"http://json.schemastore.org/prettierrc\",\n\t\t\t\t\t...(overrides.length && { overrides: overrides.sort() }),\n\t\t\t\t\t...(plugins.length && { plugins: plugins.sort() }),\n\t\t\t\t\tuseTabs: true,\n\t\t\t\t}),\n\t\t\t},\n\t\t\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [...runBefore, \"pnpm format --write\"],\n\t\t\t\t\tphase: CommandPhase.Format,\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveDependencies({\n\t\t\t\t\tdependencies: [\"eslint-config-prettier\", \"eslint-plugin-prettier\"],\n\t\t\t\t}),\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\n\t\t\t\t\t\t\".prettierrc\",\n\t\t\t\t\t\t\".prettierrc.{c*,js,m*,t*}\",\n\t\t\t\t\t\t\"prettier.config*\",\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"format\", \"prettier\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;;;;;AAeA,MAAa,gBAAgB,KAAK,YAAY;CAC7C,OAAO,EACN,MAAM,WACP;CACA,QAAQ;EACP,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;EACvC,WAAW,EACT,MACA,EAAE,OAAO;GACR,OAAO,EAAE,OAAO;GAChB,SAAS,EAAE,OAAO,EACjB,QAAQ,EAAE,OAAO,EAClB,CAAC;EACF,CAAC,CACF,CAAC,CACA,QAAQ,CAAC,CAAC;EACZ,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;EACvC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;CAC1C;CACA,QAAQ,EAAE,UAAU;EACnB,MAAM,EAAE,SAAS,WAAW,SAAS,cAAc;EAEnD,OAAO;GACN,QAAQ;IACP,YAAY,EACX,aAAa,CAAC,qBAAqB,EACpC,CAAC;IACD,qBAAqB,EACpB,UAAU,EACT,YAAY,EACX,UAAU;;;;;;;;;EAUX,EACD,EACD,CAAC;IACD,qBAAqB,EACpB,MAAM,CACL;KACC,MAAM;KACN,OAAO,CACN,GAAG,UAAU,KAAK,SAAS,EAAE,IAAI,EAAE,GACnC,EAAE,KAAK,+BAA+B,CACvC;IACD,CACD,EACD,CAAC;IACD,iBAAiB,EAChB,YAAY;KACX,iBAAiB,uBAChB,GAAG,QAAQ,QAAQ,WAAW,CAAC,OAAO,WAAW,GAAG,CAAC,GACrD,SACA,eACA,UACD;KACA,eAAe,EACd,KAAK,oCACN;KACA,SAAS;MACR,QAAQ;MACR,SAAS;KACV;IACD,EACD,CAAC;IACD,YAAY;KACX,YAAY,CAAC,wBAAwB;KACrC,UAAU,EAAE,2BAA2B,yBAAyB;IACjE,CAAC;GACF;GACA,OAAO;IACN,UAAU;KACT,cAAc;KACd,cAAc,CAAC,qBAAqB,EAAE,YAAY,KAAK,CAAC;IACzD;IACA,mBAAmB,iBAClB;KAAC;KAAW;KAAQ;KAAmB,GAAG;IAAO,CAAC,CAAC,KAAK,CACzD;IACA,oBAAoB,KAAK,UAAU;KAClC,SAAS;KACT,GAAI,UAAU,UAAU,EAAE,WAAW,UAAU,KAAK,EAAE;KACtD,GAAI,QAAQ,UAAU,EAAE,SAAS,QAAQ,KAAK,EAAE;KAChD,SAAS;IACV,CAAC;GACF;GACA,SAAS,CACR;IACC,UAAU,CAAC,GAAG,WAAW,qBAAqB;IAC9C,OAAO,aAAa;GACrB,CACD;EACD;CACD;CACA,aAAa;EACZ,OAAO,EACN,QAAQ;GACP,wBAAwB,EACvB,cAAc,CAAC,0BAA0B,wBAAwB,EAClE,CAAC;GACD,iBAAiB,EAChB,OAAO;IACN;IACA;IACA;GACD,EACD,CAAC;GACD,qBAAqB,EACpB,WAAW,CAAC,UAAU,UAAU,EACjC,CAAC;EACF,EACD;CACD;AACD,CAAC"}
@@ -1,72 +0,0 @@
1
- //#region src/blocks/blockPrettierPluginCurly.d.ts
2
- declare const blockPrettierPluginCurly: import("bingo-stratum").BlockWithoutAddons<{
3
- access: "public" | "restricted";
4
- description: string;
5
- directory: string;
6
- documentation: {
7
- readme: {
8
- additional?: string | undefined;
9
- explainer?: string | undefined;
10
- footnotes?: string | undefined;
11
- usage?: string | undefined;
12
- };
13
- development?: string | undefined;
14
- };
15
- email: {
16
- github: string;
17
- npm: string;
18
- };
19
- title: string;
20
- node: {
21
- minimum: string;
22
- pinned?: string | undefined;
23
- };
24
- owner: string;
25
- repository: string;
26
- type?: "commonjs" | "module" | undefined;
27
- author?: string | undefined;
28
- bin?: string | Record<string, string> | undefined;
29
- contributors?: {
30
- avatar_url: string;
31
- contributions: string[];
32
- login: string;
33
- name: string;
34
- profile: string;
35
- }[] | undefined;
36
- emoji?: string | undefined;
37
- existingLabels?: {
38
- name: string;
39
- description: string;
40
- color: string;
41
- }[] | undefined;
42
- funding?: string | undefined;
43
- guide?: {
44
- href: string;
45
- title: string;
46
- } | undefined;
47
- keywords?: string[] | undefined;
48
- logo?: {
49
- alt: string;
50
- src: string;
51
- height?: number | undefined;
52
- width?: number | undefined;
53
- } | undefined;
54
- packageData?: {
55
- dependencies?: Record<string, string> | undefined;
56
- devDependencies?: Record<string, string> | undefined;
57
- peerDependencies?: Record<string, string> | undefined;
58
- peerDependenciesMeta?: Record<string, unknown> | undefined;
59
- scripts?: Record<string, string | undefined> | undefined;
60
- } | undefined;
61
- pnpm?: string | undefined;
62
- rulesetId?: string | undefined;
63
- version?: string | undefined;
64
- words?: string[] | undefined;
65
- workflowsVersions?: Record<string, Record<string, {
66
- pinned?: boolean | undefined;
67
- hash?: string | undefined;
68
- }>> | undefined;
69
- }>;
70
- //#endregion
71
- export { blockPrettierPluginCurly };
72
- //# sourceMappingURL=blockPrettierPluginCurly.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockPrettierPluginCurly.d.ts","names":[],"sources":["../../src/blocks/blockPrettierPluginCurly.ts"],"mappings":";cAGa,kDAAwB"}
@@ -1,13 +0,0 @@
1
- import { base } from "../base.js";
2
- import { blockPrettier } from "./blockPrettier.js";
3
- //#region src/blocks/blockPrettierPluginCurly.ts
4
- const blockPrettierPluginCurly = base.createBlock({
5
- about: { name: "Prettier Plugin Curly" },
6
- produce() {
7
- return { addons: [blockPrettier({ plugins: ["prettier-plugin-curly"] })] };
8
- }
9
- });
10
- //#endregion
11
- export { blockPrettierPluginCurly };
12
-
13
- //# sourceMappingURL=blockPrettierPluginCurly.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockPrettierPluginCurly.js","names":[],"sources":["../../src/blocks/blockPrettierPluginCurly.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockPrettier } from \"./blockPrettier.js\";\n\nexport const blockPrettierPluginCurly = base.createBlock({\n\tabout: {\n\t\tname: \"Prettier Plugin Curly\",\n\t},\n\tproduce() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockPrettier({\n\t\t\t\t\tplugins: [\"prettier-plugin-curly\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;AAGA,MAAa,2BAA2B,KAAK,YAAY;CACxD,OAAO,EACN,MAAM,wBACP;CACA,UAAU;EACT,OAAO,EACN,QAAQ,CACP,cAAc,EACb,SAAS,CAAC,uBAAuB,EAClC,CAAC,CACF,EACD;CACD;AACD,CAAC"}