create-typescript-app 2.62.0 → 2.63.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (568) hide show
  1. package/README.md +1 -1
  2. package/lib/_virtual/_rolldown/runtime.js +14 -0
  3. package/lib/base.d.ts +175 -0
  4. package/lib/base.d.ts.map +1 -0
  5. package/lib/base.js +3 -3
  6. package/lib/base.js.map +1 -0
  7. package/lib/blocks/actions/resolveUses.d.ts +6 -0
  8. package/lib/blocks/actions/resolveUses.d.ts.map +1 -0
  9. package/lib/blocks/actions/resolveUses.js +3 -3
  10. package/lib/blocks/actions/resolveUses.js.map +1 -0
  11. package/lib/blocks/actions/steps.d.ts +37 -0
  12. package/lib/blocks/actions/steps.d.ts.map +1 -0
  13. package/lib/blocks/actions/steps.js +3 -3
  14. package/lib/blocks/actions/steps.js.map +1 -0
  15. package/lib/blocks/bin/getPrimaryBin.d.ts +5 -0
  16. package/lib/blocks/bin/getPrimaryBin.d.ts.map +1 -0
  17. package/lib/blocks/bin/getPrimaryBin.js +3 -2
  18. package/lib/blocks/bin/getPrimaryBin.js.map +1 -0
  19. package/lib/blocks/blockAllContributors.d.ts +72 -0
  20. package/lib/blocks/blockAllContributors.d.ts.map +1 -0
  21. package/lib/blocks/blockAllContributors.js +3 -3
  22. package/lib/blocks/blockAllContributors.js.map +1 -0
  23. package/lib/blocks/blockAreTheTypesWrong.d.ts +72 -0
  24. package/lib/blocks/blockAreTheTypesWrong.d.ts.map +1 -0
  25. package/lib/blocks/blockAreTheTypesWrong.js +3 -3
  26. package/lib/blocks/blockAreTheTypesWrong.js.map +1 -0
  27. package/lib/blocks/blockCSpell.d.ts +75 -0
  28. package/lib/blocks/blockCSpell.d.ts.map +1 -0
  29. package/lib/blocks/blockCSpell.js +7 -7
  30. package/lib/blocks/blockCSpell.js.map +1 -0
  31. package/lib/blocks/blockCTATransitions.d.ts +72 -0
  32. package/lib/blocks/blockCTATransitions.d.ts.map +1 -0
  33. package/lib/blocks/blockCTATransitions.js +3 -3
  34. package/lib/blocks/blockCTATransitions.js.map +1 -0
  35. package/lib/blocks/blockCodecov.d.ts +74 -0
  36. package/lib/blocks/blockCodecov.d.ts.map +1 -0
  37. package/lib/blocks/blockCodecov.js +4 -4
  38. package/lib/blocks/blockCodecov.js.map +1 -0
  39. package/lib/blocks/blockContributingDocs.d.ts +72 -0
  40. package/lib/blocks/blockContributingDocs.d.ts.map +1 -0
  41. package/lib/blocks/blockContributingDocs.js +5 -4
  42. package/lib/blocks/blockContributingDocs.js.map +1 -0
  43. package/lib/blocks/blockContributorCovenant.d.ts +72 -0
  44. package/lib/blocks/blockContributorCovenant.d.ts.map +1 -0
  45. package/lib/blocks/blockContributorCovenant.js +3 -3
  46. package/lib/blocks/blockContributorCovenant.js.map +1 -0
  47. package/lib/blocks/blockDevelopmentDocs.d.ts +86 -0
  48. package/lib/blocks/blockDevelopmentDocs.d.ts.map +1 -0
  49. package/lib/blocks/blockDevelopmentDocs.js +5 -6
  50. package/lib/blocks/blockDevelopmentDocs.js.map +1 -0
  51. package/lib/blocks/blockESLint.d.ts +96 -0
  52. package/lib/blocks/blockESLint.d.ts.map +1 -0
  53. package/lib/blocks/blockESLint.js +4 -4
  54. package/lib/blocks/blockESLint.js.map +1 -0
  55. package/lib/blocks/blockESLintComments.d.ts +72 -0
  56. package/lib/blocks/blockESLintComments.d.ts.map +1 -0
  57. package/lib/blocks/blockESLintComments.js +3 -3
  58. package/lib/blocks/blockESLintComments.js.map +1 -0
  59. package/lib/blocks/blockESLintJSDoc.d.ts +72 -0
  60. package/lib/blocks/blockESLintJSDoc.d.ts.map +1 -0
  61. package/lib/blocks/blockESLintJSDoc.js +3 -3
  62. package/lib/blocks/blockESLintJSDoc.js.map +1 -0
  63. package/lib/blocks/blockESLintJSONC.d.ts +72 -0
  64. package/lib/blocks/blockESLintJSONC.d.ts.map +1 -0
  65. package/lib/blocks/blockESLintJSONC.js +3 -3
  66. package/lib/blocks/blockESLintJSONC.js.map +1 -0
  67. package/lib/blocks/blockESLintMarkdown.d.ts +72 -0
  68. package/lib/blocks/blockESLintMarkdown.d.ts.map +1 -0
  69. package/lib/blocks/blockESLintMarkdown.js +3 -3
  70. package/lib/blocks/blockESLintMarkdown.js.map +1 -0
  71. package/lib/blocks/blockESLintMoreStyling.d.ts +73 -0
  72. package/lib/blocks/blockESLintMoreStyling.d.ts.map +1 -0
  73. package/lib/blocks/blockESLintMoreStyling.js +3 -3
  74. package/lib/blocks/blockESLintMoreStyling.js.map +1 -0
  75. package/lib/blocks/blockESLintNode.d.ts +72 -0
  76. package/lib/blocks/blockESLintNode.d.ts.map +1 -0
  77. package/lib/blocks/blockESLintNode.js +4 -8
  78. package/lib/blocks/blockESLintNode.js.map +1 -0
  79. package/lib/blocks/blockESLintPackageJson.d.ts +72 -0
  80. package/lib/blocks/blockESLintPackageJson.d.ts.map +1 -0
  81. package/lib/blocks/blockESLintPackageJson.js +3 -3
  82. package/lib/blocks/blockESLintPackageJson.js.map +1 -0
  83. package/lib/blocks/blockESLintPerfectionist.d.ts +72 -0
  84. package/lib/blocks/blockESLintPerfectionist.d.ts.map +1 -0
  85. package/lib/blocks/blockESLintPerfectionist.js +3 -3
  86. package/lib/blocks/blockESLintPerfectionist.js.map +1 -0
  87. package/lib/blocks/blockESLintPlugin.d.ts +74 -0
  88. package/lib/blocks/blockESLintPlugin.d.ts.map +1 -0
  89. package/lib/blocks/blockESLintPlugin.js +3 -3
  90. package/lib/blocks/blockESLintPlugin.js.map +1 -0
  91. package/lib/blocks/blockESLintRegexp.d.ts +72 -0
  92. package/lib/blocks/blockESLintRegexp.d.ts.map +1 -0
  93. package/lib/blocks/blockESLintRegexp.js +3 -3
  94. package/lib/blocks/blockESLintRegexp.js.map +1 -0
  95. package/lib/blocks/blockESLintYML.d.ts +72 -0
  96. package/lib/blocks/blockESLintYML.d.ts.map +1 -0
  97. package/lib/blocks/blockESLintYML.js +3 -3
  98. package/lib/blocks/blockESLintYML.js.map +1 -0
  99. package/lib/blocks/blockExampleFiles.d.ts +75 -0
  100. package/lib/blocks/blockExampleFiles.d.ts.map +1 -0
  101. package/lib/blocks/blockExampleFiles.js +3 -3
  102. package/lib/blocks/blockExampleFiles.js.map +1 -0
  103. package/lib/blocks/blockExports.d.ts +75 -0
  104. package/lib/blocks/blockExports.d.ts.map +1 -0
  105. package/lib/blocks/blockExports.js +3 -3
  106. package/lib/blocks/blockExports.js.map +1 -0
  107. package/lib/blocks/blockFunding.d.ts +72 -0
  108. package/lib/blocks/blockFunding.d.ts.map +1 -0
  109. package/lib/blocks/blockFunding.js +3 -3
  110. package/lib/blocks/blockFunding.js.map +1 -0
  111. package/lib/blocks/blockGitHubActionsCI.d.ts +88 -0
  112. package/lib/blocks/blockGitHubActionsCI.d.ts.map +1 -0
  113. package/lib/blocks/blockGitHubActionsCI.js +3 -3
  114. package/lib/blocks/blockGitHubActionsCI.js.map +1 -0
  115. package/lib/blocks/blockGitHubApps.d.ts +77 -0
  116. package/lib/blocks/blockGitHubApps.d.ts.map +1 -0
  117. package/lib/blocks/blockGitHubApps.js +3 -3
  118. package/lib/blocks/blockGitHubApps.js.map +1 -0
  119. package/lib/blocks/blockGitHubIssueTemplates.d.ts +72 -0
  120. package/lib/blocks/blockGitHubIssueTemplates.d.ts.map +1 -0
  121. package/lib/blocks/blockGitHubIssueTemplates.js +3 -3
  122. package/lib/blocks/blockGitHubIssueTemplates.js.map +1 -0
  123. package/lib/blocks/blockGitHubPRTemplate.d.ts +72 -0
  124. package/lib/blocks/blockGitHubPRTemplate.d.ts.map +1 -0
  125. package/lib/blocks/blockGitHubPRTemplate.js +3 -3
  126. package/lib/blocks/blockGitHubPRTemplate.js.map +1 -0
  127. package/lib/blocks/blockGitignore.d.ts +74 -0
  128. package/lib/blocks/blockGitignore.d.ts.map +1 -0
  129. package/lib/blocks/blockGitignore.js +3 -3
  130. package/lib/blocks/blockGitignore.js.map +1 -0
  131. package/lib/blocks/blockKnip.d.ts +76 -0
  132. package/lib/blocks/blockKnip.d.ts.map +1 -0
  133. package/lib/blocks/blockKnip.js +3 -3
  134. package/lib/blocks/blockKnip.js.map +1 -0
  135. package/lib/blocks/blockMITLicense.d.ts +72 -0
  136. package/lib/blocks/blockMITLicense.d.ts.map +1 -0
  137. package/lib/blocks/blockMITLicense.js +3 -3
  138. package/lib/blocks/blockMITLicense.js.map +1 -0
  139. package/lib/blocks/blockNcc.d.ts +74 -0
  140. package/lib/blocks/blockNcc.d.ts.map +1 -0
  141. package/lib/blocks/blockNcc.js +3 -3
  142. package/lib/blocks/blockNcc.js.map +1 -0
  143. package/lib/blocks/blockNvmrc.d.ts +72 -0
  144. package/lib/blocks/blockNvmrc.d.ts.map +1 -0
  145. package/lib/blocks/blockNvmrc.js +3 -3
  146. package/lib/blocks/blockNvmrc.js.map +1 -0
  147. package/lib/blocks/blockOctoGuide.d.ts +74 -0
  148. package/lib/blocks/blockOctoGuide.d.ts.map +1 -0
  149. package/lib/blocks/blockOctoGuide.js +3 -3
  150. package/lib/blocks/blockOctoGuide.js.map +1 -0
  151. package/lib/blocks/blockOctoGuideStrict.d.ts +72 -0
  152. package/lib/blocks/blockOctoGuideStrict.d.ts.map +1 -0
  153. package/lib/blocks/blockOctoGuideStrict.js +3 -3
  154. package/lib/blocks/blockOctoGuideStrict.js.map +1 -0
  155. package/lib/blocks/blockPackageJson.d.ts +149 -0
  156. package/lib/blocks/blockPackageJson.d.ts.map +1 -0
  157. package/lib/blocks/blockPackageJson.js +3 -3
  158. package/lib/blocks/blockPackageJson.js.map +1 -0
  159. package/lib/blocks/blockPnpmDedupe.d.ts +72 -0
  160. package/lib/blocks/blockPnpmDedupe.d.ts.map +1 -0
  161. package/lib/blocks/blockPnpmDedupe.js +3 -3
  162. package/lib/blocks/blockPnpmDedupe.js.map +1 -0
  163. package/lib/blocks/blockPrettier.d.ts +82 -0
  164. package/lib/blocks/blockPrettier.d.ts.map +1 -0
  165. package/lib/blocks/blockPrettier.js +3 -3
  166. package/lib/blocks/blockPrettier.js.map +1 -0
  167. package/lib/blocks/blockPrettierPluginCurly.d.ts +72 -0
  168. package/lib/blocks/blockPrettierPluginCurly.d.ts.map +1 -0
  169. package/lib/blocks/blockPrettierPluginCurly.js +3 -3
  170. package/lib/blocks/blockPrettierPluginCurly.js.map +1 -0
  171. package/lib/blocks/blockPrettierPluginPackageJson.d.ts +72 -0
  172. package/lib/blocks/blockPrettierPluginPackageJson.d.ts.map +1 -0
  173. package/lib/blocks/blockPrettierPluginPackageJson.js +3 -3
  174. package/lib/blocks/blockPrettierPluginPackageJson.js.map +1 -0
  175. package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +72 -0
  176. package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts.map +1 -0
  177. package/lib/blocks/blockPrettierPluginSentencesPerLine.js +3 -3
  178. package/lib/blocks/blockPrettierPluginSentencesPerLine.js.map +1 -0
  179. package/lib/blocks/blockPrettierPluginSh.d.ts +72 -0
  180. package/lib/blocks/blockPrettierPluginSh.d.ts.map +1 -0
  181. package/lib/blocks/blockPrettierPluginSh.js +3 -3
  182. package/lib/blocks/blockPrettierPluginSh.js.map +1 -0
  183. package/lib/blocks/blockREADME.d.ts +85 -0
  184. package/lib/blocks/blockREADME.d.ts.map +1 -0
  185. package/lib/blocks/blockREADME.js +3 -3
  186. package/lib/blocks/blockREADME.js.map +1 -0
  187. package/lib/blocks/blockReleaseIt.d.ts +77 -0
  188. package/lib/blocks/blockReleaseIt.d.ts.map +1 -0
  189. package/lib/blocks/blockReleaseIt.js +3 -3
  190. package/lib/blocks/blockReleaseIt.js.map +1 -0
  191. package/lib/blocks/blockRemoveDependencies.d.ts +74 -0
  192. package/lib/blocks/blockRemoveDependencies.d.ts.map +1 -0
  193. package/lib/blocks/blockRemoveDependencies.js +3 -3
  194. package/lib/blocks/blockRemoveDependencies.js.map +1 -0
  195. package/lib/blocks/blockRemoveFiles.d.ts +74 -0
  196. package/lib/blocks/blockRemoveFiles.d.ts.map +1 -0
  197. package/lib/blocks/blockRemoveFiles.js +3 -3
  198. package/lib/blocks/blockRemoveFiles.js.map +1 -0
  199. package/lib/blocks/blockRemoveWorkflows.d.ts +74 -0
  200. package/lib/blocks/blockRemoveWorkflows.d.ts.map +1 -0
  201. package/lib/blocks/blockRemoveWorkflows.js +3 -3
  202. package/lib/blocks/blockRemoveWorkflows.js.map +1 -0
  203. package/lib/blocks/blockRenovate.d.ts +74 -0
  204. package/lib/blocks/blockRenovate.d.ts.map +1 -0
  205. package/lib/blocks/blockRenovate.js +4 -4
  206. package/lib/blocks/blockRenovate.js.map +1 -0
  207. package/lib/blocks/blockRepositoryBranchRuleset.d.ts +74 -0
  208. package/lib/blocks/blockRepositoryBranchRuleset.d.ts.map +1 -0
  209. package/lib/blocks/blockRepositoryBranchRuleset.js +3 -3
  210. package/lib/blocks/blockRepositoryBranchRuleset.js.map +1 -0
  211. package/lib/blocks/blockRepositoryLabels.d.ts +72 -0
  212. package/lib/blocks/blockRepositoryLabels.d.ts.map +1 -0
  213. package/lib/blocks/blockRepositoryLabels.js +3 -3
  214. package/lib/blocks/blockRepositoryLabels.js.map +1 -0
  215. package/lib/blocks/blockRepositorySecrets.d.ts +77 -0
  216. package/lib/blocks/blockRepositorySecrets.d.ts.map +1 -0
  217. package/lib/blocks/blockRepositorySecrets.js +3 -3
  218. package/lib/blocks/blockRepositorySecrets.js.map +1 -0
  219. package/lib/blocks/blockRepositorySettings.d.ts +72 -0
  220. package/lib/blocks/blockRepositorySettings.d.ts.map +1 -0
  221. package/lib/blocks/blockRepositorySettings.js +3 -3
  222. package/lib/blocks/blockRepositorySettings.js.map +1 -0
  223. package/lib/blocks/blockSecurityDocs.d.ts +72 -0
  224. package/lib/blocks/blockSecurityDocs.d.ts.map +1 -0
  225. package/lib/blocks/blockSecurityDocs.js +3 -3
  226. package/lib/blocks/blockSecurityDocs.js.map +1 -0
  227. package/lib/blocks/blockSideEffects.d.ts +74 -0
  228. package/lib/blocks/blockSideEffects.d.ts.map +1 -0
  229. package/lib/blocks/blockSideEffects.js +3 -3
  230. package/lib/blocks/blockSideEffects.js.map +1 -0
  231. package/lib/blocks/blockTSDown.d.ts +76 -0
  232. package/lib/blocks/blockTSDown.d.ts.map +1 -0
  233. package/lib/blocks/blockTSDown.js +4 -6
  234. package/lib/blocks/blockTSDown.js.map +1 -0
  235. package/lib/blocks/blockTemplatedWith.d.ts +72 -0
  236. package/lib/blocks/blockTemplatedWith.d.ts.map +1 -0
  237. package/lib/blocks/blockTemplatedWith.js +3 -3
  238. package/lib/blocks/blockTemplatedWith.js.map +1 -0
  239. package/lib/blocks/blockTypeScript.d.ts +184 -0
  240. package/lib/blocks/blockTypeScript.d.ts.map +1 -0
  241. package/lib/blocks/blockTypeScript.js +3 -3
  242. package/lib/blocks/blockTypeScript.js.map +1 -0
  243. package/lib/blocks/blockVSCode.d.ts +81 -0
  244. package/lib/blocks/blockVSCode.d.ts.map +1 -0
  245. package/lib/blocks/blockVSCode.js +3 -3
  246. package/lib/blocks/blockVSCode.js.map +1 -0
  247. package/lib/blocks/blockVitest.d.ts +89 -0
  248. package/lib/blocks/blockVitest.d.ts.map +1 -0
  249. package/lib/blocks/blockVitest.js +5 -5
  250. package/lib/blocks/blockVitest.js.map +1 -0
  251. package/lib/blocks/blockWebExt.d.ts +72 -0
  252. package/lib/blocks/blockWebExt.d.ts.map +1 -0
  253. package/lib/blocks/blockWebExt.js +3 -3
  254. package/lib/blocks/blockWebExt.js.map +1 -0
  255. package/lib/blocks/eslint/blockESLintIntake.d.ts +11 -0
  256. package/lib/blocks/eslint/blockESLintIntake.d.ts.map +1 -0
  257. package/lib/blocks/eslint/blockESLintIntake.js +10 -10
  258. package/lib/blocks/eslint/blockESLintIntake.js.map +1 -0
  259. package/lib/blocks/eslint/blockESLintPluginIntake.d.ts +7 -0
  260. package/lib/blocks/eslint/blockESLintPluginIntake.d.ts.map +1 -0
  261. package/lib/blocks/eslint/blockESLintPluginIntake.js +3 -3
  262. package/lib/blocks/eslint/blockESLintPluginIntake.js.map +1 -0
  263. package/lib/blocks/eslint/getScriptFileExtension.d.ts +8 -0
  264. package/lib/blocks/eslint/getScriptFileExtension.d.ts.map +1 -0
  265. package/lib/blocks/eslint/getScriptFileExtension.js +3 -2
  266. package/lib/blocks/eslint/getScriptFileExtension.js.map +1 -0
  267. package/lib/blocks/eslint/mergeAllExtensions.d.ts +17 -0
  268. package/lib/blocks/eslint/mergeAllExtensions.d.ts.map +1 -0
  269. package/lib/blocks/eslint/mergeAllExtensions.js +4 -3
  270. package/lib/blocks/eslint/mergeAllExtensions.js.map +1 -0
  271. package/lib/blocks/eslint/schemas.d.ts +112 -0
  272. package/lib/blocks/eslint/schemas.d.ts.map +1 -0
  273. package/lib/blocks/eslint/schemas.js +3 -3
  274. package/lib/blocks/eslint/schemas.js.map +1 -0
  275. package/lib/blocks/files/createJobName.d.ts +5 -0
  276. package/lib/blocks/files/createJobName.d.ts.map +1 -0
  277. package/lib/blocks/files/createJobName.js +3 -2
  278. package/lib/blocks/files/createJobName.js.map +1 -0
  279. package/lib/blocks/files/createMultiWorkflowFile.d.ts +24 -0
  280. package/lib/blocks/files/createMultiWorkflowFile.d.ts.map +1 -0
  281. package/lib/blocks/files/createMultiWorkflowFile.js +3 -3
  282. package/lib/blocks/files/createMultiWorkflowFile.js.map +1 -0
  283. package/lib/blocks/files/createSoloWorkflowFile.d.ts +65 -0
  284. package/lib/blocks/files/createSoloWorkflowFile.d.ts.map +1 -0
  285. package/lib/blocks/files/createSoloWorkflowFile.js +3 -3
  286. package/lib/blocks/files/createSoloWorkflowFile.js.map +1 -0
  287. package/lib/blocks/files/formatIgnoreFile.d.ts +5 -0
  288. package/lib/blocks/files/formatIgnoreFile.d.ts.map +1 -0
  289. package/lib/blocks/files/formatIgnoreFile.js +3 -2
  290. package/lib/blocks/files/formatIgnoreFile.js.map +1 -0
  291. package/lib/blocks/files/formatWorkflowYaml.d.ts +5 -0
  292. package/lib/blocks/files/formatWorkflowYaml.d.ts.map +1 -0
  293. package/lib/blocks/files/formatWorkflowYaml.js +3 -3
  294. package/lib/blocks/files/formatWorkflowYaml.js.map +1 -0
  295. package/lib/blocks/files/formatYaml.d.ts +5 -0
  296. package/lib/blocks/files/formatYaml.d.ts.map +1 -0
  297. package/lib/blocks/files/formatYaml.js +3 -3
  298. package/lib/blocks/files/formatYaml.js.map +1 -0
  299. package/lib/blocks/files/removeUsesQuotes.d.ts +5 -0
  300. package/lib/blocks/files/removeUsesQuotes.d.ts.map +1 -0
  301. package/lib/blocks/files/removeUsesQuotes.js +3 -2
  302. package/lib/blocks/files/removeUsesQuotes.js.map +1 -0
  303. package/lib/blocks/getInstallationSuggestions.d.ts +5 -0
  304. package/lib/blocks/getInstallationSuggestions.d.ts.map +1 -0
  305. package/lib/blocks/getInstallationSuggestions.js +3 -2
  306. package/lib/blocks/getInstallationSuggestions.js.map +1 -0
  307. package/lib/blocks/index.d.ts +3713 -0
  308. package/lib/blocks/index.d.ts.map +1 -0
  309. package/lib/blocks/index.js +3 -3
  310. package/lib/blocks/index.js.map +1 -0
  311. package/lib/blocks/intake/intakeFile.d.ts +6 -0
  312. package/lib/blocks/intake/intakeFile.d.ts.map +1 -0
  313. package/lib/blocks/intake/intakeFile.js +3 -2
  314. package/lib/blocks/intake/intakeFile.js.map +1 -0
  315. package/lib/blocks/intake/intakeFileAsJson.d.ts +6 -0
  316. package/lib/blocks/intake/intakeFileAsJson.d.ts.map +1 -0
  317. package/lib/blocks/intake/intakeFileAsJson.js +3 -3
  318. package/lib/blocks/intake/intakeFileAsJson.js.map +1 -0
  319. package/lib/blocks/intake/intakeFileAsYaml.d.ts +6 -0
  320. package/lib/blocks/intake/intakeFileAsYaml.d.ts.map +1 -0
  321. package/lib/blocks/intake/intakeFileAsYaml.js +3 -3
  322. package/lib/blocks/intake/intakeFileAsYaml.js.map +1 -0
  323. package/lib/blocks/intake/intakeFileDefineConfig.d.ts +6 -0
  324. package/lib/blocks/intake/intakeFileDefineConfig.d.ts.map +1 -0
  325. package/lib/blocks/intake/intakeFileDefineConfig.js +3 -3
  326. package/lib/blocks/intake/intakeFileDefineConfig.js.map +1 -0
  327. package/lib/blocks/intake/intakeFileExportObject.d.ts +6 -0
  328. package/lib/blocks/intake/intakeFileExportObject.d.ts.map +1 -0
  329. package/lib/blocks/intake/intakeFileExportObject.js +3 -3
  330. package/lib/blocks/intake/intakeFileExportObject.js.map +1 -0
  331. package/lib/blocks/options.fakes.d.ts +26 -0
  332. package/lib/blocks/options.fakes.d.ts.map +1 -0
  333. package/lib/blocks/options.fakes.js +3 -2
  334. package/lib/blocks/options.fakes.js.map +1 -0
  335. package/lib/blocks/outcomeLabels.d.ts +15 -0
  336. package/lib/blocks/outcomeLabels.d.ts.map +1 -0
  337. package/lib/blocks/outcomeLabels.js +3 -2
  338. package/lib/blocks/outcomeLabels.js.map +1 -0
  339. package/lib/blocks/phases.d.ts +11 -0
  340. package/lib/blocks/phases.d.ts.map +1 -0
  341. package/lib/blocks/phases.js +3 -2
  342. package/lib/blocks/phases.js.map +1 -0
  343. package/lib/constants.d.ts +10 -0
  344. package/lib/constants.d.ts.map +1 -0
  345. package/lib/constants.js +3 -2
  346. package/lib/constants.js.map +1 -0
  347. package/lib/data/contributions.d.ts +5 -0
  348. package/lib/data/contributions.d.ts.map +1 -0
  349. package/lib/data/contributions.js +3 -2
  350. package/lib/data/contributions.js.map +1 -0
  351. package/lib/data/packageData.d.ts +10 -0
  352. package/lib/data/packageData.d.ts.map +1 -0
  353. package/lib/data/packageData.js +4 -6
  354. package/lib/data/packageData.js.map +1 -0
  355. package/lib/index.d.ts +294 -0
  356. package/lib/index.d.ts.map +1 -0
  357. package/lib/index.js +3 -3
  358. package/lib/index.js.map +1 -0
  359. package/lib/inputs/inputFromDirectory.d.ts +8 -0
  360. package/lib/inputs/inputFromDirectory.d.ts.map +1 -0
  361. package/lib/inputs/inputFromDirectory.js +3 -3
  362. package/lib/inputs/inputFromDirectory.js.map +1 -0
  363. package/lib/inputs/inputFromOctokit.d.ts +9 -0
  364. package/lib/inputs/inputFromOctokit.d.ts.map +1 -0
  365. package/lib/inputs/inputFromOctokit.js +3 -3
  366. package/lib/inputs/inputFromOctokit.js.map +1 -0
  367. package/lib/options/readAccess.d.ts +6 -0
  368. package/lib/options/readAccess.d.ts.map +1 -0
  369. package/lib/options/readAccess.js +3 -2
  370. package/lib/options/readAccess.js.map +1 -0
  371. package/lib/options/readAllContributors.d.ts +7 -0
  372. package/lib/options/readAllContributors.d.ts.map +1 -0
  373. package/lib/options/readAllContributors.js +3 -3
  374. package/lib/options/readAllContributors.js.map +1 -0
  375. package/lib/options/readAuthor.d.ts +9 -0
  376. package/lib/options/readAuthor.d.ts.map +1 -0
  377. package/lib/options/readAuthor.js +3 -2
  378. package/lib/options/readAuthor.js.map +1 -0
  379. package/lib/options/readBin.d.ts +6 -0
  380. package/lib/options/readBin.d.ts.map +1 -0
  381. package/lib/options/readBin.js +3 -3
  382. package/lib/options/readBin.js.map +1 -0
  383. package/lib/options/readDescription.d.ts +6 -0
  384. package/lib/options/readDescription.d.ts.map +1 -0
  385. package/lib/options/readDescription.js +3 -3
  386. package/lib/options/readDescription.js.map +1 -0
  387. package/lib/options/readDescriptionFromReadme.d.ts +5 -0
  388. package/lib/options/readDescriptionFromReadme.d.ts.map +1 -0
  389. package/lib/options/readDescriptionFromReadme.js +3 -2
  390. package/lib/options/readDescriptionFromReadme.js.map +1 -0
  391. package/lib/options/readDevelopmentDocumentation.d.ts +6 -0
  392. package/lib/options/readDevelopmentDocumentation.d.ts.map +1 -0
  393. package/lib/options/readDevelopmentDocumentation.js +4 -4
  394. package/lib/options/readDevelopmentDocumentation.js.map +1 -0
  395. package/lib/options/readDocumentation.d.ts +6 -0
  396. package/lib/options/readDocumentation.d.ts.map +1 -0
  397. package/lib/options/readDocumentation.js +3 -2
  398. package/lib/options/readDocumentation.js.map +1 -0
  399. package/lib/options/readEmailFromCodeOfConduct.d.ts +6 -0
  400. package/lib/options/readEmailFromCodeOfConduct.d.ts.map +1 -0
  401. package/lib/options/readEmailFromCodeOfConduct.js +3 -3
  402. package/lib/options/readEmailFromCodeOfConduct.js.map +1 -0
  403. package/lib/options/readEmailFromGit.d.ts +6 -0
  404. package/lib/options/readEmailFromGit.d.ts.map +1 -0
  405. package/lib/options/readEmailFromGit.js +3 -3
  406. package/lib/options/readEmailFromGit.js.map +1 -0
  407. package/lib/options/readEmailFromNpm.d.ts +7 -0
  408. package/lib/options/readEmailFromNpm.d.ts.map +1 -0
  409. package/lib/options/readEmailFromNpm.js +3 -2
  410. package/lib/options/readEmailFromNpm.js.map +1 -0
  411. package/lib/options/readEmails.d.ts +9 -0
  412. package/lib/options/readEmails.d.ts.map +1 -0
  413. package/lib/options/readEmails.js +3 -2
  414. package/lib/options/readEmails.js.map +1 -0
  415. package/lib/options/readEmoji.d.ts +5 -0
  416. package/lib/options/readEmoji.d.ts.map +1 -0
  417. package/lib/options/readEmoji.js +3 -2
  418. package/lib/options/readEmoji.js.map +1 -0
  419. package/lib/options/readExistingLabels.d.ts +10 -0
  420. package/lib/options/readExistingLabels.d.ts.map +1 -0
  421. package/lib/options/readExistingLabels.js +3 -3
  422. package/lib/options/readExistingLabels.js.map +1 -0
  423. package/lib/options/readFileAsJson.d.ts +5 -0
  424. package/lib/options/readFileAsJson.d.ts.map +1 -0
  425. package/lib/options/readFileAsJson.js +3 -3
  426. package/lib/options/readFileAsJson.js.map +1 -0
  427. package/lib/options/readFileSafe.d.ts +5 -0
  428. package/lib/options/readFileSafe.d.ts.map +1 -0
  429. package/lib/options/readFileSafe.js +3 -3
  430. package/lib/options/readFileSafe.js.map +1 -0
  431. package/lib/options/readFunding.d.ts +6 -0
  432. package/lib/options/readFunding.d.ts.map +1 -0
  433. package/lib/options/readFunding.js +3 -3
  434. package/lib/options/readFunding.js.map +1 -0
  435. package/lib/options/readGitDefaults.d.ts +7 -0
  436. package/lib/options/readGitDefaults.d.ts.map +1 -0
  437. package/lib/options/readGitDefaults.js +3 -3
  438. package/lib/options/readGitDefaults.js.map +1 -0
  439. package/lib/options/readGuide.d.ts +9 -0
  440. package/lib/options/readGuide.d.ts.map +1 -0
  441. package/lib/options/readGuide.js +3 -3
  442. package/lib/options/readGuide.js.map +1 -0
  443. package/lib/options/readKeywords.d.ts +6 -0
  444. package/lib/options/readKeywords.d.ts.map +1 -0
  445. package/lib/options/readKeywords.js +3 -2
  446. package/lib/options/readKeywords.js.map +1 -0
  447. package/lib/options/readLogo.d.ts +10 -0
  448. package/lib/options/readLogo.d.ts.map +1 -0
  449. package/lib/options/readLogo.js +5 -4
  450. package/lib/options/readLogo.js.map +1 -0
  451. package/lib/options/readLogoSizing.d.ts +9 -0
  452. package/lib/options/readLogoSizing.d.ts.map +1 -0
  453. package/lib/options/readLogoSizing.js +3 -3
  454. package/lib/options/readLogoSizing.js.map +1 -0
  455. package/lib/options/readNode.d.ts +9 -0
  456. package/lib/options/readNode.d.ts.map +1 -0
  457. package/lib/options/readNode.js +3 -3
  458. package/lib/options/readNode.js.map +1 -0
  459. package/lib/options/readNpmDefaults.d.ts +6 -0
  460. package/lib/options/readNpmDefaults.d.ts.map +1 -0
  461. package/lib/options/readNpmDefaults.js +3 -3
  462. package/lib/options/readNpmDefaults.js.map +1 -0
  463. package/lib/options/readOwner.d.ts +8 -0
  464. package/lib/options/readOwner.d.ts.map +1 -0
  465. package/lib/options/readOwner.js +3 -3
  466. package/lib/options/readOwner.js.map +1 -0
  467. package/lib/options/readPackageAuthor.d.ts +10 -0
  468. package/lib/options/readPackageAuthor.d.ts.map +1 -0
  469. package/lib/options/readPackageAuthor.js +3 -3
  470. package/lib/options/readPackageAuthor.js.map +1 -0
  471. package/lib/options/readPackageData.d.ts +7 -0
  472. package/lib/options/readPackageData.d.ts.map +1 -0
  473. package/lib/options/readPackageData.js +3 -3
  474. package/lib/options/readPackageData.js.map +1 -0
  475. package/lib/options/readPnpm.d.ts +6 -0
  476. package/lib/options/readPnpm.d.ts.map +1 -0
  477. package/lib/options/readPnpm.js +3 -2
  478. package/lib/options/readPnpm.js.map +1 -0
  479. package/lib/options/readReadmeAdditional.d.ts +5 -0
  480. package/lib/options/readReadmeAdditional.d.ts.map +1 -0
  481. package/lib/options/readReadmeAdditional.js +3 -3
  482. package/lib/options/readReadmeAdditional.js.map +1 -0
  483. package/lib/options/readReadmeExplainer.d.ts +5 -0
  484. package/lib/options/readReadmeExplainer.d.ts.map +1 -0
  485. package/lib/options/readReadmeExplainer.js +3 -2
  486. package/lib/options/readReadmeExplainer.js.map +1 -0
  487. package/lib/options/readReadmeFootnotes.d.ts +6 -0
  488. package/lib/options/readReadmeFootnotes.d.ts.map +1 -0
  489. package/lib/options/readReadmeFootnotes.js +3 -2
  490. package/lib/options/readReadmeFootnotes.js.map +1 -0
  491. package/lib/options/readReadmeUsage.d.ts +5 -0
  492. package/lib/options/readReadmeUsage.d.ts.map +1 -0
  493. package/lib/options/readReadmeUsage.js +3 -2
  494. package/lib/options/readReadmeUsage.js.map +1 -0
  495. package/lib/options/readRepository.d.ts +10 -0
  496. package/lib/options/readRepository.d.ts.map +1 -0
  497. package/lib/options/readRepository.js +3 -2
  498. package/lib/options/readRepository.js.map +1 -0
  499. package/lib/options/readRulesetId.d.ts +6 -0
  500. package/lib/options/readRulesetId.d.ts.map +1 -0
  501. package/lib/options/readRulesetId.js +3 -3
  502. package/lib/options/readRulesetId.js.map +1 -0
  503. package/lib/options/readTitle.d.ts +5 -0
  504. package/lib/options/readTitle.d.ts.map +1 -0
  505. package/lib/options/readTitle.js +3 -3
  506. package/lib/options/readTitle.js.map +1 -0
  507. package/lib/options/readWords.d.ts +6 -0
  508. package/lib/options/readWords.d.ts.map +1 -0
  509. package/lib/options/readWords.js +3 -3
  510. package/lib/options/readWords.js.map +1 -0
  511. package/lib/options/readWorkflowsVersions.d.ts +7 -0
  512. package/lib/options/readWorkflowsVersions.d.ts.map +1 -0
  513. package/lib/options/readWorkflowsVersions.js +3 -3
  514. package/lib/options/readWorkflowsVersions.js.map +1 -0
  515. package/lib/package.json.d.ts +138 -0
  516. package/lib/package.json.d.ts.map +1 -0
  517. package/lib/presets/common.d.ts +170 -0
  518. package/lib/presets/common.d.ts.map +1 -0
  519. package/lib/presets/common.js +3 -3
  520. package/lib/presets/common.js.map +1 -0
  521. package/lib/presets/everything.d.ts +170 -0
  522. package/lib/presets/everything.d.ts.map +1 -0
  523. package/lib/presets/everything.js +3 -3
  524. package/lib/presets/everything.js.map +1 -0
  525. package/lib/presets/index.d.ts +507 -0
  526. package/lib/presets/index.d.ts.map +1 -0
  527. package/lib/presets/index.js +3 -3
  528. package/lib/presets/index.js.map +1 -0
  529. package/lib/presets/minimal.d.ts +170 -0
  530. package/lib/presets/minimal.d.ts.map +1 -0
  531. package/lib/presets/minimal.js +3 -3
  532. package/lib/presets/minimal.js.map +1 -0
  533. package/lib/schemas.d.ts +111 -0
  534. package/lib/schemas.d.ts.map +1 -0
  535. package/lib/schemas.js +3 -3
  536. package/lib/schemas.js.map +1 -0
  537. package/lib/template.d.ts +170 -0
  538. package/lib/template.d.ts.map +1 -0
  539. package/lib/template.js +3 -3
  540. package/lib/template.js.map +1 -0
  541. package/lib/types.d.ts +42 -0
  542. package/lib/types.d.ts.map +1 -0
  543. package/lib/types.js +1 -1
  544. package/lib/utils/htmlToTextSafe.d.ts +5 -0
  545. package/lib/utils/htmlToTextSafe.d.ts.map +1 -0
  546. package/lib/utils/htmlToTextSafe.js +3 -3
  547. package/lib/utils/htmlToTextSafe.js.map +1 -0
  548. package/lib/utils/resolveBin.d.ts +5 -0
  549. package/lib/utils/resolveBin.d.ts.map +1 -0
  550. package/lib/utils/resolveBin.js +3 -3
  551. package/lib/utils/resolveBin.js.map +1 -0
  552. package/lib/utils/swallowError.d.ts +5 -0
  553. package/lib/utils/swallowError.d.ts.map +1 -0
  554. package/lib/utils/swallowError.js +3 -2
  555. package/lib/utils/swallowError.js.map +1 -0
  556. package/lib/utils/swallowErrorAsync.d.ts +5 -0
  557. package/lib/utils/swallowErrorAsync.d.ts.map +1 -0
  558. package/lib/utils/swallowErrorAsync.js +3 -2
  559. package/lib/utils/swallowErrorAsync.js.map +1 -0
  560. package/lib/utils/trimPrecedingSlash.d.ts +5 -0
  561. package/lib/utils/trimPrecedingSlash.d.ts.map +1 -0
  562. package/lib/utils/trimPrecedingSlash.js +3 -2
  563. package/lib/utils/trimPrecedingSlash.js.map +1 -0
  564. package/lib/utils/tryCatch.d.ts +5 -0
  565. package/lib/utils/tryCatch.d.ts.map +1 -0
  566. package/lib/utils/tryCatch.js +3 -2
  567. package/lib/utils/tryCatch.js.map +1 -0
  568. package/package.json +40 -40
