create-typescript-app 2.64.0 → 2.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +1 -1
- package/dist/base.d.mts +170 -0
- package/dist/base.mjs +162 -0
- package/dist/blocks/actions/resolveUses.d.mts +5 -0
- package/dist/blocks/actions/resolveUses.mjs +16 -0
- package/dist/blocks/actions/steps.d.mts +37 -0
- package/dist/blocks/actions/steps.mjs +19 -0
- package/dist/blocks/bin/getPrimaryBin.d.mts +4 -0
- package/dist/blocks/bin/getPrimaryBin.mjs +6 -0
- package/dist/blocks/blockAllContributors.d.mts +73 -0
- package/dist/blocks/blockAllContributors.mjs +132 -0
- package/dist/blocks/blockAreTheTypesWrong.d.mts +73 -0
- package/dist/blocks/blockAreTheTypesWrong.mjs +14 -0
- package/dist/blocks/blockBin.d.mts +75 -0
- package/dist/blocks/blockBin.mjs +27 -0
- package/dist/blocks/blockCSpell.d.mts +76 -0
- package/dist/blocks/blockCSpell.mjs +77 -0
- package/dist/blocks/blockCTATransitions.d.mts +73 -0
- package/dist/blocks/blockCTATransitions.mjs +115 -0
- package/dist/blocks/blockCodecov.d.mts +75 -0
- package/dist/blocks/blockCodecov.mjs +58 -0
- package/dist/blocks/blockContributingDocs.d.mts +73 -0
- package/dist/blocks/blockContributingDocs.mjs +112 -0
- package/dist/blocks/blockContributorCovenant.d.mts +73 -0
- package/dist/blocks/blockContributorCovenant.mjs +158 -0
- package/dist/blocks/blockDevelopmentDocs.d.mts +87 -0
- package/dist/blocks/blockDevelopmentDocs.mjs +72 -0
- package/dist/blocks/blockESLint.d.mts +97 -0
- package/dist/blocks/blockESLint.mjs +196 -0
- package/dist/blocks/blockESLintComments.d.mts +73 -0
- package/dist/blocks/blockESLintComments.mjs +21 -0
- package/dist/blocks/blockESLintJSDoc.d.mts +73 -0
- package/dist/blocks/blockESLintJSDoc.mjs +25 -0
- package/dist/blocks/blockESLintJSONC.d.mts +73 -0
- package/dist/blocks/blockESLintJSONC.mjs +20 -0
- package/dist/blocks/blockESLintMarkdown.d.mts +73 -0
- package/dist/blocks/blockESLintMarkdown.mjs +36 -0
- package/dist/blocks/blockESLintMarkdownLinks.d.mts +73 -0
- package/dist/blocks/blockESLintMarkdownLinks.mjs +20 -0
- package/dist/blocks/blockESLintMoreStyling.d.mts +74 -0
- package/dist/blocks/blockESLintMoreStyling.mjs +28 -0
- package/dist/blocks/blockESLintNode.d.mts +73 -0
- package/dist/blocks/blockESLintNode.mjs +32 -0
- package/dist/blocks/blockESLintPackageJson.d.mts +73 -0
- package/dist/blocks/blockESLintPackageJson.mjs +31 -0
- package/dist/blocks/blockESLintPerfectionist.d.mts +73 -0
- package/dist/blocks/blockESLintPerfectionist.mjs +25 -0
- package/dist/blocks/blockESLintPlugin.d.mts +75 -0
- package/dist/blocks/blockESLintPlugin.mjs +230 -0
- package/dist/blocks/blockESLintRegexp.d.mts +73 -0
- package/dist/blocks/blockESLintRegexp.mjs +21 -0
- package/dist/blocks/blockESLintYML.d.mts +73 -0
- package/dist/blocks/blockESLintYML.mjs +31 -0
- package/dist/blocks/blockExampleFiles.d.mts +76 -0
- package/dist/blocks/blockExampleFiles.mjs +23 -0
- package/dist/blocks/blockExports.d.mts +76 -0
- package/dist/blocks/blockExports.mjs +27 -0
- package/dist/blocks/blockFunding.d.mts +73 -0
- package/dist/blocks/blockFunding.mjs +15 -0
- package/dist/blocks/blockGitHubActionsCI.d.mts +88 -0
- package/dist/blocks/blockGitHubActionsCI.mjs +89 -0
- package/dist/blocks/blockGitHubApps.d.mts +78 -0
- package/dist/blocks/blockGitHubApps.mjs +16 -0
- package/dist/blocks/blockGitHubIssueTemplates.d.mts +73 -0
- package/dist/blocks/blockGitHubIssueTemplates.mjs +203 -0
- package/dist/blocks/blockGitHubPRTemplate.d.mts +73 -0
- package/dist/blocks/blockGitHubPRTemplate.mjs +23 -0
- package/dist/blocks/blockGitignore.d.mts +75 -0
- package/dist/blocks/blockGitignore.mjs +14 -0
- package/dist/blocks/blockKnip.d.mts +77 -0
- package/dist/blocks/blockKnip.mjs +70 -0
- package/dist/blocks/blockMITLicense.d.mts +73 -0
- package/dist/blocks/blockMITLicense.mjs +39 -0
- package/dist/blocks/blockNcc.d.mts +75 -0
- package/dist/blocks/blockNcc.mjs +65 -0
- package/dist/blocks/blockNvmrc.d.mts +73 -0
- package/dist/blocks/blockNvmrc.mjs +17 -0
- package/dist/blocks/blockOctoGuide.d.mts +75 -0
- package/dist/blocks/blockOctoGuide.mjs +73 -0
- package/dist/blocks/blockOctoGuideStrict.d.mts +73 -0
- package/dist/blocks/blockOctoGuideStrict.mjs +11 -0
- package/dist/blocks/blockPackageJson.d.mts +150 -0
- package/dist/blocks/blockPackageJson.mjs +86 -0
- package/dist/blocks/blockPnpmDedupe.d.mts +73 -0
- package/dist/blocks/blockPnpmDedupe.mjs +19 -0
- package/dist/blocks/blockPrettier.d.mts +83 -0
- package/dist/blocks/blockPrettier.mjs +97 -0
- package/dist/blocks/blockPrettierPluginCurly.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginCurly.mjs +11 -0
- package/dist/blocks/blockPrettierPluginPackageJson.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginPackageJson.mjs +11 -0
- package/dist/blocks/blockPrettierPluginPaddingLines.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginPaddingLines.mjs +11 -0
- package/dist/blocks/blockPrettierPluginSentencesPerLine.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginSentencesPerLine.mjs +11 -0
- package/dist/blocks/blockPrettierPluginSh.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginSh.mjs +11 -0
- package/dist/blocks/blockREADME.d.mts +86 -0
- package/dist/blocks/blockREADME.mjs +74 -0
- package/dist/blocks/blockReleaseIt.d.mts +78 -0
- package/dist/blocks/blockReleaseIt.mjs +160 -0
- package/dist/blocks/blockRemoveDependencies.d.mts +75 -0
- package/dist/blocks/blockRemoveDependencies.mjs +20 -0
- package/dist/blocks/blockRemoveFiles.d.mts +75 -0
- package/dist/blocks/blockRemoveFiles.mjs +21 -0
- package/dist/blocks/blockRemoveWorkflows.d.mts +75 -0
- package/dist/blocks/blockRemoveWorkflows.mjs +17 -0
- package/dist/blocks/blockRenovate.d.mts +75 -0
- package/dist/blocks/blockRenovate.mjs +39 -0
- package/dist/blocks/blockRepositoryBranchRuleset.d.mts +75 -0
- package/dist/blocks/blockRepositoryBranchRuleset.mjs +79 -0
- package/dist/blocks/blockRepositoryLabels.d.mts +73 -0
- package/dist/blocks/blockRepositoryLabels.mjs +52 -0
- package/dist/blocks/blockRepositorySecrets.d.mts +78 -0
- package/dist/blocks/blockRepositorySecrets.mjs +16 -0
- package/dist/blocks/blockRepositorySettings.d.mts +73 -0
- package/dist/blocks/blockRepositorySettings.mjs +32 -0
- package/dist/blocks/blockSecurityDocs.d.mts +73 -0
- package/dist/blocks/blockSecurityDocs.mjs +20 -0
- package/dist/blocks/blockSideEffects.d.mts +75 -0
- package/dist/blocks/blockSideEffects.mjs +14 -0
- package/dist/blocks/blockTSDown.d.mts +77 -0
- package/dist/blocks/blockTSDown.mjs +121 -0
- package/dist/blocks/blockTemplatedWith.d.mts +73 -0
- package/dist/blocks/blockTemplatedWith.mjs +13 -0
- package/dist/blocks/blockTypeScript.d.mts +185 -0
- package/dist/blocks/blockTypeScript.mjs +136 -0
- package/dist/blocks/blockVSCode.d.mts +82 -0
- package/dist/blocks/blockVSCode.mjs +59 -0
- package/dist/blocks/blockVitest.d.mts +90 -0
- package/dist/blocks/blockVitest.mjs +208 -0
- package/dist/blocks/blockWebExt.d.mts +73 -0
- package/dist/blocks/blockWebExt.mjs +104 -0
- package/dist/blocks/codecov/findCodecovStep.d.mts +6 -0
- package/dist/blocks/codecov/findCodecovStep.mjs +7 -0
- package/dist/blocks/eslint/blockESLintIntake.d.mts +10 -0
- package/dist/blocks/eslint/blockESLintIntake.mjs +84 -0
- package/dist/blocks/eslint/blockESLintPluginIntake.d.mts +6 -0
- package/dist/blocks/eslint/blockESLintPluginIntake.mjs +27 -0
- package/dist/blocks/eslint/getScriptFileExtension.d.mts +7 -0
- package/dist/blocks/eslint/getScriptFileExtension.mjs +6 -0
- package/dist/blocks/eslint/mergeAllExtensions.d.mts +16 -0
- package/dist/blocks/eslint/mergeAllExtensions.mjs +46 -0
- package/dist/blocks/eslint/schemas.d.mts +111 -0
- package/dist/blocks/eslint/schemas.mjs +40 -0
- package/dist/blocks/files/createJobName.d.mts +4 -0
- package/dist/blocks/files/createJobName.mjs +6 -0
- package/dist/blocks/files/createMultiWorkflowFile.d.mts +24 -0
- package/dist/blocks/files/createMultiWorkflowFile.mjs +28 -0
- package/dist/blocks/files/createSoloWorkflowFile.d.mts +64 -0
- package/dist/blocks/files/createSoloWorkflowFile.mjs +19 -0
- package/dist/blocks/files/formatIgnoreFile.d.mts +4 -0
- package/dist/blocks/files/formatIgnoreFile.mjs +6 -0
- package/dist/blocks/files/formatWorkflowYaml.d.mts +4 -0
- package/dist/blocks/files/formatWorkflowYaml.mjs +10 -0
- package/dist/blocks/files/formatYaml.d.mts +4 -0
- package/dist/blocks/files/formatYaml.mjs +21 -0
- package/dist/blocks/files/removeUsesQuotes.d.mts +4 -0
- package/dist/blocks/files/removeUsesQuotes.mjs +6 -0
- package/dist/blocks/getInstallationSuggestions.d.mts +4 -0
- package/dist/blocks/getInstallationSuggestions.mjs +11 -0
- package/dist/blocks/index.d.mts +3953 -0
- package/dist/blocks/index.mjs +108 -0
- package/dist/blocks/intake/intakeFile.d.mts +5 -0
- package/dist/blocks/intake/intakeFile.mjs +11 -0
- package/dist/blocks/intake/intakeFileAsJson.d.mts +5 -0
- package/dist/blocks/intake/intakeFileAsJson.mjs +13 -0
- package/dist/blocks/intake/intakeFileAsYaml.d.mts +6 -0
- package/dist/blocks/intake/intakeFileAsYaml.mjs +16 -0
- package/dist/blocks/intake/intakeFileDefineConfig.d.mts +5 -0
- package/dist/blocks/intake/intakeFileDefineConfig.mjs +9 -0
- package/dist/blocks/intake/intakeFileExportObject.d.mts +5 -0
- package/dist/blocks/intake/intakeFileExportObject.mjs +22 -0
- package/dist/blocks/options.fakes.d.mts +25 -0
- package/dist/blocks/options.fakes.mjs +19 -0
- package/dist/blocks/outcomeLabels.d.mts +14 -0
- package/dist/blocks/outcomeLabels.mjs +93 -0
- package/dist/blocks/phases.d.mts +10 -0
- package/dist/blocks/phases.mjs +10 -0
- package/dist/constants.d.mts +9 -0
- package/dist/constants.mjs +7 -0
- package/dist/data/contributions.d.mts +4 -0
- package/dist/data/contributions.mjs +13 -0
- package/dist/data/packageData.d.mts +9 -0
- package/dist/data/packageData.mjs +17 -0
- package/dist/index.d.mts +293 -0
- package/dist/index.mjs +63 -0
- package/dist/inputs/inputFromDirectory.d.mts +7 -0
- package/dist/inputs/inputFromDirectory.mjs +11 -0
- package/dist/inputs/inputFromOctokit.d.mts +8 -0
- package/dist/inputs/inputFromOctokit.mjs +23 -0
- package/dist/options/readAccess.d.mts +5 -0
- package/dist/options/readAccess.mjs +6 -0
- package/dist/options/readAllContributors.d.mts +6 -0
- package/dist/options/readAllContributors.mjs +18 -0
- package/dist/options/readAuthor.d.mts +8 -0
- package/dist/options/readAuthor.mjs +6 -0
- package/dist/options/readBin.d.mts +5 -0
- package/dist/options/readBin.mjs +11 -0
- package/dist/options/readBundle.d.mts +5 -0
- package/dist/options/readBundle.mjs +12 -0
- package/dist/options/readCodecovToken.d.mts +5 -0
- package/dist/options/readCodecovToken.mjs +23 -0
- package/dist/options/readDescription.d.mts +5 -0
- package/dist/options/readDescription.mjs +17 -0
- package/dist/options/readDescriptionFromReadme.d.mts +4 -0
- package/dist/options/readDescriptionFromReadme.mjs +13 -0
- package/dist/options/readDevelopmentDocumentation.d.mts +5 -0
- package/dist/options/readDevelopmentDocumentation.mjs +21 -0
- package/dist/options/readDocumentation.d.mts +5 -0
- package/dist/options/readDocumentation.mjs +21 -0
- package/dist/options/readEmailFromCodeOfConduct.d.mts +5 -0
- package/dist/options/readEmailFromCodeOfConduct.mjs +8 -0
- package/dist/options/readEmailFromGit.d.mts +5 -0
- package/dist/options/readEmailFromGit.mjs +7 -0
- package/dist/options/readEmailFromNpm.d.mts +6 -0
- package/dist/options/readEmailFromNpm.mjs +6 -0
- package/dist/options/readEmails.d.mts +8 -0
- package/dist/options/readEmails.mjs +11 -0
- package/dist/options/readEmoji.d.mts +4 -0
- package/dist/options/readEmoji.mjs +10 -0
- package/dist/options/readExistingLabels.d.mts +9 -0
- package/dist/options/readExistingLabels.mjs +21 -0
- package/dist/options/readFileAsJson.d.mts +4 -0
- package/dist/options/readFileAsJson.mjs +11 -0
- package/dist/options/readFileSafe.d.mts +4 -0
- package/dist/options/readFileSafe.mjs +11 -0
- package/dist/options/readFunding.d.mts +5 -0
- package/dist/options/readFunding.mjs +8 -0
- package/dist/options/readGitDefaults.d.mts +6 -0
- package/dist/options/readGitDefaults.mjs +9 -0
- package/dist/options/readGuide.d.mts +8 -0
- package/dist/options/readGuide.mjs +14 -0
- package/dist/options/readKeywords.d.mts +5 -0
- package/dist/options/readKeywords.mjs +7 -0
- package/dist/options/readLogo.d.mts +9 -0
- package/dist/options/readLogo.mjs +19 -0
- package/dist/options/readLogoSizing.d.mts +8 -0
- package/dist/options/readLogoSizing.mjs +29 -0
- package/dist/options/readNode.d.mts +8 -0
- package/dist/options/readNode.mjs +12 -0
- package/dist/options/readNpmDefaults.d.mts +5 -0
- package/dist/options/readNpmDefaults.mjs +9 -0
- package/dist/options/readOwner.d.mts +7 -0
- package/dist/options/readOwner.mjs +7 -0
- package/dist/options/readPackageAuthor.d.mts +9 -0
- package/dist/options/readPackageAuthor.mjs +12 -0
- package/dist/options/readPackageData.d.mts +6 -0
- package/dist/options/readPackageData.mjs +8 -0
- package/dist/options/readPnpm.d.mts +5 -0
- package/dist/options/readPnpm.mjs +7 -0
- package/dist/options/readReadmeAdditional.d.mts +4 -0
- package/dist/options/readReadmeAdditional.mjs +17 -0
- package/dist/options/readReadmeExplainer.d.mts +4 -0
- package/dist/options/readReadmeExplainer.mjs +25 -0
- package/dist/options/readReadmeFootnotes.d.mts +5 -0
- package/dist/options/readReadmeFootnotes.mjs +15 -0
- package/dist/options/readReadmeUsage.d.mts +4 -0
- package/dist/options/readReadmeUsage.mjs +13 -0
- package/dist/options/readRepository.d.mts +9 -0
- package/dist/options/readRepository.mjs +6 -0
- package/dist/options/readRulesetId.d.mts +5 -0
- package/dist/options/readRulesetId.mjs +13 -0
- package/dist/options/readTitle.d.mts +4 -0
- package/dist/options/readTitle.mjs +11 -0
- package/dist/options/readWords.d.mts +5 -0
- package/dist/options/readWords.mjs +8 -0
- package/dist/options/readWorkflowsVersions.d.mts +6 -0
- package/dist/options/readWorkflowsVersions.mjs +45 -0
- package/dist/package.json.d.mts +138 -0
- package/dist/presets/common.d.mts +165 -0
- package/dist/presets/common.mjs +26 -0
- package/dist/presets/everything.d.mts +165 -0
- package/dist/presets/everything.mjs +60 -0
- package/dist/presets/index.d.mts +494 -0
- package/dist/presets/index.mjs +11 -0
- package/dist/presets/minimal.d.mts +165 -0
- package/dist/presets/minimal.mjs +68 -0
- package/dist/schemas.d.mts +121 -0
- package/dist/schemas.mjs +31 -0
- package/dist/template.d.mts +165 -0
- package/dist/template.mjs +38 -0
- package/dist/types.d.mts +41 -0
- package/dist/utils/htmlToTextSafe.d.mts +4 -0
- package/dist/utils/htmlToTextSafe.mjs +13 -0
- package/dist/utils/parseDefineConfig.d.mts +7 -0
- package/dist/utils/parseDefineConfig.mjs +22 -0
- package/dist/utils/resolveBin.d.mts +4 -0
- package/dist/utils/resolveBin.mjs +7 -0
- package/dist/utils/resolveEmails.d.mts +5 -0
- package/dist/utils/resolveEmails.mjs +9 -0
- package/dist/utils/swallowError.d.mts +4 -0
- package/dist/utils/swallowError.mjs +6 -0
- package/dist/utils/swallowErrorAsync.d.mts +4 -0
- package/dist/utils/swallowErrorAsync.mjs +10 -0
- package/dist/utils/trimPrecedingSlash.d.mts +4 -0
- package/dist/utils/trimPrecedingSlash.mjs +6 -0
- package/dist/utils/tryCatch.d.mts +4 -0
- package/dist/utils/tryCatch.mjs +10 -0
- package/package.json +8 -7
- package/lib/base.d.ts +0 -175
- package/lib/base.d.ts.map +0 -1
- package/lib/base.js +0 -162
- package/lib/base.js.map +0 -1
- package/lib/blocks/actions/resolveUses.d.ts +0 -6
- package/lib/blocks/actions/resolveUses.d.ts.map +0 -1
- package/lib/blocks/actions/resolveUses.js +0 -18
- package/lib/blocks/actions/resolveUses.js.map +0 -1
- package/lib/blocks/actions/steps.d.ts +0 -37
- package/lib/blocks/actions/steps.d.ts.map +0 -1
- package/lib/blocks/actions/steps.js +0 -20
- package/lib/blocks/actions/steps.js.map +0 -1
- package/lib/blocks/bin/getPrimaryBin.d.ts +0 -5
- package/lib/blocks/bin/getPrimaryBin.d.ts.map +0 -1
- package/lib/blocks/bin/getPrimaryBin.js +0 -8
- package/lib/blocks/bin/getPrimaryBin.js.map +0 -1
- package/lib/blocks/blockAllContributors.d.ts +0 -72
- package/lib/blocks/blockAllContributors.d.ts.map +0 -1
- package/lib/blocks/blockAllContributors.js +0 -130
- package/lib/blocks/blockAllContributors.js.map +0 -1
- package/lib/blocks/blockAreTheTypesWrong.d.ts +0 -72
- package/lib/blocks/blockAreTheTypesWrong.d.ts.map +0 -1
- package/lib/blocks/blockAreTheTypesWrong.js +0 -16
- package/lib/blocks/blockAreTheTypesWrong.js.map +0 -1
- package/lib/blocks/blockCSpell.d.ts +0 -75
- package/lib/blocks/blockCSpell.d.ts.map +0 -1
- package/lib/blocks/blockCSpell.js +0 -79
- package/lib/blocks/blockCSpell.js.map +0 -1
- package/lib/blocks/blockCTATransitions.d.ts +0 -72
- package/lib/blocks/blockCTATransitions.d.ts.map +0 -1
- package/lib/blocks/blockCTATransitions.js +0 -113
- package/lib/blocks/blockCTATransitions.js.map +0 -1
- package/lib/blocks/blockCodecov.d.ts +0 -74
- package/lib/blocks/blockCodecov.d.ts.map +0 -1
- package/lib/blocks/blockCodecov.js +0 -54
- package/lib/blocks/blockCodecov.js.map +0 -1
- package/lib/blocks/blockContributingDocs.d.ts +0 -72
- package/lib/blocks/blockContributingDocs.d.ts.map +0 -1
- package/lib/blocks/blockContributingDocs.js +0 -114
- package/lib/blocks/blockContributingDocs.js.map +0 -1
- package/lib/blocks/blockContributorCovenant.d.ts +0 -72
- package/lib/blocks/blockContributorCovenant.d.ts.map +0 -1
- package/lib/blocks/blockContributorCovenant.js +0 -159
- package/lib/blocks/blockContributorCovenant.js.map +0 -1
- package/lib/blocks/blockDevelopmentDocs.d.ts +0 -86
- package/lib/blocks/blockDevelopmentDocs.d.ts.map +0 -1
- package/lib/blocks/blockDevelopmentDocs.js +0 -74
- package/lib/blocks/blockDevelopmentDocs.js.map +0 -1
- package/lib/blocks/blockESLint.d.ts +0 -96
- package/lib/blocks/blockESLint.d.ts.map +0 -1
- package/lib/blocks/blockESLint.js +0 -198
- package/lib/blocks/blockESLint.js.map +0 -1
- package/lib/blocks/blockESLintComments.d.ts +0 -72
- package/lib/blocks/blockESLintComments.d.ts.map +0 -1
- package/lib/blocks/blockESLintComments.js +0 -23
- package/lib/blocks/blockESLintComments.js.map +0 -1
- package/lib/blocks/blockESLintJSDoc.d.ts +0 -72
- package/lib/blocks/blockESLintJSDoc.d.ts.map +0 -1
- package/lib/blocks/blockESLintJSDoc.js +0 -27
- package/lib/blocks/blockESLintJSDoc.js.map +0 -1
- package/lib/blocks/blockESLintJSONC.d.ts +0 -72
- package/lib/blocks/blockESLintJSONC.d.ts.map +0 -1
- package/lib/blocks/blockESLintJSONC.js +0 -22
- package/lib/blocks/blockESLintJSONC.js.map +0 -1
- package/lib/blocks/blockESLintMarkdown.d.ts +0 -72
- package/lib/blocks/blockESLintMarkdown.d.ts.map +0 -1
- package/lib/blocks/blockESLintMarkdown.js +0 -38
- package/lib/blocks/blockESLintMarkdown.js.map +0 -1
- package/lib/blocks/blockESLintMoreStyling.d.ts +0 -73
- package/lib/blocks/blockESLintMoreStyling.d.ts.map +0 -1
- package/lib/blocks/blockESLintMoreStyling.js +0 -30
- package/lib/blocks/blockESLintMoreStyling.js.map +0 -1
- package/lib/blocks/blockESLintNode.d.ts +0 -72
- package/lib/blocks/blockESLintNode.d.ts.map +0 -1
- package/lib/blocks/blockESLintNode.js +0 -27
- package/lib/blocks/blockESLintNode.js.map +0 -1
- package/lib/blocks/blockESLintPackageJson.d.ts +0 -72
- package/lib/blocks/blockESLintPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockESLintPackageJson.js +0 -33
- package/lib/blocks/blockESLintPackageJson.js.map +0 -1
- package/lib/blocks/blockESLintPerfectionist.d.ts +0 -72
- package/lib/blocks/blockESLintPerfectionist.d.ts.map +0 -1
- package/lib/blocks/blockESLintPerfectionist.js +0 -27
- package/lib/blocks/blockESLintPerfectionist.js.map +0 -1
- package/lib/blocks/blockESLintPlugin.d.ts +0 -74
- package/lib/blocks/blockESLintPlugin.d.ts.map +0 -1
- package/lib/blocks/blockESLintPlugin.js +0 -232
- package/lib/blocks/blockESLintPlugin.js.map +0 -1
- package/lib/blocks/blockESLintRegexp.d.ts +0 -72
- package/lib/blocks/blockESLintRegexp.d.ts.map +0 -1
- package/lib/blocks/blockESLintRegexp.js +0 -23
- package/lib/blocks/blockESLintRegexp.js.map +0 -1
- package/lib/blocks/blockESLintYML.d.ts +0 -72
- package/lib/blocks/blockESLintYML.d.ts.map +0 -1
- package/lib/blocks/blockESLintYML.js +0 -33
- package/lib/blocks/blockESLintYML.js.map +0 -1
- package/lib/blocks/blockExampleFiles.d.ts +0 -75
- package/lib/blocks/blockExampleFiles.d.ts.map +0 -1
- package/lib/blocks/blockExampleFiles.js +0 -25
- package/lib/blocks/blockExampleFiles.js.map +0 -1
- package/lib/blocks/blockExports.d.ts +0 -75
- package/lib/blocks/blockExports.d.ts.map +0 -1
- package/lib/blocks/blockExports.js +0 -20
- package/lib/blocks/blockExports.js.map +0 -1
- package/lib/blocks/blockFunding.d.ts +0 -72
- package/lib/blocks/blockFunding.d.ts.map +0 -1
- package/lib/blocks/blockFunding.js +0 -13
- package/lib/blocks/blockFunding.js.map +0 -1
- package/lib/blocks/blockGitHubActionsCI.d.ts +0 -88
- package/lib/blocks/blockGitHubActionsCI.d.ts.map +0 -1
- package/lib/blocks/blockGitHubActionsCI.js +0 -91
- package/lib/blocks/blockGitHubActionsCI.js.map +0 -1
- package/lib/blocks/blockGitHubApps.d.ts +0 -77
- package/lib/blocks/blockGitHubApps.d.ts.map +0 -1
- package/lib/blocks/blockGitHubApps.js +0 -18
- package/lib/blocks/blockGitHubApps.js.map +0 -1
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +0 -72
- package/lib/blocks/blockGitHubIssueTemplates.d.ts.map +0 -1
- package/lib/blocks/blockGitHubIssueTemplates.js +0 -196
- package/lib/blocks/blockGitHubIssueTemplates.js.map +0 -1
- package/lib/blocks/blockGitHubPRTemplate.d.ts +0 -72
- package/lib/blocks/blockGitHubPRTemplate.d.ts.map +0 -1
- package/lib/blocks/blockGitHubPRTemplate.js +0 -25
- package/lib/blocks/blockGitHubPRTemplate.js.map +0 -1
- package/lib/blocks/blockGitignore.d.ts +0 -74
- package/lib/blocks/blockGitignore.d.ts.map +0 -1
- package/lib/blocks/blockGitignore.js +0 -16
- package/lib/blocks/blockGitignore.js.map +0 -1
- package/lib/blocks/blockKnip.d.ts +0 -76
- package/lib/blocks/blockKnip.d.ts.map +0 -1
- package/lib/blocks/blockKnip.js +0 -70
- package/lib/blocks/blockKnip.js.map +0 -1
- package/lib/blocks/blockMITLicense.d.ts +0 -72
- package/lib/blocks/blockMITLicense.d.ts.map +0 -1
- package/lib/blocks/blockMITLicense.js +0 -41
- package/lib/blocks/blockMITLicense.js.map +0 -1
- package/lib/blocks/blockNcc.d.ts +0 -74
- package/lib/blocks/blockNcc.d.ts.map +0 -1
- package/lib/blocks/blockNcc.js +0 -67
- package/lib/blocks/blockNcc.js.map +0 -1
- package/lib/blocks/blockNvmrc.d.ts +0 -72
- package/lib/blocks/blockNvmrc.d.ts.map +0 -1
- package/lib/blocks/blockNvmrc.js +0 -19
- package/lib/blocks/blockNvmrc.js.map +0 -1
- package/lib/blocks/blockOctoGuide.d.ts +0 -74
- package/lib/blocks/blockOctoGuide.d.ts.map +0 -1
- package/lib/blocks/blockOctoGuide.js +0 -71
- package/lib/blocks/blockOctoGuide.js.map +0 -1
- package/lib/blocks/blockOctoGuideStrict.d.ts +0 -72
- package/lib/blocks/blockOctoGuideStrict.d.ts.map +0 -1
- package/lib/blocks/blockOctoGuideStrict.js +0 -13
- package/lib/blocks/blockOctoGuideStrict.js.map +0 -1
- package/lib/blocks/blockPackageJson.d.ts +0 -149
- package/lib/blocks/blockPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockPackageJson.js +0 -87
- package/lib/blocks/blockPackageJson.js.map +0 -1
- package/lib/blocks/blockPnpmDedupe.d.ts +0 -72
- package/lib/blocks/blockPnpmDedupe.d.ts.map +0 -1
- package/lib/blocks/blockPnpmDedupe.js +0 -21
- package/lib/blocks/blockPnpmDedupe.js.map +0 -1
- package/lib/blocks/blockPrettier.d.ts +0 -82
- package/lib/blocks/blockPrettier.d.ts.map +0 -1
- package/lib/blocks/blockPrettier.js +0 -97
- package/lib/blocks/blockPrettier.js.map +0 -1
- package/lib/blocks/blockPrettierPluginCurly.d.ts +0 -72
- package/lib/blocks/blockPrettierPluginCurly.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginCurly.js +0 -13
- package/lib/blocks/blockPrettierPluginCurly.js.map +0 -1
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +0 -72
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginPackageJson.js +0 -13
- package/lib/blocks/blockPrettierPluginPackageJson.js.map +0 -1
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +0 -72
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginSentencesPerLine.js +0 -13
- package/lib/blocks/blockPrettierPluginSentencesPerLine.js.map +0 -1
- package/lib/blocks/blockPrettierPluginSh.d.ts +0 -72
- package/lib/blocks/blockPrettierPluginSh.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginSh.js +0 -13
- package/lib/blocks/blockPrettierPluginSh.js.map +0 -1
- package/lib/blocks/blockREADME.d.ts +0 -85
- package/lib/blocks/blockREADME.d.ts.map +0 -1
- package/lib/blocks/blockREADME.js +0 -76
- package/lib/blocks/blockREADME.js.map +0 -1
- package/lib/blocks/blockReleaseIt.d.ts +0 -77
- package/lib/blocks/blockReleaseIt.d.ts.map +0 -1
- package/lib/blocks/blockReleaseIt.js +0 -158
- package/lib/blocks/blockReleaseIt.js.map +0 -1
- package/lib/blocks/blockRemoveDependencies.d.ts +0 -74
- package/lib/blocks/blockRemoveDependencies.d.ts.map +0 -1
- package/lib/blocks/blockRemoveDependencies.js +0 -22
- package/lib/blocks/blockRemoveDependencies.js.map +0 -1
- package/lib/blocks/blockRemoveFiles.d.ts +0 -74
- package/lib/blocks/blockRemoveFiles.d.ts.map +0 -1
- package/lib/blocks/blockRemoveFiles.js +0 -23
- package/lib/blocks/blockRemoveFiles.js.map +0 -1
- package/lib/blocks/blockRemoveWorkflows.d.ts +0 -74
- package/lib/blocks/blockRemoveWorkflows.d.ts.map +0 -1
- package/lib/blocks/blockRemoveWorkflows.js +0 -19
- package/lib/blocks/blockRemoveWorkflows.js.map +0 -1
- package/lib/blocks/blockRenovate.d.ts +0 -74
- package/lib/blocks/blockRenovate.d.ts.map +0 -1
- package/lib/blocks/blockRenovate.js +0 -41
- package/lib/blocks/blockRenovate.js.map +0 -1
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +0 -74
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts.map +0 -1
- package/lib/blocks/blockRepositoryBranchRuleset.js +0 -81
- package/lib/blocks/blockRepositoryBranchRuleset.js.map +0 -1
- package/lib/blocks/blockRepositoryLabels.d.ts +0 -72
- package/lib/blocks/blockRepositoryLabels.d.ts.map +0 -1
- package/lib/blocks/blockRepositoryLabels.js +0 -54
- package/lib/blocks/blockRepositoryLabels.js.map +0 -1
- package/lib/blocks/blockRepositorySecrets.d.ts +0 -77
- package/lib/blocks/blockRepositorySecrets.d.ts.map +0 -1
- package/lib/blocks/blockRepositorySecrets.js +0 -18
- package/lib/blocks/blockRepositorySecrets.js.map +0 -1
- package/lib/blocks/blockRepositorySettings.d.ts +0 -72
- package/lib/blocks/blockRepositorySettings.d.ts.map +0 -1
- package/lib/blocks/blockRepositorySettings.js +0 -34
- package/lib/blocks/blockRepositorySettings.js.map +0 -1
- package/lib/blocks/blockSecurityDocs.d.ts +0 -72
- package/lib/blocks/blockSecurityDocs.d.ts.map +0 -1
- package/lib/blocks/blockSecurityDocs.js +0 -21
- package/lib/blocks/blockSecurityDocs.js.map +0 -1
- package/lib/blocks/blockSideEffects.d.ts +0 -74
- package/lib/blocks/blockSideEffects.d.ts.map +0 -1
- package/lib/blocks/blockSideEffects.js +0 -16
- package/lib/blocks/blockSideEffects.js.map +0 -1
- package/lib/blocks/blockTSDown.d.ts +0 -76
- package/lib/blocks/blockTSDown.d.ts.map +0 -1
- package/lib/blocks/blockTSDown.js +0 -108
- package/lib/blocks/blockTSDown.js.map +0 -1
- package/lib/blocks/blockTemplatedWith.d.ts +0 -72
- package/lib/blocks/blockTemplatedWith.d.ts.map +0 -1
- package/lib/blocks/blockTemplatedWith.js +0 -15
- package/lib/blocks/blockTemplatedWith.js.map +0 -1
- package/lib/blocks/blockTypeScript.d.ts +0 -184
- package/lib/blocks/blockTypeScript.d.ts.map +0 -1
- package/lib/blocks/blockTypeScript.js +0 -138
- package/lib/blocks/blockTypeScript.js.map +0 -1
- package/lib/blocks/blockVSCode.d.ts +0 -81
- package/lib/blocks/blockVSCode.d.ts.map +0 -1
- package/lib/blocks/blockVSCode.js +0 -61
- package/lib/blocks/blockVSCode.js.map +0 -1
- package/lib/blocks/blockVitest.d.ts +0 -89
- package/lib/blocks/blockVitest.d.ts.map +0 -1
- package/lib/blocks/blockVitest.js +0 -207
- package/lib/blocks/blockVitest.js.map +0 -1
- package/lib/blocks/blockWebExt.d.ts +0 -72
- package/lib/blocks/blockWebExt.d.ts.map +0 -1
- package/lib/blocks/blockWebExt.js +0 -97
- package/lib/blocks/blockWebExt.js.map +0 -1
- package/lib/blocks/eslint/blockESLintIntake.d.ts +0 -11
- package/lib/blocks/eslint/blockESLintIntake.d.ts.map +0 -1
- package/lib/blocks/eslint/blockESLintIntake.js +0 -86
- package/lib/blocks/eslint/blockESLintIntake.js.map +0 -1
- package/lib/blocks/eslint/blockESLintPluginIntake.d.ts +0 -7
- package/lib/blocks/eslint/blockESLintPluginIntake.d.ts.map +0 -1
- package/lib/blocks/eslint/blockESLintPluginIntake.js +0 -29
- package/lib/blocks/eslint/blockESLintPluginIntake.js.map +0 -1
- package/lib/blocks/eslint/getScriptFileExtension.d.ts +0 -8
- package/lib/blocks/eslint/getScriptFileExtension.d.ts.map +0 -1
- package/lib/blocks/eslint/getScriptFileExtension.js +0 -8
- package/lib/blocks/eslint/getScriptFileExtension.js.map +0 -1
- package/lib/blocks/eslint/mergeAllExtensions.d.ts +0 -17
- package/lib/blocks/eslint/mergeAllExtensions.d.ts.map +0 -1
- package/lib/blocks/eslint/mergeAllExtensions.js +0 -48
- package/lib/blocks/eslint/mergeAllExtensions.js.map +0 -1
- package/lib/blocks/eslint/schemas.d.ts +0 -112
- package/lib/blocks/eslint/schemas.d.ts.map +0 -1
- package/lib/blocks/eslint/schemas.js +0 -42
- package/lib/blocks/eslint/schemas.js.map +0 -1
- package/lib/blocks/files/createJobName.d.ts +0 -5
- package/lib/blocks/files/createJobName.d.ts.map +0 -1
- package/lib/blocks/files/createJobName.js +0 -8
- package/lib/blocks/files/createJobName.js.map +0 -1
- package/lib/blocks/files/createMultiWorkflowFile.d.ts +0 -24
- package/lib/blocks/files/createMultiWorkflowFile.d.ts.map +0 -1
- package/lib/blocks/files/createMultiWorkflowFile.js +0 -30
- package/lib/blocks/files/createMultiWorkflowFile.js.map +0 -1
- package/lib/blocks/files/createSoloWorkflowFile.d.ts +0 -65
- package/lib/blocks/files/createSoloWorkflowFile.d.ts.map +0 -1
- package/lib/blocks/files/createSoloWorkflowFile.js +0 -21
- package/lib/blocks/files/createSoloWorkflowFile.js.map +0 -1
- package/lib/blocks/files/formatIgnoreFile.d.ts +0 -5
- package/lib/blocks/files/formatIgnoreFile.d.ts.map +0 -1
- package/lib/blocks/files/formatIgnoreFile.js +0 -8
- package/lib/blocks/files/formatIgnoreFile.js.map +0 -1
- package/lib/blocks/files/formatWorkflowYaml.d.ts +0 -5
- package/lib/blocks/files/formatWorkflowYaml.d.ts.map +0 -1
- package/lib/blocks/files/formatWorkflowYaml.js +0 -9
- package/lib/blocks/files/formatWorkflowYaml.js.map +0 -1
- package/lib/blocks/files/formatYaml.d.ts +0 -5
- package/lib/blocks/files/formatYaml.d.ts.map +0 -1
- package/lib/blocks/files/formatYaml.js +0 -20
- package/lib/blocks/files/formatYaml.js.map +0 -1
- package/lib/blocks/files/removeUsesQuotes.d.ts +0 -5
- package/lib/blocks/files/removeUsesQuotes.d.ts.map +0 -1
- package/lib/blocks/files/removeUsesQuotes.js +0 -8
- package/lib/blocks/files/removeUsesQuotes.js.map +0 -1
- package/lib/blocks/getInstallationSuggestions.d.ts +0 -5
- package/lib/blocks/getInstallationSuggestions.d.ts.map +0 -1
- package/lib/blocks/getInstallationSuggestions.js +0 -13
- package/lib/blocks/getInstallationSuggestions.js.map +0 -1
- package/lib/blocks/index.d.ts +0 -3713
- package/lib/blocks/index.d.ts.map +0 -1
- package/lib/blocks/index.js +0 -106
- package/lib/blocks/index.js.map +0 -1
- package/lib/blocks/intake/intakeFile.d.ts +0 -6
- package/lib/blocks/intake/intakeFile.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFile.js +0 -13
- package/lib/blocks/intake/intakeFile.js.map +0 -1
- package/lib/blocks/intake/intakeFileAsJson.d.ts +0 -6
- package/lib/blocks/intake/intakeFileAsJson.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileAsJson.js +0 -15
- package/lib/blocks/intake/intakeFileAsJson.js.map +0 -1
- package/lib/blocks/intake/intakeFileAsYaml.d.ts +0 -6
- package/lib/blocks/intake/intakeFileAsYaml.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileAsYaml.js +0 -15
- package/lib/blocks/intake/intakeFileAsYaml.js.map +0 -1
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts +0 -6
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileDefineConfig.js +0 -24
- package/lib/blocks/intake/intakeFileDefineConfig.js.map +0 -1
- package/lib/blocks/intake/intakeFileExportObject.d.ts +0 -6
- package/lib/blocks/intake/intakeFileExportObject.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileExportObject.js +0 -24
- package/lib/blocks/intake/intakeFileExportObject.js.map +0 -1
- package/lib/blocks/options.fakes.d.ts +0 -26
- package/lib/blocks/options.fakes.d.ts.map +0 -1
- package/lib/blocks/options.fakes.js +0 -21
- package/lib/blocks/options.fakes.js.map +0 -1
- package/lib/blocks/outcomeLabels.d.ts +0 -15
- package/lib/blocks/outcomeLabels.d.ts.map +0 -1
- package/lib/blocks/outcomeLabels.js +0 -95
- package/lib/blocks/outcomeLabels.js.map +0 -1
- package/lib/blocks/phases.d.ts +0 -11
- package/lib/blocks/phases.d.ts.map +0 -1
- package/lib/blocks/phases.js +0 -12
- package/lib/blocks/phases.js.map +0 -1
- package/lib/constants.d.ts +0 -10
- package/lib/constants.d.ts.map +0 -1
- package/lib/constants.js +0 -9
- package/lib/constants.js.map +0 -1
- package/lib/data/contributions.d.ts +0 -5
- package/lib/data/contributions.d.ts.map +0 -1
- package/lib/data/contributions.js +0 -15
- package/lib/data/contributions.js.map +0 -1
- package/lib/data/packageData.d.ts +0 -10
- package/lib/data/packageData.d.ts.map +0 -1
- package/lib/data/packageData.js +0 -19
- package/lib/data/packageData.js.map +0 -1
- package/lib/index.d.ts +0 -294
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -63
- package/lib/index.js.map +0 -1
- package/lib/inputs/inputFromDirectory.d.ts +0 -8
- package/lib/inputs/inputFromDirectory.d.ts.map +0 -1
- package/lib/inputs/inputFromDirectory.js +0 -13
- package/lib/inputs/inputFromDirectory.js.map +0 -1
- package/lib/inputs/inputFromOctokit.d.ts +0 -9
- package/lib/inputs/inputFromOctokit.d.ts.map +0 -1
- package/lib/inputs/inputFromOctokit.js +0 -25
- package/lib/inputs/inputFromOctokit.js.map +0 -1
- package/lib/options/readAccess.d.ts +0 -6
- package/lib/options/readAccess.d.ts.map +0 -1
- package/lib/options/readAccess.js +0 -8
- package/lib/options/readAccess.js.map +0 -1
- package/lib/options/readAllContributors.d.ts +0 -7
- package/lib/options/readAllContributors.d.ts.map +0 -1
- package/lib/options/readAllContributors.js +0 -20
- package/lib/options/readAllContributors.js.map +0 -1
- package/lib/options/readAuthor.d.ts +0 -9
- package/lib/options/readAuthor.d.ts.map +0 -1
- package/lib/options/readAuthor.js +0 -8
- package/lib/options/readAuthor.js.map +0 -1
- package/lib/options/readBin.d.ts +0 -6
- package/lib/options/readBin.d.ts.map +0 -1
- package/lib/options/readBin.js +0 -10
- package/lib/options/readBin.js.map +0 -1
- package/lib/options/readDescription.d.ts +0 -6
- package/lib/options/readDescription.d.ts.map +0 -1
- package/lib/options/readDescription.js +0 -19
- package/lib/options/readDescription.js.map +0 -1
- package/lib/options/readDescriptionFromReadme.d.ts +0 -5
- package/lib/options/readDescriptionFromReadme.d.ts.map +0 -1
- package/lib/options/readDescriptionFromReadme.js +0 -15
- package/lib/options/readDescriptionFromReadme.js.map +0 -1
- package/lib/options/readDevelopmentDocumentation.d.ts +0 -6
- package/lib/options/readDevelopmentDocumentation.d.ts.map +0 -1
- package/lib/options/readDevelopmentDocumentation.js +0 -23
- package/lib/options/readDevelopmentDocumentation.js.map +0 -1
- package/lib/options/readDocumentation.d.ts +0 -6
- package/lib/options/readDocumentation.d.ts.map +0 -1
- package/lib/options/readDocumentation.js +0 -23
- package/lib/options/readDocumentation.js.map +0 -1
- package/lib/options/readEmailFromCodeOfConduct.d.ts +0 -6
- package/lib/options/readEmailFromCodeOfConduct.d.ts.map +0 -1
- package/lib/options/readEmailFromCodeOfConduct.js +0 -10
- package/lib/options/readEmailFromCodeOfConduct.js.map +0 -1
- package/lib/options/readEmailFromGit.d.ts +0 -6
- package/lib/options/readEmailFromGit.d.ts.map +0 -1
- package/lib/options/readEmailFromGit.js +0 -9
- package/lib/options/readEmailFromGit.js.map +0 -1
- package/lib/options/readEmailFromNpm.d.ts +0 -7
- package/lib/options/readEmailFromNpm.d.ts.map +0 -1
- package/lib/options/readEmailFromNpm.js +0 -8
- package/lib/options/readEmailFromNpm.js.map +0 -1
- package/lib/options/readEmails.d.ts +0 -9
- package/lib/options/readEmails.d.ts.map +0 -1
- package/lib/options/readEmails.js +0 -13
- package/lib/options/readEmails.js.map +0 -1
- package/lib/options/readEmoji.d.ts +0 -5
- package/lib/options/readEmoji.d.ts.map +0 -1
- package/lib/options/readEmoji.js +0 -8
- package/lib/options/readEmoji.js.map +0 -1
- package/lib/options/readExistingLabels.d.ts +0 -10
- package/lib/options/readExistingLabels.d.ts.map +0 -1
- package/lib/options/readExistingLabels.js +0 -23
- package/lib/options/readExistingLabels.js.map +0 -1
- package/lib/options/readFileAsJson.d.ts +0 -5
- package/lib/options/readFileAsJson.d.ts.map +0 -1
- package/lib/options/readFileAsJson.js +0 -13
- package/lib/options/readFileAsJson.js.map +0 -1
- package/lib/options/readFileSafe.d.ts +0 -5
- package/lib/options/readFileSafe.d.ts.map +0 -1
- package/lib/options/readFileSafe.js +0 -13
- package/lib/options/readFileSafe.js.map +0 -1
- package/lib/options/readFunding.d.ts +0 -6
- package/lib/options/readFunding.d.ts.map +0 -1
- package/lib/options/readFunding.js +0 -10
- package/lib/options/readFunding.js.map +0 -1
- package/lib/options/readGitDefaults.d.ts +0 -7
- package/lib/options/readGitDefaults.d.ts.map +0 -1
- package/lib/options/readGitDefaults.js +0 -11
- package/lib/options/readGitDefaults.js.map +0 -1
- package/lib/options/readGuide.d.ts +0 -9
- package/lib/options/readGuide.d.ts.map +0 -1
- package/lib/options/readGuide.js +0 -16
- package/lib/options/readGuide.js.map +0 -1
- package/lib/options/readKeywords.d.ts +0 -6
- package/lib/options/readKeywords.d.ts.map +0 -1
- package/lib/options/readKeywords.js +0 -9
- package/lib/options/readKeywords.js.map +0 -1
- package/lib/options/readLogo.d.ts +0 -10
- package/lib/options/readLogo.d.ts.map +0 -1
- package/lib/options/readLogo.js +0 -21
- package/lib/options/readLogo.js.map +0 -1
- package/lib/options/readLogoSizing.d.ts +0 -9
- package/lib/options/readLogoSizing.d.ts.map +0 -1
- package/lib/options/readLogoSizing.js +0 -31
- package/lib/options/readLogoSizing.js.map +0 -1
- package/lib/options/readNode.d.ts +0 -9
- package/lib/options/readNode.d.ts.map +0 -1
- package/lib/options/readNode.js +0 -14
- package/lib/options/readNode.js.map +0 -1
- package/lib/options/readNpmDefaults.d.ts +0 -6
- package/lib/options/readNpmDefaults.d.ts.map +0 -1
- package/lib/options/readNpmDefaults.js +0 -11
- package/lib/options/readNpmDefaults.js.map +0 -1
- package/lib/options/readOwner.d.ts +0 -8
- package/lib/options/readOwner.d.ts.map +0 -1
- package/lib/options/readOwner.js +0 -9
- package/lib/options/readOwner.js.map +0 -1
- package/lib/options/readPackageAuthor.d.ts +0 -10
- package/lib/options/readPackageAuthor.d.ts.map +0 -1
- package/lib/options/readPackageAuthor.js +0 -14
- package/lib/options/readPackageAuthor.js.map +0 -1
- package/lib/options/readPackageData.d.ts +0 -7
- package/lib/options/readPackageData.d.ts.map +0 -1
- package/lib/options/readPackageData.js +0 -10
- package/lib/options/readPackageData.js.map +0 -1
- package/lib/options/readPnpm.d.ts +0 -6
- package/lib/options/readPnpm.d.ts.map +0 -1
- package/lib/options/readPnpm.js +0 -9
- package/lib/options/readPnpm.js.map +0 -1
- package/lib/options/readReadmeAdditional.d.ts +0 -5
- package/lib/options/readReadmeAdditional.d.ts.map +0 -1
- package/lib/options/readReadmeAdditional.js +0 -19
- package/lib/options/readReadmeAdditional.js.map +0 -1
- package/lib/options/readReadmeExplainer.d.ts +0 -5
- package/lib/options/readReadmeExplainer.d.ts.map +0 -1
- package/lib/options/readReadmeExplainer.js +0 -27
- package/lib/options/readReadmeExplainer.js.map +0 -1
- package/lib/options/readReadmeFootnotes.d.ts +0 -6
- package/lib/options/readReadmeFootnotes.d.ts.map +0 -1
- package/lib/options/readReadmeFootnotes.js +0 -17
- package/lib/options/readReadmeFootnotes.js.map +0 -1
- package/lib/options/readReadmeUsage.d.ts +0 -5
- package/lib/options/readReadmeUsage.d.ts.map +0 -1
- package/lib/options/readReadmeUsage.js +0 -15
- package/lib/options/readReadmeUsage.js.map +0 -1
- package/lib/options/readRepository.d.ts +0 -10
- package/lib/options/readRepository.d.ts.map +0 -1
- package/lib/options/readRepository.js +0 -8
- package/lib/options/readRepository.js.map +0 -1
- package/lib/options/readRulesetId.d.ts +0 -6
- package/lib/options/readRulesetId.d.ts.map +0 -1
- package/lib/options/readRulesetId.js +0 -15
- package/lib/options/readRulesetId.js.map +0 -1
- package/lib/options/readTitle.d.ts +0 -5
- package/lib/options/readTitle.d.ts.map +0 -1
- package/lib/options/readTitle.js +0 -13
- package/lib/options/readTitle.js.map +0 -1
- package/lib/options/readWords.d.ts +0 -6
- package/lib/options/readWords.d.ts.map +0 -1
- package/lib/options/readWords.js +0 -10
- package/lib/options/readWords.js.map +0 -1
- package/lib/options/readWorkflowsVersions.d.ts +0 -7
- package/lib/options/readWorkflowsVersions.d.ts.map +0 -1
- package/lib/options/readWorkflowsVersions.js +0 -47
- package/lib/options/readWorkflowsVersions.js.map +0 -1
- package/lib/package.json.d.ts +0 -138
- package/lib/package.json.d.ts.map +0 -1
- package/lib/presets/common.d.ts +0 -170
- package/lib/presets/common.d.ts.map +0 -1
- package/lib/presets/common.js +0 -28
- package/lib/presets/common.js.map +0 -1
- package/lib/presets/everything.d.ts +0 -170
- package/lib/presets/everything.d.ts.map +0 -1
- package/lib/presets/everything.js +0 -58
- package/lib/presets/everything.js.map +0 -1
- package/lib/presets/index.d.ts +0 -507
- package/lib/presets/index.d.ts.map +0 -1
- package/lib/presets/index.js +0 -13
- package/lib/presets/index.js.map +0 -1
- package/lib/presets/minimal.d.ts +0 -170
- package/lib/presets/minimal.d.ts.map +0 -1
- package/lib/presets/minimal.js +0 -68
- package/lib/presets/minimal.js.map +0 -1
- package/lib/schemas.d.ts +0 -111
- package/lib/schemas.d.ts.map +0 -1
- package/lib/schemas.js +0 -29
- package/lib/schemas.js.map +0 -1
- package/lib/template.d.ts +0 -170
- package/lib/template.d.ts.map +0 -1
- package/lib/template.js +0 -40
- package/lib/template.js.map +0 -1
- package/lib/types.d.ts +0 -42
- package/lib/types.d.ts.map +0 -1
- package/lib/utils/htmlToTextSafe.d.ts +0 -5
- package/lib/utils/htmlToTextSafe.d.ts.map +0 -1
- package/lib/utils/htmlToTextSafe.js +0 -15
- package/lib/utils/htmlToTextSafe.js.map +0 -1
- package/lib/utils/resolveBin.d.ts +0 -5
- package/lib/utils/resolveBin.d.ts.map +0 -1
- package/lib/utils/resolveBin.js +0 -9
- package/lib/utils/resolveBin.js.map +0 -1
- package/lib/utils/swallowError.d.ts +0 -5
- package/lib/utils/swallowError.d.ts.map +0 -1
- package/lib/utils/swallowError.js +0 -8
- package/lib/utils/swallowError.js.map +0 -1
- package/lib/utils/swallowErrorAsync.d.ts +0 -5
- package/lib/utils/swallowErrorAsync.d.ts.map +0 -1
- package/lib/utils/swallowErrorAsync.js +0 -12
- package/lib/utils/swallowErrorAsync.js.map +0 -1
- package/lib/utils/trimPrecedingSlash.d.ts +0 -5
- package/lib/utils/trimPrecedingSlash.d.ts.map +0 -1
- package/lib/utils/trimPrecedingSlash.js +0 -8
- package/lib/utils/trimPrecedingSlash.js.map +0 -1
- package/lib/utils/tryCatch.d.ts +0 -5
- package/lib/utils/tryCatch.d.ts.map +0 -1
- package/lib/utils/tryCatch.js +0 -12
- package/lib/utils/tryCatch.js.map +0 -1
- /package/{lib/_virtual/_rolldown/runtime.js → dist/_virtual/_rolldown/runtime.mjs} +0 -0
- /package/{lib/types.js → dist/types.mjs} +0 -0
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockExampleFiles.d.ts
|
|
2
|
-
declare const blockExampleFiles: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
-
usage: string[];
|
|
4
|
-
files: Record<string, string>;
|
|
5
|
-
}, {
|
|
6
|
-
access: "public" | "restricted";
|
|
7
|
-
description: string;
|
|
8
|
-
directory: string;
|
|
9
|
-
documentation: {
|
|
10
|
-
readme: {
|
|
11
|
-
additional?: string | undefined;
|
|
12
|
-
explainer?: string | undefined;
|
|
13
|
-
footnotes?: string | undefined;
|
|
14
|
-
usage?: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
development?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
email: {
|
|
19
|
-
github: string;
|
|
20
|
-
npm: string;
|
|
21
|
-
};
|
|
22
|
-
title: string;
|
|
23
|
-
node: {
|
|
24
|
-
minimum: string;
|
|
25
|
-
pinned?: string | undefined;
|
|
26
|
-
};
|
|
27
|
-
owner: string;
|
|
28
|
-
repository: string;
|
|
29
|
-
type?: "commonjs" | "module" | undefined;
|
|
30
|
-
author?: string | undefined;
|
|
31
|
-
bin?: string | Record<string, string> | undefined;
|
|
32
|
-
contributors?: {
|
|
33
|
-
avatar_url: string;
|
|
34
|
-
contributions: string[];
|
|
35
|
-
login: string;
|
|
36
|
-
name: string;
|
|
37
|
-
profile: string;
|
|
38
|
-
}[] | undefined;
|
|
39
|
-
emoji?: string | undefined;
|
|
40
|
-
existingLabels?: {
|
|
41
|
-
name: string;
|
|
42
|
-
description: string;
|
|
43
|
-
color: string;
|
|
44
|
-
}[] | undefined;
|
|
45
|
-
funding?: string | undefined;
|
|
46
|
-
guide?: {
|
|
47
|
-
href: string;
|
|
48
|
-
title: string;
|
|
49
|
-
} | undefined;
|
|
50
|
-
keywords?: string[] | undefined;
|
|
51
|
-
logo?: {
|
|
52
|
-
alt: string;
|
|
53
|
-
src: string;
|
|
54
|
-
height?: number | undefined;
|
|
55
|
-
width?: number | undefined;
|
|
56
|
-
} | undefined;
|
|
57
|
-
packageData?: {
|
|
58
|
-
dependencies?: Record<string, string> | undefined;
|
|
59
|
-
devDependencies?: Record<string, string> | undefined;
|
|
60
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
61
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
63
|
-
} | undefined;
|
|
64
|
-
pnpm?: string | undefined;
|
|
65
|
-
rulesetId?: string | undefined;
|
|
66
|
-
version?: string | undefined;
|
|
67
|
-
words?: string[] | undefined;
|
|
68
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
69
|
-
pinned?: boolean | undefined;
|
|
70
|
-
hash?: string | undefined;
|
|
71
|
-
}>> | undefined;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
74
|
-
export { blockExampleFiles };
|
|
75
|
-
//# sourceMappingURL=blockExampleFiles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockExampleFiles.d.ts","names":[],"sources":["../../src/blocks/blockExampleFiles.ts"],"mappings":";cAKa,2CAAiB"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { base } from "../base.js";
|
|
2
|
-
import { blockREADME } from "./blockREADME.js";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
//#region src/blocks/blockExampleFiles.ts
|
|
5
|
-
const blockExampleFiles = base.createBlock({
|
|
6
|
-
about: { name: "Example Files" },
|
|
7
|
-
addons: {
|
|
8
|
-
files: z.record(z.string()).default({}),
|
|
9
|
-
usage: z.array(z.string()).default([])
|
|
10
|
-
},
|
|
11
|
-
setup({ addons }) {
|
|
12
|
-
const { usage } = addons;
|
|
13
|
-
return {
|
|
14
|
-
addons: [blockREADME({ defaultUsage: usage })],
|
|
15
|
-
files: { src: addons.files }
|
|
16
|
-
};
|
|
17
|
-
},
|
|
18
|
-
produce() {
|
|
19
|
-
return {};
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
//#endregion
|
|
23
|
-
export { blockExampleFiles };
|
|
24
|
-
|
|
25
|
-
//# sourceMappingURL=blockExampleFiles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockExampleFiles.js","names":[],"sources":["../../src/blocks/blockExampleFiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { blockREADME } from \"./blockREADME.js\";\n\nexport const blockExampleFiles = base.createBlock({\n\tabout: {\n\t\tname: \"Example Files\",\n\t},\n\taddons: {\n\t\tfiles: z.record(z.string()).default({}),\n\t\tusage: z.array(z.string()).default([]),\n\t},\n\tsetup({ addons }) {\n\t\tconst { usage } = addons;\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockREADME({\n\t\t\t\t\tdefaultUsage: usage,\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\tsrc: addons.files,\n\t\t\t},\n\t\t};\n\t},\n\t// TODO: Make produce() optional, so this empty-ish produce() can be removed\n\t// https://github.com/JoshuaKGoldberg/bingo/issues/295\n\tproduce() {\n\t\treturn {};\n\t},\n});\n"],"mappings":";;;;AAKA,MAAa,oBAAoB,KAAK,YAAY;CACjD,OAAO,EACN,MAAM,gBACP;CACA,QAAQ;EACP,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;EACtC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;CACtC;CACA,MAAM,EAAE,UAAU;EACjB,MAAM,EAAE,UAAU;EAElB,OAAO;GACN,QAAQ,CACP,YAAY,EACX,cAAc,MACf,CAAC,CACF;GACA,OAAO,EACN,KAAK,OAAO,MACb;EACD;CACD;CAGA,UAAU;EACT,OAAO,CAAC;CACT;AACD,CAAC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockExports.d.ts
|
|
2
|
-
declare const blockExports: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
-
runArgs: string[];
|
|
4
|
-
filePath?: string | undefined;
|
|
5
|
-
}, {
|
|
6
|
-
access: "public" | "restricted";
|
|
7
|
-
description: string;
|
|
8
|
-
directory: string;
|
|
9
|
-
documentation: {
|
|
10
|
-
readme: {
|
|
11
|
-
additional?: string | undefined;
|
|
12
|
-
explainer?: string | undefined;
|
|
13
|
-
footnotes?: string | undefined;
|
|
14
|
-
usage?: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
development?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
email: {
|
|
19
|
-
github: string;
|
|
20
|
-
npm: string;
|
|
21
|
-
};
|
|
22
|
-
title: string;
|
|
23
|
-
node: {
|
|
24
|
-
minimum: string;
|
|
25
|
-
pinned?: string | undefined;
|
|
26
|
-
};
|
|
27
|
-
owner: string;
|
|
28
|
-
repository: string;
|
|
29
|
-
type?: "commonjs" | "module" | undefined;
|
|
30
|
-
author?: string | undefined;
|
|
31
|
-
bin?: string | Record<string, string> | undefined;
|
|
32
|
-
contributors?: {
|
|
33
|
-
avatar_url: string;
|
|
34
|
-
contributions: string[];
|
|
35
|
-
login: string;
|
|
36
|
-
name: string;
|
|
37
|
-
profile: string;
|
|
38
|
-
}[] | undefined;
|
|
39
|
-
emoji?: string | undefined;
|
|
40
|
-
existingLabels?: {
|
|
41
|
-
name: string;
|
|
42
|
-
description: string;
|
|
43
|
-
color: string;
|
|
44
|
-
}[] | undefined;
|
|
45
|
-
funding?: string | undefined;
|
|
46
|
-
guide?: {
|
|
47
|
-
href: string;
|
|
48
|
-
title: string;
|
|
49
|
-
} | undefined;
|
|
50
|
-
keywords?: string[] | undefined;
|
|
51
|
-
logo?: {
|
|
52
|
-
alt: string;
|
|
53
|
-
src: string;
|
|
54
|
-
height?: number | undefined;
|
|
55
|
-
width?: number | undefined;
|
|
56
|
-
} | undefined;
|
|
57
|
-
packageData?: {
|
|
58
|
-
dependencies?: Record<string, string> | undefined;
|
|
59
|
-
devDependencies?: Record<string, string> | undefined;
|
|
60
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
61
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
63
|
-
} | undefined;
|
|
64
|
-
pnpm?: string | undefined;
|
|
65
|
-
rulesetId?: string | undefined;
|
|
66
|
-
version?: string | undefined;
|
|
67
|
-
words?: string[] | undefined;
|
|
68
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
69
|
-
pinned?: boolean | undefined;
|
|
70
|
-
hash?: string | undefined;
|
|
71
|
-
}>> | undefined;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
74
|
-
export { blockExports };
|
|
75
|
-
//# sourceMappingURL=blockExports.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockExports.d.ts","names":[],"sources":["../../src/blocks/blockExports.ts"],"mappings":";cAMa,sCAAY"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { base } from "../base.js";
|
|
2
|
-
import { blockPackageJson } from "./blockPackageJson.js";
|
|
3
|
-
import { blockTSDown } from "./blockTSDown.js";
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
//#region src/blocks/blockExports.ts
|
|
6
|
-
const blockExports = base.createBlock({
|
|
7
|
-
about: { name: "Exports" },
|
|
8
|
-
addons: {
|
|
9
|
-
filePath: z.string().optional(),
|
|
10
|
-
runArgs: z.array(z.string()).default([])
|
|
11
|
-
},
|
|
12
|
-
produce({ addons }) {
|
|
13
|
-
const { filePath = "./lib/index.js", runArgs } = addons;
|
|
14
|
-
return { addons: [blockPackageJson({ properties: { exports: { ".": filePath.startsWith(".") ? filePath : `./${filePath}` } } }), blockTSDown({ runInCI: [`node ${filePath}${runArgs.map((arg) => ` ${arg}`).join("")}`] })] };
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
//#endregion
|
|
18
|
-
export { blockExports };
|
|
19
|
-
|
|
20
|
-
//# sourceMappingURL=blockExports.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockExports.js","names":[],"sources":["../../src/blocks/blockExports.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockTSDown } from \"./blockTSDown.js\";\n\nexport const blockExports = base.createBlock({\n\tabout: {\n\t\tname: \"Exports\",\n\t},\n\taddons: {\n\t\tfilePath: z.string().optional(),\n\t\trunArgs: z.array(z.string()).default([]),\n\t},\n\tproduce({ addons }) {\n\t\tconst { filePath = \"./lib/index.js\", runArgs } = addons;\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\texports: {\n\t\t\t\t\t\t\t\".\": filePath.startsWith(\".\") ? filePath : `./${filePath}`,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockTSDown({\n\t\t\t\t\trunInCI: [\n\t\t\t\t\t\t`node ${filePath}${runArgs.map((arg) => ` ${arg}`).join(\"\")}`,\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;AAMA,MAAa,eAAe,KAAK,YAAY;CAC5C,OAAO,EACN,MAAM,UACP;CACA,QAAQ;EACP,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS;EAC9B,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;CACxC;CACA,QAAQ,EAAE,UAAU;EACnB,MAAM,EAAE,WAAW,kBAAkB,YAAY;EAEjD,OAAO,EACN,QAAQ,CACP,iBAAiB,EAChB,YAAY,EACX,SAAS,EACR,KAAK,SAAS,WAAW,GAAG,IAAI,WAAW,KAAK,WACjD,EACD,EACD,CAAC,GACD,YAAY,EACX,SAAS,CACR,QAAQ,WAAW,QAAQ,KAAK,QAAQ,IAAI,KAAK,CAAC,CAAC,KAAK,EAAE,GAC3D,EACD,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockFunding.d.ts
|
|
2
|
-
declare const blockFunding: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
|
-
access: "public" | "restricted";
|
|
4
|
-
description: string;
|
|
5
|
-
directory: string;
|
|
6
|
-
documentation: {
|
|
7
|
-
readme: {
|
|
8
|
-
additional?: string | undefined;
|
|
9
|
-
explainer?: string | undefined;
|
|
10
|
-
footnotes?: string | undefined;
|
|
11
|
-
usage?: string | undefined;
|
|
12
|
-
};
|
|
13
|
-
development?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
email: {
|
|
16
|
-
github: string;
|
|
17
|
-
npm: string;
|
|
18
|
-
};
|
|
19
|
-
title: string;
|
|
20
|
-
node: {
|
|
21
|
-
minimum: string;
|
|
22
|
-
pinned?: string | undefined;
|
|
23
|
-
};
|
|
24
|
-
owner: string;
|
|
25
|
-
repository: string;
|
|
26
|
-
type?: "commonjs" | "module" | undefined;
|
|
27
|
-
author?: string | undefined;
|
|
28
|
-
bin?: string | Record<string, string> | undefined;
|
|
29
|
-
contributors?: {
|
|
30
|
-
avatar_url: string;
|
|
31
|
-
contributions: string[];
|
|
32
|
-
login: string;
|
|
33
|
-
name: string;
|
|
34
|
-
profile: string;
|
|
35
|
-
}[] | undefined;
|
|
36
|
-
emoji?: string | undefined;
|
|
37
|
-
existingLabels?: {
|
|
38
|
-
name: string;
|
|
39
|
-
description: string;
|
|
40
|
-
color: string;
|
|
41
|
-
}[] | undefined;
|
|
42
|
-
funding?: string | undefined;
|
|
43
|
-
guide?: {
|
|
44
|
-
href: string;
|
|
45
|
-
title: string;
|
|
46
|
-
} | undefined;
|
|
47
|
-
keywords?: string[] | undefined;
|
|
48
|
-
logo?: {
|
|
49
|
-
alt: string;
|
|
50
|
-
src: string;
|
|
51
|
-
height?: number | undefined;
|
|
52
|
-
width?: number | undefined;
|
|
53
|
-
} | undefined;
|
|
54
|
-
packageData?: {
|
|
55
|
-
dependencies?: Record<string, string> | undefined;
|
|
56
|
-
devDependencies?: Record<string, string> | undefined;
|
|
57
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
58
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
59
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
pnpm?: string | undefined;
|
|
62
|
-
rulesetId?: string | undefined;
|
|
63
|
-
version?: string | undefined;
|
|
64
|
-
words?: string[] | undefined;
|
|
65
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
66
|
-
pinned?: boolean | undefined;
|
|
67
|
-
hash?: string | undefined;
|
|
68
|
-
}>> | undefined;
|
|
69
|
-
}>;
|
|
70
|
-
//#endregion
|
|
71
|
-
export { blockFunding };
|
|
72
|
-
//# sourceMappingURL=blockFunding.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockFunding.d.ts","names":[],"sources":["../../src/blocks/blockFunding.ts"],"mappings":";cAGa,sCAAY"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { base } from "../base.js";
|
|
2
|
-
import { formatYaml } from "./files/formatYaml.js";
|
|
3
|
-
//#region src/blocks/blockFunding.ts
|
|
4
|
-
const blockFunding = base.createBlock({
|
|
5
|
-
about: { name: "Funding" },
|
|
6
|
-
produce({ options }) {
|
|
7
|
-
return { files: { ".github": { "FUNDING.yaml": options.funding && formatYaml({ github: options.funding }) } } };
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
//#endregion
|
|
11
|
-
export { blockFunding };
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=blockFunding.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockFunding.js","names":[],"sources":["../../src/blocks/blockFunding.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { formatYaml } from \"./files/formatYaml.js\";\n\nexport const blockFunding = base.createBlock({\n\tabout: {\n\t\tname: \"Funding\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\t\"FUNDING.yaml\":\n\t\t\t\t\t\toptions.funding && formatYaml({ github: options.funding }),\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;AAGA,MAAa,eAAe,KAAK,YAAY;CAC5C,OAAO,EACN,MAAM,UACP;CACA,QAAQ,EAAE,WAAW;EACpB,OAAO,EACN,OAAO,EACN,WAAW,EACV,gBACC,QAAQ,WAAW,WAAW,EAAE,QAAQ,QAAQ,QAAQ,CAAC,EAC3D,EACD,EACD;CACD;AACD,CAAC"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockGitHubActionsCI.d.ts
|
|
2
|
-
declare const blockGitHubActionsCI: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
-
jobs?: {
|
|
4
|
-
name: string;
|
|
5
|
-
steps: ({
|
|
6
|
-
with?: Record<string, string> | undefined;
|
|
7
|
-
env?: Record<string, string> | undefined;
|
|
8
|
-
if?: string | undefined;
|
|
9
|
-
} & ({
|
|
10
|
-
run: string;
|
|
11
|
-
} | {
|
|
12
|
-
uses: string;
|
|
13
|
-
}))[];
|
|
14
|
-
checkoutWith?: Record<string, string> | undefined;
|
|
15
|
-
if?: string | undefined;
|
|
16
|
-
}[] | undefined;
|
|
17
|
-
nodeVersion?: string | number | undefined;
|
|
18
|
-
}, {
|
|
19
|
-
access: "public" | "restricted";
|
|
20
|
-
description: string;
|
|
21
|
-
directory: string;
|
|
22
|
-
documentation: {
|
|
23
|
-
readme: {
|
|
24
|
-
additional?: string | undefined;
|
|
25
|
-
explainer?: string | undefined;
|
|
26
|
-
footnotes?: string | undefined;
|
|
27
|
-
usage?: string | undefined;
|
|
28
|
-
};
|
|
29
|
-
development?: string | undefined;
|
|
30
|
-
};
|
|
31
|
-
email: {
|
|
32
|
-
github: string;
|
|
33
|
-
npm: string;
|
|
34
|
-
};
|
|
35
|
-
title: string;
|
|
36
|
-
node: {
|
|
37
|
-
minimum: string;
|
|
38
|
-
pinned?: string | undefined;
|
|
39
|
-
};
|
|
40
|
-
owner: string;
|
|
41
|
-
repository: string;
|
|
42
|
-
type?: "commonjs" | "module" | undefined;
|
|
43
|
-
author?: string | undefined;
|
|
44
|
-
bin?: string | Record<string, string> | undefined;
|
|
45
|
-
contributors?: {
|
|
46
|
-
avatar_url: string;
|
|
47
|
-
contributions: string[];
|
|
48
|
-
login: string;
|
|
49
|
-
name: string;
|
|
50
|
-
profile: string;
|
|
51
|
-
}[] | undefined;
|
|
52
|
-
emoji?: string | undefined;
|
|
53
|
-
existingLabels?: {
|
|
54
|
-
name: string;
|
|
55
|
-
description: string;
|
|
56
|
-
color: string;
|
|
57
|
-
}[] | undefined;
|
|
58
|
-
funding?: string | undefined;
|
|
59
|
-
guide?: {
|
|
60
|
-
href: string;
|
|
61
|
-
title: string;
|
|
62
|
-
} | undefined;
|
|
63
|
-
keywords?: string[] | undefined;
|
|
64
|
-
logo?: {
|
|
65
|
-
alt: string;
|
|
66
|
-
src: string;
|
|
67
|
-
height?: number | undefined;
|
|
68
|
-
width?: number | undefined;
|
|
69
|
-
} | undefined;
|
|
70
|
-
packageData?: {
|
|
71
|
-
dependencies?: Record<string, string> | undefined;
|
|
72
|
-
devDependencies?: Record<string, string> | undefined;
|
|
73
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
74
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
75
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
76
|
-
} | undefined;
|
|
77
|
-
pnpm?: string | undefined;
|
|
78
|
-
rulesetId?: string | undefined;
|
|
79
|
-
version?: string | undefined;
|
|
80
|
-
words?: string[] | undefined;
|
|
81
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
82
|
-
pinned?: boolean | undefined;
|
|
83
|
-
hash?: string | undefined;
|
|
84
|
-
}>> | undefined;
|
|
85
|
-
}>;
|
|
86
|
-
//#endregion
|
|
87
|
-
export { blockGitHubActionsCI };
|
|
88
|
-
//# sourceMappingURL=blockGitHubActionsCI.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockGitHubActionsCI.d.ts","names":[],"sources":["../../src/blocks/blockGitHubActionsCI.ts"],"mappings":";cAWa,8CAAoB"}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { base } from "../base.js";
|
|
2
|
-
import { resolveUses } from "./actions/resolveUses.js";
|
|
3
|
-
import { intakeFileYamlSteps, zActionStep } from "./actions/steps.js";
|
|
4
|
-
import { blockRemoveFiles } from "./blockRemoveFiles.js";
|
|
5
|
-
import { blockRepositoryBranchRuleset } from "./blockRepositoryBranchRuleset.js";
|
|
6
|
-
import { formatYaml } from "./files/formatYaml.js";
|
|
7
|
-
import { createMultiWorkflowFile } from "./files/createMultiWorkflowFile.js";
|
|
8
|
-
import { createSoloWorkflowFile } from "./files/createSoloWorkflowFile.js";
|
|
9
|
-
import { z } from "zod";
|
|
10
|
-
//#region src/blocks/blockGitHubActionsCI.ts
|
|
11
|
-
const blockGitHubActionsCI = base.createBlock({
|
|
12
|
-
about: { name: "GitHub Actions CI" },
|
|
13
|
-
addons: {
|
|
14
|
-
jobs: z.array(z.object({
|
|
15
|
-
checkoutWith: z.record(z.string(), z.string()).optional(),
|
|
16
|
-
if: z.string().optional(),
|
|
17
|
-
name: z.string(),
|
|
18
|
-
steps: z.array(zActionStep)
|
|
19
|
-
})).optional(),
|
|
20
|
-
nodeVersion: z.union([z.number(), z.string()]).optional()
|
|
21
|
-
},
|
|
22
|
-
intake({ files }) {
|
|
23
|
-
const steps = intakeFileYamlSteps(files, [
|
|
24
|
-
".github",
|
|
25
|
-
"actions",
|
|
26
|
-
"prepare",
|
|
27
|
-
"action.yaml"
|
|
28
|
-
], ["runs", "steps"]);
|
|
29
|
-
if (!steps) return;
|
|
30
|
-
const setupNodeStep = steps.find((step) => typeof step.uses === "string" && step.uses.startsWith("actions/setup-node"));
|
|
31
|
-
if (!setupNodeStep) return;
|
|
32
|
-
const nodeVersion = setupNodeStep.with?.["node-version"];
|
|
33
|
-
if (!nodeVersion) return;
|
|
34
|
-
return { nodeVersion };
|
|
35
|
-
},
|
|
36
|
-
produce({ addons, options }) {
|
|
37
|
-
const { jobs, nodeVersion = options.node.pinned ?? options.node.minimum } = addons;
|
|
38
|
-
return {
|
|
39
|
-
addons: [blockRepositoryBranchRuleset({ requiredStatusChecks: jobs?.map((job) => job.name) })],
|
|
40
|
-
files: { ".github": {
|
|
41
|
-
actions: { prepare: { "action.yaml": formatYaml({
|
|
42
|
-
description: "Prepares the repo for a typical CI job",
|
|
43
|
-
name: "Prepare",
|
|
44
|
-
runs: {
|
|
45
|
-
steps: [
|
|
46
|
-
{ uses: resolveUses("pnpm/action-setup", "v4", options.workflowsVersions) },
|
|
47
|
-
{
|
|
48
|
-
uses: resolveUses("actions/setup-node", "v4", options.workflowsVersions),
|
|
49
|
-
with: {
|
|
50
|
-
cache: "pnpm",
|
|
51
|
-
"node-version": nodeVersion
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
run: "pnpm install --frozen-lockfile",
|
|
56
|
-
shell: "bash"
|
|
57
|
-
}
|
|
58
|
-
],
|
|
59
|
-
using: "composite"
|
|
60
|
-
}
|
|
61
|
-
}) } },
|
|
62
|
-
workflows: {
|
|
63
|
-
"ci.yaml": jobs && createMultiWorkflowFile({
|
|
64
|
-
jobs: jobs.sort((a, b) => a.name.localeCompare(b.name)),
|
|
65
|
-
name: "CI",
|
|
66
|
-
workflowsVersions: options.workflowsVersions
|
|
67
|
-
}),
|
|
68
|
-
"pr-review-requested.yaml": createSoloWorkflowFile({
|
|
69
|
-
name: "PR Review Requested",
|
|
70
|
-
on: { pull_request_target: { types: ["review_requested"] } },
|
|
71
|
-
permissions: { "pull-requests": "write" },
|
|
72
|
-
steps: [{
|
|
73
|
-
uses: resolveUses("actions-ecosystem/action-remove-labels", "v1", options.workflowsVersions),
|
|
74
|
-
with: { labels: "status: waiting for author" }
|
|
75
|
-
}, {
|
|
76
|
-
if: "failure()",
|
|
77
|
-
run: "echo \"Don't worry if the previous step failed.\"\necho \"See https://github.com/actions-ecosystem/action-remove-labels/issues/221.\"\n"
|
|
78
|
-
}]
|
|
79
|
-
})
|
|
80
|
-
}
|
|
81
|
-
} }
|
|
82
|
-
};
|
|
83
|
-
},
|
|
84
|
-
transition() {
|
|
85
|
-
return { addons: [blockRemoveFiles({ files: [".circleci", "travis.yaml"] })] };
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
//#endregion
|
|
89
|
-
export { blockGitHubActionsCI };
|
|
90
|
-
|
|
91
|
-
//# sourceMappingURL=blockGitHubActionsCI.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockGitHubActionsCI.js","names":[],"sources":["../../src/blocks/blockGitHubActionsCI.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { resolveUses } from \"./actions/resolveUses.js\";\nimport { intakeFileYamlSteps, zActionStep } from \"./actions/steps.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { blockRepositoryBranchRuleset } from \"./blockRepositoryBranchRuleset.js\";\nimport { createMultiWorkflowFile } from \"./files/createMultiWorkflowFile.js\";\nimport { createSoloWorkflowFile } from \"./files/createSoloWorkflowFile.js\";\nimport { formatYaml } from \"./files/formatYaml.js\";\n\nexport const blockGitHubActionsCI = base.createBlock({\n\tabout: {\n\t\tname: \"GitHub Actions CI\",\n\t},\n\taddons: {\n\t\tjobs: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\tcheckoutWith: z.record(z.string(), z.string()).optional(),\n\t\t\t\t\tif: z.string().optional(),\n\t\t\t\t\tname: z.string(),\n\t\t\t\t\tsteps: z.array(zActionStep),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.optional(),\n\t\tnodeVersion: z.union([z.number(), z.string()]).optional(),\n\t},\n\tintake({ files }) {\n\t\tconst steps = intakeFileYamlSteps(\n\t\t\tfiles,\n\t\t\t[\".github\", \"actions\", \"prepare\", \"action.yaml\"],\n\t\t\t[\"runs\", \"steps\"],\n\t\t);\n\t\tif (!steps) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst setupNodeStep = steps.find(\n\t\t\t(step) =>\n\t\t\t\ttypeof step.uses === \"string\" &&\n\t\t\t\tstep.uses.startsWith(\"actions/setup-node\"),\n\t\t);\n\t\tif (!setupNodeStep) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst nodeVersion = setupNodeStep.with?.[\"node-version\"];\n\t\tif (!nodeVersion) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn { nodeVersion };\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { jobs, nodeVersion = options.node.pinned ?? options.node.minimum } =\n\t\t\taddons;\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRepositoryBranchRuleset({\n\t\t\t\t\trequiredStatusChecks: jobs?.map((job) => job.name),\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\tactions: {\n\t\t\t\t\t\tprepare: {\n\t\t\t\t\t\t\t\"action.yaml\": formatYaml({\n\t\t\t\t\t\t\t\tdescription: \"Prepares the repo for a typical CI job\",\n\t\t\t\t\t\t\t\tname: \"Prepare\",\n\t\t\t\t\t\t\t\truns: {\n\t\t\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\t\t\"pnpm/action-setup\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"v4\",\n\t\t\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\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{\n\t\t\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\t\t\"actions/setup-node\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"v4\",\n\t\t\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\t\t\tcache: \"pnpm\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"node-version\": nodeVersion,\n\t\t\t\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{\n\t\t\t\t\t\t\t\t\t\t\trun: \"pnpm install --frozen-lockfile\",\n\t\t\t\t\t\t\t\t\t\t\tshell: \"bash\",\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\tusing: \"composite\",\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\tworkflows: {\n\t\t\t\t\t\t\"ci.yaml\":\n\t\t\t\t\t\t\tjobs &&\n\t\t\t\t\t\t\tcreateMultiWorkflowFile({\n\t\t\t\t\t\t\t\tjobs: jobs.sort((a, b) => a.name.localeCompare(b.name)),\n\t\t\t\t\t\t\t\tname: \"CI\",\n\t\t\t\t\t\t\t\tworkflowsVersions: options.workflowsVersions,\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"pr-review-requested.yaml\": createSoloWorkflowFile({\n\t\t\t\t\t\t\tname: \"PR Review Requested\",\n\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\tpull_request_target: {\n\t\t\t\t\t\t\t\t\ttypes: [\"review_requested\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tpermissions: {\n\t\t\t\t\t\t\t\t\"pull-requests\": \"write\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"actions-ecosystem/action-remove-labels\",\n\t\t\t\t\t\t\t\t\t\t\"v1\",\n\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\tlabels: \"status: waiting for author\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif: \"failure()\",\n\t\t\t\t\t\t\t\t\trun: 'echo \"Don\\'t worry if the previous step failed.\"\\necho \"See https://github.com/actions-ecosystem/action-remove-labels/issues/221.\"\\n',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\".circleci\", \"travis.yaml\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;AAWA,MAAa,uBAAuB,KAAK,YAAY;CACpD,OAAO,EACN,MAAM,oBACP;CACA,QAAQ;EACP,MAAM,EACJ,MACA,EAAE,OAAO;GACR,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS;GACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS;GACxB,MAAM,EAAE,OAAO;GACf,OAAO,EAAE,MAAM,WAAW;EAC3B,CAAC,CACF,CAAC,CACA,SAAS;EACX,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CACzD;CACA,OAAO,EAAE,SAAS;EACjB,MAAM,QAAQ,oBACb,OACA;GAAC;GAAW;GAAW;GAAW;EAAa,GAC/C,CAAC,QAAQ,OAAO,CACjB;EACA,IAAI,CAAC,OACJ;EAGD,MAAM,gBAAgB,MAAM,MAC1B,SACA,OAAO,KAAK,SAAS,YACrB,KAAK,KAAK,WAAW,oBAAoB,CAC3C;EACA,IAAI,CAAC,eACJ;EAGD,MAAM,cAAc,cAAc,OAAO;EACzC,IAAI,CAAC,aACJ;EAGD,OAAO,EAAE,YAAY;CACtB;CACA,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,MAAM,cAAc,QAAQ,KAAK,UAAU,QAAQ,KAAK,YAC/D;EAED,OAAO;GACN,QAAQ,CACP,6BAA6B,EAC5B,sBAAsB,MAAM,KAAK,QAAQ,IAAI,IAAI,EAClD,CAAC,CACF;GACA,OAAO,EACN,WAAW;IACV,SAAS,EACR,SAAS,EACR,eAAe,WAAW;KACzB,aAAa;KACb,MAAM;KACN,MAAM;MACL,OAAO;OACN,EACC,MAAM,YACL,qBACA,MACA,QAAQ,iBACT,EACD;OACA;QACC,MAAM,YACL,sBACA,MACA,QAAQ,iBACT;QACA,MAAM;SACL,OAAO;SACP,gBAAgB;QACjB;OACD;OACA;QACC,KAAK;QACL,OAAO;OACR;MACD;MACA,OAAO;KACR;IACD,CAAC,EACF,EACD;IACA,WAAW;KACV,WACC,QACA,wBAAwB;MACvB,MAAM,KAAK,MAAM,GAAG,MAAM,EAAE,KAAK,cAAc,EAAE,IAAI,CAAC;MACtD,MAAM;MACN,mBAAmB,QAAQ;KAC5B,CAAC;KACF,4BAA4B,uBAAuB;MAClD,MAAM;MACN,IAAI,EACH,qBAAqB,EACpB,OAAO,CAAC,kBAAkB,EAC3B,EACD;MACA,aAAa,EACZ,iBAAiB,QAClB;MACA,OAAO,CACN;OACC,MAAM,YACL,0CACA,MACA,QAAQ,iBACT;OACA,MAAM,EACL,QAAQ,6BACT;MACD,GACA;OACC,IAAI;OACJ,KAAK;MACN,CACD;KACD,CAAC;IACF;GACD,EACD;EACD;CACD;CACA,aAAa;EACZ,OAAO,EACN,QAAQ,CACP,iBAAiB,EAChB,OAAO,CAAC,aAAa,aAAa,EACnC,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockGitHubApps.d.ts
|
|
2
|
-
declare const blockGitHubApps: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
-
apps: {
|
|
4
|
-
name: string;
|
|
5
|
-
url: string;
|
|
6
|
-
}[];
|
|
7
|
-
}, {
|
|
8
|
-
access: "public" | "restricted";
|
|
9
|
-
description: string;
|
|
10
|
-
directory: string;
|
|
11
|
-
documentation: {
|
|
12
|
-
readme: {
|
|
13
|
-
additional?: string | undefined;
|
|
14
|
-
explainer?: string | undefined;
|
|
15
|
-
footnotes?: string | undefined;
|
|
16
|
-
usage?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
development?: string | undefined;
|
|
19
|
-
};
|
|
20
|
-
email: {
|
|
21
|
-
github: string;
|
|
22
|
-
npm: string;
|
|
23
|
-
};
|
|
24
|
-
title: string;
|
|
25
|
-
node: {
|
|
26
|
-
minimum: string;
|
|
27
|
-
pinned?: string | undefined;
|
|
28
|
-
};
|
|
29
|
-
owner: string;
|
|
30
|
-
repository: string;
|
|
31
|
-
type?: "commonjs" | "module" | undefined;
|
|
32
|
-
author?: string | undefined;
|
|
33
|
-
bin?: string | Record<string, string> | undefined;
|
|
34
|
-
contributors?: {
|
|
35
|
-
avatar_url: string;
|
|
36
|
-
contributions: string[];
|
|
37
|
-
login: string;
|
|
38
|
-
name: string;
|
|
39
|
-
profile: string;
|
|
40
|
-
}[] | undefined;
|
|
41
|
-
emoji?: string | undefined;
|
|
42
|
-
existingLabels?: {
|
|
43
|
-
name: string;
|
|
44
|
-
description: string;
|
|
45
|
-
color: string;
|
|
46
|
-
}[] | undefined;
|
|
47
|
-
funding?: string | undefined;
|
|
48
|
-
guide?: {
|
|
49
|
-
href: string;
|
|
50
|
-
title: string;
|
|
51
|
-
} | undefined;
|
|
52
|
-
keywords?: string[] | undefined;
|
|
53
|
-
logo?: {
|
|
54
|
-
alt: string;
|
|
55
|
-
src: string;
|
|
56
|
-
height?: number | undefined;
|
|
57
|
-
width?: number | undefined;
|
|
58
|
-
} | undefined;
|
|
59
|
-
packageData?: {
|
|
60
|
-
dependencies?: Record<string, string> | undefined;
|
|
61
|
-
devDependencies?: Record<string, string> | undefined;
|
|
62
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
63
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
64
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
65
|
-
} | undefined;
|
|
66
|
-
pnpm?: string | undefined;
|
|
67
|
-
rulesetId?: string | undefined;
|
|
68
|
-
version?: string | undefined;
|
|
69
|
-
words?: string[] | undefined;
|
|
70
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
71
|
-
pinned?: boolean | undefined;
|
|
72
|
-
hash?: string | undefined;
|
|
73
|
-
}>> | undefined;
|
|
74
|
-
}>;
|
|
75
|
-
//#endregion
|
|
76
|
-
export { blockGitHubApps };
|
|
77
|
-
//# sourceMappingURL=blockGitHubApps.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockGitHubApps.d.ts","names":[],"sources":["../../src/blocks/blockGitHubApps.ts"],"mappings":";cAKa,yCAAe"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { base } from "../base.js";
|
|
2
|
-
import { getInstallationSuggestions } from "./getInstallationSuggestions.js";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
//#region src/blocks/blockGitHubApps.ts
|
|
5
|
-
const blockGitHubApps = base.createBlock({
|
|
6
|
-
about: { name: "GitHub Apps" },
|
|
7
|
-
addons: { apps: z.array(z.object({
|
|
8
|
-
name: z.string(),
|
|
9
|
-
url: z.string()
|
|
10
|
-
})).default([]) },
|
|
11
|
-
produce({ addons, options }) {
|
|
12
|
-
return { suggestions: getInstallationSuggestions("enable the GitHub app", addons.apps.map((app) => `${app.name} (${app.url})`), `https://github.com/${options.owner}/${options.repository}/settings/installations`) };
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
//#endregion
|
|
16
|
-
export { blockGitHubApps };
|
|
17
|
-
|
|
18
|
-
//# sourceMappingURL=blockGitHubApps.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockGitHubApps.js","names":[],"sources":["../../src/blocks/blockGitHubApps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getInstallationSuggestions } from \"./getInstallationSuggestions.js\";\n\nexport const blockGitHubApps = base.createBlock({\n\tabout: {\n\t\tname: \"GitHub Apps\",\n\t},\n\taddons: {\n\t\tapps: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\tname: z.string(),\n\t\t\t\t\turl: z.string(),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.default([]),\n\t},\n\tproduce({ addons, options }) {\n\t\treturn {\n\t\t\tsuggestions: getInstallationSuggestions(\n\t\t\t\t\"enable the GitHub app\",\n\t\t\t\taddons.apps.map((app) => `${app.name} (${app.url})`),\n\t\t\t\t`https://github.com/${options.owner}/${options.repository}/settings/installations`,\n\t\t\t),\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAKA,MAAa,kBAAkB,KAAK,YAAY;CAC/C,OAAO,EACN,MAAM,cACP;CACA,QAAQ,EACP,MAAM,EACJ,MACA,EAAE,OAAO;EACR,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,OAAO;CACf,CAAC,CACF,CAAC,CACA,QAAQ,CAAC,CAAC,EACb;CACA,QAAQ,EAAE,QAAQ,WAAW;EAC5B,OAAO,EACN,aAAa,2BACZ,yBACA,OAAO,KAAK,KAAK,QAAQ,GAAG,IAAI,KAAK,IAAI,IAAI,IAAI,EAAE,GACnD,sBAAsB,QAAQ,MAAM,GAAG,QAAQ,WAAW,wBAC3D,EACD;CACD;AACD,CAAC"}
|