create-typescript-app 2.61.1 → 2.61.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/base.js +1 -2
- package/lib/blocks/actions/resolveUses.js +1 -2
- package/lib/blocks/actions/steps.js +1 -2
- package/lib/blocks/bin/getPrimaryBin.js +1 -2
- package/lib/blocks/blockAllContributors.js +1 -2
- package/lib/blocks/blockAreTheTypesWrong.js +1 -2
- package/lib/blocks/blockCSpell.js +1 -2
- package/lib/blocks/blockCTATransitions.js +1 -2
- package/lib/blocks/blockCodecov.js +1 -2
- package/lib/blocks/blockContributingDocs.js +1 -2
- package/lib/blocks/blockContributorCovenant.js +1 -2
- package/lib/blocks/blockDevelopmentDocs.js +1 -2
- package/lib/blocks/blockESLint.js +1 -2
- package/lib/blocks/blockESLintComments.js +1 -2
- package/lib/blocks/blockESLintJSDoc.js +1 -2
- package/lib/blocks/blockESLintJSONC.js +1 -2
- package/lib/blocks/blockESLintMarkdown.js +1 -2
- package/lib/blocks/blockESLintMoreStyling.js +1 -2
- package/lib/blocks/blockESLintNode.js +1 -2
- package/lib/blocks/blockESLintPackageJson.js +1 -2
- package/lib/blocks/blockESLintPerfectionist.js +1 -2
- package/lib/blocks/blockESLintPlugin.js +1 -2
- package/lib/blocks/blockESLintRegexp.js +1 -2
- package/lib/blocks/blockESLintYML.js +1 -2
- package/lib/blocks/blockExampleFiles.js +1 -2
- package/lib/blocks/blockExports.js +1 -2
- package/lib/blocks/blockFunding.js +1 -2
- package/lib/blocks/blockGitHubActionsCI.js +1 -2
- package/lib/blocks/blockGitHubApps.js +1 -2
- package/lib/blocks/blockGitHubIssueTemplates.js +1 -2
- package/lib/blocks/blockGitHubPRTemplate.js +1 -2
- package/lib/blocks/blockGitignore.js +1 -2
- package/lib/blocks/blockKnip.js +1 -2
- package/lib/blocks/blockMITLicense.js +1 -2
- package/lib/blocks/blockNcc.js +1 -2
- package/lib/blocks/blockNvmrc.js +1 -2
- package/lib/blocks/blockOctoGuide.js +1 -2
- package/lib/blocks/blockOctoGuideStrict.js +1 -2
- package/lib/blocks/blockPackageJson.js +1 -2
- package/lib/blocks/blockPnpmDedupe.js +1 -2
- package/lib/blocks/blockPrettier.js +1 -2
- package/lib/blocks/blockPrettierPluginCurly.js +1 -2
- package/lib/blocks/blockPrettierPluginPackageJson.js +1 -2
- package/lib/blocks/blockPrettierPluginSentencesPerLine.js +1 -2
- package/lib/blocks/blockPrettierPluginSh.js +1 -2
- package/lib/blocks/blockREADME.js +1 -2
- package/lib/blocks/blockReleaseIt.js +1 -2
- package/lib/blocks/blockRemoveDependencies.js +1 -2
- package/lib/blocks/blockRemoveFiles.js +1 -2
- package/lib/blocks/blockRemoveWorkflows.js +1 -2
- package/lib/blocks/blockRenovate.js +1 -2
- package/lib/blocks/blockRepositoryBranchRuleset.js +1 -2
- package/lib/blocks/blockRepositoryLabels.js +1 -2
- package/lib/blocks/blockRepositorySecrets.js +1 -2
- package/lib/blocks/blockRepositorySettings.js +1 -2
- package/lib/blocks/blockSecurityDocs.js +1 -2
- package/lib/blocks/blockSideEffects.js +1 -2
- package/lib/blocks/blockTSDown.js +1 -3
- package/lib/blocks/blockTemplatedWith.js +1 -2
- package/lib/blocks/blockTypeScript.js +1 -2
- package/lib/blocks/blockVSCode.js +1 -2
- package/lib/blocks/blockVitest.js +1 -2
- package/lib/blocks/blockWebExt.js +1 -2
- package/lib/blocks/eslint/blockESLintIntake.js +1 -2
- package/lib/blocks/eslint/blockESLintPluginIntake.js +1 -2
- package/lib/blocks/eslint/getScriptFileExtension.js +1 -2
- package/lib/blocks/eslint/mergeAllExtensions.js +1 -2
- package/lib/blocks/eslint/schemas.js +1 -2
- package/lib/blocks/files/createJobName.js +1 -2
- package/lib/blocks/files/createMultiWorkflowFile.js +1 -2
- package/lib/blocks/files/createSoloWorkflowFile.js +1 -2
- package/lib/blocks/files/formatIgnoreFile.js +1 -2
- package/lib/blocks/files/formatWorkflowYaml.js +1 -2
- package/lib/blocks/files/formatYaml.js +1 -2
- package/lib/blocks/files/removeUsesQuotes.js +1 -2
- package/lib/blocks/getInstallationSuggestions.js +1 -2
- package/lib/blocks/index.js +1 -2
- package/lib/blocks/intake/intakeFile.js +1 -2
- package/lib/blocks/intake/intakeFileAsJson.js +1 -2
- package/lib/blocks/intake/intakeFileAsYaml.js +1 -2
- package/lib/blocks/intake/intakeFileDefineConfig.js +1 -2
- package/lib/blocks/options.fakes.js +1 -2
- package/lib/blocks/outcomeLabels.js +1 -2
- package/lib/blocks/phases.js +1 -2
- package/lib/constants.js +1 -2
- package/lib/data/contributions.js +1 -2
- package/lib/data/packageData.js +1 -2
- package/lib/index.js +1 -2
- package/lib/inputs/inputFromDirectory.js +1 -2
- package/lib/inputs/inputFromOctokit.js +1 -2
- package/lib/options/readAccess.js +1 -2
- package/lib/options/readAllContributors.js +1 -2
- package/lib/options/readAuthor.js +1 -2
- package/lib/options/readBin.js +1 -2
- package/lib/options/readDescription.js +1 -2
- package/lib/options/readDescriptionFromReadme.js +1 -2
- package/lib/options/readDevelopmentDocumentation.js +1 -2
- package/lib/options/readDocumentation.js +1 -2
- package/lib/options/readEmailFromCodeOfConduct.js +1 -2
- package/lib/options/readEmailFromGit.js +1 -2
- package/lib/options/readEmailFromNpm.js +1 -2
- package/lib/options/readEmails.js +1 -2
- package/lib/options/readEmoji.js +1 -2
- package/lib/options/readExistingLabels.js +1 -2
- package/lib/options/readFileAsJson.js +1 -2
- package/lib/options/readFileSafe.js +1 -2
- package/lib/options/readFunding.js +1 -2
- package/lib/options/readGitDefaults.js +1 -2
- package/lib/options/readGuide.js +1 -2
- package/lib/options/readKeywords.js +1 -2
- package/lib/options/readLogo.js +1 -2
- package/lib/options/readLogoSizing.js +1 -2
- package/lib/options/readNode.js +1 -2
- package/lib/options/readNpmDefaults.js +1 -2
- package/lib/options/readOwner.js +1 -2
- package/lib/options/readPackageAuthor.js +1 -2
- package/lib/options/readPackageData.js +1 -2
- package/lib/options/readPnpm.js +1 -2
- package/lib/options/readReadmeAdditional.js +1 -2
- package/lib/options/readReadmeExplainer.js +1 -2
- package/lib/options/readReadmeFootnotes.js +1 -2
- package/lib/options/readReadmeUsage.js +1 -2
- package/lib/options/readRepository.js +1 -2
- package/lib/options/readRulesetId.js +1 -2
- package/lib/options/readTitle.js +1 -2
- package/lib/options/readWords.js +1 -2
- package/lib/options/readWorkflowsVersions.js +1 -2
- package/lib/presets/common.js +1 -2
- package/lib/presets/everything.js +1 -2
- package/lib/presets/index.js +1 -2
- package/lib/presets/minimal.js +1 -2
- package/lib/schemas.js +1 -2
- package/lib/template.js +1 -2
- package/lib/utils/htmlToTextSafe.js +1 -2
- package/lib/utils/resolveBin.js +1 -2
- package/lib/utils/swallowError.js +1 -2
- package/lib/utils/swallowErrorAsync.js +1 -2
- package/lib/utils/trimPrecedingSlash.js +1 -2
- package/lib/utils/tryCatch.js +1 -2
- package/package.json +1 -1
- package/lib/_virtual/rolldown_runtime.js +0 -20
- package/lib/base.d.ts +0 -177
- package/lib/base.d.ts.map +0 -1
- package/lib/base.js.map +0 -1
- package/lib/blocks/actions/resolveUses.d.ts +0 -7
- package/lib/blocks/actions/resolveUses.d.ts.map +0 -1
- package/lib/blocks/actions/resolveUses.js.map +0 -1
- package/lib/blocks/actions/steps.d.ts +0 -38
- package/lib/blocks/actions/steps.d.ts.map +0 -1
- 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.map +0 -1
- package/lib/blocks/blockAllContributors.d.ts +0 -74
- package/lib/blocks/blockAllContributors.d.ts.map +0 -1
- package/lib/blocks/blockAllContributors.js.map +0 -1
- package/lib/blocks/blockAreTheTypesWrong.d.ts +0 -74
- package/lib/blocks/blockAreTheTypesWrong.d.ts.map +0 -1
- package/lib/blocks/blockAreTheTypesWrong.js.map +0 -1
- package/lib/blocks/blockCSpell.d.ts +0 -77
- package/lib/blocks/blockCSpell.d.ts.map +0 -1
- package/lib/blocks/blockCSpell.js.map +0 -1
- package/lib/blocks/blockCTATransitions.d.ts +0 -74
- package/lib/blocks/blockCTATransitions.d.ts.map +0 -1
- package/lib/blocks/blockCTATransitions.js.map +0 -1
- package/lib/blocks/blockCodecov.d.ts +0 -76
- package/lib/blocks/blockCodecov.d.ts.map +0 -1
- package/lib/blocks/blockCodecov.js.map +0 -1
- package/lib/blocks/blockContributingDocs.d.ts +0 -74
- package/lib/blocks/blockContributingDocs.d.ts.map +0 -1
- package/lib/blocks/blockContributingDocs.js.map +0 -1
- package/lib/blocks/blockContributorCovenant.d.ts +0 -74
- package/lib/blocks/blockContributorCovenant.d.ts.map +0 -1
- package/lib/blocks/blockContributorCovenant.js.map +0 -1
- package/lib/blocks/blockDevelopmentDocs.d.ts +0 -88
- package/lib/blocks/blockDevelopmentDocs.d.ts.map +0 -1
- package/lib/blocks/blockDevelopmentDocs.js.map +0 -1
- package/lib/blocks/blockESLint.d.ts +0 -98
- package/lib/blocks/blockESLint.d.ts.map +0 -1
- package/lib/blocks/blockESLint.js.map +0 -1
- package/lib/blocks/blockESLintComments.d.ts +0 -74
- package/lib/blocks/blockESLintComments.d.ts.map +0 -1
- package/lib/blocks/blockESLintComments.js.map +0 -1
- package/lib/blocks/blockESLintJSDoc.d.ts +0 -74
- package/lib/blocks/blockESLintJSDoc.d.ts.map +0 -1
- package/lib/blocks/blockESLintJSDoc.js.map +0 -1
- package/lib/blocks/blockESLintJSONC.d.ts +0 -74
- package/lib/blocks/blockESLintJSONC.d.ts.map +0 -1
- package/lib/blocks/blockESLintJSONC.js.map +0 -1
- package/lib/blocks/blockESLintMarkdown.d.ts +0 -74
- package/lib/blocks/blockESLintMarkdown.d.ts.map +0 -1
- package/lib/blocks/blockESLintMarkdown.js.map +0 -1
- package/lib/blocks/blockESLintMoreStyling.d.ts +0 -75
- package/lib/blocks/blockESLintMoreStyling.d.ts.map +0 -1
- package/lib/blocks/blockESLintMoreStyling.js.map +0 -1
- package/lib/blocks/blockESLintNode.d.ts +0 -74
- package/lib/blocks/blockESLintNode.d.ts.map +0 -1
- package/lib/blocks/blockESLintNode.js.map +0 -1
- package/lib/blocks/blockESLintPackageJson.d.ts +0 -74
- package/lib/blocks/blockESLintPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockESLintPackageJson.js.map +0 -1
- package/lib/blocks/blockESLintPerfectionist.d.ts +0 -74
- package/lib/blocks/blockESLintPerfectionist.d.ts.map +0 -1
- package/lib/blocks/blockESLintPerfectionist.js.map +0 -1
- package/lib/blocks/blockESLintPlugin.d.ts +0 -76
- package/lib/blocks/blockESLintPlugin.d.ts.map +0 -1
- package/lib/blocks/blockESLintPlugin.js.map +0 -1
- package/lib/blocks/blockESLintRegexp.d.ts +0 -74
- package/lib/blocks/blockESLintRegexp.d.ts.map +0 -1
- package/lib/blocks/blockESLintRegexp.js.map +0 -1
- package/lib/blocks/blockESLintYML.d.ts +0 -74
- package/lib/blocks/blockESLintYML.d.ts.map +0 -1
- package/lib/blocks/blockESLintYML.js.map +0 -1
- package/lib/blocks/blockExampleFiles.d.ts +0 -77
- package/lib/blocks/blockExampleFiles.d.ts.map +0 -1
- package/lib/blocks/blockExampleFiles.js.map +0 -1
- package/lib/blocks/blockExports.d.ts +0 -77
- package/lib/blocks/blockExports.d.ts.map +0 -1
- package/lib/blocks/blockExports.js.map +0 -1
- package/lib/blocks/blockFunding.d.ts +0 -74
- package/lib/blocks/blockFunding.d.ts.map +0 -1
- package/lib/blocks/blockFunding.js.map +0 -1
- package/lib/blocks/blockGitHubActionsCI.d.ts +0 -90
- package/lib/blocks/blockGitHubActionsCI.d.ts.map +0 -1
- package/lib/blocks/blockGitHubActionsCI.js.map +0 -1
- package/lib/blocks/blockGitHubApps.d.ts +0 -79
- package/lib/blocks/blockGitHubApps.d.ts.map +0 -1
- package/lib/blocks/blockGitHubApps.js.map +0 -1
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +0 -74
- package/lib/blocks/blockGitHubIssueTemplates.d.ts.map +0 -1
- package/lib/blocks/blockGitHubIssueTemplates.js.map +0 -1
- package/lib/blocks/blockGitHubPRTemplate.d.ts +0 -74
- package/lib/blocks/blockGitHubPRTemplate.d.ts.map +0 -1
- package/lib/blocks/blockGitHubPRTemplate.js.map +0 -1
- package/lib/blocks/blockGitignore.d.ts +0 -76
- package/lib/blocks/blockGitignore.d.ts.map +0 -1
- package/lib/blocks/blockGitignore.js.map +0 -1
- package/lib/blocks/blockKnip.d.ts +0 -78
- package/lib/blocks/blockKnip.d.ts.map +0 -1
- package/lib/blocks/blockKnip.js.map +0 -1
- package/lib/blocks/blockMITLicense.d.ts +0 -74
- package/lib/blocks/blockMITLicense.d.ts.map +0 -1
- package/lib/blocks/blockMITLicense.js.map +0 -1
- package/lib/blocks/blockNcc.d.ts +0 -76
- package/lib/blocks/blockNcc.d.ts.map +0 -1
- package/lib/blocks/blockNcc.js.map +0 -1
- package/lib/blocks/blockNvmrc.d.ts +0 -74
- package/lib/blocks/blockNvmrc.d.ts.map +0 -1
- package/lib/blocks/blockNvmrc.js.map +0 -1
- package/lib/blocks/blockOctoGuide.d.ts +0 -76
- package/lib/blocks/blockOctoGuide.d.ts.map +0 -1
- package/lib/blocks/blockOctoGuide.js.map +0 -1
- package/lib/blocks/blockOctoGuideStrict.d.ts +0 -74
- package/lib/blocks/blockOctoGuideStrict.d.ts.map +0 -1
- package/lib/blocks/blockOctoGuideStrict.js.map +0 -1
- package/lib/blocks/blockPackageJson.d.ts +0 -151
- package/lib/blocks/blockPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockPackageJson.js.map +0 -1
- package/lib/blocks/blockPnpmDedupe.d.ts +0 -74
- package/lib/blocks/blockPnpmDedupe.d.ts.map +0 -1
- package/lib/blocks/blockPnpmDedupe.js.map +0 -1
- package/lib/blocks/blockPrettier.d.ts +0 -84
- package/lib/blocks/blockPrettier.d.ts.map +0 -1
- package/lib/blocks/blockPrettier.js.map +0 -1
- package/lib/blocks/blockPrettierPluginCurly.d.ts +0 -74
- package/lib/blocks/blockPrettierPluginCurly.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginCurly.js.map +0 -1
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +0 -74
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginPackageJson.js.map +0 -1
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +0 -74
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginSentencesPerLine.js.map +0 -1
- package/lib/blocks/blockPrettierPluginSh.d.ts +0 -74
- package/lib/blocks/blockPrettierPluginSh.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginSh.js.map +0 -1
- package/lib/blocks/blockREADME.d.ts +0 -87
- package/lib/blocks/blockREADME.d.ts.map +0 -1
- package/lib/blocks/blockREADME.js.map +0 -1
- package/lib/blocks/blockReleaseIt.d.ts +0 -79
- package/lib/blocks/blockReleaseIt.d.ts.map +0 -1
- package/lib/blocks/blockReleaseIt.js.map +0 -1
- package/lib/blocks/blockRemoveDependencies.d.ts +0 -76
- package/lib/blocks/blockRemoveDependencies.d.ts.map +0 -1
- package/lib/blocks/blockRemoveDependencies.js.map +0 -1
- package/lib/blocks/blockRemoveFiles.d.ts +0 -76
- package/lib/blocks/blockRemoveFiles.d.ts.map +0 -1
- package/lib/blocks/blockRemoveFiles.js.map +0 -1
- package/lib/blocks/blockRemoveWorkflows.d.ts +0 -76
- package/lib/blocks/blockRemoveWorkflows.d.ts.map +0 -1
- package/lib/blocks/blockRemoveWorkflows.js.map +0 -1
- package/lib/blocks/blockRenovate.d.ts +0 -76
- package/lib/blocks/blockRenovate.d.ts.map +0 -1
- package/lib/blocks/blockRenovate.js.map +0 -1
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +0 -76
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts.map +0 -1
- package/lib/blocks/blockRepositoryBranchRuleset.js.map +0 -1
- package/lib/blocks/blockRepositoryLabels.d.ts +0 -74
- package/lib/blocks/blockRepositoryLabels.d.ts.map +0 -1
- package/lib/blocks/blockRepositoryLabels.js.map +0 -1
- package/lib/blocks/blockRepositorySecrets.d.ts +0 -79
- package/lib/blocks/blockRepositorySecrets.d.ts.map +0 -1
- package/lib/blocks/blockRepositorySecrets.js.map +0 -1
- package/lib/blocks/blockRepositorySettings.d.ts +0 -74
- package/lib/blocks/blockRepositorySettings.d.ts.map +0 -1
- package/lib/blocks/blockRepositorySettings.js.map +0 -1
- package/lib/blocks/blockSecurityDocs.d.ts +0 -74
- package/lib/blocks/blockSecurityDocs.d.ts.map +0 -1
- package/lib/blocks/blockSecurityDocs.js.map +0 -1
- package/lib/blocks/blockSideEffects.d.ts +0 -76
- package/lib/blocks/blockSideEffects.d.ts.map +0 -1
- package/lib/blocks/blockSideEffects.js.map +0 -1
- package/lib/blocks/blockTSDown.d.ts +0 -78
- package/lib/blocks/blockTSDown.d.ts.map +0 -1
- package/lib/blocks/blockTSDown.js.map +0 -1
- package/lib/blocks/blockTemplatedWith.d.ts +0 -74
- package/lib/blocks/blockTemplatedWith.d.ts.map +0 -1
- package/lib/blocks/blockTemplatedWith.js.map +0 -1
- package/lib/blocks/blockTypeScript.d.ts +0 -186
- package/lib/blocks/blockTypeScript.d.ts.map +0 -1
- package/lib/blocks/blockTypeScript.js.map +0 -1
- package/lib/blocks/blockVSCode.d.ts +0 -83
- package/lib/blocks/blockVSCode.d.ts.map +0 -1
- package/lib/blocks/blockVSCode.js.map +0 -1
- package/lib/blocks/blockVitest.d.ts +0 -91
- package/lib/blocks/blockVitest.d.ts.map +0 -1
- package/lib/blocks/blockVitest.js.map +0 -1
- package/lib/blocks/blockWebExt.d.ts +0 -74
- package/lib/blocks/blockWebExt.d.ts.map +0 -1
- 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.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.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.map +0 -1
- package/lib/blocks/eslint/mergeAllExtensions.d.ts +0 -18
- package/lib/blocks/eslint/mergeAllExtensions.d.ts.map +0 -1
- package/lib/blocks/eslint/mergeAllExtensions.js.map +0 -1
- package/lib/blocks/eslint/schemas.d.ts +0 -113
- package/lib/blocks/eslint/schemas.d.ts.map +0 -1
- 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.map +0 -1
- package/lib/blocks/files/createMultiWorkflowFile.d.ts +0 -29
- package/lib/blocks/files/createMultiWorkflowFile.d.ts.map +0 -1
- package/lib/blocks/files/createMultiWorkflowFile.js.map +0 -1
- package/lib/blocks/files/createSoloWorkflowFile.d.ts +0 -72
- package/lib/blocks/files/createSoloWorkflowFile.d.ts.map +0 -1
- 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.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.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.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.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.map +0 -1
- package/lib/blocks/index.d.ts +0 -3715
- package/lib/blocks/index.d.ts.map +0 -1
- package/lib/blocks/index.js.map +0 -1
- package/lib/blocks/intake/intakeFile.d.ts +0 -7
- package/lib/blocks/intake/intakeFile.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFile.js.map +0 -1
- package/lib/blocks/intake/intakeFileAsJson.d.ts +0 -7
- package/lib/blocks/intake/intakeFileAsJson.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileAsJson.js.map +0 -1
- package/lib/blocks/intake/intakeFileAsYaml.d.ts +0 -7
- package/lib/blocks/intake/intakeFileAsYaml.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileAsYaml.js.map +0 -1
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts +0 -7
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileDefineConfig.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.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.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.map +0 -1
- package/lib/constants.d.ts +0 -10
- package/lib/constants.d.ts.map +0 -1
- 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.map +0 -1
- package/lib/data/packageData.d.ts +0 -11
- package/lib/data/packageData.d.ts.map +0 -1
- package/lib/data/packageData.js.map +0 -1
- package/lib/index.d.ts +0 -299
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/inputs/inputFromDirectory.d.ts +0 -10
- package/lib/inputs/inputFromDirectory.d.ts.map +0 -1
- package/lib/inputs/inputFromDirectory.js.map +0 -1
- package/lib/inputs/inputFromOctokit.d.ts +0 -11
- package/lib/inputs/inputFromOctokit.d.ts.map +0 -1
- package/lib/inputs/inputFromOctokit.js.map +0 -1
- package/lib/options/readAccess.d.ts +0 -7
- package/lib/options/readAccess.d.ts.map +0 -1
- package/lib/options/readAccess.js.map +0 -1
- package/lib/options/readAllContributors.d.ts +0 -8
- package/lib/options/readAllContributors.d.ts.map +0 -1
- package/lib/options/readAllContributors.js.map +0 -1
- package/lib/options/readAuthor.d.ts +0 -10
- package/lib/options/readAuthor.d.ts.map +0 -1
- package/lib/options/readAuthor.js.map +0 -1
- package/lib/options/readBin.d.ts +0 -7
- package/lib/options/readBin.d.ts.map +0 -1
- package/lib/options/readBin.js.map +0 -1
- package/lib/options/readDescription.d.ts +0 -7
- package/lib/options/readDescription.d.ts.map +0 -1
- 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.map +0 -1
- package/lib/options/readDevelopmentDocumentation.d.ts +0 -7
- package/lib/options/readDevelopmentDocumentation.d.ts.map +0 -1
- package/lib/options/readDevelopmentDocumentation.js.map +0 -1
- package/lib/options/readDocumentation.d.ts +0 -7
- package/lib/options/readDocumentation.d.ts.map +0 -1
- package/lib/options/readDocumentation.js.map +0 -1
- package/lib/options/readEmailFromCodeOfConduct.d.ts +0 -7
- package/lib/options/readEmailFromCodeOfConduct.d.ts.map +0 -1
- package/lib/options/readEmailFromCodeOfConduct.js.map +0 -1
- package/lib/options/readEmailFromGit.d.ts +0 -7
- package/lib/options/readEmailFromGit.d.ts.map +0 -1
- package/lib/options/readEmailFromGit.js.map +0 -1
- package/lib/options/readEmailFromNpm.d.ts +0 -8
- package/lib/options/readEmailFromNpm.d.ts.map +0 -1
- package/lib/options/readEmailFromNpm.js.map +0 -1
- package/lib/options/readEmails.d.ts +0 -10
- package/lib/options/readEmails.d.ts.map +0 -1
- 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.map +0 -1
- package/lib/options/readExistingLabels.d.ts +0 -11
- package/lib/options/readExistingLabels.d.ts.map +0 -1
- 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.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.map +0 -1
- package/lib/options/readFunding.d.ts +0 -7
- package/lib/options/readFunding.d.ts.map +0 -1
- package/lib/options/readFunding.js.map +0 -1
- package/lib/options/readGitDefaults.d.ts +0 -8
- package/lib/options/readGitDefaults.d.ts.map +0 -1
- package/lib/options/readGitDefaults.js.map +0 -1
- package/lib/options/readGuide.d.ts +0 -10
- package/lib/options/readGuide.d.ts.map +0 -1
- package/lib/options/readGuide.js.map +0 -1
- package/lib/options/readKeywords.d.ts +0 -7
- package/lib/options/readKeywords.d.ts.map +0 -1
- 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.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.map +0 -1
- package/lib/options/readNode.d.ts +0 -10
- package/lib/options/readNode.d.ts.map +0 -1
- package/lib/options/readNode.js.map +0 -1
- package/lib/options/readNpmDefaults.d.ts +0 -8
- package/lib/options/readNpmDefaults.d.ts.map +0 -1
- package/lib/options/readNpmDefaults.js.map +0 -1
- package/lib/options/readOwner.d.ts +0 -9
- package/lib/options/readOwner.d.ts.map +0 -1
- package/lib/options/readOwner.js.map +0 -1
- package/lib/options/readPackageAuthor.d.ts +0 -11
- package/lib/options/readPackageAuthor.d.ts.map +0 -1
- package/lib/options/readPackageAuthor.js.map +0 -1
- package/lib/options/readPackageData.d.ts +0 -8
- package/lib/options/readPackageData.d.ts.map +0 -1
- package/lib/options/readPackageData.js.map +0 -1
- package/lib/options/readPnpm.d.ts +0 -7
- package/lib/options/readPnpm.d.ts.map +0 -1
- 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.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.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.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.map +0 -1
- package/lib/options/readRepository.d.ts +0 -11
- package/lib/options/readRepository.d.ts.map +0 -1
- package/lib/options/readRepository.js.map +0 -1
- package/lib/options/readRulesetId.d.ts +0 -7
- package/lib/options/readRulesetId.d.ts.map +0 -1
- 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.map +0 -1
- package/lib/options/readWords.d.ts +0 -7
- package/lib/options/readWords.d.ts.map +0 -1
- package/lib/options/readWords.js.map +0 -1
- package/lib/options/readWorkflowsVersions.d.ts +0 -8
- package/lib/options/readWorkflowsVersions.d.ts.map +0 -1
- package/lib/options/readWorkflowsVersions.js.map +0 -1
- package/lib/package.d.ts +0 -138
- package/lib/package.d.ts.map +0 -1
- package/lib/presets/common.d.ts +0 -173
- package/lib/presets/common.d.ts.map +0 -1
- package/lib/presets/common.js.map +0 -1
- package/lib/presets/everything.d.ts +0 -173
- package/lib/presets/everything.d.ts.map +0 -1
- package/lib/presets/everything.js.map +0 -1
- package/lib/presets/index.d.ts +0 -510
- package/lib/presets/index.d.ts.map +0 -1
- package/lib/presets/index.js.map +0 -1
- package/lib/presets/minimal.d.ts +0 -173
- package/lib/presets/minimal.d.ts.map +0 -1
- package/lib/presets/minimal.js.map +0 -1
- package/lib/schemas.d.ts +0 -112
- package/lib/schemas.d.ts.map +0 -1
- package/lib/schemas.js.map +0 -1
- package/lib/template.d.ts +0 -173
- package/lib/template.d.ts.map +0 -1
- 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.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.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.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.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.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.map +0 -1
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum85 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockRemoveWorkflows.d.ts
|
|
4
|
-
declare const blockRemoveWorkflows: bingo_stratum85.BlockWithAddons<{
|
|
5
|
-
workflows?: string[] | undefined;
|
|
6
|
-
}, {
|
|
7
|
-
access: "public" | "restricted";
|
|
8
|
-
description: string;
|
|
9
|
-
directory: string;
|
|
10
|
-
documentation: {
|
|
11
|
-
readme: {
|
|
12
|
-
additional?: string | undefined;
|
|
13
|
-
explainer?: string | undefined;
|
|
14
|
-
footnotes?: string | undefined;
|
|
15
|
-
usage?: string | undefined;
|
|
16
|
-
};
|
|
17
|
-
development?: string | undefined;
|
|
18
|
-
};
|
|
19
|
-
email: {
|
|
20
|
-
github: string;
|
|
21
|
-
npm: string;
|
|
22
|
-
};
|
|
23
|
-
title: string;
|
|
24
|
-
node: {
|
|
25
|
-
minimum: string;
|
|
26
|
-
pinned?: string | undefined;
|
|
27
|
-
};
|
|
28
|
-
owner: string;
|
|
29
|
-
repository: string;
|
|
30
|
-
type?: "commonjs" | "module" | undefined;
|
|
31
|
-
author?: string | undefined;
|
|
32
|
-
bin?: string | Record<string, string> | undefined;
|
|
33
|
-
contributors?: {
|
|
34
|
-
avatar_url: string;
|
|
35
|
-
contributions: string[];
|
|
36
|
-
login: string;
|
|
37
|
-
name: string;
|
|
38
|
-
profile: string;
|
|
39
|
-
}[] | undefined;
|
|
40
|
-
emoji?: string | undefined;
|
|
41
|
-
existingLabels?: {
|
|
42
|
-
name: string;
|
|
43
|
-
description: string;
|
|
44
|
-
color: string;
|
|
45
|
-
}[] | undefined;
|
|
46
|
-
funding?: string | undefined;
|
|
47
|
-
guide?: {
|
|
48
|
-
href: string;
|
|
49
|
-
title: string;
|
|
50
|
-
} | undefined;
|
|
51
|
-
keywords?: string[] | undefined;
|
|
52
|
-
logo?: {
|
|
53
|
-
alt: string;
|
|
54
|
-
src: string;
|
|
55
|
-
height?: number | undefined;
|
|
56
|
-
width?: number | undefined;
|
|
57
|
-
} | undefined;
|
|
58
|
-
packageData?: {
|
|
59
|
-
dependencies?: Record<string, string> | undefined;
|
|
60
|
-
devDependencies?: Record<string, string> | undefined;
|
|
61
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
62
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
63
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
64
|
-
} | undefined;
|
|
65
|
-
pnpm?: string | undefined;
|
|
66
|
-
rulesetId?: string | undefined;
|
|
67
|
-
version?: string | undefined;
|
|
68
|
-
words?: string[] | undefined;
|
|
69
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
70
|
-
pinned?: boolean | undefined;
|
|
71
|
-
hash?: string | undefined;
|
|
72
|
-
}>> | undefined;
|
|
73
|
-
}>;
|
|
74
|
-
//#endregion
|
|
75
|
-
export { blockRemoveWorkflows };
|
|
76
|
-
//# sourceMappingURL=blockRemoveWorkflows.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockRemoveWorkflows.d.ts","names":[],"sources":["../../src/blocks/blockRemoveWorkflows.ts"],"sourcesContent":[],"mappings":";;;cAKa,sCAAoB;;;EAApB,MAAA,EAAA,QAAA,GAAA,YAyBX;;;;;;;;;;IAzB+B,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockRemoveWorkflows.js","names":[],"sources":["../../src/blocks/blockRemoveWorkflows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\n\nexport const blockRemoveWorkflows = base.createBlock({\n\tabout: {\n\t\tname: \"Remove Workflows\",\n\t},\n\taddons: {\n\t\tworkflows: z.array(z.string()).optional(),\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\ttransition({ addons }) {\n\t\tconst { workflows } = addons;\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: workflows?.map(\n\t\t\t\t\t\t(workflow) => `.github/workflows/${workflow}.yaml`,\n\t\t\t\t\t),\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;AAKA,MAAa,uBAAuB,KAAK,YAAY;CACpD,OAAO,EACN,MAAM,oBACN;CACD,QAAQ,EACP,WAAW,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,UAAU,EACzC;CAGD,UAAU;AACT,SAAO,EAAE;;CAEV,WAAW,EAAE,UAAU;EACtB,MAAM,EAAE,cAAc;AAEtB,SAAO,EACN,QAAQ,CACP,iBAAiB,EAChB,OAAO,WAAW,KAChB,aAAa,qBAAqB,SAAS,OAC5C,EACD,CAAC,CACF,EACD;;CAEF,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum90 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockRenovate.d.ts
|
|
4
|
-
declare const blockRenovate: bingo_stratum90.BlockWithAddons<{
|
|
5
|
-
ignoreDeps: string[];
|
|
6
|
-
}, {
|
|
7
|
-
access: "public" | "restricted";
|
|
8
|
-
description: string;
|
|
9
|
-
directory: string;
|
|
10
|
-
documentation: {
|
|
11
|
-
readme: {
|
|
12
|
-
additional?: string | undefined;
|
|
13
|
-
explainer?: string | undefined;
|
|
14
|
-
footnotes?: string | undefined;
|
|
15
|
-
usage?: string | undefined;
|
|
16
|
-
};
|
|
17
|
-
development?: string | undefined;
|
|
18
|
-
};
|
|
19
|
-
email: {
|
|
20
|
-
github: string;
|
|
21
|
-
npm: string;
|
|
22
|
-
};
|
|
23
|
-
title: string;
|
|
24
|
-
node: {
|
|
25
|
-
minimum: string;
|
|
26
|
-
pinned?: string | undefined;
|
|
27
|
-
};
|
|
28
|
-
owner: string;
|
|
29
|
-
repository: string;
|
|
30
|
-
type?: "commonjs" | "module" | undefined;
|
|
31
|
-
author?: string | undefined;
|
|
32
|
-
bin?: string | Record<string, string> | undefined;
|
|
33
|
-
contributors?: {
|
|
34
|
-
avatar_url: string;
|
|
35
|
-
contributions: string[];
|
|
36
|
-
login: string;
|
|
37
|
-
name: string;
|
|
38
|
-
profile: string;
|
|
39
|
-
}[] | undefined;
|
|
40
|
-
emoji?: string | undefined;
|
|
41
|
-
existingLabels?: {
|
|
42
|
-
name: string;
|
|
43
|
-
description: string;
|
|
44
|
-
color: string;
|
|
45
|
-
}[] | undefined;
|
|
46
|
-
funding?: string | undefined;
|
|
47
|
-
guide?: {
|
|
48
|
-
href: string;
|
|
49
|
-
title: string;
|
|
50
|
-
} | undefined;
|
|
51
|
-
keywords?: string[] | undefined;
|
|
52
|
-
logo?: {
|
|
53
|
-
alt: string;
|
|
54
|
-
src: string;
|
|
55
|
-
height?: number | undefined;
|
|
56
|
-
width?: number | undefined;
|
|
57
|
-
} | undefined;
|
|
58
|
-
packageData?: {
|
|
59
|
-
dependencies?: Record<string, string> | undefined;
|
|
60
|
-
devDependencies?: Record<string, string> | undefined;
|
|
61
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
62
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
63
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
64
|
-
} | undefined;
|
|
65
|
-
pnpm?: string | undefined;
|
|
66
|
-
rulesetId?: string | undefined;
|
|
67
|
-
version?: string | undefined;
|
|
68
|
-
words?: string[] | undefined;
|
|
69
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
70
|
-
pinned?: boolean | undefined;
|
|
71
|
-
hash?: string | undefined;
|
|
72
|
-
}>> | undefined;
|
|
73
|
-
}>;
|
|
74
|
-
//#endregion
|
|
75
|
-
export { blockRenovate };
|
|
76
|
-
//# sourceMappingURL=blockRenovate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockRenovate.d.ts","names":[],"sources":["../../src/blocks/blockRenovate.ts"],"sourcesContent":[],"mappings":";;;cAQa,+BAAa;;;EAAb,MAAA,EAAA,QAkDX,GAAA,YAAA;;;;;;;;;;IAlDwB,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockRenovate.js","names":[],"sources":["../../src/blocks/blockRenovate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { blockGitHubApps } from \"./blockGitHubApps.js\";\nimport { intakeFileAsJson } from \"./intake/intakeFileAsJson.js\";\n\nconst zIgnoreDeps = z.array(z.string()).default([]);\n\nexport const blockRenovate = base.createBlock({\n\tabout: {\n\t\tname: \"Renovate\",\n\t},\n\taddons: {\n\t\tignoreDeps: zIgnoreDeps,\n\t},\n\tintake({ files }) {\n\t\tconst raw = intakeFileAsJson(files, [\".github\", \"renovate.json\"]);\n\n\t\treturn {\n\t\t\tignoreDeps: zIgnoreDeps.safeParse(raw?.ignoreDeps).data,\n\t\t};\n\t},\n\tproduce({ addons }) {\n\t\tconst { ignoreDeps } = addons;\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockGitHubApps({\n\t\t\t\t\tapps: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Renovate\",\n\t\t\t\t\t\t\turl: \"https://github.com/apps/renovate\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\t\"renovate.json\": JSON.stringify({\n\t\t\t\t\t\t$schema: \"https://docs.renovatebot.com/renovate-schema.json\",\n\t\t\t\t\t\tautomerge: true,\n\t\t\t\t\t\textends: [\n\t\t\t\t\t\t\t\":preserveSemverRanges\",\n\t\t\t\t\t\t\t\"config:best-practices\",\n\t\t\t\t\t\t\t\"replacements:all\",\n\t\t\t\t\t\t],\n\t\t\t\t\t\tignoreDeps: Array.from(\n\t\t\t\t\t\t\tnew Set([\"codecov/codecov-action\", ...ignoreDeps]),\n\t\t\t\t\t\t).sort(),\n\t\t\t\t\t\tlabels: [\"dependencies\"],\n\t\t\t\t\t\tminimumReleaseAge: \"7 days\",\n\t\t\t\t\t\tpatch: { enabled: false },\n\t\t\t\t\t\tpostUpdateOptions: [\"pnpmDedupe\"],\n\t\t\t\t\t}),\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;AAMA,MAAM,cAAc,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,EAAE,CAAC;AAEnD,MAAa,gBAAgB,KAAK,YAAY;CAC7C,OAAO,EACN,MAAM,YACN;CACD,QAAQ,EACP,YAAY,aACZ;CACD,OAAO,EAAE,SAAS;EACjB,MAAM,MAAM,iBAAiB,OAAO,CAAC,WAAW,gBAAgB,CAAC;AAEjE,SAAO,EACN,YAAY,YAAY,UAAU,KAAK,WAAW,CAAC,MACnD;;CAEF,QAAQ,EAAE,UAAU;EACnB,MAAM,EAAE,eAAe;AAEvB,SAAO;GACN,QAAQ,CACP,gBAAgB,EACf,MAAM,CACL;IACC,MAAM;IACN,KAAK;IACL,CACD,EACD,CAAC,CACF;GACD,OAAO,EACN,WAAW,EACV,iBAAiB,KAAK,UAAU;IAC/B,SAAS;IACT,WAAW;IACX,SAAS;KACR;KACA;KACA;KACA;IACD,YAAY,MAAM,KACjB,IAAI,IAAI,CAAC,0BAA0B,GAAG,WAAW,CAAC,CAClD,CAAC,MAAM;IACR,QAAQ,CAAC,eAAe;IACxB,mBAAmB;IACnB,OAAO,EAAE,SAAS,OAAO;IACzB,mBAAmB,CAAC,aAAa;IACjC,CAAC,EACF,EACD;GACD;;CAEF,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum88 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockRepositoryBranchRuleset.d.ts
|
|
4
|
-
declare const blockRepositoryBranchRuleset: bingo_stratum88.BlockWithAddons<{
|
|
5
|
-
requiredStatusChecks?: string[] | undefined;
|
|
6
|
-
}, {
|
|
7
|
-
access: "public" | "restricted";
|
|
8
|
-
description: string;
|
|
9
|
-
directory: string;
|
|
10
|
-
documentation: {
|
|
11
|
-
readme: {
|
|
12
|
-
additional?: string | undefined;
|
|
13
|
-
explainer?: string | undefined;
|
|
14
|
-
footnotes?: string | undefined;
|
|
15
|
-
usage?: string | undefined;
|
|
16
|
-
};
|
|
17
|
-
development?: string | undefined;
|
|
18
|
-
};
|
|
19
|
-
email: {
|
|
20
|
-
github: string;
|
|
21
|
-
npm: string;
|
|
22
|
-
};
|
|
23
|
-
title: string;
|
|
24
|
-
node: {
|
|
25
|
-
minimum: string;
|
|
26
|
-
pinned?: string | undefined;
|
|
27
|
-
};
|
|
28
|
-
owner: string;
|
|
29
|
-
repository: string;
|
|
30
|
-
type?: "commonjs" | "module" | undefined;
|
|
31
|
-
author?: string | undefined;
|
|
32
|
-
bin?: string | Record<string, string> | undefined;
|
|
33
|
-
contributors?: {
|
|
34
|
-
avatar_url: string;
|
|
35
|
-
contributions: string[];
|
|
36
|
-
login: string;
|
|
37
|
-
name: string;
|
|
38
|
-
profile: string;
|
|
39
|
-
}[] | undefined;
|
|
40
|
-
emoji?: string | undefined;
|
|
41
|
-
existingLabels?: {
|
|
42
|
-
name: string;
|
|
43
|
-
description: string;
|
|
44
|
-
color: string;
|
|
45
|
-
}[] | undefined;
|
|
46
|
-
funding?: string | undefined;
|
|
47
|
-
guide?: {
|
|
48
|
-
href: string;
|
|
49
|
-
title: string;
|
|
50
|
-
} | undefined;
|
|
51
|
-
keywords?: string[] | undefined;
|
|
52
|
-
logo?: {
|
|
53
|
-
alt: string;
|
|
54
|
-
src: string;
|
|
55
|
-
height?: number | undefined;
|
|
56
|
-
width?: number | undefined;
|
|
57
|
-
} | undefined;
|
|
58
|
-
packageData?: {
|
|
59
|
-
dependencies?: Record<string, string> | undefined;
|
|
60
|
-
devDependencies?: Record<string, string> | undefined;
|
|
61
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
62
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
63
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
64
|
-
} | undefined;
|
|
65
|
-
pnpm?: string | undefined;
|
|
66
|
-
rulesetId?: string | undefined;
|
|
67
|
-
version?: string | undefined;
|
|
68
|
-
words?: string[] | undefined;
|
|
69
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
70
|
-
pinned?: boolean | undefined;
|
|
71
|
-
hash?: string | undefined;
|
|
72
|
-
}>> | undefined;
|
|
73
|
-
}>;
|
|
74
|
-
//#endregion
|
|
75
|
-
export { blockRepositoryBranchRuleset };
|
|
76
|
-
//# sourceMappingURL=blockRepositoryBranchRuleset.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockRepositoryBranchRuleset.d.ts","names":[],"sources":["../../src/blocks/blockRepositoryBranchRuleset.ts"],"sourcesContent":[],"mappings":";;;cAMa,8CAA4B;;;EAA5B,MAAA,EAAA,QAAA,GAAA,YA4DX;;;;;;;;;;IA5DuC,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockRepositoryBranchRuleset.js","names":[],"sources":["../../src/blocks/blockRepositoryBranchRuleset.ts"],"sourcesContent":["import type { CreatedOctokitRequest } from \"bingo-requests\";\n\nimport { z } from \"zod\";\n\nimport { base, BaseOptions } from \"../base.js\";\n\nexport const blockRepositoryBranchRuleset = base.createBlock({\n\tabout: {\n\t\tname: \"Repository Branch Ruleset\",\n\t},\n\taddons: {\n\t\trequiredStatusChecks: z.array(z.string()).optional(),\n\t},\n\tsetup({ addons, options }) {\n\t\treturn {\n\t\t\trequests: [\n\t\t\t\t{\n\t\t\t\t\tendpoint: \"POST /repos/{owner}/{repo}/rulesets\",\n\t\t\t\t\tparameters: createRulesetParameters(\n\t\t\t\t\t\taddons.requiredStatusChecks,\n\t\t\t\t\t\toptions,\n\t\t\t\t\t),\n\t\t\t\t\ttype: \"octokit\",\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n\ttransition({ addons, options }) {\n\t\treturn {\n\t\t\trequests: [\n\t\t\t\t{\n\t\t\t\t\tendpoint: \"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\",\n\t\t\t\t\tparameters: {\n\t\t\t\t\t\tbranch: \"main\",\n\t\t\t\t\t\towner: options.owner,\n\t\t\t\t\t\trepo: options.repository,\n\t\t\t\t\t},\n\t\t\t\t\tsilent: true,\n\t\t\t\t\ttype: \"octokit\",\n\t\t\t\t},\n\t\t\t\toptions.rulesetId\n\t\t\t\t\t? {\n\t\t\t\t\t\t\tendpoint: \"PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}\",\n\t\t\t\t\t\t\tparameters: createRulesetParameters(\n\t\t\t\t\t\t\t\taddons.requiredStatusChecks,\n\t\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t\toptions.rulesetId,\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\ttype: \"octokit\",\n\t\t\t\t\t\t}\n\t\t\t\t\t: {\n\t\t\t\t\t\t\tendpoint: \"POST /repos/{owner}/{repo}/rulesets\",\n\t\t\t\t\t\t\tparameters: createRulesetParameters(\n\t\t\t\t\t\t\t\taddons.requiredStatusChecks,\n\t\t\t\t\t\t\t\toptions,\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\ttype: \"octokit\",\n\t\t\t\t\t\t},\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\nfunction createRulesetParameters(\n\tcontexts: string[] | undefined,\n\toptions: BaseOptions,\n\trulesetId?: string,\n) {\n\treturn {\n\t\tbypass_actors: [\n\t\t\t{\n\t\t\t\t// This *seems* to be the Repository Admin role always?\n\t\t\t\t// https://github.com/github/rest-api-description/issues/4406\n\t\t\t\tactor_id: 5,\n\t\t\t\tactor_type: \"RepositoryRole\",\n\t\t\t\tbypass_mode: \"always\",\n\t\t\t},\n\t\t],\n\t\tconditions: {\n\t\t\tref_name: {\n\t\t\t\texclude: [],\n\t\t\t\tinclude: [\"refs/heads/main\"],\n\t\t\t},\n\t\t},\n\t\tenforcement: \"active\",\n\t\tname: \"Branch protection for main\",\n\t\towner: options.owner,\n\t\trepo: options.repository,\n\t\trules: [\n\t\t\t{ type: \"deletion\" },\n\t\t\t{\n\t\t\t\tparameters: {\n\t\t\t\t\tallowed_merge_methods: [\"squash\"],\n\t\t\t\t\tdismiss_stale_reviews_on_push: false,\n\t\t\t\t\trequire_code_owner_review: false,\n\t\t\t\t\trequire_last_push_approval: false,\n\t\t\t\t\trequired_approving_review_count: 0,\n\t\t\t\t\trequired_review_thread_resolution: false,\n\t\t\t\t},\n\t\t\t\ttype: \"pull_request\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tparameters: {\n\t\t\t\t\trequired_status_checks:\n\t\t\t\t\t\tcontexts?.map((context) => ({\n\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t})) ?? [],\n\t\t\t\t\tstrict_required_status_checks_policy: false,\n\t\t\t\t},\n\t\t\t\ttype: \"required_status_checks\",\n\t\t\t},\n\t\t],\n\t\truleset_id: rulesetId === undefined ? rulesetId : Number(rulesetId),\n\t\ttarget: \"branch\",\n\t} satisfies CreatedOctokitRequest[\"parameters\"];\n}\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,KAAK,YAAY;CAC5D,OAAO,EACN,MAAM,6BACN;CACD,QAAQ,EACP,sBAAsB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,UAAU,EACpD;CACD,MAAM,EAAE,QAAQ,WAAW;AAC1B,SAAO,EACN,UAAU,CACT;GACC,UAAU;GACV,YAAY,wBACX,OAAO,sBACP,QACA;GACD,MAAM;GACN,CACD,EACD;;CAEF,WAAW,EAAE,QAAQ,WAAW;AAC/B,SAAO,EACN,UAAU,CACT;GACC,UAAU;GACV,YAAY;IACX,QAAQ;IACR,OAAO,QAAQ;IACf,MAAM,QAAQ;IACd;GACD,QAAQ;GACR,MAAM;GACN,EACD,QAAQ,YACL;GACA,UAAU;GACV,YAAY,wBACX,OAAO,sBACP,SACA,QAAQ,UACR;GACD,MAAM;GACN,GACA;GACA,UAAU;GACV,YAAY,wBACX,OAAO,sBACP,QACA;GACD,MAAM;GACN,CACH,EACD;;CAIF,UAAU;AACT,SAAO,EAAE;;CAEV,CAAC;AAEF,SAAS,wBACR,UACA,SACA,WACC;AACD,QAAO;EACN,eAAe,CACd;GAGC,UAAU;GACV,YAAY;GACZ,aAAa;GACb,CACD;EACD,YAAY,EACX,UAAU;GACT,SAAS,EAAE;GACX,SAAS,CAAC,kBAAkB;GAC5B,EACD;EACD,aAAa;EACb,MAAM;EACN,OAAO,QAAQ;EACf,MAAM,QAAQ;EACd,OAAO;GACN,EAAE,MAAM,YAAY;GACpB;IACC,YAAY;KACX,uBAAuB,CAAC,SAAS;KACjC,+BAA+B;KAC/B,2BAA2B;KAC3B,4BAA4B;KAC5B,iCAAiC;KACjC,mCAAmC;KACnC;IACD,MAAM;IACN;GACD;IACC,YAAY;KACX,wBACC,UAAU,KAAK,aAAa,EAC3B,SACA,EAAE,IAAI,EAAE;KACV,sCAAsC;KACtC;IACD,MAAM;IACN;GACD;EACD,YAAY,cAAc,SAAY,YAAY,OAAO,UAAU;EACnE,QAAQ;EACR"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum92 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockRepositoryLabels.d.ts
|
|
4
|
-
declare const blockRepositoryLabels: bingo_stratum92.BlockWithoutAddons<{
|
|
5
|
-
access: "public" | "restricted";
|
|
6
|
-
description: string;
|
|
7
|
-
directory: string;
|
|
8
|
-
documentation: {
|
|
9
|
-
readme: {
|
|
10
|
-
additional?: string | undefined;
|
|
11
|
-
explainer?: string | undefined;
|
|
12
|
-
footnotes?: string | undefined;
|
|
13
|
-
usage?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
development?: string | undefined;
|
|
16
|
-
};
|
|
17
|
-
email: {
|
|
18
|
-
github: string;
|
|
19
|
-
npm: string;
|
|
20
|
-
};
|
|
21
|
-
title: string;
|
|
22
|
-
node: {
|
|
23
|
-
minimum: string;
|
|
24
|
-
pinned?: string | undefined;
|
|
25
|
-
};
|
|
26
|
-
owner: string;
|
|
27
|
-
repository: string;
|
|
28
|
-
type?: "commonjs" | "module" | undefined;
|
|
29
|
-
author?: string | undefined;
|
|
30
|
-
bin?: string | Record<string, string> | undefined;
|
|
31
|
-
contributors?: {
|
|
32
|
-
avatar_url: string;
|
|
33
|
-
contributions: string[];
|
|
34
|
-
login: string;
|
|
35
|
-
name: string;
|
|
36
|
-
profile: string;
|
|
37
|
-
}[] | undefined;
|
|
38
|
-
emoji?: string | undefined;
|
|
39
|
-
existingLabels?: {
|
|
40
|
-
name: string;
|
|
41
|
-
description: string;
|
|
42
|
-
color: string;
|
|
43
|
-
}[] | undefined;
|
|
44
|
-
funding?: string | undefined;
|
|
45
|
-
guide?: {
|
|
46
|
-
href: string;
|
|
47
|
-
title: string;
|
|
48
|
-
} | undefined;
|
|
49
|
-
keywords?: string[] | undefined;
|
|
50
|
-
logo?: {
|
|
51
|
-
alt: string;
|
|
52
|
-
src: string;
|
|
53
|
-
height?: number | undefined;
|
|
54
|
-
width?: number | undefined;
|
|
55
|
-
} | undefined;
|
|
56
|
-
packageData?: {
|
|
57
|
-
dependencies?: Record<string, string> | undefined;
|
|
58
|
-
devDependencies?: Record<string, string> | undefined;
|
|
59
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
60
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
61
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
pnpm?: string | undefined;
|
|
64
|
-
rulesetId?: string | undefined;
|
|
65
|
-
version?: string | undefined;
|
|
66
|
-
words?: string[] | undefined;
|
|
67
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
68
|
-
pinned?: boolean | undefined;
|
|
69
|
-
hash?: string | undefined;
|
|
70
|
-
}>> | undefined;
|
|
71
|
-
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockRepositoryLabels };
|
|
74
|
-
//# sourceMappingURL=blockRepositoryLabels.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockRepositoryLabels.d.ts","names":[],"sources":["../../src/blocks/blockRepositoryLabels.ts"],"sourcesContent":[],"mappings":";;;cAKa,uCAAqB;;;EAArB,SAAA,EAAA,MAAA;;;;;;;;;;EAAqB,KAAA,EAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockRepositoryLabels.js","names":[],"sources":["../../src/blocks/blockRepositoryLabels.ts"],"sourcesContent":["import { determineLabelChanges } from \"set-github-repository-labels\";\n\nimport { base } from \"../base.js\";\nimport { outcomeLabels } from \"./outcomeLabels.js\";\n\nexport const blockRepositoryLabels = base.createBlock({\n\tabout: {\n\t\tname: \"Repository Labels\",\n\t},\n\tproduce({ options }) {\n\t\tconst changes = determineLabelChanges(\n\t\t\toptions.existingLabels ?? [],\n\t\t\toutcomeLabels,\n\t\t);\n\t\tconst requestData = {\n\t\t\towner: options.owner,\n\t\t\trepo: options.repository,\n\t\t};\n\n\t\treturn {\n\t\t\trequests: changes.map((change) => {\n\t\t\t\tswitch (change.type) {\n\t\t\t\t\tcase \"delete\":\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tendpoint: \"DELETE /repos/{owner}/{repo}/labels/{name}\",\n\t\t\t\t\t\t\tid: `delete label '${change.name}'`,\n\t\t\t\t\t\t\tparameters: {\n\t\t\t\t\t\t\t\t...requestData,\n\t\t\t\t\t\t\t\tname: change.name,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\ttype: \"octokit\",\n\t\t\t\t\t\t};\n\t\t\t\t\tcase \"patch\":\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tendpoint: \"PATCH /repos/{owner}/{repo}/labels/{name}\",\n\t\t\t\t\t\t\tid: `patch label '${change.originalName}'`,\n\t\t\t\t\t\t\tparameters: {\n\t\t\t\t\t\t\t\t...requestData,\n\t\t\t\t\t\t\t\tcolor: change.color,\n\t\t\t\t\t\t\t\tdescription: change.description,\n\t\t\t\t\t\t\t\tname: change.originalName,\n\t\t\t\t\t\t\t\tnew_name: change.newName,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\ttype: \"octokit\",\n\t\t\t\t\t\t};\n\t\t\t\t\tcase \"post\":\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tendpoint: \"POST /repos/{owner}/{repo}/labels\",\n\t\t\t\t\t\t\tid: `post label '${change.name}'`,\n\t\t\t\t\t\t\tparameters: {\n\t\t\t\t\t\t\t\t...requestData,\n\t\t\t\t\t\t\t\tcolor: change.color,\n\t\t\t\t\t\t\t\tdescription: change.description,\n\t\t\t\t\t\t\t\tname: change.name,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\ttype: \"octokit\",\n\t\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t}),\n\t\t};\n\t},\n});\n"],"mappings":";;;;;AAKA,MAAa,wBAAwB,KAAK,YAAY;CACrD,OAAO,EACN,MAAM,qBACN;CACD,QAAQ,EAAE,WAAW;EACpB,MAAM,UAAU,sBACf,QAAQ,kBAAkB,EAAE,EAC5B,cACA;EACD,MAAM,cAAc;GACnB,OAAO,QAAQ;GACf,MAAM,QAAQ;GACd;AAED,SAAO,EACN,UAAU,QAAQ,KAAK,WAAW;AACjC,WAAQ,OAAO,MAAf;IACC,KAAK,SACJ,QAAO;KACN,UAAU;KACV,IAAI,iBAAiB,OAAO,KAAK;KACjC,YAAY;MACX,GAAG;MACH,MAAM,OAAO;MACb;KACD,MAAM;KACN;IACF,KAAK,QACJ,QAAO;KACN,UAAU;KACV,IAAI,gBAAgB,OAAO,aAAa;KACxC,YAAY;MACX,GAAG;MACH,OAAO,OAAO;MACd,aAAa,OAAO;MACpB,MAAM,OAAO;MACb,UAAU,OAAO;MACjB;KACD,MAAM;KACN;IACF,KAAK,OACJ,QAAO;KACN,UAAU;KACV,IAAI,eAAe,OAAO,KAAK;KAC/B,YAAY;MACX,GAAG;MACH,OAAO,OAAO;MACd,aAAa,OAAO;MACpB,MAAM,OAAO;MACb;KACD,MAAM;KACN;;IAEF,EACF;;CAEF,CAAC"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum94 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockRepositorySecrets.d.ts
|
|
4
|
-
declare const blockRepositorySecrets: bingo_stratum94.BlockWithAddons<{
|
|
5
|
-
secrets: {
|
|
6
|
-
name: string;
|
|
7
|
-
description: string;
|
|
8
|
-
}[];
|
|
9
|
-
}, {
|
|
10
|
-
access: "public" | "restricted";
|
|
11
|
-
description: string;
|
|
12
|
-
directory: string;
|
|
13
|
-
documentation: {
|
|
14
|
-
readme: {
|
|
15
|
-
additional?: string | undefined;
|
|
16
|
-
explainer?: string | undefined;
|
|
17
|
-
footnotes?: string | undefined;
|
|
18
|
-
usage?: string | undefined;
|
|
19
|
-
};
|
|
20
|
-
development?: string | undefined;
|
|
21
|
-
};
|
|
22
|
-
email: {
|
|
23
|
-
github: string;
|
|
24
|
-
npm: string;
|
|
25
|
-
};
|
|
26
|
-
title: string;
|
|
27
|
-
node: {
|
|
28
|
-
minimum: string;
|
|
29
|
-
pinned?: string | undefined;
|
|
30
|
-
};
|
|
31
|
-
owner: string;
|
|
32
|
-
repository: string;
|
|
33
|
-
type?: "commonjs" | "module" | undefined;
|
|
34
|
-
author?: string | undefined;
|
|
35
|
-
bin?: string | Record<string, string> | undefined;
|
|
36
|
-
contributors?: {
|
|
37
|
-
avatar_url: string;
|
|
38
|
-
contributions: string[];
|
|
39
|
-
login: string;
|
|
40
|
-
name: string;
|
|
41
|
-
profile: string;
|
|
42
|
-
}[] | undefined;
|
|
43
|
-
emoji?: string | undefined;
|
|
44
|
-
existingLabels?: {
|
|
45
|
-
name: string;
|
|
46
|
-
description: string;
|
|
47
|
-
color: string;
|
|
48
|
-
}[] | undefined;
|
|
49
|
-
funding?: string | undefined;
|
|
50
|
-
guide?: {
|
|
51
|
-
href: string;
|
|
52
|
-
title: string;
|
|
53
|
-
} | undefined;
|
|
54
|
-
keywords?: string[] | undefined;
|
|
55
|
-
logo?: {
|
|
56
|
-
alt: string;
|
|
57
|
-
src: string;
|
|
58
|
-
height?: number | undefined;
|
|
59
|
-
width?: number | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
packageData?: {
|
|
62
|
-
dependencies?: Record<string, string> | undefined;
|
|
63
|
-
devDependencies?: Record<string, string> | undefined;
|
|
64
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
65
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
66
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
67
|
-
} | undefined;
|
|
68
|
-
pnpm?: string | undefined;
|
|
69
|
-
rulesetId?: string | undefined;
|
|
70
|
-
version?: string | undefined;
|
|
71
|
-
words?: string[] | undefined;
|
|
72
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
73
|
-
pinned?: boolean | undefined;
|
|
74
|
-
hash?: string | undefined;
|
|
75
|
-
}>> | undefined;
|
|
76
|
-
}>;
|
|
77
|
-
//#endregion
|
|
78
|
-
export { blockRepositorySecrets };
|
|
79
|
-
//# sourceMappingURL=blockRepositorySecrets.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockRepositorySecrets.d.ts","names":[],"sources":["../../src/blocks/blockRepositorySecrets.ts"],"sourcesContent":[],"mappings":";;;cAKa,wCAAsB;;;IAAtB,WAAA,EAAA,MAAA;;;;;;;;;eAAsB,CAAA,EAAA,MAAA,GAAA,SAAA;MAAA,SAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockRepositorySecrets.js","names":[],"sources":["../../src/blocks/blockRepositorySecrets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getInstallationSuggestions } from \"./getInstallationSuggestions.js\";\n\nexport const blockRepositorySecrets = base.createBlock({\n\tabout: {\n\t\tname: \"Repository Secrets\",\n\t},\n\taddons: {\n\t\tsecrets: z\n\t\t\t.array(\n\t\t\t\tz.object({\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.default([]),\n\t},\n\tproduce({ addons, options }) {\n\t\treturn {\n\t\t\tsuggestions: getInstallationSuggestions(\n\t\t\t\t\"populate the secret\",\n\t\t\t\taddons.secrets.map(\n\t\t\t\t\t(secret) => `${secret.name} (${secret.description})`,\n\t\t\t\t),\n\t\t\t\t`https://github.com/${options.owner}/${options.repository}/settings/secrets/actions`,\n\t\t\t),\n\t\t};\n\t},\n});\n"],"mappings":";;;;;AAKA,MAAa,yBAAyB,KAAK,YAAY;CACtD,OAAO,EACN,MAAM,sBACN;CACD,QAAQ,EACP,SAAS,EACP,MACA,EAAE,OAAO;EACR,aAAa,EAAE,QAAQ;EACvB,MAAM,EAAE,QAAQ;EAChB,CAAC,CACF,CACA,QAAQ,EAAE,CAAC,EACb;CACD,QAAQ,EAAE,QAAQ,WAAW;AAC5B,SAAO,EACN,aAAa,2BACZ,uBACA,OAAO,QAAQ,KACb,WAAW,GAAG,OAAO,KAAK,IAAI,OAAO,YAAY,GAClD,EACD,sBAAsB,QAAQ,MAAM,GAAG,QAAQ,WAAW,2BAC1D,EACD;;CAEF,CAAC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum86 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockRepositorySettings.d.ts
|
|
4
|
-
declare const blockRepositorySettings: bingo_stratum86.BlockWithoutAddons<{
|
|
5
|
-
access: "public" | "restricted";
|
|
6
|
-
description: string;
|
|
7
|
-
directory: string;
|
|
8
|
-
documentation: {
|
|
9
|
-
readme: {
|
|
10
|
-
additional?: string | undefined;
|
|
11
|
-
explainer?: string | undefined;
|
|
12
|
-
footnotes?: string | undefined;
|
|
13
|
-
usage?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
development?: string | undefined;
|
|
16
|
-
};
|
|
17
|
-
email: {
|
|
18
|
-
github: string;
|
|
19
|
-
npm: string;
|
|
20
|
-
};
|
|
21
|
-
title: string;
|
|
22
|
-
node: {
|
|
23
|
-
minimum: string;
|
|
24
|
-
pinned?: string | undefined;
|
|
25
|
-
};
|
|
26
|
-
owner: string;
|
|
27
|
-
repository: string;
|
|
28
|
-
type?: "commonjs" | "module" | undefined;
|
|
29
|
-
author?: string | undefined;
|
|
30
|
-
bin?: string | Record<string, string> | undefined;
|
|
31
|
-
contributors?: {
|
|
32
|
-
avatar_url: string;
|
|
33
|
-
contributions: string[];
|
|
34
|
-
login: string;
|
|
35
|
-
name: string;
|
|
36
|
-
profile: string;
|
|
37
|
-
}[] | undefined;
|
|
38
|
-
emoji?: string | undefined;
|
|
39
|
-
existingLabels?: {
|
|
40
|
-
name: string;
|
|
41
|
-
description: string;
|
|
42
|
-
color: string;
|
|
43
|
-
}[] | undefined;
|
|
44
|
-
funding?: string | undefined;
|
|
45
|
-
guide?: {
|
|
46
|
-
href: string;
|
|
47
|
-
title: string;
|
|
48
|
-
} | undefined;
|
|
49
|
-
keywords?: string[] | undefined;
|
|
50
|
-
logo?: {
|
|
51
|
-
alt: string;
|
|
52
|
-
src: string;
|
|
53
|
-
height?: number | undefined;
|
|
54
|
-
width?: number | undefined;
|
|
55
|
-
} | undefined;
|
|
56
|
-
packageData?: {
|
|
57
|
-
dependencies?: Record<string, string> | undefined;
|
|
58
|
-
devDependencies?: Record<string, string> | undefined;
|
|
59
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
60
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
61
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
pnpm?: string | undefined;
|
|
64
|
-
rulesetId?: string | undefined;
|
|
65
|
-
version?: string | undefined;
|
|
66
|
-
words?: string[] | undefined;
|
|
67
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
68
|
-
pinned?: boolean | undefined;
|
|
69
|
-
hash?: string | undefined;
|
|
70
|
-
}>> | undefined;
|
|
71
|
-
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockRepositorySettings };
|
|
74
|
-
//# sourceMappingURL=blockRepositorySettings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockRepositorySettings.d.ts","names":[],"sources":["../../src/blocks/blockRepositorySettings.ts"],"sourcesContent":[],"mappings":";;;cAGa,yCAAuB;;;EAAvB,SAAA,EAAA,MAAA;;;;;;;;;;EAAuB,KAAA,EAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockRepositorySettings.js","names":[],"sources":["../../src/blocks/blockRepositorySettings.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { htmlToTextSafe } from \"../utils/htmlToTextSafe.js\";\n\nexport const blockRepositorySettings = base.createBlock({\n\tabout: {\n\t\tname: \"Repository Settings\",\n\t},\n\tproduce({ options }) {\n\t\tconst description = htmlToTextSafe(options.description);\n\n\t\treturn {\n\t\t\trequests: [\n\t\t\t\t{\n\t\t\t\t\tendpoint: \"PATCH /repos/{owner}/{repo}\",\n\t\t\t\t\tparameters: {\n\t\t\t\t\t\tallow_auto_merge: true,\n\t\t\t\t\t\tallow_merge_commit: false,\n\t\t\t\t\t\tallow_rebase_merge: false,\n\t\t\t\t\t\tallow_squash_merge: true,\n\t\t\t\t\t\tdelete_branch_on_merge: true,\n\t\t\t\t\t\tdescription,\n\t\t\t\t\t\thas_wiki: false,\n\t\t\t\t\t\towner: options.owner,\n\t\t\t\t\t\trepo: options.repository,\n\t\t\t\t\t\tsecurity_and_analysis: {\n\t\t\t\t\t\t\tsecret_scanning: {\n\t\t\t\t\t\t\t\tstatus: \"enabled\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsecret_scanning_push_protection: {\n\t\t\t\t\t\t\t\tstatus: \"enabled\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tsquash_merge_commit_message: \"PR_BODY\",\n\t\t\t\t\t\tsquash_merge_commit_title: \"PR_TITLE\",\n\t\t\t\t\t},\n\t\t\t\t\ttype: \"octokit\",\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAGA,MAAa,0BAA0B,KAAK,YAAY;CACvD,OAAO,EACN,MAAM,uBACN;CACD,QAAQ,EAAE,WAAW;AAGpB,SAAO,EACN,UAAU,CACT;GACC,UAAU;GACV,YAAY;IACX,kBAAkB;IAClB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,wBAAwB;IACxB,aAZgB,eAAe,QAAQ,YAAY;IAanD,UAAU;IACV,OAAO,QAAQ;IACf,MAAM,QAAQ;IACd,uBAAuB;KACtB,iBAAiB,EAChB,QAAQ,WACR;KACD,iCAAiC,EAChC,QAAQ,WACR;KACD;IACD,6BAA6B;IAC7B,2BAA2B;IAC3B;GACD,MAAM;GACN,CACD,EACD;;CAEF,CAAC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum89 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockSecurityDocs.d.ts
|
|
4
|
-
declare const blockSecurityDocs: bingo_stratum89.BlockWithoutAddons<{
|
|
5
|
-
access: "public" | "restricted";
|
|
6
|
-
description: string;
|
|
7
|
-
directory: string;
|
|
8
|
-
documentation: {
|
|
9
|
-
readme: {
|
|
10
|
-
additional?: string | undefined;
|
|
11
|
-
explainer?: string | undefined;
|
|
12
|
-
footnotes?: string | undefined;
|
|
13
|
-
usage?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
development?: string | undefined;
|
|
16
|
-
};
|
|
17
|
-
email: {
|
|
18
|
-
github: string;
|
|
19
|
-
npm: string;
|
|
20
|
-
};
|
|
21
|
-
title: string;
|
|
22
|
-
node: {
|
|
23
|
-
minimum: string;
|
|
24
|
-
pinned?: string | undefined;
|
|
25
|
-
};
|
|
26
|
-
owner: string;
|
|
27
|
-
repository: string;
|
|
28
|
-
type?: "commonjs" | "module" | undefined;
|
|
29
|
-
author?: string | undefined;
|
|
30
|
-
bin?: string | Record<string, string> | undefined;
|
|
31
|
-
contributors?: {
|
|
32
|
-
avatar_url: string;
|
|
33
|
-
contributions: string[];
|
|
34
|
-
login: string;
|
|
35
|
-
name: string;
|
|
36
|
-
profile: string;
|
|
37
|
-
}[] | undefined;
|
|
38
|
-
emoji?: string | undefined;
|
|
39
|
-
existingLabels?: {
|
|
40
|
-
name: string;
|
|
41
|
-
description: string;
|
|
42
|
-
color: string;
|
|
43
|
-
}[] | undefined;
|
|
44
|
-
funding?: string | undefined;
|
|
45
|
-
guide?: {
|
|
46
|
-
href: string;
|
|
47
|
-
title: string;
|
|
48
|
-
} | undefined;
|
|
49
|
-
keywords?: string[] | undefined;
|
|
50
|
-
logo?: {
|
|
51
|
-
alt: string;
|
|
52
|
-
src: string;
|
|
53
|
-
height?: number | undefined;
|
|
54
|
-
width?: number | undefined;
|
|
55
|
-
} | undefined;
|
|
56
|
-
packageData?: {
|
|
57
|
-
dependencies?: Record<string, string> | undefined;
|
|
58
|
-
devDependencies?: Record<string, string> | undefined;
|
|
59
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
60
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
61
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
pnpm?: string | undefined;
|
|
64
|
-
rulesetId?: string | undefined;
|
|
65
|
-
version?: string | undefined;
|
|
66
|
-
words?: string[] | undefined;
|
|
67
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
68
|
-
pinned?: boolean | undefined;
|
|
69
|
-
hash?: string | undefined;
|
|
70
|
-
}>> | undefined;
|
|
71
|
-
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockSecurityDocs };
|
|
74
|
-
//# sourceMappingURL=blockSecurityDocs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockSecurityDocs.d.ts","names":[],"sources":["../../src/blocks/blockSecurityDocs.ts"],"sourcesContent":[],"mappings":";;;cAEa,mCAAiB;;;EAAjB,SAAA,EAAA,MAAA;;;;;;;;;;EAAiB,KAAA,EAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockSecurityDocs.js","names":[],"sources":["../../src/blocks/blockSecurityDocs.ts"],"sourcesContent":["import { base } from \"../base.js\";\n\nexport const blockSecurityDocs = base.createBlock({\n\tabout: {\n\t\tname: \"Security Docs\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\t\"SECURITY.md\": `# Security Policy\n\nWe take all security vulnerabilities seriously.\nIf you have a vulnerability or other security issues to disclose:\n\n- Thank you very much, please do!\n- Please send them to us by emailing \\`${options.email.github}\\`\n\nWe appreciate your efforts and responsible disclosure and will make every effort to acknowledge your contributions.\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;AAEA,MAAa,oBAAoB,KAAK,YAAY;CACjD,OAAO,EACN,MAAM,iBACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO,EACN,OAAO,EACN,WAAW,EACV,eAAe;;;;;;yCAMqB,QAAQ,MAAM,OAAO;;;GAIzD,EACD,EACD;;CAEF,CAAC"}
|