@@ -0,0 +1,86 @@
1
+ //#region src/blocks/blockDevelopmentDocs.d.ts
2
+ declare const blockDevelopmentDocs: import("bingo-stratum").BlockWithAddons<{
3
+ sections: Record<string, {
4
+ contents?: string | {
5
+ before?: string | undefined;
6
+ after?: string[] | undefined;
7
+ items?: string[] | undefined;
8
+ plural?: string | undefined;
9
+ } | undefined;
10
+ innerSections?: {
11
+ contents: string;
12
+ heading: string;
13
+ }[] | undefined;
14
+ }>;
15
+ hints: string[];
16
+ }, {
17
+ access: "public" | "restricted";
18
+ description: string;
19
+ directory: string;
20
+ documentation: {
21
+ readme: {
22
+ additional?: string | undefined;
23
+ explainer?: string | undefined;
24
+ footnotes?: string | undefined;
25
+ usage?: string | undefined;
26
+ };
27
+ development?: string | undefined;
28
+ };
29
+ email: {
30
+ github: string;
31
+ npm: string;
32
+ };
33
+ title: string;
34
+ node: {
35
+ minimum: string;
36
+ pinned?: string | undefined;
37
+ };
38
+ owner: string;
39
+ repository: string;
40
+ type?: "commonjs" | "module" | undefined;
41
+ author?: string | undefined;
42
+ bin?: string | Record<string, string> | undefined;
43
+ contributors?: {
44
+ avatar_url: string;
45
+ contributions: string[];
46
+ login: string;
47
+ name: string;
48
+ profile: string;
49
+ }[] | undefined;
50
+ emoji?: string | undefined;
51
+ existingLabels?: {
52
+ name: string;
53
+ description: string;
54
+ color: string;
55
+ }[] | undefined;
56
+ funding?: string | undefined;
57
+ guide?: {
58
+ href: string;
59
+ title: string;
60
+ } | undefined;
61
+ keywords?: string[] | undefined;
62
+ logo?: {
63
+ alt: string;
64
+ src: string;
65
+ height?: number | undefined;
66
+ width?: number | undefined;
67
+ } | undefined;
68
+ packageData?: {
69
+ dependencies?: Record<string, string> | undefined;
70
+ devDependencies?: Record<string, string> | undefined;
71
+ peerDependencies?: Record<string, string> | undefined;
72
+ peerDependenciesMeta?: Record<string, unknown> | undefined;
73
+ scripts?: Record<string, string | undefined> | undefined;
74
+ } | undefined;
75
+ pnpm?: string | undefined;
76
+ rulesetId?: string | undefined;
77
+ version?: string | undefined;
78
+ words?: string[] | undefined;
79
+ workflowsVersions?: Record<string, Record<string, {
80
+ hash?: string | undefined;
81
+ pinned?: boolean | undefined;
82
+ }>> | undefined;
83
+ }>;
84
+ //#endregion
85
+ export { blockDevelopmentDocs };
86
+ //# sourceMappingURL=blockDevelopmentDocs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockDevelopmentDocs.d.ts","names":[],"sources":["../../src/blocks/blockDevelopmentDocs.ts"],"mappings":";cA0Da,8CAAoB"}
@@ -1,7 +1,6 @@
1
1
  import { base } from "../base.js";
