create-typescript-app 2.45.0 → 2.46.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.
- package/lib/base.d.ts +170 -167
- package/lib/base.d.ts.map +1 -0
- package/lib/base.js +132 -204
- package/lib/base.js.map +1 -0
- package/lib/blocks/actions/resolveUses.d.ts +5 -2
- package/lib/blocks/actions/resolveUses.d.ts.map +1 -0
- package/lib/blocks/actions/resolveUses.js +13 -20
- package/lib/blocks/actions/resolveUses.js.map +1 -0
- package/lib/blocks/actions/steps.d.ts +25 -21
- package/lib/blocks/actions/steps.d.ts.map +1 -0
- package/lib/blocks/actions/steps.js +18 -23
- package/lib/blocks/actions/steps.js.map +1 -0
- package/lib/blocks/bin/getPrimaryBin.d.ts +4 -0
- package/lib/blocks/bin/getPrimaryBin.d.ts.map +1 -0
- package/lib/blocks/bin/getPrimaryBin.js +6 -4
- package/lib/blocks/bin/getPrimaryBin.js.map +1 -0
- package/lib/blocks/blockAllContributors.d.ts +70 -67
- package/lib/blocks/blockAllContributors.d.ts.map +1 -0
- package/lib/blocks/blockAllContributors.js +122 -170
- package/lib/blocks/blockAllContributors.js.map +1 -0
- package/lib/blocks/blockAreTheTypesWrong.d.ts +70 -67
- package/lib/blocks/blockAreTheTypesWrong.d.ts.map +1 -0
- package/lib/blocks/blockAreTheTypesWrong.js +13 -25
- package/lib/blocks/blockAreTheTypesWrong.js.map +1 -0
- package/lib/blocks/blockCSpell.d.ts +72 -69
- package/lib/blocks/blockCSpell.d.ts.map +1 -0
- package/lib/blocks/blockCSpell.js +68 -105
- package/lib/blocks/blockCSpell.js.map +1 -0
- package/lib/blocks/blockCTATransitions.d.ts +70 -67
- package/lib/blocks/blockCTATransitions.d.ts.map +1 -0
- package/lib/blocks/blockCTATransitions.js +108 -158
- package/lib/blocks/blockCTATransitions.js.map +1 -0
- package/lib/blocks/blockCodecov.d.ts +71 -68
- package/lib/blocks/blockCodecov.d.ts.map +1 -0
- package/lib/blocks/blockCodecov.js +48 -75
- package/lib/blocks/blockCodecov.js.map +1 -0
- package/lib/blocks/blockContributingDocs.d.ts +70 -67
- package/lib/blocks/blockContributingDocs.d.ts.map +1 -0
- package/lib/blocks/blockContributingDocs.js +14 -21
- package/lib/blocks/blockContributingDocs.js.map +1 -0
- package/lib/blocks/blockContributorCovenant.d.ts +70 -67
- package/lib/blocks/blockContributorCovenant.d.ts.map +1 -0
- package/lib/blocks/blockContributorCovenant.js +23 -37
- package/lib/blocks/blockContributorCovenant.js.map +1 -0
- package/lib/blocks/blockDevelopmentDocs.d.ts +83 -80
- package/lib/blocks/blockDevelopmentDocs.d.ts.map +1 -0
- package/lib/blocks/blockDevelopmentDocs.js +64 -74
- package/lib/blocks/blockDevelopmentDocs.js.map +1 -0
- package/lib/blocks/blockESLint.d.ts +95 -92
- package/lib/blocks/blockESLint.d.ts.map +1 -0
- package/lib/blocks/blockESLint.js +169 -263
- package/lib/blocks/blockESLint.js.map +1 -0
- package/lib/blocks/blockESLintComments.d.ts +70 -67
- package/lib/blocks/blockESLintComments.d.ts.map +1 -0
- package/lib/blocks/blockESLintComments.js +16 -21
- package/lib/blocks/blockESLintComments.js.map +1 -0
- package/lib/blocks/blockESLintJSDoc.d.ts +70 -67
- package/lib/blocks/blockESLintJSDoc.d.ts.map +1 -0
- package/lib/blocks/blockESLintJSDoc.js +20 -20
- package/lib/blocks/blockESLintJSDoc.js.map +1 -0
- package/lib/blocks/blockESLintJSONC.d.ts +70 -67
- package/lib/blocks/blockESLintJSONC.d.ts.map +1 -0
- package/lib/blocks/blockESLintJSONC.js +16 -16
- package/lib/blocks/blockESLintJSONC.js.map +1 -0
- package/lib/blocks/blockESLintMarkdown.d.ts +70 -67
- package/lib/blocks/blockESLintMarkdown.d.ts.map +1 -0
- package/lib/blocks/blockESLintMarkdown.js +17 -22
- package/lib/blocks/blockESLintMarkdown.js.map +1 -0
- package/lib/blocks/blockESLintMoreStyling.d.ts +70 -67
- package/lib/blocks/blockESLintMoreStyling.d.ts.map +1 -0
- package/lib/blocks/blockESLintMoreStyling.js +22 -30
- package/lib/blocks/blockESLintMoreStyling.js.map +1 -0
- package/lib/blocks/blockESLintNode.d.ts +70 -67
- package/lib/blocks/blockESLintNode.d.ts.map +1 -0
- package/lib/blocks/blockESLintNode.js +20 -23
- package/lib/blocks/blockESLintNode.js.map +1 -0
- package/lib/blocks/blockESLintPackageJson.d.ts +70 -67
- package/lib/blocks/blockESLintPackageJson.d.ts.map +1 -0
- package/lib/blocks/blockESLintPackageJson.js +26 -49
- package/lib/blocks/blockESLintPackageJson.js.map +1 -0
- package/lib/blocks/blockESLintPerfectionist.d.ts +70 -67
- package/lib/blocks/blockESLintPerfectionist.d.ts.map +1 -0
- package/lib/blocks/blockESLintPerfectionist.js +20 -27
- package/lib/blocks/blockESLintPerfectionist.js.map +1 -0
- package/lib/blocks/blockESLintPlugin.d.ts +71 -68
- package/lib/blocks/blockESLintPlugin.d.ts.map +1 -0
- package/lib/blocks/blockESLintPlugin.js +89 -137
- package/lib/blocks/blockESLintPlugin.js.map +1 -0
- package/lib/blocks/blockESLintRegexp.d.ts +70 -67
- package/lib/blocks/blockESLintRegexp.d.ts.map +1 -0
- package/lib/blocks/blockESLintRegexp.js +16 -18
- package/lib/blocks/blockESLintRegexp.js.map +1 -0
- package/lib/blocks/blockESLintYML.d.ts +70 -67
- package/lib/blocks/blockESLintYML.d.ts.map +1 -0
- package/lib/blocks/blockESLintYML.js +30 -41
- package/lib/blocks/blockESLintYML.js.map +1 -0
- package/lib/blocks/blockExampleFiles.d.ts +72 -69
- package/lib/blocks/blockExampleFiles.d.ts.map +1 -0
- package/lib/blocks/blockExampleFiles.js +22 -29
- package/lib/blocks/blockExampleFiles.js.map +1 -0
- package/lib/blocks/blockFunding.d.ts +70 -67
- package/lib/blocks/blockFunding.d.ts.map +1 -0
- package/lib/blocks/blockFunding.js +10 -15
- package/lib/blocks/blockFunding.js.map +1 -0
- package/lib/blocks/blockGitHubActionsCI.d.ts +85 -82
- package/lib/blocks/blockGitHubActionsCI.d.ts.map +1 -0
- package/lib/blocks/blockGitHubActionsCI.js +83 -134
- package/lib/blocks/blockGitHubActionsCI.js.map +1 -0
- package/lib/blocks/blockGitHubApps.d.ts +74 -71
- package/lib/blocks/blockGitHubApps.d.ts.map +1 -0
- package/lib/blocks/blockGitHubApps.js +15 -24
- package/lib/blocks/blockGitHubApps.js.map +1 -0
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +70 -67
- package/lib/blocks/blockGitHubIssueTemplates.d.ts.map +1 -0
- package/lib/blocks/blockGitHubIssueTemplates.js +185 -204
- package/lib/blocks/blockGitHubIssueTemplates.js.map +1 -0
- package/lib/blocks/blockGitHubPRTemplate.d.ts +70 -67
- package/lib/blocks/blockGitHubPRTemplate.d.ts.map +1 -0
- package/lib/blocks/blockGitHubPRTemplate.js +11 -16
- package/lib/blocks/blockGitHubPRTemplate.js.map +1 -0
- package/lib/blocks/blockGitignore.d.ts +71 -68
- package/lib/blocks/blockGitignore.d.ts.map +1 -0
- package/lib/blocks/blockGitignore.js +13 -18
- package/lib/blocks/blockGitignore.js.map +1 -0
- package/lib/blocks/blockKnip.d.ts +73 -70
- package/lib/blocks/blockKnip.d.ts.map +1 -0
- package/lib/blocks/blockKnip.js +60 -88
- package/lib/blocks/blockKnip.js.map +1 -0
- package/lib/blocks/blockMITLicense.d.ts +70 -67
- package/lib/blocks/blockMITLicense.d.ts.map +1 -0
- package/lib/blocks/blockMITLicense.js +21 -31
- package/lib/blocks/blockMITLicense.js.map +1 -0
- package/lib/blocks/blockMain.d.ts +72 -69
- package/lib/blocks/blockMain.d.ts.map +1 -0
- package/lib/blocks/blockMain.js +17 -29
- package/lib/blocks/blockMain.js.map +1 -0
- package/lib/blocks/blockMarkdownlint.d.ts +71 -68
- package/lib/blocks/blockMarkdownlint.d.ts.map +1 -0
- package/lib/blocks/blockMarkdownlint.js +55 -94
- package/lib/blocks/blockMarkdownlint.js.map +1 -0
- package/lib/blocks/blockNcc.d.ts +71 -68
- package/lib/blocks/blockNcc.d.ts.map +1 -0
- package/lib/blocks/blockNcc.js +44 -72
- package/lib/blocks/blockNcc.js.map +1 -0
- package/lib/blocks/blockNvmrc.d.ts +70 -67
- package/lib/blocks/blockNvmrc.d.ts.map +1 -0
- package/lib/blocks/blockNvmrc.js +16 -21
- package/lib/blocks/blockNvmrc.js.map +1 -0
- package/lib/blocks/blockOctoGuide.d.ts +71 -68
- package/lib/blocks/blockOctoGuide.d.ts.map +1 -0
- package/lib/blocks/blockOctoGuide.js +65 -93
- package/lib/blocks/blockOctoGuide.js.map +1 -0
- package/lib/blocks/blockOctoGuideStrict.d.ts +70 -67
- package/lib/blocks/blockOctoGuideStrict.d.ts.map +1 -0
- package/lib/blocks/blockOctoGuideStrict.js +10 -15
- package/lib/blocks/blockOctoGuideStrict.js.map +1 -0
- package/lib/blocks/blockPackageJson.d.ts +144 -141
- package/lib/blocks/blockPackageJson.d.ts.map +1 -0
- package/lib/blocks/blockPackageJson.js +82 -113
- package/lib/blocks/blockPackageJson.js.map +1 -0
- package/lib/blocks/blockPnpmDedupe.d.ts +70 -67
- package/lib/blocks/blockPnpmDedupe.d.ts.map +1 -0
- package/lib/blocks/blockPnpmDedupe.js +24 -49
- package/lib/blocks/blockPnpmDedupe.js.map +1 -0
- package/lib/blocks/blockPrettier.d.ts +79 -76
- package/lib/blocks/blockPrettier.d.ts.map +1 -0
- package/lib/blocks/blockPrettier.js +82 -116
- package/lib/blocks/blockPrettier.js.map +1 -0
- package/lib/blocks/blockPrettierPluginCurly.d.ts +70 -67
- package/lib/blocks/blockPrettierPluginCurly.d.ts.map +1 -0
- package/lib/blocks/blockPrettierPluginCurly.js +10 -15
- package/lib/blocks/blockPrettierPluginCurly.js.map +1 -0
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +70 -67
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts.map +1 -0
- package/lib/blocks/blockPrettierPluginPackageJson.js +10 -15
- package/lib/blocks/blockPrettierPluginPackageJson.js.map +1 -0
- package/lib/blocks/blockPrettierPluginSh.d.ts +70 -67
- package/lib/blocks/blockPrettierPluginSh.d.ts.map +1 -0
- package/lib/blocks/blockPrettierPluginSh.js +10 -15
- package/lib/blocks/blockPrettierPluginSh.js.map +1 -0
- package/lib/blocks/blockREADME.d.ts +82 -79
- package/lib/blocks/blockREADME.d.ts.map +1 -0
- package/lib/blocks/blockREADME.js +46 -60
- package/lib/blocks/blockREADME.js.map +1 -0
- package/lib/blocks/blockReleaseIt.d.ts +74 -71
- package/lib/blocks/blockReleaseIt.d.ts.map +1 -0
- package/lib/blocks/blockReleaseIt.js +152 -181
- package/lib/blocks/blockReleaseIt.js.map +1 -0
- package/lib/blocks/blockRemoveDependencies.d.ts +71 -68
- package/lib/blocks/blockRemoveDependencies.d.ts.map +1 -0
- package/lib/blocks/blockRemoveDependencies.js +18 -27
- package/lib/blocks/blockRemoveDependencies.js.map +1 -0
- package/lib/blocks/blockRemoveFiles.d.ts +71 -68
- package/lib/blocks/blockRemoveFiles.d.ts.map +1 -0
- package/lib/blocks/blockRemoveFiles.js +19 -28
- package/lib/blocks/blockRemoveFiles.js.map +1 -0
- package/lib/blocks/blockRemoveWorkflows.d.ts +71 -68
- package/lib/blocks/blockRemoveWorkflows.d.ts.map +1 -0
- package/lib/blocks/blockRemoveWorkflows.js +16 -27
- package/lib/blocks/blockRemoveWorkflows.js.map +1 -0
- package/lib/blocks/blockRenovate.d.ts +71 -68
- package/lib/blocks/blockRenovate.d.ts.map +1 -0
- package/lib/blocks/blockRenovate.js +37 -52
- package/lib/blocks/blockRenovate.js.map +1 -0
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +71 -68
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts.map +1 -0
- package/lib/blocks/blockRepositoryBranchRuleset.js +77 -107
- package/lib/blocks/blockRepositoryBranchRuleset.js.map +1 -0
- package/lib/blocks/blockRepositoryLabels.d.ts +70 -67
- package/lib/blocks/blockRepositoryLabels.d.ts.map +1 -0
- package/lib/blocks/blockRepositoryLabels.js +51 -58
- package/lib/blocks/blockRepositoryLabels.js.map +1 -0
- package/lib/blocks/blockRepositorySecrets.d.ts +74 -71
- package/lib/blocks/blockRepositorySecrets.d.ts.map +1 -0
- package/lib/blocks/blockRepositorySecrets.js +15 -26
- package/lib/blocks/blockRepositorySecrets.js.map +1 -0
- package/lib/blocks/blockRepositorySettings.d.ts +70 -67
- package/lib/blocks/blockRepositorySettings.d.ts.map +1 -0
- package/lib/blocks/blockRepositorySettings.js +32 -39
- package/lib/blocks/blockRepositorySettings.js.map +1 -0
- package/lib/blocks/blockSecurityDocs.d.ts +70 -67
- package/lib/blocks/blockSecurityDocs.d.ts.map +1 -0
- package/lib/blocks/blockSecurityDocs.js +11 -16
- package/lib/blocks/blockSecurityDocs.js.map +1 -0
- package/lib/blocks/blockTSDown.d.ts +79 -0
- package/lib/blocks/blockTSDown.d.ts.map +1 -0
- package/lib/blocks/blockTSDown.js +111 -0
- package/lib/blocks/blockTSDown.js.map +1 -0
- package/lib/blocks/blockTemplatedWith.d.ts +70 -67
- package/lib/blocks/blockTemplatedWith.d.ts.map +1 -0
- package/lib/blocks/blockTemplatedWith.js +12 -20
- package/lib/blocks/blockTemplatedWith.js.map +1 -0
- package/lib/blocks/blockTypeScript.d.ts +181 -178
- package/lib/blocks/blockTypeScript.d.ts.map +1 -0
- package/lib/blocks/blockTypeScript.js +94 -127
- package/lib/blocks/blockTypeScript.js.map +1 -0
- package/lib/blocks/blockVSCode.d.ts +78 -75
- package/lib/blocks/blockVSCode.d.ts.map +1 -0
- package/lib/blocks/blockVSCode.js +51 -81
- package/lib/blocks/blockVSCode.js.map +1 -0
- package/lib/blocks/blockVitest.d.ts +86 -83
- package/lib/blocks/blockVitest.d.ts.map +1 -0
- package/lib/blocks/blockVitest.js +115 -168
- package/lib/blocks/blockVitest.js.map +1 -0
- package/lib/blocks/blockWebExt.d.ts +70 -67
- package/lib/blocks/blockWebExt.d.ts.map +1 -0
- package/lib/blocks/blockWebExt.js +59 -83
- package/lib/blocks/blockWebExt.js.map +1 -0
- package/lib/blocks/eslint/blockESLintIntake.d.ts +9 -6
- package/lib/blocks/eslint/blockESLintIntake.d.ts.map +1 -0
- package/lib/blocks/eslint/blockESLintIntake.js +84 -111
- package/lib/blocks/eslint/blockESLintIntake.js.map +1 -0
- package/lib/blocks/eslint/blockESLintPluginIntake.d.ts +5 -2
- package/lib/blocks/eslint/blockESLintPluginIntake.d.ts.map +1 -0
- package/lib/blocks/eslint/blockESLintPluginIntake.js +26 -44
- package/lib/blocks/eslint/blockESLintPluginIntake.js.map +1 -0
- package/lib/blocks/eslint/schemas.d.ts +77 -73
- package/lib/blocks/eslint/schemas.d.ts.map +1 -0
- package/lib/blocks/eslint/schemas.js +31 -36
- package/lib/blocks/eslint/schemas.js.map +1 -0
- package/lib/blocks/files/createJobName.d.ts +4 -0
- package/lib/blocks/files/createJobName.d.ts.map +1 -0
- package/lib/blocks/files/createJobName.js +6 -4
- package/lib/blocks/files/createJobName.js.map +1 -0
- package/lib/blocks/files/createMultiWorkflowFile.d.ts +21 -14
- package/lib/blocks/files/createMultiWorkflowFile.d.ts.map +1 -0
- package/lib/blocks/files/createMultiWorkflowFile.js +27 -35
- package/lib/blocks/files/createMultiWorkflowFile.js.map +1 -0
- package/lib/blocks/files/createSoloWorkflowFile.d.ts +61 -52
- package/lib/blocks/files/createSoloWorkflowFile.d.ts.map +1 -0
- package/lib/blocks/files/createSoloWorkflowFile.js +19 -25
- package/lib/blocks/files/createSoloWorkflowFile.js.map +1 -0
- package/lib/blocks/files/formatIgnoreFile.d.ts +4 -0
- package/lib/blocks/files/formatIgnoreFile.d.ts.map +1 -0
- package/lib/blocks/files/formatIgnoreFile.js +6 -4
- package/lib/blocks/files/formatIgnoreFile.js.map +1 -0
- package/lib/blocks/files/formatWorkflowYaml.d.ts +4 -0
- package/lib/blocks/files/formatWorkflowYaml.d.ts.map +1 -0
- package/lib/blocks/files/formatWorkflowYaml.js +7 -4
- package/lib/blocks/files/formatWorkflowYaml.js.map +1 -0
- package/lib/blocks/files/formatYaml.d.ts +4 -0
- package/lib/blocks/files/formatYaml.d.ts.map +1 -0
- package/lib/blocks/files/formatYaml.js +16 -21
- package/lib/blocks/files/formatYaml.js.map +1 -0
- package/lib/blocks/files/removeUsesQuotes.d.ts +4 -0
- package/lib/blocks/files/removeUsesQuotes.d.ts.map +1 -0
- package/lib/blocks/files/removeUsesQuotes.js +6 -7
- package/lib/blocks/files/removeUsesQuotes.js.map +1 -0
- package/lib/blocks/getInstallationSuggestions.d.ts +4 -0
- package/lib/blocks/getInstallationSuggestions.d.ts.map +1 -0
- package/lib/blocks/getInstallationSuggestions.js +11 -12
- package/lib/blocks/getInstallationSuggestions.js.map +1 -0
- package/lib/blocks/index.d.ts +3646 -3644
- package/lib/blocks/index.d.ts.map +1 -0
- package/lib/blocks/index.js +83 -177
- package/lib/blocks/index.js.map +1 -0
- package/lib/blocks/intake/intakeFile.d.ts +5 -1
- package/lib/blocks/intake/intakeFile.d.ts.map +1 -0
- package/lib/blocks/intake/intakeFile.js +12 -18
- package/lib/blocks/intake/intakeFile.js.map +1 -0
- package/lib/blocks/intake/intakeFileAsJson.d.ts +5 -1
- package/lib/blocks/intake/intakeFileAsJson.d.ts.map +1 -0
- package/lib/blocks/intake/intakeFileAsJson.js +13 -10
- package/lib/blocks/intake/intakeFileAsJson.js.map +1 -0
- package/lib/blocks/intake/intakeFileAsYaml.d.ts +5 -1
- package/lib/blocks/intake/intakeFileAsYaml.d.ts.map +1 -0
- package/lib/blocks/intake/intakeFileAsYaml.js +13 -10
- package/lib/blocks/intake/intakeFileAsYaml.js.map +1 -0
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts +5 -1
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts.map +1 -0
- package/lib/blocks/intake/intakeFileDefineConfig.js +20 -23
- package/lib/blocks/intake/intakeFileDefineConfig.js.map +1 -0
- package/lib/blocks/options.fakes.d.ts +23 -20
- package/lib/blocks/options.fakes.d.ts.map +1 -0
- package/lib/blocks/options.fakes.js +19 -23
- package/lib/blocks/options.fakes.js.map +1 -0
- package/lib/blocks/outcomeLabels.d.ts +12 -9
- package/lib/blocks/outcomeLabels.d.ts.map +1 -0
- package/lib/blocks/outcomeLabels.js +93 -92
- package/lib/blocks/outcomeLabels.js.map +1 -0
- package/lib/blocks/phases.d.ts +9 -6
- package/lib/blocks/phases.d.ts.map +1 -0
- package/lib/blocks/phases.js +10 -8
- package/lib/blocks/phases.js.map +1 -0
- package/lib/constants.d.ts +8 -5
- package/lib/constants.d.ts.map +1 -0
- package/lib/constants.js +9 -9
- package/lib/constants.js.map +1 -0
- package/lib/data/contributions.d.ts +4 -0
- package/lib/data/contributions.d.ts.map +1 -0
- package/lib/data/contributions.js +13 -11
- package/lib/data/contributions.js.map +1 -0
- package/lib/data/packageData.d.ts +7 -166
- package/lib/data/packageData.d.ts.map +1 -0
- package/lib/data/packageData.js +16 -24
- package/lib/data/packageData.js.map +1 -0
- package/lib/index.d.ts +290 -288
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +61 -7
- package/lib/index.js.map +1 -0
- package/lib/inputs/inputFromDirectory.d.ts +8 -4
- package/lib/inputs/inputFromDirectory.d.ts.map +1 -0
- package/lib/inputs/inputFromDirectory.js +11 -10
- package/lib/inputs/inputFromDirectory.js.map +1 -0
- package/lib/inputs/inputFromOctokit.d.ts +9 -5
- package/lib/inputs/inputFromOctokit.d.ts.map +1 -0
- package/lib/inputs/inputFromOctokit.js +23 -24
- package/lib/inputs/inputFromOctokit.js.map +1 -0
- package/lib/options/readAccess.d.ts +5 -1
- package/lib/options/readAccess.d.ts.map +1 -0
- package/lib/options/readAccess.js +6 -4
- package/lib/options/readAccess.js.map +1 -0
- package/lib/options/readAllContributors.d.ts +6 -2
- package/lib/options/readAllContributors.d.ts.map +1 -0
- package/lib/options/readAllContributors.js +17 -22
- package/lib/options/readAllContributors.js.map +1 -0
- package/lib/options/readAuthor.d.ts +6 -3
- package/lib/options/readAuthor.d.ts.map +1 -0
- package/lib/options/readAuthor.js +6 -4
- package/lib/options/readAuthor.js.map +1 -0
- package/lib/options/readBin.d.ts +5 -1
- package/lib/options/readBin.d.ts.map +1 -0
- package/lib/options/readBin.js +8 -10
- package/lib/options/readBin.js.map +1 -0
- package/lib/options/readDescription.d.ts +5 -1
- package/lib/options/readDescription.d.ts.map +1 -0
- package/lib/options/readDescription.js +16 -23
- package/lib/options/readDescription.js.map +1 -0
- package/lib/options/readDescriptionFromReadme.d.ts +4 -0
- package/lib/options/readDescriptionFromReadme.d.ts.map +1 -0
- package/lib/options/readDescriptionFromReadme.js +11 -13
- package/lib/options/readDescriptionFromReadme.js.map +1 -0
- package/lib/options/readDevelopmentDocumentation.d.ts +5 -1
- package/lib/options/readDevelopmentDocumentation.d.ts.map +1 -0
- package/lib/options/readDevelopmentDocumentation.js +18 -21
- package/lib/options/readDevelopmentDocumentation.js.map +1 -0
- package/lib/options/readDocumentation.d.ts +5 -2
- package/lib/options/readDocumentation.d.ts.map +1 -0
- package/lib/options/readDocumentation.js +21 -19
- package/lib/options/readDocumentation.js.map +1 -0
- package/lib/options/readEmailFromCodeOfConduct.d.ts +5 -1
- package/lib/options/readEmailFromCodeOfConduct.d.ts.map +1 -0
- package/lib/options/readEmailFromCodeOfConduct.js +8 -7
- package/lib/options/readEmailFromCodeOfConduct.js.map +1 -0
- package/lib/options/readEmailFromGit.d.ts +5 -1
- package/lib/options/readEmailFromGit.d.ts.map +1 -0
- package/lib/options/readEmailFromGit.js +7 -4
- package/lib/options/readEmailFromGit.js.map +1 -0
- package/lib/options/readEmailFromNpm.d.ts +6 -3
- package/lib/options/readEmailFromNpm.d.ts.map +1 -0
- package/lib/options/readEmailFromNpm.js +6 -4
- package/lib/options/readEmailFromNpm.js.map +1 -0
- package/lib/options/readEmails.d.ts +7 -4
- package/lib/options/readEmails.d.ts.map +1 -0
- package/lib/options/readEmails.js +11 -6
- package/lib/options/readEmails.js.map +1 -0
- package/lib/options/readEmoji.d.ts +4 -0
- package/lib/options/readEmoji.d.ts.map +1 -0
- package/lib/options/readEmoji.js +6 -4
- package/lib/options/readEmoji.js.map +1 -0
- package/lib/options/readExistingLabels.d.ts +8 -4
- package/lib/options/readExistingLabels.d.ts.map +1 -0
- package/lib/options/readExistingLabels.js +21 -20
- package/lib/options/readExistingLabels.js.map +1 -0
- package/lib/options/readFileAsJson.d.ts +4 -0
- package/lib/options/readFileAsJson.d.ts.map +1 -0
- package/lib/options/readFileAsJson.js +11 -11
- package/lib/options/readFileAsJson.js.map +1 -0
- package/lib/options/readFileSafe.d.ts +4 -0
- package/lib/options/readFileSafe.d.ts.map +1 -0
- package/lib/options/readFileSafe.js +11 -8
- package/lib/options/readFileSafe.js.map +1 -0
- package/lib/options/readFunding.d.ts +5 -1
- package/lib/options/readFunding.d.ts.map +1 -0
- package/lib/options/readFunding.js +8 -7
- package/lib/options/readFunding.js.map +1 -0
- package/lib/options/readGitDefaults.d.ts +6 -2
- package/lib/options/readGitDefaults.d.ts.map +1 -0
- package/lib/options/readGitDefaults.js +9 -8
- package/lib/options/readGitDefaults.js.map +1 -0
- package/lib/options/readGuide.d.ts +7 -3
- package/lib/options/readGuide.d.ts.map +1 -0
- package/lib/options/readGuide.js +14 -19
- package/lib/options/readGuide.js.map +1 -0
- package/lib/options/readKeywords.d.ts +5 -1
- package/lib/options/readKeywords.d.ts.map +1 -0
- package/lib/options/readKeywords.js +7 -5
- package/lib/options/readKeywords.js.map +1 -0
- package/lib/options/readLogo.d.ts +8 -4
- package/lib/options/readLogo.d.ts.map +1 -0
- package/lib/options/readLogo.js +19 -22
- package/lib/options/readLogo.js.map +1 -0
- package/lib/options/readLogoSizing.d.ts +7 -3
- package/lib/options/readLogoSizing.d.ts.map +1 -0
- package/lib/options/readLogoSizing.js +26 -22
- package/lib/options/readLogoSizing.js.map +1 -0
- package/lib/options/readNode.d.ts +7 -3
- package/lib/options/readNode.d.ts.map +1 -0
- package/lib/options/readNode.js +12 -9
- package/lib/options/readNode.js.map +1 -0
- package/lib/options/readNpmDefaults.d.ts +7 -3
- package/lib/options/readNpmDefaults.d.ts.map +1 -0
- package/lib/options/readNpmDefaults.js +9 -6
- package/lib/options/readNpmDefaults.js.map +1 -0
- package/lib/options/readOwner.d.ts +7 -4
- package/lib/options/readOwner.d.ts.map +1 -0
- package/lib/options/readOwner.js +7 -6
- package/lib/options/readOwner.js.map +1 -0
- package/lib/options/readPackageAuthor.d.ts +8 -4
- package/lib/options/readPackageAuthor.d.ts.map +1 -0
- package/lib/options/readPackageAuthor.js +12 -12
- package/lib/options/readPackageAuthor.js.map +1 -0
- package/lib/options/readPackageData.d.ts +6 -2
- package/lib/options/readPackageData.d.ts.map +1 -0
- package/lib/options/readPackageData.js +8 -9
- package/lib/options/readPackageData.js.map +1 -0
- package/lib/options/readPnpm.d.ts +5 -1
- package/lib/options/readPnpm.d.ts.map +1 -0
- package/lib/options/readPnpm.js +7 -5
- package/lib/options/readPnpm.js.map +1 -0
- package/lib/options/readReadmeAdditional.d.ts +4 -0
- package/lib/options/readReadmeAdditional.d.ts.map +1 -0
- package/lib/options/readReadmeAdditional.js +15 -22
- package/lib/options/readReadmeAdditional.js.map +1 -0
- package/lib/options/readReadmeExplainer.d.ts +4 -0
- package/lib/options/readReadmeExplainer.d.ts.map +1 -0
- package/lib/options/readReadmeExplainer.js +24 -25
- package/lib/options/readReadmeExplainer.js.map +1 -0
- package/lib/options/readReadmeFootnotes.d.ts +4 -0
- package/lib/options/readReadmeFootnotes.d.ts.map +1 -0
- package/lib/options/readReadmeFootnotes.js +15 -24
- package/lib/options/readReadmeFootnotes.js.map +1 -0
- package/lib/options/readReadmeUsage.d.ts +4 -0
- package/lib/options/readReadmeUsage.d.ts.map +1 -0
- package/lib/options/readReadmeUsage.js +13 -15
- package/lib/options/readReadmeUsage.js.map +1 -0
- package/lib/options/readRepository.d.ts +8 -4
- package/lib/options/readRepository.d.ts.map +1 -0
- package/lib/options/readRepository.js +6 -4
- package/lib/options/readRepository.js.map +1 -0
- package/lib/options/readRulesetId.d.ts +5 -1
- package/lib/options/readRulesetId.d.ts.map +1 -0
- package/lib/options/readRulesetId.js +14 -13
- package/lib/options/readRulesetId.js.map +1 -0
- package/lib/options/readTitle.d.ts +4 -0
- package/lib/options/readTitle.d.ts.map +1 -0
- package/lib/options/readTitle.js +11 -10
- package/lib/options/readTitle.js.map +1 -0
- package/lib/options/readWords.d.ts +5 -1
- package/lib/options/readWords.d.ts.map +1 -0
- package/lib/options/readWords.js +9 -10
- package/lib/options/readWords.js.map +1 -0
- package/lib/options/readWorkflowsVersions.d.ts +6 -3
- package/lib/options/readWorkflowsVersions.d.ts.map +1 -0
- package/lib/options/readWorkflowsVersions.js +45 -63
- package/lib/options/readWorkflowsVersions.js.map +1 -0
- package/lib/presets/common.d.ts +169 -166
- package/lib/presets/common.d.ts.map +1 -0
- package/lib/presets/common.js +21 -18
- package/lib/presets/common.js.map +1 -0
- package/lib/presets/everything.d.ts +169 -166
- package/lib/presets/everything.d.ts.map +1 -0
- package/lib/presets/everything.js +39 -36
- package/lib/presets/everything.js.map +1 -0
- package/lib/presets/index.d.ts +504 -502
- package/lib/presets/index.d.ts.map +1 -0
- package/lib/presets/index.js +10 -13
- package/lib/presets/index.js.map +1 -0
- package/lib/presets/minimal.d.ts +169 -166
- package/lib/presets/minimal.d.ts.map +1 -0
- package/lib/presets/minimal.js +51 -48
- package/lib/presets/minimal.js.map +1 -0
- package/lib/schemas.d.ts +75 -71
- package/lib/schemas.d.ts.map +1 -0
- package/lib/schemas.js +19 -21
- package/lib/schemas.js.map +1 -0
- package/lib/template.d.ts +169 -166
- package/lib/template.d.ts.map +1 -0
- package/lib/template.js +31 -24
- package/lib/template.js.map +1 -0
- package/lib/types.d.ts +32 -30
- package/lib/types.d.ts.map +1 -0
- package/lib/utils/htmlToTextSafe.d.ts +4 -0
- package/lib/utils/htmlToTextSafe.d.ts.map +1 -0
- package/lib/utils/htmlToTextSafe.js +13 -12
- package/lib/utils/htmlToTextSafe.js.map +1 -0
- package/lib/utils/resolveBin.d.ts +4 -0
- package/lib/utils/resolveBin.d.ts.map +1 -0
- package/lib/utils/resolveBin.js +7 -4
- package/lib/utils/resolveBin.js.map +1 -0
- package/lib/utils/swallowError.d.ts +4 -0
- package/lib/utils/swallowError.d.ts.map +1 -0
- package/lib/utils/swallowError.js +6 -4
- package/lib/utils/swallowError.js.map +1 -0
- package/lib/utils/swallowErrorAsync.d.ts +4 -0
- package/lib/utils/swallowErrorAsync.d.ts.map +1 -0
- package/lib/utils/swallowErrorAsync.js +10 -8
- package/lib/utils/swallowErrorAsync.js.map +1 -0
- package/lib/utils/trimPrecedingSlash.d.ts +4 -0
- package/lib/utils/trimPrecedingSlash.d.ts.map +1 -0
- package/lib/utils/trimPrecedingSlash.js +6 -4
- package/lib/utils/trimPrecedingSlash.js.map +1 -0
- package/lib/utils/tryCatch.d.ts +4 -0
- package/lib/utils/tryCatch.d.ts.map +1 -0
- package/lib/utils/tryCatch.js +10 -8
- package/lib/utils/tryCatch.js.map +1 -0
- package/package.json +3 -3
- package/lib/blocks/blockTSup.d.ts +0 -76
- package/lib/blocks/blockTSup.js +0 -139
|
@@ -1,81 +1,84 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum316 from "bingo-stratum";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
//#region src/blocks/blockVSCode.d.ts
|
|
4
|
+
declare const blockVSCode: bingo_stratum316.BlockWithAddons<{
|
|
5
|
+
settings: Record<string, unknown>;
|
|
6
|
+
extensions?: string[] | undefined;
|
|
7
|
+
debuggers?: (Record<string, unknown> & {
|
|
8
|
+
name: string;
|
|
9
|
+
})[] | undefined;
|
|
10
|
+
tasks?: ({
|
|
11
|
+
detail: string;
|
|
12
|
+
} & Record<string, unknown>)[] | undefined;
|
|
12
13
|
}, {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
development?: string | undefined;
|
|
24
|
-
};
|
|
25
|
-
email: {
|
|
26
|
-
github: string;
|
|
27
|
-
npm: string;
|
|
14
|
+
access: "public" | "restricted";
|
|
15
|
+
description: string;
|
|
16
|
+
directory: string;
|
|
17
|
+
documentation: {
|
|
18
|
+
readme: {
|
|
19
|
+
additional?: string | undefined;
|
|
20
|
+
explainer?: string | undefined;
|
|
21
|
+
footnotes?: string | undefined;
|
|
22
|
+
usage?: string | undefined;
|
|
28
23
|
};
|
|
24
|
+
development?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
email: {
|
|
27
|
+
github: string;
|
|
28
|
+
npm: string;
|
|
29
|
+
};
|
|
30
|
+
title: string;
|
|
31
|
+
node: {
|
|
32
|
+
minimum: string;
|
|
33
|
+
pinned?: string | undefined;
|
|
34
|
+
};
|
|
35
|
+
owner: string;
|
|
36
|
+
repository: string;
|
|
37
|
+
type?: "commonjs" | "module" | undefined;
|
|
38
|
+
author?: string | undefined;
|
|
39
|
+
bin?: string | Record<string, string> | undefined;
|
|
40
|
+
contributors?: {
|
|
41
|
+
avatar_url: string;
|
|
42
|
+
contributions: string[];
|
|
43
|
+
login: string;
|
|
44
|
+
name: string;
|
|
45
|
+
profile: string;
|
|
46
|
+
}[] | undefined;
|
|
47
|
+
emoji?: string | undefined;
|
|
48
|
+
existingLabels?: {
|
|
49
|
+
name: string;
|
|
50
|
+
description: string;
|
|
51
|
+
color: string;
|
|
52
|
+
}[] | undefined;
|
|
53
|
+
funding?: string | undefined;
|
|
54
|
+
guide?: {
|
|
55
|
+
href: string;
|
|
29
56
|
title: string;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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;
|
|
57
|
+
} | undefined;
|
|
58
|
+
keywords?: string[] | undefined;
|
|
59
|
+
logo?: {
|
|
60
|
+
alt: string;
|
|
61
|
+
src: string;
|
|
62
|
+
height?: number | undefined;
|
|
63
|
+
width?: number | undefined;
|
|
64
|
+
} | undefined;
|
|
65
|
+
packageData?: {
|
|
66
|
+
dependencies?: Record<string, string> | undefined;
|
|
67
|
+
devDependencies?: Record<string, string> | undefined;
|
|
68
|
+
peerDependencies?: Record<string, string> | undefined;
|
|
69
|
+
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
70
|
+
scripts?: Record<string, string | undefined> | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
pnpm?: string | undefined;
|
|
73
|
+
rulesetId?: string | undefined;
|
|
74
|
+
version?: string | undefined;
|
|
75
|
+
words?: string[] | undefined;
|
|
76
|
+
workflowsVersions?: Record<string, Record<string, {
|
|
77
|
+
pinned?: boolean | undefined;
|
|
78
|
+
hash?: string | undefined;
|
|
79
|
+
}>> | undefined;
|
|
79
80
|
}>;
|
|
80
|
-
|
|
81
|
+
//# sourceMappingURL=blockVSCode.d.ts.map
|
|
82
|
+
//#endregion
|
|
81
83
|
export { blockVSCode };
|
|
84
|
+
//# sourceMappingURL=blockVSCode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockVSCode.d.ts","names":[],"sources":["../../src/blocks/blockVSCode.ts"],"sourcesContent":[],"mappings":";;;cAOa,8BAAW;YAgGtB;;EAhGW,SAAA,CAAA,EAAA,OAgGX,CAAA,MAAA,EAAA,OAAA,CAAA,GAAA;IAAA,IAAA,EAAA,MAAA;EAAA,CAAA,CAAA,EAAA,GAAA,SAAA;;;;;;;;;;;kBAhGsB,MAAA,GAAA,SAAA;MAAA,SAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
|
|
@@ -1,92 +1,62 @@
|
|
|
1
|
-
import sortKeys from "sort-keys";
|
|
2
|
-
import { z } from "zod";
|
|
3
1
|
import { base } from "../base.js";
|
|
4
|
-
import { getPrimaryBin } from "./bin/getPrimaryBin.js";
|
|
5
2
|
import { blockDevelopmentDocs } from "./blockDevelopmentDocs.js";
|
|
3
|
+
import { getPrimaryBin } from "./bin/getPrimaryBin.js";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
import sortKeys from "sort-keys";
|
|
6
|
+
|
|
7
|
+
//#region src/blocks/blockVSCode.ts
|
|
6
8
|
const blockVSCode = base.createBlock({
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
)
|
|
24
|
-
).optional()
|
|
25
|
-
},
|
|
26
|
-
produce({ addons, options }) {
|
|
27
|
-
const { debuggers, extensions, settings, tasks } = addons;
|
|
28
|
-
const primaryBin = getPrimaryBin(options.bin, options.repository);
|
|
29
|
-
return {
|
|
30
|
-
addons: [
|
|
31
|
-
blockDevelopmentDocs({
|
|
32
|
-
hints: [
|
|
33
|
-
`> This repository includes a list of suggested VS Code extensions.`,
|
|
34
|
-
`> It's a good idea to use [VS Code](https://code.visualstudio.com) and accept its suggestion to install them, as they'll help with development.`
|
|
35
|
-
],
|
|
36
|
-
sections: {
|
|
37
|
-
Building: {
|
|
38
|
-
innerSections: primaryBin ? [
|
|
39
|
-
{
|
|
40
|
-
contents: `
|
|
9
|
+
about: { name: "VS Code" },
|
|
10
|
+
addons: {
|
|
11
|
+
debuggers: z.array(z.intersection(z.record(z.string(), z.unknown()), z.object({ name: z.string() }))).optional(),
|
|
12
|
+
extensions: z.array(z.string()).optional(),
|
|
13
|
+
settings: z.record(z.string(), z.unknown()).default({}),
|
|
14
|
+
tasks: z.array(z.intersection(z.object({ detail: z.string() }), z.record(z.string(), z.unknown()))).optional()
|
|
15
|
+
},
|
|
16
|
+
produce({ addons, options }) {
|
|
17
|
+
const { debuggers, extensions, settings, tasks } = addons;
|
|
18
|
+
const primaryBin = getPrimaryBin(options.bin, options.repository);
|
|
19
|
+
return {
|
|
20
|
+
addons: [blockDevelopmentDocs({
|
|
21
|
+
hints: [`> This repository includes a list of suggested VS Code extensions.`, `> It's a good idea to use [VS Code](https://code.visualstudio.com) and accept its suggestion to install them, as they'll help with development.`],
|
|
22
|
+
sections: {
|
|
23
|
+
Building: { innerSections: primaryBin ? [{
|
|
24
|
+
contents: `
|
|
41
25
|
This repository includes a [VS Code launch configuration](https://code.visualstudio.com/docs/editor/debugging) for debugging.
|
|
42
26
|
To debug a \`bin\` app, add a breakpoint to your code, then run _Debug Program_ from the VS Code Debug panel (or press F5).
|
|
43
27
|
VS Code will automatically run the \`build\` task in the background before running \`${primaryBin}\`.
|
|
44
28
|
`,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
Testing: {
|
|
50
|
-
innerSections: [
|
|
51
|
-
{
|
|
52
|
-
contents: `
|
|
29
|
+
heading: "Built App Debugging"
|
|
30
|
+
}] : [] },
|
|
31
|
+
Testing: { innerSections: [{
|
|
32
|
+
contents: `
|
|
53
33
|
This repository includes a [VS Code launch configuration](https://code.visualstudio.com/docs/editor/debugging) for debugging unit tests.
|
|
54
34
|
To launch it, open a test file, then run _Debug Current Test File_ from the VS Code Debug panel (or press F5).
|
|
55
35
|
`,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
...settings
|
|
79
|
-
})
|
|
80
|
-
),
|
|
81
|
-
"tasks.json": tasks?.length ? JSON.stringify({
|
|
82
|
-
tasks: tasks.sort((a, b) => a.detail.localeCompare(b.detail)),
|
|
83
|
-
version: "2.0.0"
|
|
84
|
-
}) : void 0
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
}
|
|
36
|
+
heading: "Debugging Tests"
|
|
37
|
+
}] }
|
|
38
|
+
}
|
|
39
|
+
})],
|
|
40
|
+
files: { ".vscode": {
|
|
41
|
+
"extensions.json": extensions?.length ? JSON.stringify({ recommendations: [...extensions].sort() }) : void 0,
|
|
42
|
+
"launch.json": debuggers?.length ? JSON.stringify({
|
|
43
|
+
configurations: [...debuggers].sort((a, b) => a.name.localeCompare(b.name)),
|
|
44
|
+
version: "0.2.0"
|
|
45
|
+
}) : void 0,
|
|
46
|
+
"settings.json": JSON.stringify(sortKeys({
|
|
47
|
+
"editor.formatOnSave": true,
|
|
48
|
+
"editor.rulers": [80],
|
|
49
|
+
...settings
|
|
50
|
+
})),
|
|
51
|
+
"tasks.json": tasks?.length ? JSON.stringify({
|
|
52
|
+
tasks: tasks.sort((a, b) => a.detail.localeCompare(b.detail)),
|
|
53
|
+
version: "2.0.0"
|
|
54
|
+
}) : void 0
|
|
55
|
+
} }
|
|
56
|
+
};
|
|
57
|
+
}
|
|
89
58
|
});
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
};
|
|
59
|
+
|
|
60
|
+
//#endregion
|
|
61
|
+
export { blockVSCode };
|
|
62
|
+
//# sourceMappingURL=blockVSCode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockVSCode.js","names":[],"sources":["../../src/blocks/blockVSCode.ts"],"sourcesContent":["import sortKeys from \"sort-keys\";\nimport { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPrimaryBin } from \"./bin/getPrimaryBin.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\n\nexport const blockVSCode = base.createBlock({\n\tabout: {\n\t\tname: \"VS Code\",\n\t},\n\taddons: {\n\t\tdebuggers: z\n\t\t\t.array(\n\t\t\t\tz.intersection(\n\t\t\t\t\tz.record(z.string(), z.unknown()),\n\t\t\t\t\tz.object({ name: z.string() }),\n\t\t\t\t),\n\t\t\t)\n\t\t\t.optional(),\n\t\textensions: z.array(z.string()).optional(),\n\t\tsettings: z.record(z.string(), z.unknown()).default({}),\n\t\ttasks: z\n\t\t\t.array(\n\t\t\t\tz.intersection(\n\t\t\t\t\tz.object({ detail: z.string() }),\n\t\t\t\t\tz.record(z.string(), z.unknown()),\n\t\t\t\t),\n\t\t\t)\n\t\t\t.optional(),\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { debuggers, extensions, settings, tasks } = addons;\n\t\tconst primaryBin = getPrimaryBin(options.bin, options.repository);\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockDevelopmentDocs({\n\t\t\t\t\thints: [\n\t\t\t\t\t\t`> This repository includes a list of suggested VS Code extensions.`,\n\t\t\t\t\t\t`> It's a good idea to use [VS Code](https://code.visualstudio.com) and accept its suggestion to install them, as they'll help with development.`,\n\t\t\t\t\t],\n\t\t\t\t\tsections: {\n\t\t\t\t\t\tBuilding: {\n\t\t\t\t\t\t\tinnerSections: primaryBin\n\t\t\t\t\t\t\t\t? [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tcontents: `\nThis repository includes a [VS Code launch configuration](https://code.visualstudio.com/docs/editor/debugging) for debugging.\nTo debug a \\`bin\\` app, add a breakpoint to your code, then run _Debug Program_ from the VS Code Debug panel (or press F5).\nVS Code will automatically run the \\`build\\` task in the background before running \\`${primaryBin}\\`.\n`,\n\t\t\t\t\t\t\t\t\t\t\theading: \"Built App Debugging\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tTesting: {\n\t\t\t\t\t\t\tinnerSections: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tcontents: `\nThis repository includes a [VS Code launch configuration](https://code.visualstudio.com/docs/editor/debugging) for debugging unit tests.\nTo launch it, open a test file, then run _Debug Current Test File_ from the VS Code Debug panel (or press F5).\n`,\n\t\t\t\t\t\t\t\t\theading: \"Debugging Tests\",\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\tfiles: {\n\t\t\t\t\".vscode\": {\n\t\t\t\t\t\"extensions.json\": extensions?.length\n\t\t\t\t\t\t? JSON.stringify({\n\t\t\t\t\t\t\t\trecommendations: [...extensions].sort(),\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\"launch.json\": debuggers?.length\n\t\t\t\t\t\t? JSON.stringify({\n\t\t\t\t\t\t\t\tconfigurations: [...debuggers].sort((a, b) =>\n\t\t\t\t\t\t\t\t\ta.name.localeCompare(b.name),\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tversion: \"0.2.0\",\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\"settings.json\": JSON.stringify(\n\t\t\t\t\t\tsortKeys({\n\t\t\t\t\t\t\t\"editor.formatOnSave\": true,\n\t\t\t\t\t\t\t\"editor.rulers\": [80],\n\t\t\t\t\t\t\t...settings,\n\t\t\t\t\t\t}),\n\t\t\t\t\t),\n\t\t\t\t\t\"tasks.json\": tasks?.length\n\t\t\t\t\t\t? JSON.stringify({\n\t\t\t\t\t\t\t\ttasks: tasks.sort((a, b) => a.detail.localeCompare(b.detail)),\n\t\t\t\t\t\t\t\tversion: \"2.0.0\",\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t: undefined,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;AAOA,MAAa,cAAc,KAAK,YAAY;CAC3C,OAAO,EACN,MAAM,UACN;CACD,QAAQ;EACP,WAAW,EACT,MACA,EAAE,aACD,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,CAAC,EACjC,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAE,EAAC,CAC9B,CACD,CACA,UAAU;EACZ,YAAY,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,UAAU;EAC1C,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAE,EAAC;EACvD,OAAO,EACL,MACA,EAAE,aACD,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAE,EAAC,EAChC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,CAAC,CACjC,CACD,CACA,UAAU;CACZ;CACD,QAAQ,EAAE,QAAQ,SAAS,EAAE;EAC5B,MAAM,EAAE,WAAW,YAAY,UAAU,OAAO,GAAG;EACnD,MAAM,aAAa,cAAc,QAAQ,KAAK,QAAQ,WAAW;AAEjE,SAAO;GACN,QAAQ,CACP,qBAAqB;IACpB,OAAO,EACL,sEACA,gJACD;IACD,UAAU;KACT,UAAU,EACT,eAAe,aACZ,CACA;MACC,WAAW;;;uFAGiE,WAAW;;MAEvF,SAAS;KACT,CACD,IACA,CAAE,EACL;KACD,SAAS,EACR,eAAe,CACd;MACC,WAAW;;;;MAIX,SAAS;KACT,CACD,EACD;IACD;GACD,EAAC,AACF;GACD,OAAO,EACN,WAAW;IACV,mBAAmB,YAAY,SAC5B,KAAK,UAAU,EACf,iBAAiB,CAAC,GAAG,UAAW,EAAC,MAAM,CACvC,EAAC;IAEJ,eAAe,WAAW,SACvB,KAAK,UAAU;KACf,gBAAgB,CAAC,GAAG,SAAU,EAAC,KAAK,CAAC,GAAG,MACvC,EAAE,KAAK,cAAc,EAAE,KAAK,CAC5B;KACD,SAAS;IACT,EAAC;IAEJ,iBAAiB,KAAK,UACrB,SAAS;KACR,uBAAuB;KACvB,iBAAiB,CAAC,EAAG;KACrB,GAAG;IACH,EAAC,CACF;IACD,cAAc,OAAO,SAClB,KAAK,UAAU;KACf,OAAO,MAAM,KAAK,CAAC,GAAG,MAAM,EAAE,OAAO,cAAc,EAAE,OAAO,CAAC;KAC7D,SAAS;IACT,EAAC;GAEJ,EACD;EACD;CACD;AACD,EAAC"}
|
|
@@ -1,89 +1,92 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum318 from "bingo-stratum";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
3
|
+
//#region src/blocks/blockVitest.d.ts
|
|
4
|
+
declare const blockVitest: bingo_stratum318.BlockWithAddons<{
|
|
5
|
+
exclude: string[];
|
|
6
|
+
actionSteps: ({
|
|
7
|
+
env?: Record<string, string> | undefined;
|
|
8
|
+
if?: string | undefined;
|
|
9
|
+
with?: Record<string, string> | undefined;
|
|
10
|
+
} & ({
|
|
11
|
+
run: string;
|
|
12
|
+
} | {
|
|
13
|
+
uses: string;
|
|
14
|
+
}))[];
|
|
15
|
+
coverage: {
|
|
16
|
+
exclude?: string[] | undefined;
|
|
17
|
+
include?: string[] | undefined;
|
|
18
|
+
};
|
|
19
|
+
flags: string[];
|
|
20
|
+
environment?: string | undefined;
|
|
20
21
|
}, {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
development?: string | undefined;
|
|
32
|
-
};
|
|
33
|
-
email: {
|
|
34
|
-
github: string;
|
|
35
|
-
npm: string;
|
|
22
|
+
access: "public" | "restricted";
|
|
23
|
+
description: string;
|
|
24
|
+
directory: string;
|
|
25
|
+
documentation: {
|
|
26
|
+
readme: {
|
|
27
|
+
additional?: string | undefined;
|
|
28
|
+
explainer?: string | undefined;
|
|
29
|
+
footnotes?: string | undefined;
|
|
30
|
+
usage?: string | undefined;
|
|
36
31
|
};
|
|
32
|
+
development?: string | undefined;
|
|
33
|
+
};
|
|
34
|
+
email: {
|
|
35
|
+
github: string;
|
|
36
|
+
npm: string;
|
|
37
|
+
};
|
|
38
|
+
title: string;
|
|
39
|
+
node: {
|
|
40
|
+
minimum: string;
|
|
41
|
+
pinned?: string | undefined;
|
|
42
|
+
};
|
|
43
|
+
owner: string;
|
|
44
|
+
repository: string;
|
|
45
|
+
type?: "commonjs" | "module" | undefined;
|
|
46
|
+
author?: string | undefined;
|
|
47
|
+
bin?: string | Record<string, string> | undefined;
|
|
48
|
+
contributors?: {
|
|
49
|
+
avatar_url: string;
|
|
50
|
+
contributions: string[];
|
|
51
|
+
login: string;
|
|
52
|
+
name: string;
|
|
53
|
+
profile: string;
|
|
54
|
+
}[] | undefined;
|
|
55
|
+
emoji?: string | undefined;
|
|
56
|
+
existingLabels?: {
|
|
57
|
+
name: string;
|
|
58
|
+
description: string;
|
|
59
|
+
color: string;
|
|
60
|
+
}[] | undefined;
|
|
61
|
+
funding?: string | undefined;
|
|
62
|
+
guide?: {
|
|
63
|
+
href: string;
|
|
37
64
|
title: string;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
guide?: {
|
|
62
|
-
href: string;
|
|
63
|
-
title: string;
|
|
64
|
-
} | undefined;
|
|
65
|
-
keywords?: string[] | undefined;
|
|
66
|
-
logo?: {
|
|
67
|
-
alt: string;
|
|
68
|
-
src: string;
|
|
69
|
-
height?: number | undefined;
|
|
70
|
-
width?: number | undefined;
|
|
71
|
-
} | undefined;
|
|
72
|
-
packageData?: {
|
|
73
|
-
dependencies?: Record<string, string> | undefined;
|
|
74
|
-
devDependencies?: Record<string, string> | undefined;
|
|
75
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
76
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
77
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
78
|
-
} | undefined;
|
|
79
|
-
pnpm?: string | undefined;
|
|
80
|
-
rulesetId?: string | undefined;
|
|
81
|
-
version?: string | undefined;
|
|
82
|
-
words?: string[] | undefined;
|
|
83
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
84
|
-
pinned?: boolean | undefined;
|
|
85
|
-
hash?: string | undefined;
|
|
86
|
-
}>> | undefined;
|
|
65
|
+
} | undefined;
|
|
66
|
+
keywords?: string[] | undefined;
|
|
67
|
+
logo?: {
|
|
68
|
+
alt: string;
|
|
69
|
+
src: string;
|
|
70
|
+
height?: number | undefined;
|
|
71
|
+
width?: number | undefined;
|
|
72
|
+
} | undefined;
|
|
73
|
+
packageData?: {
|
|
74
|
+
dependencies?: Record<string, string> | undefined;
|
|
75
|
+
devDependencies?: Record<string, string> | undefined;
|
|
76
|
+
peerDependencies?: Record<string, string> | undefined;
|
|
77
|
+
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
78
|
+
scripts?: Record<string, string | undefined> | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
pnpm?: string | undefined;
|
|
81
|
+
rulesetId?: string | undefined;
|
|
82
|
+
version?: string | undefined;
|
|
83
|
+
words?: string[] | undefined;
|
|
84
|
+
workflowsVersions?: Record<string, Record<string, {
|
|
85
|
+
pinned?: boolean | undefined;
|
|
86
|
+
hash?: string | undefined;
|
|
87
|
+
}>> | undefined;
|
|
87
88
|
}>;
|
|
88
|
-
|
|
89
|
+
//# sourceMappingURL=blockVitest.d.ts.map
|
|
90
|
+
//#endregion
|
|
89
91
|
export { blockVitest };
|
|
92
|
+
//# sourceMappingURL=blockVitest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockVitest.d.ts","names":[],"sources":["../../src/blocks/blockVitest.ts"],"sourcesContent":[],"mappings":";;;cAyDa,8BAAW;;;IAAX,GAAA,CAAA,EAgOX,MAAA,CAAA,MAAA,EAAA,MAAA,CAAA,GAAA,SAAA;IAAA,EAAA,CAAA,EAAA,MAAA,GAAA,SAAA;IAAA,IAAA,CAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA,GAAA,SAAA;;;;;;;;;;;EAhOsB,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
|