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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-typescript-app",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.65.0",
|
|
4
4
|
"description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"sideEffects": false,
|
|
15
15
|
"type": "module",
|
|
16
16
|
"exports": {
|
|
17
|
-
".": "./
|
|
17
|
+
".": "./dist/index.mjs"
|
|
18
18
|
},
|
|
19
19
|
"bin": "bin/index.js",
|
|
20
20
|
"files": [
|
|
21
|
-
"
|
|
21
|
+
"dist/"
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
24
|
"build": "tsdown",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"input-from-file": "^0.5.5",
|
|
48
48
|
"input-from-file-json": "^0.5.5",
|
|
49
49
|
"input-from-script": "^0.5.5",
|
|
50
|
-
"js-yaml": "^
|
|
50
|
+
"js-yaml": "^5.0.0",
|
|
51
51
|
"json5": "^2.2.3",
|
|
52
52
|
"lazy-value": "^3.0.0",
|
|
53
53
|
"lodash": "^4.18.1",
|
|
@@ -75,7 +75,6 @@
|
|
|
75
75
|
"@prettier/sync": "0.6.1",
|
|
76
76
|
"@release-it/conventional-changelog": "12.0.0",
|
|
77
77
|
"@types/html-to-text": "9.0.4",
|
|
78
|
-
"@types/js-yaml": "4.0.9",
|
|
79
78
|
"@types/lodash": "4.17.25",
|
|
80
79
|
"@types/node": "26.2.0",
|
|
81
80
|
"@types/parse-author": "2.0.3",
|
|
@@ -91,6 +90,7 @@
|
|
|
91
90
|
"eslint": "10.8.1",
|
|
92
91
|
"eslint-plugin-jsdoc": "64.2.1",
|
|
93
92
|
"eslint-plugin-jsonc": "3.4.1",
|
|
93
|
+
"eslint-plugin-markdown-links": "0.9.1",
|
|
94
94
|
"eslint-plugin-n": "18.3.0",
|
|
95
95
|
"eslint-plugin-package-json": "1.7.1",
|
|
96
96
|
"eslint-plugin-perfectionist": "5.10.1",
|
|
@@ -102,6 +102,7 @@
|
|
|
102
102
|
"prettier": "3.9.6",
|
|
103
103
|
"prettier-plugin-curly": "0.4.1",
|
|
104
104
|
"prettier-plugin-packagejson": "3.0.2",
|
|
105
|
+
"prettier-plugin-padding-lines": "0.1.0",
|
|
105
106
|
"prettier-plugin-sentences-per-line": "0.2.4",
|
|
106
107
|
"prettier-plugin-sh": "0.19.0",
|
|
107
108
|
"release-it": "21.0.2",
|
|
@@ -110,8 +111,8 @@
|
|
|
110
111
|
"typescript-eslint": "8.67.0",
|
|
111
112
|
"vitest": "4.1.10"
|
|
112
113
|
},
|
|
113
|
-
"packageManager": "pnpm@
|
|
114
|
+
"packageManager": "pnpm@11.24.0",
|
|
114
115
|
"engines": {
|
|
115
|
-
"node": ">=
|
|
116
|
+
"node": "^22.13.0 || ^24.11.0 || >=26.0.0"
|
|
116
117
|
}
|
|
117
118
|
}
|
package/lib/base.d.ts
DELETED
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
import { BaseOptionsFor } from "bingo-stratum";
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
//#region src/base.d.ts
|
|
4
|
-
declare const base: import("bingo-stratum").Base<{
|
|
5
|
-
access: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"restricted">]>;
|
|
6
|
-
author: z.ZodOptional<z.ZodString>;
|
|
7
|
-
bin: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
8
|
-
contributors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9
|
-
avatar_url: z.ZodString;
|
|
10
|
-
contributions: z.ZodArray<z.ZodString, "many">;
|
|
11
|
-
login: z.ZodString;
|
|
12
|
-
name: z.ZodString;
|
|
13
|
-
profile: z.ZodString;
|
|
14
|
-
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
avatar_url: string;
|
|
16
|
-
contributions: string[];
|
|
17
|
-
login: string;
|
|
18
|
-
name: string;
|
|
19
|
-
profile: string;
|
|
20
|
-
}, {
|
|
21
|
-
avatar_url: string;
|
|
22
|
-
contributions: string[];
|
|
23
|
-
login: string;
|
|
24
|
-
name: string;
|
|
25
|
-
profile: string;
|
|
26
|
-
}>, "many">>;
|
|
27
|
-
description: z.ZodDefault<z.ZodString>;
|
|
28
|
-
directory: z.ZodString;
|
|
29
|
-
documentation: z.ZodObject<{
|
|
30
|
-
development: z.ZodOptional<z.ZodString>;
|
|
31
|
-
readme: z.ZodObject<{
|
|
32
|
-
additional: z.ZodOptional<z.ZodString>;
|
|
33
|
-
explainer: z.ZodOptional<z.ZodString>;
|
|
34
|
-
footnotes: z.ZodOptional<z.ZodString>;
|
|
35
|
-
usage: z.ZodOptional<z.ZodString>;
|
|
36
|
-
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
additional?: string | undefined;
|
|
38
|
-
explainer?: string | undefined;
|
|
39
|
-
footnotes?: string | undefined;
|
|
40
|
-
usage?: string | undefined;
|
|
41
|
-
}, {
|
|
42
|
-
additional?: string | undefined;
|
|
43
|
-
explainer?: string | undefined;
|
|
44
|
-
footnotes?: string | undefined;
|
|
45
|
-
usage?: string | undefined;
|
|
46
|
-
}>;
|
|
47
|
-
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
readme: {
|
|
49
|
-
additional?: string | undefined;
|
|
50
|
-
explainer?: string | undefined;
|
|
51
|
-
footnotes?: string | undefined;
|
|
52
|
-
usage?: string | undefined;
|
|
53
|
-
};
|
|
54
|
-
development?: string | undefined;
|
|
55
|
-
}, {
|
|
56
|
-
readme: {
|
|
57
|
-
additional?: string | undefined;
|
|
58
|
-
explainer?: string | undefined;
|
|
59
|
-
footnotes?: string | undefined;
|
|
60
|
-
usage?: string | undefined;
|
|
61
|
-
};
|
|
62
|
-
development?: string | undefined;
|
|
63
|
-
}>;
|
|
64
|
-
email: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
65
|
-
github: z.ZodString;
|
|
66
|
-
npm: z.ZodString;
|
|
67
|
-
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
github: string;
|
|
69
|
-
npm: string;
|
|
70
|
-
}, {
|
|
71
|
-
github: string;
|
|
72
|
-
npm: string;
|
|
73
|
-
}>]>, {
|
|
74
|
-
github: string;
|
|
75
|
-
npm: string;
|
|
76
|
-
}, string | {
|
|
77
|
-
github: string;
|
|
78
|
-
npm: string;
|
|
79
|
-
}>;
|
|
80
|
-
emoji: z.ZodOptional<z.ZodString>;
|
|
81
|
-
existingLabels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
82
|
-
color: z.ZodString;
|
|
83
|
-
description: z.ZodString;
|
|
84
|
-
name: z.ZodString;
|
|
85
|
-
}, "strip", z.ZodTypeAny, {
|
|
86
|
-
name: string;
|
|
87
|
-
description: string;
|
|
88
|
-
color: string;
|
|
89
|
-
}, {
|
|
90
|
-
name: string;
|
|
91
|
-
description: string;
|
|
92
|
-
color: string;
|
|
93
|
-
}>, "many">>;
|
|
94
|
-
funding: z.ZodOptional<z.ZodString>;
|
|
95
|
-
guide: z.ZodOptional<z.ZodObject<{
|
|
96
|
-
href: z.ZodString;
|
|
97
|
-
title: z.ZodString;
|
|
98
|
-
}, "strip", z.ZodTypeAny, {
|
|
99
|
-
href: string;
|
|
100
|
-
title: string;
|
|
101
|
-
}, {
|
|
102
|
-
href: string;
|
|
103
|
-
title: string;
|
|
104
|
-
}>>;
|
|
105
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
106
|
-
logo: z.ZodOptional<z.ZodObject<{
|
|
107
|
-
alt: z.ZodString;
|
|
108
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
109
|
-
src: z.ZodString;
|
|
110
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
111
|
-
}, "strip", z.ZodTypeAny, {
|
|
112
|
-
alt: string;
|
|
113
|
-
src: string;
|
|
114
|
-
height?: number | undefined;
|
|
115
|
-
width?: number | undefined;
|
|
116
|
-
}, {
|
|
117
|
-
alt: string;
|
|
118
|
-
src: string;
|
|
119
|
-
height?: number | undefined;
|
|
120
|
-
width?: number | undefined;
|
|
121
|
-
}>>;
|
|
122
|
-
node: z.ZodObject<{
|
|
123
|
-
minimum: z.ZodString;
|
|
124
|
-
pinned: z.ZodOptional<z.ZodString>;
|
|
125
|
-
}, "strip", z.ZodTypeAny, {
|
|
126
|
-
minimum: string;
|
|
127
|
-
pinned?: string | undefined;
|
|
128
|
-
}, {
|
|
129
|
-
minimum: string;
|
|
130
|
-
pinned?: string | undefined;
|
|
131
|
-
}>;
|
|
132
|
-
owner: z.ZodString;
|
|
133
|
-
packageData: z.ZodOptional<z.ZodObject<{
|
|
134
|
-
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
135
|
-
devDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
136
|
-
peerDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
137
|
-
peerDependenciesMeta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
138
|
-
scripts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
139
|
-
}, "strip", z.ZodTypeAny, {
|
|
140
|
-
dependencies?: Record<string, string> | undefined;
|
|
141
|
-
devDependencies?: Record<string, string> | undefined;
|
|
142
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
143
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
144
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
145
|
-
}, {
|
|
146
|
-
dependencies?: Record<string, string> | undefined;
|
|
147
|
-
devDependencies?: Record<string, string> | undefined;
|
|
148
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
149
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
150
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
151
|
-
}>>;
|
|
152
|
-
pnpm: z.ZodOptional<z.ZodString>;
|
|
153
|
-
repository: z.ZodString;
|
|
154
|
-
rulesetId: z.ZodOptional<z.ZodString>;
|
|
155
|
-
title: z.ZodString;
|
|
156
|
-
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"commonjs">, z.ZodLiteral<"module">]>>;
|
|
157
|
-
version: z.ZodOptional<z.ZodString>;
|
|
158
|
-
words: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
159
|
-
workflowsVersions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
160
|
-
hash: z.ZodOptional<z.ZodString>;
|
|
161
|
-
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
162
|
-
}, "strip", z.ZodTypeAny, {
|
|
163
|
-
pinned?: boolean | undefined;
|
|
164
|
-
hash?: string | undefined;
|
|
165
|
-
}, {
|
|
166
|
-
pinned?: boolean | undefined;
|
|
167
|
-
hash?: string | undefined;
|
|
168
|
-
}>>>>;
|
|
169
|
-
}>;
|
|
170
|
-
type BaseOptions = BaseOptionsFor<typeof base> & {
|
|
171
|
-
preset?: string;
|
|
172
|
-
};
|
|
173
|
-
//#endregion
|
|
174
|
-
export { BaseOptions, base };
|
|
175
|
-
//# sourceMappingURL=base.d.ts.map
|
package/lib/base.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","names":[],"sources":["../src/base.ts"],"mappings":";;;cA0Ca,8BAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAyTL,cAAc,sBAAsB;EAAU"}
|
package/lib/base.js
DELETED
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { readAccess } from "./options/readAccess.js";
|
|
2
|
-
import { readAllContributors } from "./options/readAllContributors.js";
|
|
3
|
-
import { readAuthor } from "./options/readAuthor.js";
|
|
4
|
-
import { readBin } from "./options/readBin.js";
|
|
5
|
-
import { readDescription } from "./options/readDescription.js";
|
|
6
|
-
import { readDevelopmentDocumentation } from "./options/readDevelopmentDocumentation.js";
|
|
7
|
-
import { readDocumentation } from "./options/readDocumentation.js";
|
|
8
|
-
import { readEmailFromCodeOfConduct } from "./options/readEmailFromCodeOfConduct.js";
|
|
9
|
-
import { readEmailFromGit } from "./options/readEmailFromGit.js";
|
|
10
|
-
import { readEmailFromNpm } from "./options/readEmailFromNpm.js";
|
|
11
|
-
import { readEmails } from "./options/readEmails.js";
|
|
12
|
-
import { readEmoji } from "./options/readEmoji.js";
|
|
13
|
-
import { readExistingLabels } from "./options/readExistingLabels.js";
|
|
14
|
-
import { readFileSafe } from "./options/readFileSafe.js";
|
|
15
|
-
import { readFunding } from "./options/readFunding.js";
|
|
16
|
-
import { readGitDefaults } from "./options/readGitDefaults.js";
|
|
17
|
-
import { readGuide } from "./options/readGuide.js";
|
|
18
|
-
import { readKeywords } from "./options/readKeywords.js";
|
|
19
|
-
import { readLogo } from "./options/readLogo.js";
|
|
20
|
-
import { readNode } from "./options/readNode.js";
|
|
21
|
-
import { readNpmDefaults } from "./options/readNpmDefaults.js";
|
|
22
|
-
import { readOwner } from "./options/readOwner.js";
|
|
23
|
-
import { readPackageAuthor } from "./options/readPackageAuthor.js";
|
|
24
|
-
import { readPackageData } from "./options/readPackageData.js";
|
|
25
|
-
import { readPnpm } from "./options/readPnpm.js";
|
|
26
|
-
import { readReadmeFootnotes } from "./options/readReadmeFootnotes.js";
|
|
27
|
-
import { readReadmeAdditional } from "./options/readReadmeAdditional.js";
|
|
28
|
-
import { readReadmeExplainer } from "./options/readReadmeExplainer.js";
|
|
29
|
-
import { readReadmeUsage } from "./options/readReadmeUsage.js";
|
|
30
|
-
import { readRepository } from "./options/readRepository.js";
|
|
31
|
-
import { readRulesetId } from "./options/readRulesetId.js";
|
|
32
|
-
import { readTitle } from "./options/readTitle.js";
|
|
33
|
-
import { readWords } from "./options/readWords.js";
|
|
34
|
-
import { readWorkflowsVersions } from "./options/readWorkflowsVersions.js";
|
|
35
|
-
import { zContributor, zDocumentation, zWorkflowsVersions } from "./schemas.js";
|
|
36
|
-
import { createBase } from "bingo-stratum";
|
|
37
|
-
import { inputFromFile } from "input-from-file";
|
|
38
|
-
import { inputFromScript } from "input-from-script";
|
|
39
|
-
import lazyValue from "lazy-value";
|
|
40
|
-
import { z } from "zod";
|
|
41
|
-
//#region src/base.ts
|
|
42
|
-
const base = createBase({
|
|
43
|
-
options: {
|
|
44
|
-
access: z.union([z.literal("public"), z.literal("restricted")]).describe("which `npm publish --access` to release npm packages with"),
|
|
45
|
-
author: z.string().optional().describe("username on npm to publish packages under"),
|
|
46
|
-
bin: z.union([z.string(), z.record(z.string())]).optional().describe("value to set in `package.json`'s `\"bin\"` property"),
|
|
47
|
-
contributors: z.array(zContributor).optional().describe("AllContributors contributors to store in .all-contributorsrc"),
|
|
48
|
-
description: z.string().default("A very lovely package. Hooray!").describe("'Sentence case.' description of the repository"),
|
|
49
|
-
directory: z.string().describe("Directory to create the repository in"),
|
|
50
|
-
documentation: zDocumentation.describe("additional docs to add to .md files"),
|
|
51
|
-
email: z.union([z.string(), z.object({
|
|
52
|
-
github: z.string(),
|
|
53
|
-
npm: z.string()
|
|
54
|
-
})]).transform((email) => typeof email === "string" ? {
|
|
55
|
-
github: email,
|
|
56
|
-
npm: email
|
|
57
|
-
} : email).describe("email address to be listed as the point of contact in docs and packages"),
|
|
58
|
-
emoji: z.string().optional().describe("decorative emoji to use in descriptions and docs"),
|
|
59
|
-
existingLabels: z.array(z.object({
|
|
60
|
-
color: z.string(),
|
|
61
|
-
description: z.string(),
|
|
62
|
-
name: z.string()
|
|
63
|
-
})).optional().describe("existing labels from the GitHub repository"),
|
|
64
|
-
funding: z.string().optional().describe("GitHub organization or username to mention in `funding.yaml`"),
|
|
65
|
-
guide: z.object({
|
|
66
|
-
href: z.string(),
|
|
67
|
-
title: z.string()
|
|
68
|
-
}).optional().describe("link to a contribution guide to place at the top of development docs"),
|
|
69
|
-
keywords: z.array(z.string()).optional().describe("any number of keywords to include in `package.json`"),
|
|
70
|
-
logo: z.object({
|
|
71
|
-
alt: z.string(),
|
|
72
|
-
height: z.number().optional(),
|
|
73
|
-
src: z.string(),
|
|
74
|
-
width: z.number().optional()
|
|
75
|
-
}).optional().describe("local image file and alt text to display near the top of the README.md"),
|
|
76
|
-
node: z.object({
|
|
77
|
-
minimum: z.string(),
|
|
78
|
-
pinned: z.string().optional()
|
|
79
|
-
}).describe("Node.js engine version(s) to pin and require a minimum of"),
|
|
80
|
-
owner: z.string().describe("organization or user owning the repository"),
|
|
81
|
-
packageData: z.object({
|
|
82
|
-
dependencies: z.record(z.string(), z.string()).optional(),
|
|
83
|
-
devDependencies: z.record(z.string(), z.string()).optional(),
|
|
84
|
-
peerDependencies: z.record(z.string(), z.string()).optional(),
|
|
85
|
-
peerDependenciesMeta: z.record(z.unknown()).optional(),
|
|
86
|
-
scripts: z.record(z.string(), z.string().optional()).optional()
|
|
87
|
-
}).optional().describe("additional properties to include in `package.json`"),
|
|
88
|
-
pnpm: z.string().optional().describe("pnpm version for package.json's packageManager field"),
|
|
89
|
-
repository: z.string().describe("'kebab-case' or 'PascalCase' title of the repository"),
|
|
90
|
-
rulesetId: z.string().optional().describe("GitHub branch ruleset ID for main branch protections"),
|
|
91
|
-
title: z.string().describe("'Title Case' title for the repository"),
|
|
92
|
-
type: z.union([z.literal("commonjs"), z.literal("module")]).optional().describe("package.json modules type"),
|
|
93
|
-
version: z.string().optional().describe("package version to publish as and store in `package.json`"),
|
|
94
|
-
words: z.array(z.string()).optional().describe("additional words to add to the CSpell dictionary"),
|
|
95
|
-
workflowsVersions: zWorkflowsVersions.optional().describe("existing versions of GitHub Actions workflows used")
|
|
96
|
-
},
|
|
97
|
-
prepare({ options, take }) {
|
|
98
|
-
const getAccess = lazyValue(async () => await readAccess(getPackageData));
|
|
99
|
-
const getAllContributors = lazyValue(async () => await readAllContributors(take));
|
|
100
|
-
const getAuthor = lazyValue(async () => await readAuthor(getPackageAuthor, getNpmDefaults, getGitUser, options.owner));
|
|
101
|
-
const getBin = lazyValue(async () => await readBin(getPackageData));
|
|
102
|
-
const getEmoji = lazyValue(async () => await readEmoji(getDescription));
|
|
103
|
-
const getDescription = lazyValue(async () => await readDescription(getPackageData, getReadme, getRepository));
|
|
104
|
-
const getDevelopmentDocumentation = lazyValue(async () => await readDevelopmentDocumentation(take));
|
|
105
|
-
const getDocumentation = lazyValue(async () => await readDocumentation(getDevelopmentDocumentation, getReadmeAdditional, getReadmeExplainer, getReadmeFootnotes, getReadmeUsage));
|
|
106
|
-
const getEmail = lazyValue(async () => await readEmails(getEmailFromCodeOfConduct, getEmailFromGit, getEmailFromNpm, getPackageAuthor));
|
|
107
|
-
const getKeywords = lazyValue(async () => await readKeywords(getPackageData));
|
|
108
|
-
const getEmailFromCodeOfConduct = lazyValue(async () => await readEmailFromCodeOfConduct(take));
|
|
109
|
-
const getEmailFromGit = lazyValue(async () => await readEmailFromGit(take));
|
|
110
|
-
const getEmailFromNpm = lazyValue(async () => await readEmailFromNpm(getNpmDefaults, getPackageAuthor));
|
|
111
|
-
const getExistingLabels = lazyValue(async () => await readExistingLabels(take, getOwner, getRepository));
|
|
112
|
-
const getFunding = lazyValue(async () => await readFunding(take));
|
|
113
|
-
const getGitDefaults = lazyValue(async () => await readGitDefaults(take));
|
|
114
|
-
const getGitUser = lazyValue(async () => await take(inputFromScript, { command: "git config user.name" }));
|
|
115
|
-
const getGuide = lazyValue(async () => await readGuide(take));
|
|
116
|
-
const getLogo = lazyValue(async () => await readLogo(getReadme));
|
|
117
|
-
const getPackageData = lazyValue(async () => await readPackageData(take));
|
|
118
|
-
const getNode = lazyValue(async () => await readNode(getNvmrc, getPackageData));
|
|
119
|
-
const getNpmDefaults = lazyValue(async () => await readNpmDefaults(getNpmWhoami));
|
|
120
|
-
const getNpmWhoami = lazyValue(async () => await take(inputFromScript, { command: "npm whoami --offline" }));
|
|
121
|
-
const getNvmrc = lazyValue(async () => await take(inputFromFile, { filePath: ".nvmrc" }));
|
|
122
|
-
const getOwner = lazyValue(async () => await readOwner(take, getGitDefaults, getPackageAuthor));
|
|
123
|
-
const getPackageAuthor = lazyValue(async () => await readPackageAuthor(getPackageData));
|
|
124
|
-
const getPnpm = lazyValue(async () => await readPnpm(getPackageData));
|
|
125
|
-
const getReadme = lazyValue(async () => await readFileSafe("README.md", ""));
|
|
126
|
-
const getReadmeAdditional = lazyValue(async () => await readReadmeAdditional(getReadme));
|
|
127
|
-
const getReadmeExplainer = lazyValue(async () => await readReadmeExplainer(getReadme));
|
|
128
|
-
const getReadmeFootnotes = lazyValue(async () => await readReadmeFootnotes(getReadme));
|
|
129
|
-
const getReadmeUsage = lazyValue(async () => await readReadmeUsage(getReadme));
|
|
130
|
-
const getRepository = lazyValue(async () => await readRepository(getGitDefaults, getPackageData, options));
|
|
131
|
-
return {
|
|
132
|
-
access: getAccess,
|
|
133
|
-
author: getAuthor,
|
|
134
|
-
bin: getBin,
|
|
135
|
-
contributors: getAllContributors,
|
|
136
|
-
description: getDescription,
|
|
137
|
-
documentation: getDocumentation,
|
|
138
|
-
email: getEmail,
|
|
139
|
-
emoji: getEmoji,
|
|
140
|
-
existingLabels: getExistingLabels,
|
|
141
|
-
funding: getFunding,
|
|
142
|
-
guide: getGuide,
|
|
143
|
-
keywords: getKeywords,
|
|
144
|
-
logo: getLogo,
|
|
145
|
-
node: getNode,
|
|
146
|
-
owner: getOwner,
|
|
147
|
-
packageData: getPackageData,
|
|
148
|
-
pnpm: getPnpm,
|
|
149
|
-
repository: getRepository,
|
|
150
|
-
rulesetId: lazyValue(async () => await readRulesetId(take, getOwner, getRepository)),
|
|
151
|
-
title: lazyValue(async () => await readTitle(getReadme, getRepository)),
|
|
152
|
-
type: lazyValue(async () => (await getPackageData()).type),
|
|
153
|
-
version: lazyValue(async () => (await getPackageData()).version),
|
|
154
|
-
words: lazyValue(async () => await readWords(take)),
|
|
155
|
-
workflowsVersions: lazyValue(async () => await readWorkflowsVersions(take))
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
//#endregion
|
|
160
|
-
export { base };
|
|
161
|
-
|
|
162
|
-
//# sourceMappingURL=base.js.map
|
package/lib/base.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","names":[],"sources":["../src/base.ts"],"sourcesContent":["import { BaseOptionsFor, createBase } from \"bingo-stratum\";\nimport { inputFromFile } from \"input-from-file\";\nimport { inputFromScript } from \"input-from-script\";\nimport lazyValue from \"lazy-value\";\nimport { z } from \"zod\";\n\nimport { readAccess } from \"./options/readAccess.js\";\nimport { readAllContributors } from \"./options/readAllContributors.js\";\nimport { readAuthor } from \"./options/readAuthor.js\";\nimport { readBin } from \"./options/readBin.js\";\nimport { readDescription } from \"./options/readDescription.js\";\nimport { readDevelopmentDocumentation } from \"./options/readDevelopmentDocumentation.js\";\nimport { readDocumentation } from \"./options/readDocumentation.js\";\nimport { readEmailFromCodeOfConduct } from \"./options/readEmailFromCodeOfConduct.js\";\nimport { readEmailFromGit } from \"./options/readEmailFromGit.js\";\nimport { readEmailFromNpm } from \"./options/readEmailFromNpm.js\";\nimport { readEmails } from \"./options/readEmails.js\";\nimport { readEmoji } from \"./options/readEmoji.js\";\nimport { readExistingLabels } from \"./options/readExistingLabels.js\";\nimport { readFileSafe } from \"./options/readFileSafe.js\";\nimport { readFunding } from \"./options/readFunding.js\";\nimport { readGitDefaults } from \"./options/readGitDefaults.js\";\nimport { readGuide } from \"./options/readGuide.js\";\nimport { readKeywords } from \"./options/readKeywords.js\";\nimport { readLogo } from \"./options/readLogo.js\";\nimport { readNode } from \"./options/readNode.js\";\nimport { readNpmDefaults } from \"./options/readNpmDefaults.js\";\nimport { readOwner } from \"./options/readOwner.js\";\nimport { readPackageAuthor } from \"./options/readPackageAuthor.js\";\nimport { readPackageData } from \"./options/readPackageData.js\";\nimport { readPnpm } from \"./options/readPnpm.js\";\nimport { readReadmeAdditional } from \"./options/readReadmeAdditional.js\";\nimport { readReadmeExplainer } from \"./options/readReadmeExplainer.js\";\nimport { readReadmeFootnotes } from \"./options/readReadmeFootnotes.js\";\nimport { readReadmeUsage } from \"./options/readReadmeUsage.js\";\nimport { readRepository } from \"./options/readRepository.js\";\nimport { readRulesetId } from \"./options/readRulesetId.js\";\nimport { readTitle } from \"./options/readTitle.js\";\nimport { readWords } from \"./options/readWords.js\";\nimport { readWorkflowsVersions } from \"./options/readWorkflowsVersions.js\";\nimport { zContributor, zDocumentation, zWorkflowsVersions } from \"./schemas.js\";\n\nexport const base = createBase({\n\toptions: {\n\t\taccess: z\n\t\t\t.union([z.literal(\"public\"), z.literal(\"restricted\")])\n\t\t\t.describe(\"which `npm publish --access` to release npm packages with\"),\n\t\tauthor: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"username on npm to publish packages under\"),\n\t\tbin: z\n\t\t\t.union([z.string(), z.record(z.string())])\n\t\t\t.optional()\n\t\t\t.describe('value to set in `package.json`\\'s `\"bin\"` property'),\n\t\tcontributors: z\n\t\t\t.array(zContributor)\n\t\t\t.optional()\n\t\t\t.describe(\"AllContributors contributors to store in .all-contributorsrc\"),\n\t\tdescription: z\n\t\t\t.string()\n\t\t\t.default(\"A very lovely package. Hooray!\")\n\t\t\t.describe(\"'Sentence case.' description of the repository\"),\n\t\tdirectory: z.string().describe(\"Directory to create the repository in\"),\n\t\tdocumentation: zDocumentation.describe(\n\t\t\t\"additional docs to add to .md files\",\n\t\t),\n\t\temail: z\n\t\t\t.union([\n\t\t\t\tz.string(),\n\t\t\t\tz.object({\n\t\t\t\t\tgithub: z.string(),\n\t\t\t\t\tnpm: z.string(),\n\t\t\t\t}),\n\t\t\t])\n\t\t\t// TODO: Test this? Is it still working?\n\t\t\t// https://github.com/JoshuaKGoldberg/create-typescript-app/issues/1991\n\t\t\t.transform((email) =>\n\t\t\t\ttypeof email === \"string\" ? { github: email, npm: email } : email,\n\t\t\t)\n\t\t\t.describe(\n\t\t\t\t\"email address to be listed as the point of contact in docs and packages\",\n\t\t\t),\n\t\temoji: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"decorative emoji to use in descriptions and docs\"),\n\t\texistingLabels: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\tcolor: z.string(),\n\t\t\t\t\tdescription: z.string(),\n\t\t\t\t\tname: z.string(),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.optional()\n\t\t\t.describe(\"existing labels from the GitHub repository\"),\n\t\tfunding: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"GitHub organization or username to mention in `funding.yaml`\"),\n\t\tguide: z\n\t\t\t.object({\n\t\t\t\thref: z.string(),\n\t\t\t\ttitle: z.string(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\n\t\t\t\t\"link to a contribution guide to place at the top of development docs\",\n\t\t\t),\n\t\tkeywords: z\n\t\t\t.array(z.string())\n\t\t\t.optional()\n\t\t\t.describe(\"any number of keywords to include in `package.json`\"),\n\t\tlogo: z\n\t\t\t.object({\n\t\t\t\talt: z.string(),\n\t\t\t\theight: z.number().optional(),\n\t\t\t\tsrc: z.string(),\n\t\t\t\twidth: z.number().optional(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\n\t\t\t\t\"local image file and alt text to display near the top of the README.md\",\n\t\t\t),\n\t\tnode: z\n\t\t\t.object({\n\t\t\t\tminimum: z.string(),\n\t\t\t\tpinned: z.string().optional(),\n\t\t\t})\n\t\t\t.describe(\"Node.js engine version(s) to pin and require a minimum of\"),\n\t\towner: z.string().describe(\"organization or user owning the repository\"),\n\t\tpackageData: z\n\t\t\t.object({\n\t\t\t\tdependencies: z.record(z.string(), z.string()).optional(),\n\t\t\t\tdevDependencies: z.record(z.string(), z.string()).optional(),\n\t\t\t\tpeerDependencies: z.record(z.string(), z.string()).optional(),\n\t\t\t\tpeerDependenciesMeta: z.record(z.unknown()).optional(),\n\t\t\t\tscripts: z.record(z.string(), z.string().optional()).optional(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\"additional properties to include in `package.json`\"),\n\t\tpnpm: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"pnpm version for package.json's packageManager field\"),\n\t\trepository: z\n\t\t\t.string()\n\t\t\t.describe(\"'kebab-case' or 'PascalCase' title of the repository\"),\n\t\trulesetId: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"GitHub branch ruleset ID for main branch protections\"),\n\t\ttitle: z.string().describe(\"'Title Case' title for the repository\"),\n\t\ttype: z\n\t\t\t.union([z.literal(\"commonjs\"), z.literal(\"module\")])\n\t\t\t.optional()\n\t\t\t.describe(\"package.json modules type\"),\n\t\tversion: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"package version to publish as and store in `package.json`\"),\n\t\twords: z\n\t\t\t.array(z.string())\n\t\t\t.optional()\n\t\t\t.describe(\"additional words to add to the CSpell dictionary\"),\n\t\tworkflowsVersions: zWorkflowsVersions\n\t\t\t.optional()\n\t\t\t.describe(\"existing versions of GitHub Actions workflows used\"),\n\t},\n\tprepare({ options, take }) {\n\t\tconst getAccess = lazyValue(async () => await readAccess(getPackageData));\n\n\t\tconst getAllContributors = lazyValue(\n\t\t\tasync () => await readAllContributors(take),\n\t\t);\n\n\t\tconst getAuthor = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readAuthor(\n\t\t\t\t\tgetPackageAuthor,\n\t\t\t\t\tgetNpmDefaults,\n\t\t\t\t\tgetGitUser,\n\t\t\t\t\toptions.owner,\n\t\t\t\t),\n\t\t);\n\n\t\tconst getBin = lazyValue(async () => await readBin(getPackageData));\n\n\t\tconst getEmoji = lazyValue(async () => await readEmoji(getDescription));\n\n\t\tconst getDescription = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readDescription(getPackageData, getReadme, getRepository),\n\t\t);\n\n\t\tconst getDevelopmentDocumentation = lazyValue(\n\t\t\tasync () => await readDevelopmentDocumentation(take),\n\t\t);\n\n\t\tconst getDocumentation = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readDocumentation(\n\t\t\t\t\tgetDevelopmentDocumentation,\n\t\t\t\t\tgetReadmeAdditional,\n\t\t\t\t\tgetReadmeExplainer,\n\t\t\t\t\tgetReadmeFootnotes,\n\t\t\t\t\tgetReadmeUsage,\n\t\t\t\t),\n\t\t);\n\n\t\tconst getEmail = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readEmails(\n\t\t\t\t\tgetEmailFromCodeOfConduct,\n\t\t\t\t\tgetEmailFromGit,\n\t\t\t\t\tgetEmailFromNpm,\n\t\t\t\t\tgetPackageAuthor,\n\t\t\t\t),\n\t\t);\n\n\t\tconst getKeywords = lazyValue(\n\t\t\tasync () => await readKeywords(getPackageData),\n\t\t);\n\n\t\tconst getEmailFromCodeOfConduct = lazyValue(\n\t\t\tasync () => await readEmailFromCodeOfConduct(take),\n\t\t);\n\n\t\tconst getEmailFromGit = lazyValue(async () => await readEmailFromGit(take));\n\n\t\tconst getEmailFromNpm = lazyValue(\n\t\t\tasync () => await readEmailFromNpm(getNpmDefaults, getPackageAuthor),\n\t\t);\n\n\t\tconst getExistingLabels = lazyValue(\n\t\t\tasync () => await readExistingLabels(take, getOwner, getRepository),\n\t\t);\n\n\t\tconst getFunding = lazyValue(async () => await readFunding(take));\n\n\t\tconst getGitDefaults = lazyValue(async () => await readGitDefaults(take));\n\n\t\tconst getGitUser = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait take(inputFromScript, { command: \"git config user.name\" }),\n\t\t);\n\n\t\tconst getGuide = lazyValue(async () => await readGuide(take));\n\n\t\tconst getLogo = lazyValue(async () => await readLogo(getReadme));\n\n\t\tconst getPackageData = lazyValue(async () => await readPackageData(take));\n\n\t\tconst getNode = lazyValue(\n\t\t\tasync () => await readNode(getNvmrc, getPackageData),\n\t\t);\n\n\t\tconst getNpmDefaults = lazyValue(\n\t\t\tasync () => await readNpmDefaults(getNpmWhoami),\n\t\t);\n\n\t\tconst getNpmWhoami = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait take(inputFromScript, { command: \"npm whoami --offline\" }),\n\t\t);\n\n\t\tconst getNvmrc = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait take(inputFromFile, {\n\t\t\t\t\tfilePath: \".nvmrc\",\n\t\t\t\t}),\n\t\t);\n\n\t\tconst getOwner = lazyValue(\n\t\t\tasync () => await readOwner(take, getGitDefaults, getPackageAuthor),\n\t\t);\n\n\t\tconst getPackageAuthor = lazyValue(\n\t\t\tasync () => await readPackageAuthor(getPackageData),\n\t\t);\n\n\t\tconst getPnpm = lazyValue(async () => await readPnpm(getPackageData));\n\n\t\tconst getReadme = lazyValue(\n\t\t\tasync () => await readFileSafe(\"README.md\", \"\"),\n\t\t);\n\n\t\tconst getReadmeAdditional = lazyValue(\n\t\t\tasync () => await readReadmeAdditional(getReadme),\n\t\t);\n\n\t\tconst getReadmeExplainer = lazyValue(\n\t\t\tasync () => await readReadmeExplainer(getReadme),\n\t\t);\n\n\t\tconst getReadmeFootnotes = lazyValue(\n\t\t\tasync () => await readReadmeFootnotes(getReadme),\n\t\t);\n\n\t\tconst getReadmeUsage = lazyValue(\n\t\t\tasync () => await readReadmeUsage(getReadme),\n\t\t);\n\n\t\tconst getRepository = lazyValue(\n\t\t\tasync () => await readRepository(getGitDefaults, getPackageData, options),\n\t\t);\n\n\t\tconst getRulesetId = lazyValue(\n\t\t\tasync () => await readRulesetId(take, getOwner, getRepository),\n\t\t);\n\n\t\tconst getTitle = lazyValue(\n\t\t\tasync () => await readTitle(getReadme, getRepository),\n\t\t);\n\n\t\tconst getType = lazyValue(async () => (await getPackageData()).type);\n\n\t\tconst getVersion = lazyValue(async () => (await getPackageData()).version);\n\n\t\tconst getWords = lazyValue(async () => await readWords(take));\n\n\t\tconst getWorkflowData = lazyValue(\n\t\t\tasync () => await readWorkflowsVersions(take),\n\t\t);\n\n\t\treturn {\n\t\t\taccess: getAccess,\n\t\t\tauthor: getAuthor,\n\t\t\tbin: getBin,\n\t\t\tcontributors: getAllContributors,\n\t\t\tdescription: getDescription,\n\t\t\tdocumentation: getDocumentation,\n\t\t\temail: getEmail,\n\t\t\temoji: getEmoji,\n\t\t\texistingLabels: getExistingLabels,\n\t\t\tfunding: getFunding,\n\t\t\tguide: getGuide,\n\t\t\tkeywords: getKeywords,\n\t\t\tlogo: getLogo,\n\t\t\tnode: getNode,\n\t\t\towner: getOwner,\n\t\t\tpackageData: getPackageData,\n\t\t\tpnpm: getPnpm,\n\t\t\trepository: getRepository,\n\t\t\trulesetId: getRulesetId,\n\t\t\ttitle: getTitle,\n\t\t\ttype: getType,\n\t\t\tversion: getVersion,\n\t\t\twords: getWords,\n\t\t\tworkflowsVersions: getWorkflowData,\n\t\t};\n\t},\n});\n\nexport type BaseOptions = BaseOptionsFor<typeof base> & { preset?: string };\n"],"mappings":"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"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { WorkflowsVersions } from "../../schemas.js";
|
|
2
|
-
//#region src/blocks/actions/resolveUses.d.ts
|
|
3
|
-
declare function resolveUses(action: string, version: string, workflowsVersions?: WorkflowsVersions): string;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { resolveUses };
|
|
6
|
-
//# sourceMappingURL=resolveUses.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolveUses.d.ts","names":[],"sources":["../../../src/blocks/actions/resolveUses.ts"],"mappings":";;iBASgB,YACf,gBACA,iBACA,oBAAoB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CachedFactory } from "cached-factory";
|
|
2
|
-
import semver from "semver";
|
|
3
|
-
//#region src/blocks/actions/resolveUses.ts
|
|
4
|
-
const semverCoercions = new CachedFactory((version) => {
|
|
5
|
-
return semver.coerce(version)?.toString() ?? "0.0.0";
|
|
6
|
-
});
|
|
7
|
-
function resolveUses(action, version, workflowsVersions) {
|
|
8
|
-
if (!workflowsVersions || !(action in workflowsVersions)) return `${action}@${version}`;
|
|
9
|
-
const workflowVersions = workflowsVersions[action];
|
|
10
|
-
const biggestVersion = Object.keys(workflowVersions).reduce((highestVersion, potentialVersion) => semver.gt(semverCoercions.get(potentialVersion), semverCoercions.get(highestVersion)) ? potentialVersion : highestVersion, version);
|
|
11
|
-
if (!(biggestVersion in workflowVersions)) return `${action}@${biggestVersion}`;
|
|
12
|
-
const atBiggestVersion = workflowVersions[biggestVersion];
|
|
13
|
-
return atBiggestVersion.hash ? `${action}@${atBiggestVersion.hash} # ${biggestVersion}` : `${action}@${biggestVersion}`;
|
|
14
|
-
}
|
|
15
|
-
//#endregion
|
|
16
|
-
export { resolveUses };
|
|
17
|
-
|
|
18
|
-
//# sourceMappingURL=resolveUses.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolveUses.js","names":[],"sources":["../../../src/blocks/actions/resolveUses.ts"],"sourcesContent":["import { CachedFactory } from \"cached-factory\";\nimport semver from \"semver\";\n\nimport { WorkflowsVersions } from \"../../schemas.js\";\n\nconst semverCoercions = new CachedFactory((version: string) => {\n\treturn semver.coerce(version)?.toString() ?? \"0.0.0\";\n});\n\nexport function resolveUses(\n\taction: string,\n\tversion: string,\n\tworkflowsVersions?: WorkflowsVersions,\n) {\n\tif (!workflowsVersions || !(action in workflowsVersions)) {\n\t\treturn `${action}@${version}`;\n\t}\n\n\tconst workflowVersions = workflowsVersions[action];\n\n\tconst biggestVersion = Object.keys(workflowVersions).reduce(\n\t\t(highestVersion, potentialVersion) =>\n\t\t\tsemver.gt(\n\t\t\t\tsemverCoercions.get(potentialVersion),\n\t\t\t\tsemverCoercions.get(highestVersion),\n\t\t\t)\n\t\t\t\t? potentialVersion\n\t\t\t\t: highestVersion,\n\t\tversion,\n\t);\n\n\tif (!(biggestVersion in workflowVersions)) {\n\t\treturn `${action}@${biggestVersion}`;\n\t}\n\n\tconst atBiggestVersion = workflowVersions[biggestVersion];\n\n\treturn atBiggestVersion.hash\n\t\t? `${action}@${atBiggestVersion.hash} # ${biggestVersion}`\n\t\t: `${action}@${biggestVersion}`;\n}\n"],"mappings":";;;AAKA,MAAM,kBAAkB,IAAI,eAAe,YAAoB;CAC9D,OAAO,OAAO,OAAO,OAAO,CAAC,EAAE,SAAS,KAAK;AAC9C,CAAC;AAED,SAAgB,YACf,QACA,SACA,mBACC;CACD,IAAI,CAAC,qBAAqB,EAAE,UAAU,oBACrC,OAAO,GAAG,OAAO,GAAG;CAGrB,MAAM,mBAAmB,kBAAkB;CAE3C,MAAM,iBAAiB,OAAO,KAAK,gBAAgB,CAAC,CAAC,QACnD,gBAAgB,qBAChB,OAAO,GACN,gBAAgB,IAAI,gBAAgB,GACpC,gBAAgB,IAAI,cAAc,CACnC,IACG,mBACA,gBACJ,OACD;CAEA,IAAI,EAAE,kBAAkB,mBACvB,OAAO,GAAG,OAAO,GAAG;CAGrB,MAAM,mBAAmB,iBAAiB;CAE1C,OAAO,iBAAiB,OACrB,GAAG,OAAO,GAAG,iBAAiB,KAAK,KAAK,mBACxC,GAAG,OAAO,GAAG;AACjB"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { IntakeDirectory } from "bingo-fs";
|
|
3
|
-
//#region src/blocks/actions/steps.d.ts
|
|
4
|
-
declare const zActionStep: z.ZodIntersection<z.ZodObject<{
|
|
5
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6
|
-
if: z.ZodOptional<z.ZodString>;
|
|
7
|
-
with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8
|
-
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
with?: Record<string, string> | undefined;
|
|
10
|
-
env?: Record<string, string> | undefined;
|
|
11
|
-
if?: string | undefined;
|
|
12
|
-
}, {
|
|
13
|
-
with?: Record<string, string> | undefined;
|
|
14
|
-
env?: Record<string, string> | undefined;
|
|
15
|
-
if?: string | undefined;
|
|
16
|
-
}>, z.ZodUnion<[z.ZodObject<{
|
|
17
|
-
run: z.ZodString;
|
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
run: string;
|
|
20
|
-
}, {
|
|
21
|
-
run: string;
|
|
22
|
-
}>, z.ZodObject<{
|
|
23
|
-
uses: z.ZodString;
|
|
24
|
-
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
uses: string;
|
|
26
|
-
}, {
|
|
27
|
-
uses: string;
|
|
28
|
-
}>]>>;
|
|
29
|
-
interface JobOrRunStep {
|
|
30
|
-
env?: Record<string, string>;
|
|
31
|
-
uses?: unknown;
|
|
32
|
-
with?: Record<string, string>;
|
|
33
|
-
}
|
|
34
|
-
declare function intakeFileYamlSteps(files: IntakeDirectory, filePath: string[], ymlPath: string[]): JobOrRunStep[] | undefined;
|
|
35
|
-
//#endregion
|
|
36
|
-
export { JobOrRunStep, intakeFileYamlSteps, zActionStep };
|
|
37
|
-
//# sourceMappingURL=steps.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"steps.d.ts","names":[],"sources":["../../../src/blocks/actions/steps.ts"],"mappings":";;;cAMa,aAAW,EAAA,gBAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;UASP;EAChB,MAAM;EACN;EACA,OAAO;;iBAGQ,oBACf,OAAO,iBACP,oBACA,oBAAiB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { intakeFileAsYaml } from "../intake/intakeFileAsYaml.js";
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
import _ from "lodash";
|
|
4
|
-
//#region src/blocks/actions/steps.ts
|
|
5
|
-
const zActionStep = z.intersection(z.object({
|
|
6
|
-
env: z.record(z.string(), z.string()).optional(),
|
|
7
|
-
if: z.string().optional(),
|
|
8
|
-
with: z.record(z.string(), z.string()).optional()
|
|
9
|
-
}), z.union([z.object({ run: z.string() }), z.object({ uses: z.string() })]));
|
|
10
|
-
function intakeFileYamlSteps(files, filePath, ymlPath) {
|
|
11
|
-
const actionYml = intakeFileAsYaml(files, filePath);
|
|
12
|
-
if (!actionYml) return;
|
|
13
|
-
const steps = _.get(actionYml, ymlPath);
|
|
14
|
-
if (!steps || !Array.isArray(steps)) return;
|
|
15
|
-
return steps;
|
|
16
|
-
}
|
|
17
|
-
//#endregion
|
|
18
|
-
export { intakeFileYamlSteps, zActionStep };
|
|
19
|
-
|
|
20
|
-
//# sourceMappingURL=steps.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"steps.js","names":[],"sources":["../../../src/blocks/actions/steps.ts"],"sourcesContent":["import { IntakeDirectory } from \"bingo-fs\";\nimport _ from \"lodash\";\nimport { z } from \"zod\";\n\nimport { intakeFileAsYaml } from \"../intake/intakeFileAsYaml.js\";\n\nexport const zActionStep = z.intersection(\n\tz.object({\n\t\tenv: z.record(z.string(), z.string()).optional(),\n\t\tif: z.string().optional(),\n\t\twith: z.record(z.string(), z.string()).optional(),\n\t}),\n\tz.union([z.object({ run: z.string() }), z.object({ uses: z.string() })]),\n);\n\nexport interface JobOrRunStep {\n\tenv?: Record<string, string>;\n\tuses?: unknown;\n\twith?: Record<string, string>;\n}\n\nexport function intakeFileYamlSteps(\n\tfiles: IntakeDirectory,\n\tfilePath: string[],\n\tymlPath: string[],\n) {\n\tconst actionYml = intakeFileAsYaml(files, filePath);\n\tif (!actionYml) {\n\t\treturn undefined;\n\t}\n\n\tconst steps = _.get(actionYml, ymlPath) as JobOrRunStep[] | undefined;\n\tif (!steps || !Array.isArray(steps)) {\n\t\treturn undefined;\n\t}\n\n\treturn steps;\n}\n"],"mappings":";;;;AAMA,MAAa,cAAc,EAAE,aAC5B,EAAE,OAAO;CACR,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS;CACxB,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS;AACjD,CAAC,GACD,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CACxE;AAQA,SAAgB,oBACf,OACA,UACA,SACC;CACD,MAAM,YAAY,iBAAiB,OAAO,QAAQ;CAClD,IAAI,CAAC,WACJ;CAGD,MAAM,QAAQ,EAAE,IAAI,WAAW,OAAO;CACtC,IAAI,CAAC,SAAS,CAAC,MAAM,QAAQ,KAAK,GACjC;CAGD,OAAO;AACR"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPrimaryBin.d.ts","names":[],"sources":["../../../src/blocks/bin/getPrimaryBin.ts"],"mappings":";iBAAgB,cACf,KAAK,yDACL"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPrimaryBin.js","names":[],"sources":["../../../src/blocks/bin/getPrimaryBin.ts"],"sourcesContent":["export function getPrimaryBin(\n\tbin: Record<string, string | undefined> | string | undefined,\n\trepository: string,\n) {\n\treturn typeof bin === \"object\" ? bin[repository] : bin;\n}\n"],"mappings":";AAAA,SAAgB,cACf,KACA,YACC;CACD,OAAO,OAAO,QAAQ,WAAW,IAAI,cAAc;AACpD"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockAllContributors.d.ts
|
|
2
|
-
declare const blockAllContributors: 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 { blockAllContributors };
|
|
72
|
-
//# sourceMappingURL=blockAllContributors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockAllContributors.d.ts","names":[],"sources":["../../src/blocks/blockAllContributors.ts"],"mappings":";cAYa,8CAAoB"}
|