2
2
  import { blockRemoveFiles } from "./blockRemoveFiles.js";
3
3
  import { z } from "zod";
4
-
5
4
  //#region src/blocks/blockDevelopmentDocs.ts
6
5
  const zInnerSection = z.object({
7
6
  contents: z.string(),
@@ -44,7 +43,7 @@ const blockDevelopmentDocs = base.createBlock({
44
43
  sections: z.record(z.string(), zSection).default({})
45
44
  },
46
45
  produce({ addons, options }) {
47
- const lines = [
46
+ return { files: { ".github": { "DEVELOPMENT.md": [
48
47
  `# Development`,
49
48
  ``,
50
49
  ...options.guide ? [
@@ -63,13 +62,13 @@ const blockDevelopmentDocs = base.createBlock({
63
62
  ...addons.hints.length ? [...addons.hints, ``] : [],
64
63
  ...Object.entries(addons.sections).sort(([a], [b]) => a.localeCompare(b)).flatMap(([heading, section]) => printSection(heading, section)),
65
64
  ...options.documentation.development ? [options.documentation.development] : []
66
- ];
67
- return { files: { ".github": { "DEVELOPMENT.md": lines.join("\n") } } };
65
+ ].join("\n") } } };
68
66
  },
69
67
  transition() {
70
68
  return { addons: [blockRemoveFiles({ files: ["DEVELOPMENT.md"] })] };
71
69
  }
72
70
  });
73
-
74
71
  //#endregion
75
- export { blockDevelopmentDocs };
72
+ export { blockDevelopmentDocs };
73
+
74
+ //# sourceMappingURL=blockDevelopmentDocs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockDevelopmentDocs.js","names":[],"sources":["../../src/blocks/blockDevelopmentDocs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\n\nconst zInnerSection = z.object({\n\tcontents: z.string(),\n\theading: z.string(),\n});\n\ntype InnerSection = z.infer<typeof zInnerSection>;\n\nfunction printInnerSection(innerSection: InnerSection) {\n\treturn [`### ${innerSection.heading}`, ``, innerSection.contents];\n}\n\nconst zSection = z.object({\n\tcontents: z\n\t\t.union([\n\t\t\tz.string(),\n\t\t\tz.object({\n\t\t\t\tafter: z.array(z.string()).optional(),\n\t\t\t\tbefore: z.string().optional(),\n\t\t\t\titems: z.array(z.string()).optional(),\n\t\t\t\tplural: z.string().optional(),\n\t\t\t}),\n\t\t])\n\t\t.optional(),\n\tinnerSections: z.array(zInnerSection).optional(),\n});\n\ntype Section = z.infer<typeof zSection>;\n\nfunction printSection(heading: string, section: Section) {\n\tconst innerSections = section.innerSections?.flatMap(printInnerSection) ?? [];\n\n\tif (section.contents === undefined) {\n\t\treturn innerSections;\n\t}\n\n\tconst contents =\n\t\ttypeof section.contents === \"string\"\n\t\t\t? { before: section.contents }\n\t\t\t: section.contents;\n\n\treturn [\n\t\t`## ${heading}`,\n\t\t``,\n\t\t...(contents.before ? [contents.before] : []),\n\t\t...(contents.items?.sort((a, b) =>\n\t\t\ta.replaceAll(\"`\", \"\").localeCompare(b.replaceAll(\"`\", \"\")),\n\t\t) ?? []),\n\t\t...(contents.items?.length && contents.plural ? [``, contents.plural] : []),\n\t\t...(contents.after ?? []),\n\t\t...innerSections,\n\t];\n}\n\nexport const blockDevelopmentDocs = base.createBlock({\n\tabout: {\n\t\tname: \"Development Docs\",\n\t},\n\taddons: {\n\t\thints: z.array(z.string()).default([]),\n\t\tsections: z.record(z.string(), zSection).default({}),\n\t},\n\tproduce({ addons, options }) {\n\t\tconst lines = [\n\t\t\t`# Development`,\n\t\t\t``,\n\t\t\t...(options.guide\n\t\t\t\t? [\n\t\t\t\t\t\t`> If you'd like a more guided walkthrough, see [${options.guide.title}](${options.guide.href}).`,\n\t\t\t\t\t\t`> It'll walk you through the common activities you'll need to contribute.`,\n\t\t\t\t\t\t``,\n\t\t\t\t\t]\n\t\t\t\t: []),\n\t\t\t`After [forking the repo from GitHub](https://help.github.com/articles/fork-a-repo) and [installing pnpm](https://pnpm.io/installation):`,\n\t\t\t``,\n\t\t\t`\\`\\`\\`shell`,\n\t\t\t`git clone https://github.com/(your-name-here)/${options.repository}`,\n\t\t\t`cd ${options.repository}`,\n\t\t\t`pnpm install`,\n\t\t\t`\\`\\`\\``,\n\t\t\t``,\n\t\t\t...(addons.hints.length ? [...addons.hints, ``] : []),\n\t\t\t...Object.entries(addons.sections)\n\t\t\t\t.sort(([a], [b]) => a.localeCompare(b))\n\t\t\t\t.flatMap(([heading, section]) => printSection(heading, section)),\n\t\t\t...(options.documentation.development\n\t\t\t\t? [options.documentation.development]\n\t\t\t\t: []),\n\t\t];\n\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\t\"DEVELOPMENT.md\": lines.join(\"\\n\"),\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: [\"DEVELOPMENT.md\"] })],\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAKA,MAAM,gBAAgB,EAAE,OAAO;CAC9B,UAAU,EAAE,OAAO;CACnB,SAAS,EAAE,OAAO;AACnB,CAAC;AAID,SAAS,kBAAkB,cAA4B;CACtD,OAAO;EAAC,OAAO,aAAa;EAAW;EAAI,aAAa;CAAQ;AACjE;AAEA,MAAM,WAAW,EAAE,OAAO;CACzB,UAAU,EACR,MAAM,CACN,EAAE,OAAO,GACT,EAAE,OAAO;EACR,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS;EACpC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;EAC5B,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS;EACpC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;CAC7B,CAAC,CACF,CAAC,CAAC,CACD,SAAS;CACX,eAAe,EAAE,MAAM,aAAa,CAAC,CAAC,SAAS;AAChD,CAAC;AAID,SAAS,aAAa,SAAiB,SAAkB;CACxD,MAAM,gBAAgB,QAAQ,eAAe,QAAQ,iBAAiB,KAAK,CAAC;CAE5E,IAAI,QAAQ,aAAa,KAAA,GACxB,OAAO;CAGR,MAAM,WACL,OAAO,QAAQ,aAAa,WACzB,EAAE,QAAQ,QAAQ,SAAS,IAC3B,QAAQ;CAEZ,OAAO;EACN,MAAM;EACN;EACA,GAAI,SAAS,SAAS,CAAC,SAAS,MAAM,IAAI,CAAC;EAC3C,GAAI,SAAS,OAAO,MAAM,GAAG,MAC5B,EAAE,WAAW,KAAK,EAAE,CAAC,CAAC,cAAc,EAAE,WAAW,KAAK,EAAE,CAAC,CAC1D,KAAK,CAAC;EACN,GAAI,SAAS,OAAO,UAAU,SAAS,SAAS,CAAC,IAAI,SAAS,MAAM,IAAI,CAAC;EACzE,GAAI,SAAS,SAAS,CAAC;EACvB,GAAG;CACJ;AACD;AAEA,MAAa,uBAAuB,KAAK,YAAY;CACpD,OAAO,EACN,MAAM,mBACP;CACA,QAAQ;EACP,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;EACrC,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC;CACpD;CACA,QAAQ,EAAE,QAAQ,WAAW;EA4B5B,OAAO,EACN,OAAO,EACN,WAAW,EACV,kBAAkB;GA7BpB;GACA;GACA,GAAI,QAAQ,QACT;IACA,mDAAmD,QAAQ,MAAM,MAAM,IAAI,QAAQ,MAAM,KAAK;IAC9F;IACA;GACD,IACC,CAAC;GACJ;GACA;GACA;GACA,iDAAiD,QAAQ;GACzD,MAAM,QAAQ;GACd;GACA;GACA;GACA,GAAI,OAAO,MAAM,SAAS,CAAC,GAAG,OAAO,OAAO,EAAE,IAAI,CAAC;GACnD,GAAG,OAAO,QAAQ,OAAO,QAAQ,CAAC,CAChC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC,CACtC,SAAS,CAAC,SAAS,aAAa,aAAa,SAAS,OAAO,CAAC;GAChE,GAAI,QAAQ,cAAc,cACvB,CAAC,QAAQ,cAAc,WAAW,IAClC,CAAC;EAMoB,CAAC,CAAC,KAAK,IAAI,EAClC,EACD,EACD;CACD;CACA,aAAa;EACZ,OAAO,EACN,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAAC,EACzD;CACD;AACD,CAAC"}
@@ -0,0 +1,96 @@
1
+ //#region src/blocks/blockESLint.d.ts
2
+ declare const blockESLint: import("bingo-stratum").BlockWithAddons<{
3
+ imports: {
4
+ source: string | {
5
+ version: string;
6
+ packageName: string;
7
+ };
8
+ specifier: string;
9
+ types?: boolean | undefined;
10
+ }[];
11
+ ignores: string[];
12
+ extensions: {
13
+ files: string[];
14
+ rules?: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]> | {
15
+ entries: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
16
+ comment?: string | undefined;
17
+ }[] | undefined;
18
+ settings?: Record<string, unknown> | undefined;
19
+ extends?: string[] | undefined;
20
+ languageOptions?: unknown;
21
+ linterOptions?: unknown;
22
+ plugins?: Record<string, string> | undefined;
23
+ }[];
24
+ explanations: string[];
25
+ beforeLint?: string | undefined;
26
+ }, {
27
+ access: "public" | "restricted";
28
+ description: string;
29
+ directory: string;
30
+ documentation: {
31
+ readme: {
32
+ additional?: string | undefined;
33
+ explainer?: string | undefined;
34
+ footnotes?: string | undefined;
35
+ usage?: string | undefined;
36
+ };
37
+ development?: string | undefined;
38
+ };
39
+ email: {
40
+ github: string;
41
+ npm: string;
42
+ };
43
+ title: string;
44
+ node: {
45
+ minimum: string;
46
+ pinned?: string | undefined;
47
+ };
48
+ owner: string;
49
+ repository: string;
50
+ type?: "commonjs" | "module" | undefined;
51
+ author?: string | undefined;
52
+ bin?: string | Record<string, string> | undefined;
53
+ contributors?: {
54
+ avatar_url: string;
55
+ contributions: string[];
56
+ login: string;
57
+ name: string;
58
+ profile: string;
59
+ }[] | undefined;
60
+ emoji?: string | undefined;
61
+ existingLabels?: {
62
+ name: string;
63
+ description: string;
64
+ color: string;
65
+ }[] | undefined;
66
+ funding?: string | undefined;
67
+ guide?: {
68
+ href: string;
69
+ title: string;
70
+ } | undefined;
71
+ keywords?: string[] | undefined;
72
+ logo?: {
73
+ alt: string;
74
+ src: string;
75
+ height?: number | undefined;
76
+ width?: number | undefined;
77
+ } | undefined;
78
+ packageData?: {
79
+ dependencies?: Record<string, string> | undefined;
80
+ devDependencies?: Record<string, string> | undefined;
81
+ peerDependencies?: Record<string, string> | undefined;
82
+ peerDependenciesMeta?: Record<string, unknown> | undefined;
83
+ scripts?: Record<string, string | undefined> | undefined;
84
+ } | undefined;
85
+ pnpm?: string | undefined;
86
+ rulesetId?: string | undefined;
87
+ version?: string | undefined;
88
+ words?: string[] | undefined;
89
+ workflowsVersions?: Record<string, Record<string, {
90
+ hash?: string | undefined;
91
+ pinned?: boolean | undefined;
92
+ }>> | undefined;
93
+ }>;
94
+ //#endregion
95
+ export { blockESLint };
96
+ //# sourceMappingURL=blockESLint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockESLint.d.ts","names":[],"sources":["../../src/blocks/blockESLint.ts"],"mappings":";cA2Ba,qCAAW"}
@@ -16,7 +16,6 @@ import { mergeAllExtensions } from "./eslint/mergeAllExtensions.js";
16
16
  import { z } from "zod";
17
17
  import sortKeys from "sort-keys";
18
18
  import { parse } from "parse-package-name";
19
-
20
19
  //#region src/blocks/blockESLint.ts
21
20
  const blockESLint = base.createBlock({
22
21
  about: { name: "ESLint" },
@@ -39,7 +38,7 @@ const blockESLint = base.createBlock({
39
38
  produce({ addons, options }) {
40
39
  const { explanations, extensions, ignores, imports } = addons;
41
40
  const configFileName = options.type === "commonjs" ? "eslint.config.mts" : "eslint.config.ts";
42
- const explanation = explanations.length > 0 ? `${explanations.map((explanation$1) => `/*\n${explanation$1}\n*/\n`).join("")}\n` : "";
41
+ const explanation = explanations.length > 0 ? `${explanations.map((explanation) => `/*\n${explanation}\n*/\n`).join("")}\n` : "";
43
42
  const importLines = [
44
43
  "import eslint from \"@eslint/js\";",
45
44
  "import { defineConfig, globalIgnores } from \"eslint/config\";",
@@ -193,6 +192,7 @@ function printGroupComment(comment) {
193
192
  function processForSort(files) {
194
193
  return files.join("").replaceAll("{", "");
195
194
  }
196
-
197
195
  //#endregion
198
- export { blockESLint };
196
+ export { blockESLint };
197
+
198
+ //# sourceMappingURL=blockESLint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockESLint.js","names":["parsePackageName"],"sources":["../../src/blocks/blockESLint.ts"],"sourcesContent":["// @ts-expect-error -- https://github.com/egoist/parse-package-name/issues/30\nimport { parse as parsePackageName } from \"parse-package-name\";\nimport sortKeys from \"sort-keys\";\nimport { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.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 { blockESLintIntake } from \"./eslint/blockESLintIntake.js\";\nimport { getScriptFileExtension } from \"./eslint/getScriptFileExtension.js\";\nimport { mergeAllExtensions } from \"./eslint/mergeAllExtensions.js\";\nimport {\n\tExtension,\n\tExtensionRuleGroup,\n\tExtensionRules,\n\tzExtension,\n\tzPackageImport,\n} from \"./eslint/schemas.js\";\nimport { intakeFile } from \"./intake/intakeFile.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nexport const blockESLint = base.createBlock({\n\tabout: {\n\t\tname: \"ESLint\",\n\t},\n\taddons: {\n\t\tbeforeLint: z.string().optional(),\n\t\texplanations: z.array(z.string()).default([]),\n\t\textensions: z.array(zExtension).default([]),\n\t\tignores: z.array(z.string()).default([]),\n\t\timports: z.array(zPackageImport).default([]),\n\t},\n\tintake({ files }) {\n\t\tconst eslintConfigRaw = intakeFile(files, [\n\t\t\t[\n\t\t\t\t\"eslint.config.ts\",\n\t\t\t\t\"eslint.config.mts\",\n\t\t\t\t\"eslint.config.js\",\n\t\t\t\t\"eslint.config.mjs\",\n\t\t\t],\n\t\t]);\n\n\t\treturn eslintConfigRaw ? blockESLintIntake(eslintConfigRaw[0]) : undefined;\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { explanations, extensions, ignores, imports } = addons;\n\n\t\tconst configFileName =\n\t\t\toptions.type === \"commonjs\" ? \"eslint.config.mts\" : \"eslint.config.ts\";\n\n\t\tconst explanation =\n\t\t\texplanations.length > 0\n\t\t\t\t? `${explanations\n\t\t\t\t\t\t.map((explanation) => `/*\\n${explanation}\\n*/\\n`)\n\t\t\t\t\t\t.join(\"\")}\\n`\n\t\t\t\t: \"\";\n\n\t\tconst importLines = [\n\t\t\t'import eslint from \"@eslint/js\";',\n\t\t\t'import { defineConfig, globalIgnores } from \"eslint/config\";',\n\t\t\t'import tseslint from \"typescript-eslint\";',\n\t\t\t...imports.map(\n\t\t\t\t(packageImport) =>\n\t\t\t\t\t`import ${packageImport.specifier} from \"${typeof packageImport.source === \"string\" ? packageImport.source : packageImport.source.packageName}\"`,\n\t\t\t),\n\t\t].sort((a, b) =>\n\t\t\ta.replace(/.+from/, \"\").localeCompare(b.replace(/.+from/, \"\")),\n\t\t);\n\n\t\tconst ignoreLines = Array.from(\n\t\t\tnew Set(\n\t\t\t\t[\"lib\", \"node_modules\", \"pnpm-lock.yaml\", ...ignores].map((ignore) =>\n\t\t\t\t\tJSON.stringify(ignore),\n\t\t\t\t),\n\t\t\t),\n\t\t).sort();\n\n\t\tconst extensionEntries = mergeAllExtensions(\n\t\t\t{\n\t\t\t\textends: [\n\t\t\t\t\t\"eslint.configs.recommended\",\n\t\t\t\t\t\"tseslint.configs.strictTypeChecked\",\n\t\t\t\t\t\"tseslint.configs.stylisticTypeChecked\",\n\t\t\t\t],\n\t\t\t\tfiles: [getScriptFileExtension(options)],\n\t\t\t\tlanguageOptions: {\n\t\t\t\t\tparserOptions: {\n\t\t\t\t\t\tprojectService: {\n\t\t\t\t\t\t\tallowDefaultProject: Array.from(\n\t\t\t\t\t\t\t\tnew Set(\n\t\t\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\t\t\"*.config.*s\",\n\t\t\t\t\t\t\t\t\t\t...(typeof options.bin === \"object\"\n\t\t\t\t\t\t\t\t\t\t\t? Object.values(options.bin)\n\t\t\t\t\t\t\t\t\t\t\t: [options.bin]),\n\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t.filter(Boolean)\n\t\t\t\t\t\t\t\t\t\t.sort(),\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\t...extensions,\n\t\t\t...(options.type === \"commonjs\"\n\t\t\t\t? [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfiles: [\"*.mjs\"],\n\t\t\t\t\t\t\tlanguageOptions: { sourceType: \"module\" },\n\t\t\t\t\t\t},\n\t\t\t\t\t]\n\t\t\t\t: []),\n\t\t);\n\n\t\tconst extensionLines = extensionEntries\n\t\t\t.sort((a, b) =>\n\t\t\t\tprocessForSort(a.files).localeCompare(processForSort(b.files)),\n\t\t\t)\n\t\t\t.map(printExtension);\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\tafter: [\n\t\t\t\t\t\t\t\t\t`\nFor example, ESLint can be run with \\`--fix\\` to auto-fix some lint rule complaints:\n\n\\`\\`\\`shell\npnpm run lint --fix\n\\`\\`\\`\n`,\n\t\t\t\t\t\t\t\t\t...(addons.beforeLint ? [addons.beforeLint] : []),\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tbefore: `\nThis package includes several forms of linting to enforce consistent code quality and styling.\nEach should be shown in VS Code, and can be run manually on the command-line:\n`,\n\t\t\t\t\t\t\t\titems: [\n\t\t\t\t\t\t\t\t\t`- \\`pnpm lint\\` ([ESLint](https://eslint.org) with [typescript-eslint](https://typescript-eslint.io)): Lints source files, including JavaScript, Markdown, and TypeScript`,\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tplural: `Read the individual documentation for each linter to understand how it can be configured and used best.`,\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\tblockGitHubActionsCI({\n\t\t\t\t\tjobs: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Lint\",\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t...(options.bin ? [{ run: \"pnpm build\" }] : []),\n\t\t\t\t\t\t\t\t{ run: \"pnpm lint\" },\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: {\n\t\t\t\t\t\t\t...getPackageDependencies(\n\t\t\t\t\t\t\t\t\"@eslint/js\",\n\t\t\t\t\t\t\t\t\"@types/node\",\n\t\t\t\t\t\t\t\t\"eslint\",\n\t\t\t\t\t\t\t\t\"typescript-eslint\",\n\t\t\t\t\t\t\t\t...imports\n\t\t\t\t\t\t\t\t\t.filter((imported) => typeof imported.source === \"string\")\n\t\t\t\t\t\t\t\t\t.flatMap(({ source, types }) => {\n\t\t\t\t\t\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-unsafe-call -- https://github.com/egoist/parse-package-name/issues/30\n\t\t\t\t\t\t\t\t\t\tconst { name } = parsePackageName(source) as {\n\t\t\t\t\t\t\t\t\t\t\tname: string;\n\t\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\t\treturn types ? [name, `@types/${name}`] : [name];\n\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t...Object.fromEntries(\n\t\t\t\t\t\t\t\timports\n\t\t\t\t\t\t\t\t\t.filter(\n\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\timported,\n\t\t\t\t\t\t\t\t\t\t): imported is typeof imported & { source: object } =>\n\t\t\t\t\t\t\t\t\t\t\ttypeof imported.source === \"object\",\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t.map((imported) => [\n\t\t\t\t\t\t\t\t\t\timported.source.packageName,\n\t\t\t\t\t\t\t\t\t\timported.source.version,\n\t\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\tscripts: {\n\t\t\t\t\t\t\tlint: \"eslint . --max-warnings 0\",\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: [\"dbaeumer.vscode-eslint\"],\n\t\t\t\t\tsettings: {\n\t\t\t\t\t\t\"editor.codeActionsOnSave\": {\n\t\t\t\t\t\t\t\"source.fixAll.eslint\": \"explicit\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"eslint.probe\": [\n\t\t\t\t\t\t\t\"javascript\",\n\t\t\t\t\t\t\t\"javascriptreact\",\n\t\t\t\t\t\t\t\"json\",\n\t\t\t\t\t\t\t\"jsonc\",\n\t\t\t\t\t\t\t\"markdown\",\n\t\t\t\t\t\t\t\"typescript\",\n\t\t\t\t\t\t\t\"typescriptreact\",\n\t\t\t\t\t\t\t\"yaml\",\n\t\t\t\t\t\t],\n\t\t\t\t\t\t\"eslint.rules.customizations\": [{ rule: \"*\", severity: \"warn\" }],\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t[configFileName]: `${explanation}${importLines.join(\"\\n\")}\n\nexport default defineConfig(\n\tglobalIgnores( [${ignoreLines.join(\", \")}], \"Global Ignores\" ),\n\t{ linterOptions: { reportUnusedDisableDirectives: \"error\" } },\n\t${extensionLines.join(\",\")}\n);`,\n\t\t\t},\n\t\t\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [\"pnpm lint --fix\"],\n\t\t\t\t\tphase: CommandPhase.Process,\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n\ttransition({ options }) {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveDependencies({\n\t\t\t\t\tdependencies: [\n\t\t\t\t\t\t\"@types/eslint\",\n\t\t\t\t\t\t\"@typescript-eslint/eslint-plugin\",\n\t\t\t\t\t\t\"@typescript-eslint/parser\",\n\t\t\t\t\t\t\"eslint-plugin-deprecation\",\n\t\t\t\t\t\t\"eslint-plugin-eslint-comments\",\n\t\t\t\t\t\t\"eslint-plugin-no-only-tests\",\n\t\t\t\t\t\t\"yaml-eslint-parser\",\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\n\t\t\t\t\t\t\".eslintrc*\",\n\t\t\t\t\t\t\".eslintignore\",\n\t\t\t\t\t\toptions.type === \"commonjs\"\n\t\t\t\t\t\t\t? \"eslint.config.{cjs,js}\"\n\t\t\t\t\t\t\t: \"eslint.config.{cjs,mjs}\",\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"eslint\", \"lint\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n\nfunction groupByComment(rulesGroups: ExtensionRuleGroup[]) {\n\tconst byComment = new Map<string | undefined, ExtensionRuleGroup>();\n\tconst grouped: typeof rulesGroups = [];\n\n\tfor (const group of rulesGroups) {\n\t\tconst existing = byComment.get(group.comment);\n\n\t\tif (existing) {\n\t\t\texisting.entries = {\n\t\t\t\t...existing.entries,\n\t\t\t\t...group.entries,\n\t\t\t};\n\t\t\tcontinue;\n\t\t} else {\n\t\t\tbyComment.set(group.comment, group);\n\t\t\tgrouped.push(group);\n\t\t}\n\t}\n\n\treturn grouped;\n}\n\nfunction printExtension(extension: Extension) {\n\treturn [\n\t\t\"{\",\n\t\textension.extends && `extends: [${extension.extends.join(\", \")}],`,\n\t\t`files: [${extension.files.map((glob) => JSON.stringify(glob)).join(\", \")}],`,\n\t\textension.languageOptions &&\n\t\t\t`languageOptions: ${JSON.stringify(extension.languageOptions).replace('\"import.meta.dirname\"', \"import.meta.dirname\")},`,\n\t\textension.linterOptions &&\n\t\t\t`linterOptions: ${JSON.stringify(extension.linterOptions)}`,\n\t\textension.rules && `rules: ${printExtensionRules(extension.rules)},`,\n\t\textension.settings &&\n\t\t\t`settings: ${JSON.stringify(sortKeys(extension.settings))},`,\n\t\t\"}\",\n\t]\n\t\t.filter(Boolean)\n\t\t.join(\" \");\n}\n\nfunction printExtensionRules(rules: ExtensionRules) {\n\tif (!Array.isArray(rules)) {\n\t\treturn JSON.stringify(rules);\n\t}\n\n\treturn [\n\t\t\"{\",\n\t\t...groupByComment(rules).flatMap((group) => [\n\t\t\tprintGroupComment(group.comment),\n\t\t\t...Object.entries(group.entries).map(\n\t\t\t\t([ruleName, options]) => `\"${ruleName}\": ${JSON.stringify(options)},`,\n\t\t\t),\n\t\t]),\n\t\t\"}\",\n\t].join(\"\");\n}\n\nfunction printGroupComment(comment: string | undefined) {\n\treturn comment ? `\\n\\n// ${comment.replaceAll(\"\\n\", \"\\n// \")}\\n` : \"\";\n}\n\nfunction processForSort(files: string[]) {\n\treturn files.join(\"\").replaceAll(\"{\", \"\");\n}\n"],"mappings":"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"}
@@ -0,0 +1,72 @@
1
+ //#region src/blocks/blockESLintComments.d.ts
2
+ declare const blockESLintComments: import("bingo-stratum").BlockWithoutAddons<{
3
+ access: "public" | "restricted";
4
+ description: string;
5
+ directory: string;
6
+ documentation: {
7
+ readme: {
8
+ additional?: string | undefined;
9
+ explainer?: string | undefined;
10
+ footnotes?: string | undefined;
11
+ usage?: string | undefined;
12
+ };
13
+ development?: string | undefined;
14
+ };
15
+ email: {
16
+ github: string;
17
+ npm: string;
18
+ };
19
+ title: string;
20
+ node: {
21
+ minimum: string;
22
+ pinned?: string | undefined;
23
+ };
24
+ owner: string;
25
+ repository: string;
26
+ type?: "commonjs" | "module" | undefined;
27
+ author?: string | undefined;
28
+ bin?: string | Record<string, string> | undefined;
29
+ contributors?: {
30
+ avatar_url: string;
31
+ contributions: string[];
32
+ login: string;
33
+ name: string;
34
+ profile: string;
35
+ }[] | undefined;
36
+ emoji?: string | undefined;
37
+ existingLabels?: {
38
+ name: string;
39
+ description: string;
40
+ color: string;
41
+ }[] | undefined;
42
+ funding?: string | undefined;
43
+ guide?: {
44
+ href: string;
45
+ title: string;
46
+ } | undefined;
47
+ keywords?: string[] | undefined;
48
+ logo?: {
49
+ alt: string;
50
+ src: string;
51
+ height?: number | undefined;
52
+ width?: number | undefined;
53
+ } | undefined;
54
+ packageData?: {
55
+ dependencies?: Record<string, string> | undefined;
56
+ devDependencies?: Record<string, string> | undefined;
57
+ peerDependencies?: Record<string, string> | undefined;
58
+ peerDependenciesMeta?: Record<string, unknown> | undefined;
59
+ scripts?: Record<string, string | undefined> | undefined;
60
+ } | undefined;
61
+ pnpm?: string | undefined;
62
+ rulesetId?: string | undefined;
63
+ version?: string | undefined;
64
+ words?: string[] | undefined;
65
+ workflowsVersions?: Record<string, Record<string, {
66
+ hash?: string | undefined;
67
+ pinned?: boolean | undefined;
68
+ }>> | undefined;
69
+ }>;
70
+ //#endregion
71
+ export { blockESLintComments };
72
+ //# sourceMappingURL=blockESLintComments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockESLintComments.d.ts","names":[],"sources":["../../src/blocks/blockESLintComments.ts"],"mappings":";cAIa,6CAAmB"}
@@ -1,7 +1,6 @@
1
1
  import { base } from "../base.js";
2
2
  import { getScriptFileExtension } from "./eslint/getScriptFileExtension.js";
3
3
  import { blockESLint } from "./blockESLint.js";
4
-
5
4
  //#region src/blocks/blockESLintComments.ts
6
5
  const blockESLintComments = base.createBlock({
7
6
  about: { name: "ESLint Comments Plugin" },
@@ -18,6 +17,7 @@ const blockESLintComments = base.createBlock({
18
17
  })] };
19
18
  }
20
19
  });
21
-
22
20
  //#endregion
23
- export { blockESLintComments };
21
+ export { blockESLintComments };
22
+
23
+ //# sourceMappingURL=blockESLintComments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockESLintComments.js","names":[],"sources":["../../src/blocks/blockESLintComments.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockESLint } from \"./blockESLint.js\";\nimport { getScriptFileExtension } from \"./eslint/getScriptFileExtension.js\";\n\nexport const blockESLintComments = base.createBlock({\n\tabout: {\n\t\tname: \"ESLint Comments Plugin\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockESLint({\n\t\t\t\t\textensions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\textends: [\"comments.recommended\"],\n\t\t\t\t\t\t\tfiles: [getScriptFileExtension(options)],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\timports: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tsource: \"@eslint-community/eslint-plugin-eslint-comments/configs\",\n\t\t\t\t\t\t\tspecifier: \"comments\",\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":";;;;AAIA,MAAa,sBAAsB,KAAK,YAAY;CACnD,OAAO,EACN,MAAM,yBACP;CACA,QAAQ,EAAE,WAAW;EACpB,OAAO,EACN,QAAQ,CACP,YAAY;GACX,YAAY,CACX;IACC,SAAS,CAAC,sBAAsB;IAChC,OAAO,CAAC,uBAAuB,OAAO,CAAC;GACxC,CACD;GACA,SAAS,CACR;IACC,QAAQ;IACR,WAAW;GACZ,CACD;EACD,CAAC,CACF,EACD;CACD;AACD,CAAC"}
@@ -0,0 +1,72 @@
1
+ //#region src/blocks/blockESLintJSDoc.d.ts
2
+ declare const blockESLintJSDoc: import("bingo-stratum").BlockWithoutAddons<{
3
+ access: "public" | "restricted";
4
+ description: string;
5
+ directory: string;
6
+ documentation: {
7
+ readme: {
8
+ additional?: string | undefined;
9
+ explainer?: string | undefined;
10
+ footnotes?: string | undefined;
11
+ usage?: string | undefined;
12
+ };
13
+ development?: string | undefined;
14
+ };
15
+ email: {
16
+ github: string;
17
+ npm: string;
18
+ };
19
+ title: string;
20
+ node: {
21
+ minimum: string;
22
+ pinned?: string | undefined;
23
+ };
24
+ owner: string;
25
+ repository: string;
26
+ type?: "commonjs" | "module" | undefined;
27
+ author?: string | undefined;
28
+ bin?: string | Record<string, string> | undefined;
29
+ contributors?: {
30
+ avatar_url: string;
31
+ contributions: string[];
32
+ login: string;
33
+ name: string;
34
+ profile: string;
35
+ }[] | undefined;
36
+ emoji?: string | undefined;
37
+ existingLabels?: {
38
+ name: string;
39
+ description: string;
40
+ color: string;
41
+ }[] | undefined;
42
+ funding?: string | undefined;
43
+ guide?: {
44
+ href: string;
45
+ title: string;
46
+ } | undefined;
47
+ keywords?: string[] | undefined;
48
+ logo?: {
49
+ alt: string;
50
+ src: string;
51
+ height?: number | undefined;
52
+ width?: number | undefined;
53
+ } | undefined;
54
+ packageData?: {
55
+ dependencies?: Record<string, string> | undefined;
56
+ devDependencies?: Record<string, string> | undefined;
57
+ peerDependencies?: Record<string, string> | undefined;
58
+ peerDependenciesMeta?: Record<string, unknown> | undefined;
59
+ scripts?: Record<string, string | undefined> | undefined;
60
+ } | undefined;
61
+ pnpm?: string | undefined;
62
+ rulesetId?: string | undefined;
63
+ version?: string | undefined;
64
+ words?: string[] | undefined;
65
+ workflowsVersions?: Record<string, Record<string, {
66
+ hash?: string | undefined;
67
+ pinned?: boolean | undefined;
68
+ }>> | undefined;
69
+ }>;
70
+ //#endregion
71
+ export { blockESLintJSDoc };
72
+ //# sourceMappingURL=blockESLintJSDoc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockESLintJSDoc.d.ts","names":[],"sources":["../../src/blocks/blockESLintJSDoc.ts"],"mappings":";cAIa,0CAAgB"}
@@ -1,7 +1,6 @@
1
1
  import { base } from "../base.js";
2
2
  import { getScriptFileExtension } from "./eslint/getScriptFileExtension.js";
3
3
  import { blockESLint } from "./blockESLint.js";
4
-
5
4
  //#region src/blocks/blockESLintJSDoc.ts
6
5
  const blockESLintJSDoc = base.createBlock({
7
6
  about: { name: "ESLint JSDoc Plugin" },
@@ -22,6 +21,7 @@ const blockESLintJSDoc = base.createBlock({
22
21
  })] };
23
22
  }
24
23
  });
25
-
26
24
  //#endregion
27
- export { blockESLintJSDoc };
25
+ export { blockESLintJSDoc };
26
+
27
+ //# sourceMappingURL=blockESLintJSDoc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockESLintJSDoc.js","names":[],"sources":["../../src/blocks/blockESLintJSDoc.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockESLint } from \"./blockESLint.js\";\nimport { getScriptFileExtension } from \"./eslint/getScriptFileExtension.js\";\n\nexport const blockESLintJSDoc = base.createBlock({\n\tabout: {\n\t\tname: \"ESLint JSDoc Plugin\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockESLint({\n\t\t\t\t\textensions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\textends: [\n\t\t\t\t\t\t\t\t'jsdoc.configs[\"flat/contents-typescript-error\"]',\n\t\t\t\t\t\t\t\t'jsdoc.configs[\"flat/logical-typescript-error\"]',\n\t\t\t\t\t\t\t\t'jsdoc.configs[\"flat/stylistic-typescript-error\"]',\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tfiles: [getScriptFileExtension(options)],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\timports: [{ source: \"eslint-plugin-jsdoc\", specifier: \"jsdoc\" }],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAIA,MAAa,mBAAmB,KAAK,YAAY;CAChD,OAAO,EACN,MAAM,sBACP;CACA,QAAQ,EAAE,WAAW;EACpB,OAAO,EACN,QAAQ,CACP,YAAY;GACX,YAAY,CACX;IACC,SAAS;KACR;KACA;KACA;IACD;IACA,OAAO,CAAC,uBAAuB,OAAO,CAAC;GACxC,CACD;GACA,SAAS,CAAC;IAAE,QAAQ;IAAuB,WAAW;GAAQ,CAAC;EAChE,CAAC,CACF,EACD;CACD;AACD,CAAC"}
@@ -0,0 +1,72 @@
1
+ //#region src/blocks/blockESLintJSONC.d.ts
2
+ declare const blockESLintJSONC: import("bingo-stratum").BlockWithoutAddons<{
3
+ access: "public" | "restricted";
4
+ description: string;
5
+ directory: string;
6
+ documentation: {
7
+ readme: {
8
+ additional?: string | undefined;
9
+ explainer?: string | undefined;
10
+ footnotes?: string | undefined;
11
+ usage?: string | undefined;
12
+ };
13
+ development?: string | undefined;
14
+ };
15
+ email: {
16
+ github: string;
17
+ npm: string;
18
+ };
19
+ title: string;
20
+ node: {
21
+ minimum: string;
22
+ pinned?: string | undefined;
23
+ };
24
+ owner: string;
25
+ repository: string;
26
+ type?: "commonjs" | "module" | undefined;
27
+ author?: string | undefined;
28
+ bin?: string | Record<string, string> | undefined;
29
+ contributors?: {
30
+ avatar_url: string;
31
+ contributions: string[];
32
+ login: string;
33
+ name: string;
34
+ profile: string;
35
+ }[] | undefined;
36
+ emoji?: string | undefined;
37
+ existingLabels?: {
38
+ name: string;
39
+ description: string;
40
+ color: string;
41
+ }[] | undefined;
42
+ funding?: string | undefined;
43
+ guide?: {
44
+ href: string;
45
+ title: string;
46
+ } | undefined;
47
+ keywords?: string[] | undefined;
48
+ logo?: {
49
+ alt: string;
50
+ src: string;
51
+ height?: number | undefined;
52
+ width?: number | undefined;
53
+ } | undefined;
54
+ packageData?: {
55
+ dependencies?: Record<string, string> | undefined;
56
+ devDependencies?: Record<string, string> | undefined;
57
+ peerDependencies?: Record<string, string> | undefined;
58
+ peerDependenciesMeta?: Record<string, unknown> | undefined;
59
+ scripts?: Record<string, string | undefined> | undefined;
60
+ } | undefined;
61
+ pnpm?: string | undefined;
62
+ rulesetId?: string | undefined;
63
+ version?: string | undefined;
64
+ words?: string[] | undefined;
65
+ workflowsVersions?: Record<string, Record<string, {
66
+ hash?: string | undefined;
67
+ pinned?: boolean | undefined;
68
+ }>> | undefined;
69
+ }>;
70
+ //#endregion
71
+ export { blockESLintJSONC };
72
+ //# sourceMappingURL=blockESLintJSONC.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockESLintJSONC.d.ts","names":[],"sources":["../../src/blocks/blockESLintJSONC.ts"],"mappings":";cAGa,0CAAgB"}
@@ -1,6 +1,5 @@
1
1
  import { base } from "../base.js";
2
2
  import { blockESLint } from "./blockESLint.js";
3
-
4
3
  //#region src/blocks/blockESLintJSONC.ts
5
4
  const blockESLintJSONC = base.createBlock({
6
5
  about: { name: "ESLint JSONC Plugin" },
@@ -17,6 +16,7 @@ const blockESLintJSONC = base.createBlock({
17
16
  })] };
18
17
  }
19
18
  });
20
-
21
19
  //#endregion
22
- export { blockESLintJSONC };
20
+ export { blockESLintJSONC };
21
+
22
+ //# sourceMappingURL=blockESLintJSONC.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockESLintJSONC.js","names":[],"sources":["../../src/blocks/blockESLintJSONC.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockESLint } from \"./blockESLint.js\";\n\nexport const blockESLintJSONC = base.createBlock({\n\tabout: {\n\t\tname: \"ESLint JSONC Plugin\",\n\t},\n\tproduce() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockESLint({\n\t\t\t\t\textensions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\textends: [`jsonc.configs[\"flat/recommended-with-json\"]`],\n\t\t\t\t\t\t\tfiles: [\"**/*.json\"],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\timports: [{ source: \"eslint-plugin-jsonc\", specifier: \"jsonc\" }],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;AAGA,MAAa,mBAAmB,KAAK,YAAY;CAChD,OAAO,EACN,MAAM,sBACP;CACA,UAAU;EACT,OAAO,EACN,QAAQ,CACP,YAAY;GACX,YAAY,CACX;IACC,SAAS,CAAC,6CAA6C;IACvD,OAAO,CAAC,WAAW;GACpB,CACD;GACA,SAAS,CAAC;IAAE,QAAQ;IAAuB,WAAW;GAAQ,CAAC;EAChE,CAAC,CACF,EACD;CACD;AACD,CAAC"}