create-typescript-app 2.62.0 → 2.63.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/_virtual/_rolldown/runtime.js +14 -0
- package/lib/base.d.ts +175 -0
- package/lib/base.d.ts.map +1 -0
- package/lib/base.js +3 -3
- package/lib/base.js.map +1 -0
- package/lib/blocks/actions/resolveUses.d.ts +6 -0
- package/lib/blocks/actions/resolveUses.d.ts.map +1 -0
- package/lib/blocks/actions/resolveUses.js +3 -3
- package/lib/blocks/actions/resolveUses.js.map +1 -0
- package/lib/blocks/actions/steps.d.ts +37 -0
- package/lib/blocks/actions/steps.d.ts.map +1 -0
- package/lib/blocks/actions/steps.js +3 -3
- package/lib/blocks/actions/steps.js.map +1 -0
- package/lib/blocks/bin/getPrimaryBin.d.ts +5 -0
- package/lib/blocks/bin/getPrimaryBin.d.ts.map +1 -0
- package/lib/blocks/bin/getPrimaryBin.js +3 -2
- package/lib/blocks/bin/getPrimaryBin.js.map +1 -0
- package/lib/blocks/blockAllContributors.d.ts +72 -0
- package/lib/blocks/blockAllContributors.d.ts.map +1 -0
- package/lib/blocks/blockAllContributors.js +3 -3
- package/lib/blocks/blockAllContributors.js.map +1 -0
- package/lib/blocks/blockAreTheTypesWrong.d.ts +72 -0
- package/lib/blocks/blockAreTheTypesWrong.d.ts.map +1 -0
- package/lib/blocks/blockAreTheTypesWrong.js +3 -3
- package/lib/blocks/blockAreTheTypesWrong.js.map +1 -0
- package/lib/blocks/blockCSpell.d.ts +75 -0
- package/lib/blocks/blockCSpell.d.ts.map +1 -0
- package/lib/blocks/blockCSpell.js +7 -7
- package/lib/blocks/blockCSpell.js.map +1 -0
- package/lib/blocks/blockCTATransitions.d.ts +72 -0
- package/lib/blocks/blockCTATransitions.d.ts.map +1 -0
- package/lib/blocks/blockCTATransitions.js +3 -3
- package/lib/blocks/blockCTATransitions.js.map +1 -0
- package/lib/blocks/blockCodecov.d.ts +74 -0
- package/lib/blocks/blockCodecov.d.ts.map +1 -0
- package/lib/blocks/blockCodecov.js +4 -4
- package/lib/blocks/blockCodecov.js.map +1 -0
- package/lib/blocks/blockContributingDocs.d.ts +72 -0
- package/lib/blocks/blockContributingDocs.d.ts.map +1 -0
- package/lib/blocks/blockContributingDocs.js +5 -4
- package/lib/blocks/blockContributingDocs.js.map +1 -0
- package/lib/blocks/blockContributorCovenant.d.ts +72 -0
- package/lib/blocks/blockContributorCovenant.d.ts.map +1 -0
- package/lib/blocks/blockContributorCovenant.js +3 -3
- package/lib/blocks/blockContributorCovenant.js.map +1 -0
- package/lib/blocks/blockDevelopmentDocs.d.ts +86 -0
- package/lib/blocks/blockDevelopmentDocs.d.ts.map +1 -0
- package/lib/blocks/blockDevelopmentDocs.js +5 -6
- package/lib/blocks/blockDevelopmentDocs.js.map +1 -0
- package/lib/blocks/blockESLint.d.ts +96 -0
- package/lib/blocks/blockESLint.d.ts.map +1 -0
- package/lib/blocks/blockESLint.js +4 -4
- package/lib/blocks/blockESLint.js.map +1 -0
- package/lib/blocks/blockESLintComments.d.ts +72 -0
- package/lib/blocks/blockESLintComments.d.ts.map +1 -0
- package/lib/blocks/blockESLintComments.js +3 -3
- package/lib/blocks/blockESLintComments.js.map +1 -0
- package/lib/blocks/blockESLintJSDoc.d.ts +72 -0
- package/lib/blocks/blockESLintJSDoc.d.ts.map +1 -0
- package/lib/blocks/blockESLintJSDoc.js +3 -3
- package/lib/blocks/blockESLintJSDoc.js.map +1 -0
- package/lib/blocks/blockESLintJSONC.d.ts +72 -0
- package/lib/blocks/blockESLintJSONC.d.ts.map +1 -0
- package/lib/blocks/blockESLintJSONC.js +3 -3
- package/lib/blocks/blockESLintJSONC.js.map +1 -0
- package/lib/blocks/blockESLintMarkdown.d.ts +72 -0
- package/lib/blocks/blockESLintMarkdown.d.ts.map +1 -0
- package/lib/blocks/blockESLintMarkdown.js +3 -3
- package/lib/blocks/blockESLintMarkdown.js.map +1 -0
- package/lib/blocks/blockESLintMoreStyling.d.ts +73 -0
- package/lib/blocks/blockESLintMoreStyling.d.ts.map +1 -0
- package/lib/blocks/blockESLintMoreStyling.js +3 -3
- package/lib/blocks/blockESLintMoreStyling.js.map +1 -0
- package/lib/blocks/blockESLintNode.d.ts +72 -0
- package/lib/blocks/blockESLintNode.d.ts.map +1 -0
- package/lib/blocks/blockESLintNode.js +4 -8
- package/lib/blocks/blockESLintNode.js.map +1 -0
- package/lib/blocks/blockESLintPackageJson.d.ts +72 -0
- package/lib/blocks/blockESLintPackageJson.d.ts.map +1 -0
- package/lib/blocks/blockESLintPackageJson.js +3 -3
- package/lib/blocks/blockESLintPackageJson.js.map +1 -0
- package/lib/blocks/blockESLintPerfectionist.d.ts +72 -0
- package/lib/blocks/blockESLintPerfectionist.d.ts.map +1 -0
- package/lib/blocks/blockESLintPerfectionist.js +3 -3
- package/lib/blocks/blockESLintPerfectionist.js.map +1 -0
- package/lib/blocks/blockESLintPlugin.d.ts +74 -0
- package/lib/blocks/blockESLintPlugin.d.ts.map +1 -0
- package/lib/blocks/blockESLintPlugin.js +3 -3
- package/lib/blocks/blockESLintPlugin.js.map +1 -0
- package/lib/blocks/blockESLintRegexp.d.ts +72 -0
- package/lib/blocks/blockESLintRegexp.d.ts.map +1 -0
- package/lib/blocks/blockESLintRegexp.js +3 -3
- package/lib/blocks/blockESLintRegexp.js.map +1 -0
- package/lib/blocks/blockESLintYML.d.ts +72 -0
- package/lib/blocks/blockESLintYML.d.ts.map +1 -0
- package/lib/blocks/blockESLintYML.js +3 -3
- package/lib/blocks/blockESLintYML.js.map +1 -0
- package/lib/blocks/blockExampleFiles.d.ts +75 -0
- package/lib/blocks/blockExampleFiles.d.ts.map +1 -0
- package/lib/blocks/blockExampleFiles.js +3 -3
- package/lib/blocks/blockExampleFiles.js.map +1 -0
- package/lib/blocks/blockExports.d.ts +75 -0
- package/lib/blocks/blockExports.d.ts.map +1 -0
- package/lib/blocks/blockExports.js +3 -3
- package/lib/blocks/blockExports.js.map +1 -0
- package/lib/blocks/blockFunding.d.ts +72 -0
- package/lib/blocks/blockFunding.d.ts.map +1 -0
- package/lib/blocks/blockFunding.js +3 -3
- package/lib/blocks/blockFunding.js.map +1 -0
- package/lib/blocks/blockGitHubActionsCI.d.ts +88 -0
- package/lib/blocks/blockGitHubActionsCI.d.ts.map +1 -0
- package/lib/blocks/blockGitHubActionsCI.js +3 -3
- package/lib/blocks/blockGitHubActionsCI.js.map +1 -0
- package/lib/blocks/blockGitHubApps.d.ts +77 -0
- package/lib/blocks/blockGitHubApps.d.ts.map +1 -0
- package/lib/blocks/blockGitHubApps.js +3 -3
- package/lib/blocks/blockGitHubApps.js.map +1 -0
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +72 -0
- package/lib/blocks/blockGitHubIssueTemplates.d.ts.map +1 -0
- package/lib/blocks/blockGitHubIssueTemplates.js +3 -3
- package/lib/blocks/blockGitHubIssueTemplates.js.map +1 -0
- package/lib/blocks/blockGitHubPRTemplate.d.ts +72 -0
- package/lib/blocks/blockGitHubPRTemplate.d.ts.map +1 -0
- package/lib/blocks/blockGitHubPRTemplate.js +3 -3
- package/lib/blocks/blockGitHubPRTemplate.js.map +1 -0
- package/lib/blocks/blockGitignore.d.ts +74 -0
- package/lib/blocks/blockGitignore.d.ts.map +1 -0
- package/lib/blocks/blockGitignore.js +3 -3
- package/lib/blocks/blockGitignore.js.map +1 -0
- package/lib/blocks/blockKnip.d.ts +76 -0
- package/lib/blocks/blockKnip.d.ts.map +1 -0
- package/lib/blocks/blockKnip.js +3 -3
- package/lib/blocks/blockKnip.js.map +1 -0
- package/lib/blocks/blockMITLicense.d.ts +72 -0
- package/lib/blocks/blockMITLicense.d.ts.map +1 -0
- package/lib/blocks/blockMITLicense.js +3 -3
- package/lib/blocks/blockMITLicense.js.map +1 -0
- package/lib/blocks/blockNcc.d.ts +74 -0
- package/lib/blocks/blockNcc.d.ts.map +1 -0
- package/lib/blocks/blockNcc.js +3 -3
- package/lib/blocks/blockNcc.js.map +1 -0
- package/lib/blocks/blockNvmrc.d.ts +72 -0
- package/lib/blocks/blockNvmrc.d.ts.map +1 -0
- package/lib/blocks/blockNvmrc.js +3 -3
- package/lib/blocks/blockNvmrc.js.map +1 -0
- package/lib/blocks/blockOctoGuide.d.ts +74 -0
- package/lib/blocks/blockOctoGuide.d.ts.map +1 -0
- package/lib/blocks/blockOctoGuide.js +3 -3
- package/lib/blocks/blockOctoGuide.js.map +1 -0
- package/lib/blocks/blockOctoGuideStrict.d.ts +72 -0
- package/lib/blocks/blockOctoGuideStrict.d.ts.map +1 -0
- package/lib/blocks/blockOctoGuideStrict.js +3 -3
- package/lib/blocks/blockOctoGuideStrict.js.map +1 -0
- package/lib/blocks/blockPackageJson.d.ts +149 -0
- package/lib/blocks/blockPackageJson.d.ts.map +1 -0
- package/lib/blocks/blockPackageJson.js +3 -3
- package/lib/blocks/blockPackageJson.js.map +1 -0
- package/lib/blocks/blockPnpmDedupe.d.ts +72 -0
- package/lib/blocks/blockPnpmDedupe.d.ts.map +1 -0
- package/lib/blocks/blockPnpmDedupe.js +3 -3
- package/lib/blocks/blockPnpmDedupe.js.map +1 -0
- package/lib/blocks/blockPrettier.d.ts +82 -0
- package/lib/blocks/blockPrettier.d.ts.map +1 -0
- package/lib/blocks/blockPrettier.js +3 -3
- package/lib/blocks/blockPrettier.js.map +1 -0
- package/lib/blocks/blockPrettierPluginCurly.d.ts +72 -0
- package/lib/blocks/blockPrettierPluginCurly.d.ts.map +1 -0
- package/lib/blocks/blockPrettierPluginCurly.js +3 -3
- package/lib/blocks/blockPrettierPluginCurly.js.map +1 -0
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +72 -0
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts.map +1 -0
- package/lib/blocks/blockPrettierPluginPackageJson.js +3 -3
- package/lib/blocks/blockPrettierPluginPackageJson.js.map +1 -0
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +72 -0
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts.map +1 -0
- package/lib/blocks/blockPrettierPluginSentencesPerLine.js +3 -3
- package/lib/blocks/blockPrettierPluginSentencesPerLine.js.map +1 -0
- package/lib/blocks/blockPrettierPluginSh.d.ts +72 -0
- package/lib/blocks/blockPrettierPluginSh.d.ts.map +1 -0
- package/lib/blocks/blockPrettierPluginSh.js +3 -3
- package/lib/blocks/blockPrettierPluginSh.js.map +1 -0
- package/lib/blocks/blockREADME.d.ts +85 -0
- package/lib/blocks/blockREADME.d.ts.map +1 -0
- package/lib/blocks/blockREADME.js +3 -3
- package/lib/blocks/blockREADME.js.map +1 -0
- package/lib/blocks/blockReleaseIt.d.ts +77 -0
- package/lib/blocks/blockReleaseIt.d.ts.map +1 -0
- package/lib/blocks/blockReleaseIt.js +3 -3
- package/lib/blocks/blockReleaseIt.js.map +1 -0
- package/lib/blocks/blockRemoveDependencies.d.ts +74 -0
- package/lib/blocks/blockRemoveDependencies.d.ts.map +1 -0
- package/lib/blocks/blockRemoveDependencies.js +3 -3
- package/lib/blocks/blockRemoveDependencies.js.map +1 -0
- package/lib/blocks/blockRemoveFiles.d.ts +74 -0
- package/lib/blocks/blockRemoveFiles.d.ts.map +1 -0
- package/lib/blocks/blockRemoveFiles.js +3 -3
- package/lib/blocks/blockRemoveFiles.js.map +1 -0
- package/lib/blocks/blockRemoveWorkflows.d.ts +74 -0
- package/lib/blocks/blockRemoveWorkflows.d.ts.map +1 -0
- package/lib/blocks/blockRemoveWorkflows.js +3 -3
- package/lib/blocks/blockRemoveWorkflows.js.map +1 -0
- package/lib/blocks/blockRenovate.d.ts +74 -0
- package/lib/blocks/blockRenovate.d.ts.map +1 -0
- package/lib/blocks/blockRenovate.js +4 -4
- package/lib/blocks/blockRenovate.js.map +1 -0
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +74 -0
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts.map +1 -0
- package/lib/blocks/blockRepositoryBranchRuleset.js +3 -3
- package/lib/blocks/blockRepositoryBranchRuleset.js.map +1 -0
- package/lib/blocks/blockRepositoryLabels.d.ts +72 -0
- package/lib/blocks/blockRepositoryLabels.d.ts.map +1 -0
- package/lib/blocks/blockRepositoryLabels.js +3 -3
- package/lib/blocks/blockRepositoryLabels.js.map +1 -0
- package/lib/blocks/blockRepositorySecrets.d.ts +77 -0
- package/lib/blocks/blockRepositorySecrets.d.ts.map +1 -0
- package/lib/blocks/blockRepositorySecrets.js +3 -3
- package/lib/blocks/blockRepositorySecrets.js.map +1 -0
- package/lib/blocks/blockRepositorySettings.d.ts +72 -0
- package/lib/blocks/blockRepositorySettings.d.ts.map +1 -0
- package/lib/blocks/blockRepositorySettings.js +3 -3
- package/lib/blocks/blockRepositorySettings.js.map +1 -0
- package/lib/blocks/blockSecurityDocs.d.ts +72 -0
- package/lib/blocks/blockSecurityDocs.d.ts.map +1 -0
- package/lib/blocks/blockSecurityDocs.js +3 -3
- package/lib/blocks/blockSecurityDocs.js.map +1 -0
- package/lib/blocks/blockSideEffects.d.ts +74 -0
- package/lib/blocks/blockSideEffects.d.ts.map +1 -0
- package/lib/blocks/blockSideEffects.js +3 -3
- package/lib/blocks/blockSideEffects.js.map +1 -0
- package/lib/blocks/blockTSDown.d.ts +76 -0
- package/lib/blocks/blockTSDown.d.ts.map +1 -0
- package/lib/blocks/blockTSDown.js +4 -6
- package/lib/blocks/blockTSDown.js.map +1 -0
- package/lib/blocks/blockTemplatedWith.d.ts +72 -0
- package/lib/blocks/blockTemplatedWith.d.ts.map +1 -0
- package/lib/blocks/blockTemplatedWith.js +3 -3
- package/lib/blocks/blockTemplatedWith.js.map +1 -0
- package/lib/blocks/blockTypeScript.d.ts +184 -0
- package/lib/blocks/blockTypeScript.d.ts.map +1 -0
- package/lib/blocks/blockTypeScript.js +3 -3
- package/lib/blocks/blockTypeScript.js.map +1 -0
- package/lib/blocks/blockVSCode.d.ts +81 -0
- package/lib/blocks/blockVSCode.d.ts.map +1 -0
- package/lib/blocks/blockVSCode.js +3 -3
- package/lib/blocks/blockVSCode.js.map +1 -0
- package/lib/blocks/blockVitest.d.ts +89 -0
- package/lib/blocks/blockVitest.d.ts.map +1 -0
- package/lib/blocks/blockVitest.js +5 -5
- package/lib/blocks/blockVitest.js.map +1 -0
- package/lib/blocks/blockWebExt.d.ts +72 -0
- package/lib/blocks/blockWebExt.d.ts.map +1 -0
- package/lib/blocks/blockWebExt.js +3 -3
- package/lib/blocks/blockWebExt.js.map +1 -0
- package/lib/blocks/eslint/blockESLintIntake.d.ts +11 -0
- package/lib/blocks/eslint/blockESLintIntake.d.ts.map +1 -0
- package/lib/blocks/eslint/blockESLintIntake.js +10 -10
- package/lib/blocks/eslint/blockESLintIntake.js.map +1 -0
- package/lib/blocks/eslint/blockESLintPluginIntake.d.ts +7 -0
- package/lib/blocks/eslint/blockESLintPluginIntake.d.ts.map +1 -0
- package/lib/blocks/eslint/blockESLintPluginIntake.js +3 -3
- package/lib/blocks/eslint/blockESLintPluginIntake.js.map +1 -0
- package/lib/blocks/eslint/getScriptFileExtension.d.ts +8 -0
- package/lib/blocks/eslint/getScriptFileExtension.d.ts.map +1 -0
- package/lib/blocks/eslint/getScriptFileExtension.js +3 -2
- package/lib/blocks/eslint/getScriptFileExtension.js.map +1 -0
- package/lib/blocks/eslint/mergeAllExtensions.d.ts +17 -0
- package/lib/blocks/eslint/mergeAllExtensions.d.ts.map +1 -0
- package/lib/blocks/eslint/mergeAllExtensions.js +4 -3
- package/lib/blocks/eslint/mergeAllExtensions.js.map +1 -0
- package/lib/blocks/eslint/schemas.d.ts +112 -0
- package/lib/blocks/eslint/schemas.d.ts.map +1 -0
- package/lib/blocks/eslint/schemas.js +3 -3
- package/lib/blocks/eslint/schemas.js.map +1 -0
- package/lib/blocks/files/createJobName.d.ts +5 -0
- package/lib/blocks/files/createJobName.d.ts.map +1 -0
- package/lib/blocks/files/createJobName.js +3 -2
- package/lib/blocks/files/createJobName.js.map +1 -0
- package/lib/blocks/files/createMultiWorkflowFile.d.ts +24 -0
- package/lib/blocks/files/createMultiWorkflowFile.d.ts.map +1 -0
- package/lib/blocks/files/createMultiWorkflowFile.js +3 -3
- package/lib/blocks/files/createMultiWorkflowFile.js.map +1 -0
- package/lib/blocks/files/createSoloWorkflowFile.d.ts +65 -0
- package/lib/blocks/files/createSoloWorkflowFile.d.ts.map +1 -0
- package/lib/blocks/files/createSoloWorkflowFile.js +3 -3
- package/lib/blocks/files/createSoloWorkflowFile.js.map +1 -0
- package/lib/blocks/files/formatIgnoreFile.d.ts +5 -0
- package/lib/blocks/files/formatIgnoreFile.d.ts.map +1 -0
- package/lib/blocks/files/formatIgnoreFile.js +3 -2
- package/lib/blocks/files/formatIgnoreFile.js.map +1 -0
- package/lib/blocks/files/formatWorkflowYaml.d.ts +5 -0
- package/lib/blocks/files/formatWorkflowYaml.d.ts.map +1 -0
- package/lib/blocks/files/formatWorkflowYaml.js +3 -3
- package/lib/blocks/files/formatWorkflowYaml.js.map +1 -0
- package/lib/blocks/files/formatYaml.d.ts +5 -0
- package/lib/blocks/files/formatYaml.d.ts.map +1 -0
- package/lib/blocks/files/formatYaml.js +3 -3
- package/lib/blocks/files/formatYaml.js.map +1 -0
- package/lib/blocks/files/removeUsesQuotes.d.ts +5 -0
- package/lib/blocks/files/removeUsesQuotes.d.ts.map +1 -0
- package/lib/blocks/files/removeUsesQuotes.js +3 -2
- package/lib/blocks/files/removeUsesQuotes.js.map +1 -0
- package/lib/blocks/getInstallationSuggestions.d.ts +5 -0
- package/lib/blocks/getInstallationSuggestions.d.ts.map +1 -0
- package/lib/blocks/getInstallationSuggestions.js +3 -2
- package/lib/blocks/getInstallationSuggestions.js.map +1 -0
- package/lib/blocks/index.d.ts +3713 -0
- package/lib/blocks/index.d.ts.map +1 -0
- package/lib/blocks/index.js +3 -3
- package/lib/blocks/index.js.map +1 -0
- package/lib/blocks/intake/intakeFile.d.ts +6 -0
- package/lib/blocks/intake/intakeFile.d.ts.map +1 -0
- package/lib/blocks/intake/intakeFile.js +3 -2
- package/lib/blocks/intake/intakeFile.js.map +1 -0
- package/lib/blocks/intake/intakeFileAsJson.d.ts +6 -0
- package/lib/blocks/intake/intakeFileAsJson.d.ts.map +1 -0
- package/lib/blocks/intake/intakeFileAsJson.js +3 -3
- package/lib/blocks/intake/intakeFileAsJson.js.map +1 -0
- package/lib/blocks/intake/intakeFileAsYaml.d.ts +6 -0
- package/lib/blocks/intake/intakeFileAsYaml.d.ts.map +1 -0
- package/lib/blocks/intake/intakeFileAsYaml.js +3 -3
- package/lib/blocks/intake/intakeFileAsYaml.js.map +1 -0
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts +6 -0
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts.map +1 -0
- package/lib/blocks/intake/intakeFileDefineConfig.js +3 -3
- package/lib/blocks/intake/intakeFileDefineConfig.js.map +1 -0
- package/lib/blocks/intake/intakeFileExportObject.d.ts +6 -0
- package/lib/blocks/intake/intakeFileExportObject.d.ts.map +1 -0
- package/lib/blocks/intake/intakeFileExportObject.js +3 -3
- package/lib/blocks/intake/intakeFileExportObject.js.map +1 -0
- package/lib/blocks/options.fakes.d.ts +26 -0
- package/lib/blocks/options.fakes.d.ts.map +1 -0
- package/lib/blocks/options.fakes.js +3 -2
- package/lib/blocks/options.fakes.js.map +1 -0
- package/lib/blocks/outcomeLabels.d.ts +15 -0
- package/lib/blocks/outcomeLabels.d.ts.map +1 -0
- package/lib/blocks/outcomeLabels.js +3 -2
- package/lib/blocks/outcomeLabels.js.map +1 -0
- package/lib/blocks/phases.d.ts +11 -0
- package/lib/blocks/phases.d.ts.map +1 -0
- package/lib/blocks/phases.js +3 -2
- package/lib/blocks/phases.js.map +1 -0
- package/lib/constants.d.ts +10 -0
- package/lib/constants.d.ts.map +1 -0
- package/lib/constants.js +3 -2
- package/lib/constants.js.map +1 -0
- package/lib/data/contributions.d.ts +5 -0
- package/lib/data/contributions.d.ts.map +1 -0
- package/lib/data/contributions.js +3 -2
- package/lib/data/contributions.js.map +1 -0
- package/lib/data/packageData.d.ts +10 -0
- package/lib/data/packageData.d.ts.map +1 -0
- package/lib/data/packageData.js +4 -6
- package/lib/data/packageData.js.map +1 -0
- package/lib/index.d.ts +294 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -0
- package/lib/inputs/inputFromDirectory.d.ts +8 -0
- package/lib/inputs/inputFromDirectory.d.ts.map +1 -0
- package/lib/inputs/inputFromDirectory.js +3 -3
- package/lib/inputs/inputFromDirectory.js.map +1 -0
- package/lib/inputs/inputFromOctokit.d.ts +9 -0
- package/lib/inputs/inputFromOctokit.d.ts.map +1 -0
- package/lib/inputs/inputFromOctokit.js +3 -3
- package/lib/inputs/inputFromOctokit.js.map +1 -0
- package/lib/options/readAccess.d.ts +6 -0
- package/lib/options/readAccess.d.ts.map +1 -0
- package/lib/options/readAccess.js +3 -2
- package/lib/options/readAccess.js.map +1 -0
- package/lib/options/readAllContributors.d.ts +7 -0
- package/lib/options/readAllContributors.d.ts.map +1 -0
- package/lib/options/readAllContributors.js +3 -3
- package/lib/options/readAllContributors.js.map +1 -0
- package/lib/options/readAuthor.d.ts +9 -0
- package/lib/options/readAuthor.d.ts.map +1 -0
- package/lib/options/readAuthor.js +3 -2
- package/lib/options/readAuthor.js.map +1 -0
- package/lib/options/readBin.d.ts +6 -0
- package/lib/options/readBin.d.ts.map +1 -0
- package/lib/options/readBin.js +3 -3
- package/lib/options/readBin.js.map +1 -0
- package/lib/options/readDescription.d.ts +6 -0
- package/lib/options/readDescription.d.ts.map +1 -0
- package/lib/options/readDescription.js +3 -3
- package/lib/options/readDescription.js.map +1 -0
- package/lib/options/readDescriptionFromReadme.d.ts +5 -0
- package/lib/options/readDescriptionFromReadme.d.ts.map +1 -0
- package/lib/options/readDescriptionFromReadme.js +3 -2
- package/lib/options/readDescriptionFromReadme.js.map +1 -0
- package/lib/options/readDevelopmentDocumentation.d.ts +6 -0
- package/lib/options/readDevelopmentDocumentation.d.ts.map +1 -0
- package/lib/options/readDevelopmentDocumentation.js +4 -4
- package/lib/options/readDevelopmentDocumentation.js.map +1 -0
- package/lib/options/readDocumentation.d.ts +6 -0
- package/lib/options/readDocumentation.d.ts.map +1 -0
- package/lib/options/readDocumentation.js +3 -2
- package/lib/options/readDocumentation.js.map +1 -0
- package/lib/options/readEmailFromCodeOfConduct.d.ts +6 -0
- package/lib/options/readEmailFromCodeOfConduct.d.ts.map +1 -0
- package/lib/options/readEmailFromCodeOfConduct.js +3 -3
- package/lib/options/readEmailFromCodeOfConduct.js.map +1 -0
- package/lib/options/readEmailFromGit.d.ts +6 -0
- package/lib/options/readEmailFromGit.d.ts.map +1 -0
- package/lib/options/readEmailFromGit.js +3 -3
- package/lib/options/readEmailFromGit.js.map +1 -0
- package/lib/options/readEmailFromNpm.d.ts +7 -0
- package/lib/options/readEmailFromNpm.d.ts.map +1 -0
- package/lib/options/readEmailFromNpm.js +3 -2
- package/lib/options/readEmailFromNpm.js.map +1 -0
- package/lib/options/readEmails.d.ts +9 -0
- package/lib/options/readEmails.d.ts.map +1 -0
- package/lib/options/readEmails.js +3 -2
- package/lib/options/readEmails.js.map +1 -0
- package/lib/options/readEmoji.d.ts +5 -0
- package/lib/options/readEmoji.d.ts.map +1 -0
- package/lib/options/readEmoji.js +3 -2
- package/lib/options/readEmoji.js.map +1 -0
- package/lib/options/readExistingLabels.d.ts +10 -0
- package/lib/options/readExistingLabels.d.ts.map +1 -0
- package/lib/options/readExistingLabels.js +3 -3
- package/lib/options/readExistingLabels.js.map +1 -0
- package/lib/options/readFileAsJson.d.ts +5 -0
- package/lib/options/readFileAsJson.d.ts.map +1 -0
- package/lib/options/readFileAsJson.js +3 -3
- package/lib/options/readFileAsJson.js.map +1 -0
- package/lib/options/readFileSafe.d.ts +5 -0
- package/lib/options/readFileSafe.d.ts.map +1 -0
- package/lib/options/readFileSafe.js +3 -3
- package/lib/options/readFileSafe.js.map +1 -0
- package/lib/options/readFunding.d.ts +6 -0
- package/lib/options/readFunding.d.ts.map +1 -0
- package/lib/options/readFunding.js +3 -3
- package/lib/options/readFunding.js.map +1 -0
- package/lib/options/readGitDefaults.d.ts +7 -0
- package/lib/options/readGitDefaults.d.ts.map +1 -0
- package/lib/options/readGitDefaults.js +3 -3
- package/lib/options/readGitDefaults.js.map +1 -0
- package/lib/options/readGuide.d.ts +9 -0
- package/lib/options/readGuide.d.ts.map +1 -0
- package/lib/options/readGuide.js +3 -3
- package/lib/options/readGuide.js.map +1 -0
- package/lib/options/readKeywords.d.ts +6 -0
- package/lib/options/readKeywords.d.ts.map +1 -0
- package/lib/options/readKeywords.js +3 -2
- package/lib/options/readKeywords.js.map +1 -0
- package/lib/options/readLogo.d.ts +10 -0
- package/lib/options/readLogo.d.ts.map +1 -0
- package/lib/options/readLogo.js +5 -4
- package/lib/options/readLogo.js.map +1 -0
- package/lib/options/readLogoSizing.d.ts +9 -0
- package/lib/options/readLogoSizing.d.ts.map +1 -0
- package/lib/options/readLogoSizing.js +3 -3
- package/lib/options/readLogoSizing.js.map +1 -0
- package/lib/options/readNode.d.ts +9 -0
- package/lib/options/readNode.d.ts.map +1 -0
- package/lib/options/readNode.js +3 -3
- package/lib/options/readNode.js.map +1 -0
- package/lib/options/readNpmDefaults.d.ts +6 -0
- package/lib/options/readNpmDefaults.d.ts.map +1 -0
- package/lib/options/readNpmDefaults.js +3 -3
- package/lib/options/readNpmDefaults.js.map +1 -0
- package/lib/options/readOwner.d.ts +8 -0
- package/lib/options/readOwner.d.ts.map +1 -0
- package/lib/options/readOwner.js +3 -3
- package/lib/options/readOwner.js.map +1 -0
- package/lib/options/readPackageAuthor.d.ts +10 -0
- package/lib/options/readPackageAuthor.d.ts.map +1 -0
- package/lib/options/readPackageAuthor.js +3 -3
- package/lib/options/readPackageAuthor.js.map +1 -0
- package/lib/options/readPackageData.d.ts +7 -0
- package/lib/options/readPackageData.d.ts.map +1 -0
- package/lib/options/readPackageData.js +3 -3
- package/lib/options/readPackageData.js.map +1 -0
- package/lib/options/readPnpm.d.ts +6 -0
- package/lib/options/readPnpm.d.ts.map +1 -0
- package/lib/options/readPnpm.js +3 -2
- package/lib/options/readPnpm.js.map +1 -0
- package/lib/options/readReadmeAdditional.d.ts +5 -0
- package/lib/options/readReadmeAdditional.d.ts.map +1 -0
- package/lib/options/readReadmeAdditional.js +3 -3
- package/lib/options/readReadmeAdditional.js.map +1 -0
- package/lib/options/readReadmeExplainer.d.ts +5 -0
- package/lib/options/readReadmeExplainer.d.ts.map +1 -0
- package/lib/options/readReadmeExplainer.js +3 -2
- package/lib/options/readReadmeExplainer.js.map +1 -0
- package/lib/options/readReadmeFootnotes.d.ts +6 -0
- package/lib/options/readReadmeFootnotes.d.ts.map +1 -0
- package/lib/options/readReadmeFootnotes.js +3 -2
- package/lib/options/readReadmeFootnotes.js.map +1 -0
- package/lib/options/readReadmeUsage.d.ts +5 -0
- package/lib/options/readReadmeUsage.d.ts.map +1 -0
- package/lib/options/readReadmeUsage.js +3 -2
- package/lib/options/readReadmeUsage.js.map +1 -0
- package/lib/options/readRepository.d.ts +10 -0
- package/lib/options/readRepository.d.ts.map +1 -0
- package/lib/options/readRepository.js +3 -2
- package/lib/options/readRepository.js.map +1 -0
- package/lib/options/readRulesetId.d.ts +6 -0
- package/lib/options/readRulesetId.d.ts.map +1 -0
- package/lib/options/readRulesetId.js +3 -3
- package/lib/options/readRulesetId.js.map +1 -0
- package/lib/options/readTitle.d.ts +5 -0
- package/lib/options/readTitle.d.ts.map +1 -0
- package/lib/options/readTitle.js +3 -3
- package/lib/options/readTitle.js.map +1 -0
- package/lib/options/readWords.d.ts +6 -0
- package/lib/options/readWords.d.ts.map +1 -0
- package/lib/options/readWords.js +3 -3
- package/lib/options/readWords.js.map +1 -0
- package/lib/options/readWorkflowsVersions.d.ts +7 -0
- package/lib/options/readWorkflowsVersions.d.ts.map +1 -0
- package/lib/options/readWorkflowsVersions.js +3 -3
- package/lib/options/readWorkflowsVersions.js.map +1 -0
- package/lib/package.json.d.ts +138 -0
- package/lib/package.json.d.ts.map +1 -0
- package/lib/presets/common.d.ts +170 -0
- package/lib/presets/common.d.ts.map +1 -0
- package/lib/presets/common.js +3 -3
- package/lib/presets/common.js.map +1 -0
- package/lib/presets/everything.d.ts +170 -0
- package/lib/presets/everything.d.ts.map +1 -0
- package/lib/presets/everything.js +3 -3
- package/lib/presets/everything.js.map +1 -0
- package/lib/presets/index.d.ts +507 -0
- package/lib/presets/index.d.ts.map +1 -0
- package/lib/presets/index.js +3 -3
- package/lib/presets/index.js.map +1 -0
- package/lib/presets/minimal.d.ts +170 -0
- package/lib/presets/minimal.d.ts.map +1 -0
- package/lib/presets/minimal.js +3 -3
- package/lib/presets/minimal.js.map +1 -0
- package/lib/schemas.d.ts +111 -0
- package/lib/schemas.d.ts.map +1 -0
- package/lib/schemas.js +3 -3
- package/lib/schemas.js.map +1 -0
- package/lib/template.d.ts +170 -0
- package/lib/template.d.ts.map +1 -0
- package/lib/template.js +3 -3
- package/lib/template.js.map +1 -0
- package/lib/types.d.ts +42 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +1 -1
- package/lib/utils/htmlToTextSafe.d.ts +5 -0
- package/lib/utils/htmlToTextSafe.d.ts.map +1 -0
- package/lib/utils/htmlToTextSafe.js +3 -3
- package/lib/utils/htmlToTextSafe.js.map +1 -0
- package/lib/utils/resolveBin.d.ts +5 -0
- package/lib/utils/resolveBin.d.ts.map +1 -0
- package/lib/utils/resolveBin.js +3 -3
- package/lib/utils/resolveBin.js.map +1 -0
- package/lib/utils/swallowError.d.ts +5 -0
- package/lib/utils/swallowError.d.ts.map +1 -0
- package/lib/utils/swallowError.js +3 -2
- package/lib/utils/swallowError.js.map +1 -0
- package/lib/utils/swallowErrorAsync.d.ts +5 -0
- package/lib/utils/swallowErrorAsync.d.ts.map +1 -0
- package/lib/utils/swallowErrorAsync.js +3 -2
- package/lib/utils/swallowErrorAsync.js.map +1 -0
- package/lib/utils/trimPrecedingSlash.d.ts +5 -0
- package/lib/utils/trimPrecedingSlash.d.ts.map +1 -0
- package/lib/utils/trimPrecedingSlash.js +3 -2
- package/lib/utils/trimPrecedingSlash.js.map +1 -0
- package/lib/utils/tryCatch.d.ts +5 -0
- package/lib/utils/tryCatch.d.ts.map +1 -0
- package/lib/utils/tryCatch.js +3 -2
- package/lib/utils/tryCatch.js.map +1 -0
- package/package.json +40 -40
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
//#region src/blocks/blockReleaseIt.d.ts
|
|
2
|
+
declare const blockReleaseIt: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
+
builders: {
|
|
4
|
+
order: number;
|
|
5
|
+
run: string;
|
|
6
|
+
}[];
|
|
7
|
+
}, {
|
|
8
|
+
access: "public" | "restricted";
|
|
9
|
+
description: string;
|
|
10
|
+
directory: string;
|
|
11
|
+
documentation: {
|
|
12
|
+
readme: {
|
|
13
|
+
additional?: string | undefined;
|
|
14
|
+
explainer?: string | undefined;
|
|
15
|
+
footnotes?: string | undefined;
|
|
16
|
+
usage?: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
development?: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
email: {
|
|
21
|
+
github: string;
|
|
22
|
+
npm: string;
|
|
23
|
+
};
|
|
24
|
+
title: string;
|
|
25
|
+
node: {
|
|
26
|
+
minimum: string;
|
|
27
|
+
pinned?: string | undefined;
|
|
28
|
+
};
|
|
29
|
+
owner: string;
|
|
30
|
+
repository: string;
|
|
31
|
+
type?: "commonjs" | "module" | undefined;
|
|
32
|
+
author?: string | undefined;
|
|
33
|
+
bin?: string | Record<string, string> | undefined;
|
|
34
|
+
contributors?: {
|
|
35
|
+
avatar_url: string;
|
|
36
|
+
contributions: string[];
|
|
37
|
+
login: string;
|
|
38
|
+
name: string;
|
|
39
|
+
profile: string;
|
|
40
|
+
}[] | undefined;
|
|
41
|
+
emoji?: string | undefined;
|
|
42
|
+
existingLabels?: {
|
|
43
|
+
name: string;
|
|
44
|
+
description: string;
|
|
45
|
+
color: string;
|
|
46
|
+
}[] | undefined;
|
|
47
|
+
funding?: string | undefined;
|
|
48
|
+
guide?: {
|
|
49
|
+
href: string;
|
|
50
|
+
title: string;
|
|
51
|
+
} | undefined;
|
|
52
|
+
keywords?: string[] | undefined;
|
|
53
|
+
logo?: {
|
|
54
|
+
alt: string;
|
|
55
|
+
src: string;
|
|
56
|
+
height?: number | undefined;
|
|
57
|
+
width?: number | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
packageData?: {
|
|
60
|
+
dependencies?: Record<string, string> | undefined;
|
|
61
|
+
devDependencies?: Record<string, string> | undefined;
|
|
62
|
+
peerDependencies?: Record<string, string> | undefined;
|
|
63
|
+
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
64
|
+
scripts?: Record<string, string | undefined> | undefined;
|
|
65
|
+
} | undefined;
|
|
66
|
+
pnpm?: string | undefined;
|
|
67
|
+
rulesetId?: string | undefined;
|
|
68
|
+
version?: string | undefined;
|
|
69
|
+
words?: string[] | undefined;
|
|
70
|
+
workflowsVersions?: Record<string, Record<string, {
|
|
71
|
+
hash?: string | undefined;
|
|
72
|
+
pinned?: boolean | undefined;
|
|
73
|
+
}>> | undefined;
|
|
74
|
+
}>;
|
|
75
|
+
//#endregion
|
|
76
|
+
export { blockReleaseIt };
|
|
77
|
+
//# sourceMappingURL=blockReleaseIt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockReleaseIt.d.ts","names":[],"sources":["../../src/blocks/blockReleaseIt.ts"],"mappings":";cAUa,wCAAc"}
|
|
@@ -6,7 +6,6 @@ import { blockPackageJson } from "./blockPackageJson.js";
|
|
|
6
6
|
import { blockREADME } from "./blockREADME.js";
|
|
7
7
|
import { blockRepositorySecrets } from "./blockRepositorySecrets.js";
|
|
8
8
|
import { z } from "zod";
|
|
9
|
-
|
|
10
9
|
//#region src/blocks/blockReleaseIt.ts
|
|
11
10
|
const blockReleaseIt = base.createBlock({
|
|
12
11
|
about: { name: "release-it" },
|
|
@@ -153,6 +152,7 @@ const blockReleaseIt = base.createBlock({
|
|
|
153
152
|
};
|
|
154
153
|
}
|
|
155
154
|
});
|
|
156
|
-
|
|
157
155
|
//#endregion
|
|
158
|
-
export { blockReleaseIt };
|
|
156
|
+
export { blockReleaseIt };
|
|
157
|
+
|
|
158
|
+
//# sourceMappingURL=blockReleaseIt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockReleaseIt.js","names":[],"sources":["../../src/blocks/blockReleaseIt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.js\";\nimport { resolveUses } from \"./actions/resolveUses.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockREADME } from \"./blockREADME.js\";\nimport { blockRepositorySecrets } from \"./blockRepositorySecrets.js\";\nimport { createSoloWorkflowFile } from \"./files/createSoloWorkflowFile.js\";\n\nexport const blockReleaseIt = base.createBlock({\n\tabout: {\n\t\tname: \"release-it\",\n\t},\n\taddons: {\n\t\tbuilders: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\torder: z.number(),\n\t\t\t\t\trun: z.string(),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.default([]),\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { builders } = addons;\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tdevDependencies: getPackageDependencies(\n\t\t\t\t\t\t\t\"@release-it/conventional-changelog\",\n\t\t\t\t\t\t\t\"release-it\",\n\t\t\t\t\t\t),\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\t\"should-semantic-release\": undefined,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockREADME({\n\t\t\t\t\tbadges: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\talt: \"📦 npm version\",\n\t\t\t\t\t\t\thref: `http://npmjs.com/package/${options.repository}`,\n\t\t\t\t\t\t\tsrc: `https://img.shields.io/npm/v/${options.repository}?color=21bb42&label=%F0%9F%93%A6%20npm`,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockRepositorySecrets({\n\t\t\t\t\tsecrets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdescription: \"a GitHub PAT with repo and workflow permissions\",\n\t\t\t\t\t\t\tname: \"ACCESS_TOKEN\",\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\tworkflows: {\n\t\t\t\t\t\t\"post-release.yaml\": createSoloWorkflowFile({\n\t\t\t\t\t\t\tname: \"Post Release\",\n\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\trelease: {\n\t\t\t\t\t\t\t\t\ttypes: [\"published\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tpermissions: {\n\t\t\t\t\t\t\t\tissues: \"write\",\n\t\t\t\t\t\t\t\t\"pull-requests\": \"write\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"actions/checkout\",\n\t\t\t\t\t\t\t\t\t\t\"v4\",\n\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\twith: { \"fetch-depth\": 0 },\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\trun: `echo \"npm_version=$(npm pkg get version | tr -d '\"')\" >> \"$GITHUB_ENV\"`,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"apexskier/github-release-commenter\",\n\t\t\t\t\t\t\t\t\t\t\"v1\",\n\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\t\"comment-template\": `\n\t\t\t\t\t\t\t:tada: This is included in version {release_link} :tada:\n\n\t\t\t\t\t\t\tThe release is available on:\n\n\t\t\t\t\t\t\t* [GitHub releases](https://github.com/${options.owner}/${options.repository}/releases/tag/{release_tag})\n\t\t\t\t\t\t\t* [npm package (@latest dist-tag)](https://www.npmjs.com/package/${options.repository}/v/\\${{ env.npm_version }})\n\n\t\t\t\t\t\t\tCheers! 📦🚀\n\t\t\t\t\t\t`,\n\t\t\t\t\t\t\t\t\t\tGITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"release.yaml\": createSoloWorkflowFile({\n\t\t\t\t\t\t\tconcurrency: {\n\t\t\t\t\t\t\t\tgroup: \"${{ github.workflow }}\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tname: \"Release\",\n\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\tpush: {\n\t\t\t\t\t\t\t\t\tbranches: [\"main\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tpermissions: {\n\t\t\t\t\t\t\t\tcontents: \"write\",\n\t\t\t\t\t\t\t\t\"id-token\": \"write\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"actions/checkout\",\n\t\t\t\t\t\t\t\t\t\t\"v4\",\n\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\t\"fetch-depth\": 0,\n\t\t\t\t\t\t\t\t\t\tref: \"main\",\n\t\t\t\t\t\t\t\t\t\ttoken: \"${{ secrets.ACCESS_TOKEN }}\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tuses: \"./.github/actions/prepare\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t...builders\n\t\t\t\t\t\t\t\t\t.sort((a, b) => a.order - b.order)\n\t\t\t\t\t\t\t\t\t.map(({ run }) => ({ run })),\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tenv: {\n\t\t\t\t\t\t\t\t\t\tGITHUB_TOKEN: \"${{ secrets.ACCESS_TOKEN }}\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"JoshuaKGoldberg/release-it-action\",\n\t\t\t\t\t\t\t\t\t\t\"v0.4.0\",\n\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\".release-it.json\": JSON.stringify({\n\t\t\t\t\tgit: {\n\t\t\t\t\t\tcommitMessage: \"chore: release v${version}\",\n\t\t\t\t\t\trequireCommits: true,\n\t\t\t\t\t},\n\t\t\t\t\tgithub: {\n\t\t\t\t\t\trelease: true,\n\t\t\t\t\t\treleaseName: \"v${version}\",\n\t\t\t\t\t},\n\t\t\t\t\tnpm: { skipChecks: true },\n\t\t\t\t\tplugins: {\n\t\t\t\t\t\t\"@release-it/conventional-changelog\": {\n\t\t\t\t\t\t\tinfile: \"CHANGELOG.md\",\n\t\t\t\t\t\t\tpreset: \"conventionalcommits\",\n\t\t\t\t\t\t\ttypes: [\n\t\t\t\t\t\t\t\t{ section: \"Features\", type: \"feat\" },\n\t\t\t\t\t\t\t\t{ section: \"Bug Fixes\", type: \"fix\" },\n\t\t\t\t\t\t\t\t{ section: \"Performance Improvements\", type: \"perf\" },\n\t\t\t\t\t\t\t\t{ hidden: true, type: \"build\" },\n\t\t\t\t\t\t\t\t{ hidden: true, type: \"chore\" },\n\t\t\t\t\t\t\t\t{ hidden: true, type: \"ci\" },\n\t\t\t\t\t\t\t\t{ hidden: true, type: \"docs\" },\n\t\t\t\t\t\t\t\t{ hidden: true, type: \"refactor\" },\n\t\t\t\t\t\t\t\t{ hidden: true, type: \"style\" },\n\t\t\t\t\t\t\t\t{ hidden: true, type: \"test\" },\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t},\n\t\t\tsuggestions: [\n\t\t\t\t[\n\t\t\t\t\t`- add ${options.owner}/${options.repository} and \\`release.yaml\\` as a Trusted Publisher on:`,\n\t\t\t\t\t` https://www.npmjs.com/package/${options.repository}/access`,\n\t\t\t\t].join(\"\\n\"),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;AAUA,MAAa,iBAAiB,KAAK,YAAY;CAC9C,OAAO,EACN,MAAM,aACP;CACA,QAAQ,EACP,UAAU,EACR,MACA,EAAE,OAAO;EACR,OAAO,EAAE,OAAO;EAChB,KAAK,EAAE,OAAO;CACf,CAAC,CACF,CAAC,CACA,QAAQ,CAAC,CAAC,EACb;CACA,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,aAAa;EAErB,OAAO;GACN,QAAQ;IACP,iBAAiB,EAChB,YAAY;KACX,iBAAiB,uBAChB,sCACA,YACD;KACA,SAAS,EACR,2BAA2B,KAAA,EAC5B;IACD,EACD,CAAC;IACD,YAAY,EACX,QAAQ,CACP;KACC,KAAK;KACL,MAAM,4BAA4B,QAAQ;KAC1C,KAAK,gCAAgC,QAAQ,WAAW;IACzD,CACD,EACD,CAAC;IACD,uBAAuB,EACtB,SAAS,CACR;KACC,aAAa;KACb,MAAM;IACP,CACD,EACD,CAAC;GACF;GACA,OAAO;IACN,WAAW,EACV,WAAW;KACV,qBAAqB,uBAAuB;MAC3C,MAAM;MACN,IAAI,EACH,SAAS,EACR,OAAO,CAAC,WAAW,EACpB,EACD;MACA,aAAa;OACZ,QAAQ;OACR,iBAAiB;MAClB;MACA,OAAO;OACN;QACC,MAAM,YACL,oBACA,MACA,QAAQ,iBACT;QACA,MAAM,EAAE,eAAe,EAAE;OAC1B;OACA,EACC,KAAK,yEACN;OACA;QACC,MAAM,YACL,sCACA,MACA,QAAQ,iBACT;QACA,MAAM;SACL,oBAAoB;;;;;gDAKkB,QAAQ,MAAM,GAAG,QAAQ,WAAW;0EACV,QAAQ,WAAW;;;;SAInF,cAAc;QACf;OACD;MACD;KACD,CAAC;KACD,gBAAgB,uBAAuB;MACtC,aAAa,EACZ,OAAO,yBACR;MACA,MAAM;MACN,IAAI,EACH,MAAM,EACL,UAAU,CAAC,MAAM,EAClB,EACD;MACA,aAAa;OACZ,UAAU;OACV,YAAY;MACb;MACA,OAAO;OACN;QACC,MAAM,YACL,oBACA,MACA,QAAQ,iBACT;QACA,MAAM;SACL,eAAe;SACf,KAAK;SACL,OAAO;QACR;OACD;OACA,EACC,MAAM,4BACP;OACA,GAAG,SACD,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAC,CACjC,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE;OAC5B;QACC,KAAK,EACJ,cAAc,8BACf;QACA,MAAM,YACL,qCACA,UACA,QAAQ,iBACT;OACD;MACD;KACD,CAAC;IACF,EACD;IACA,oBAAoB,KAAK,UAAU;KAClC,KAAK;MACJ,eAAe;MACf,gBAAgB;KACjB;KACA,QAAQ;MACP,SAAS;MACT,aAAa;KACd;KACA,KAAK,EAAE,YAAY,KAAK;KACxB,SAAS,EACR,sCAAsC;MACrC,QAAQ;MACR,QAAQ;MACR,OAAO;OACN;QAAE,SAAS;QAAY,MAAM;OAAO;OACpC;QAAE,SAAS;QAAa,MAAM;OAAM;OACpC;QAAE,SAAS;QAA4B,MAAM;OAAO;OACpD;QAAE,QAAQ;QAAM,MAAM;OAAQ;OAC9B;QAAE,QAAQ;QAAM,MAAM;OAAQ;OAC9B;QAAE,QAAQ;QAAM,MAAM;OAAK;OAC3B;QAAE,QAAQ;QAAM,MAAM;OAAO;OAC7B;QAAE,QAAQ;QAAM,MAAM;OAAW;OACjC;QAAE,QAAQ;QAAM,MAAM;OAAQ;OAC9B;QAAE,QAAQ;QAAM,MAAM;OAAO;MAC9B;KACD,EACD;IACD,CAAC;GACF;GACA,aAAa,CACZ,CACC,SAAS,QAAQ,MAAM,GAAG,QAAQ,WAAW,mDAC7C,oCAAoC,QAAQ,WAAW,QACxD,CAAC,CAAC,KAAK,IAAI,CACZ;EACD;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
//#region src/blocks/blockRemoveDependencies.d.ts
|
|
2
|
+
declare const blockRemoveDependencies: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
+
dependencies?: string[] | undefined;
|
|
4
|
+
}, {
|
|
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
|
+
hash?: string | undefined;
|
|
69
|
+
pinned?: boolean | undefined;
|
|
70
|
+
}>> | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
//#endregion
|
|
73
|
+
export { blockRemoveDependencies };
|
|
74
|
+
//# sourceMappingURL=blockRemoveDependencies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockRemoveDependencies.d.ts","names":[],"sources":["../../src/blocks/blockRemoveDependencies.ts"],"mappings":";cAMa,iDAAuB"}
|
|
@@ -2,7 +2,6 @@ import { base } from "../base.js";
|
|
|
2
2
|
import { resolveBin } from "../utils/resolveBin.js";
|
|
3
3
|
import { CommandPhase } from "./phases.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
|
-
|
|
6
5
|
//#region src/blocks/blockRemoveDependencies.ts
|
|
7
6
|
const blockRemoveDependencies = base.createBlock({
|
|
8
7
|
about: { name: "Remove Dependencies" },
|
|
@@ -17,6 +16,7 @@ const blockRemoveDependencies = base.createBlock({
|
|
|
17
16
|
}] : void 0 };
|
|
18
17
|
}
|
|
19
18
|
});
|
|
20
|
-
|
|
21
19
|
//#endregion
|
|
22
|
-
export { blockRemoveDependencies };
|
|
20
|
+
export { blockRemoveDependencies };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=blockRemoveDependencies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockRemoveDependencies.js","names":[],"sources":["../../src/blocks/blockRemoveDependencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { resolveBin } from \"../utils/resolveBin.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nexport const blockRemoveDependencies = base.createBlock({\n\tabout: {\n\t\tname: \"Remove Dependencies\",\n\t},\n\taddons: {\n\t\tdependencies: 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\treturn {\n\t\t\tscripts: addons.dependencies\n\t\t\t\t? [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcommands: [\n\t\t\t\t\t\t\t\t`node ${resolveBin(\"remove-dependencies/bin/index.js\")} ${addons.dependencies.join(\" \")}`,\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tphase: CommandPhase.Process,\n\t\t\t\t\t\t},\n\t\t\t\t\t]\n\t\t\t\t: undefined,\n\t\t};\n\t},\n});\n"],"mappings":";;;;;AAMA,MAAa,0BAA0B,KAAK,YAAY;CACvD,OAAO,EACN,MAAM,sBACP;CACA,QAAQ,EACP,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,EAC5C;CAGA,UAAU;EACT,OAAO,CAAC;CACT;CACA,WAAW,EAAE,UAAU;EACtB,OAAO,EACN,SAAS,OAAO,eACb,CACA;GACC,UAAU,CACT,QAAQ,WAAW,kCAAkC,EAAE,GAAG,OAAO,aAAa,KAAK,GAAG,GACvF;GACA,OAAO,aAAa;EACrB,CACD,IACC,KAAA,EACJ;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
//#region src/blocks/blockRemoveFiles.d.ts
|
|
2
|
+
declare const blockRemoveFiles: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
+
files?: string[] | undefined;
|
|
4
|
+
}, {
|
|
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
|
+
hash?: string | undefined;
|
|
69
|
+
pinned?: boolean | undefined;
|
|
70
|
+
}>> | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
//#endregion
|
|
73
|
+
export { blockRemoveFiles };
|
|
74
|
+
//# sourceMappingURL=blockRemoveFiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockRemoveFiles.d.ts","names":[],"sources":["../../src/blocks/blockRemoveFiles.ts"],"mappings":";cAMa,0CAAgB"}
|
|
@@ -2,7 +2,6 @@ import { base } from "../base.js";
|
|
|
2
2
|
import { resolveBin } from "../utils/resolveBin.js";
|
|
3
3
|
import { CommandPhase } from "./phases.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
|
-
|
|
6
5
|
//#region src/blocks/blockRemoveFiles.ts
|
|
7
6
|
const blockRemoveFiles = base.createBlock({
|
|
8
7
|
about: { name: "Remove Files" },
|
|
@@ -18,6 +17,7 @@ const blockRemoveFiles = base.createBlock({
|
|
|
18
17
|
}] : void 0 };
|
|
19
18
|
}
|
|
20
19
|
});
|
|
21
|
-
|
|
22
20
|
//#endregion
|
|
23
|
-
export { blockRemoveFiles };
|
|
21
|
+
export { blockRemoveFiles };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=blockRemoveFiles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockRemoveFiles.js","names":[],"sources":["../../src/blocks/blockRemoveFiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { resolveBin } from \"../utils/resolveBin.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nexport const blockRemoveFiles = base.createBlock({\n\tabout: {\n\t\tname: \"Remove Files\",\n\t},\n\taddons: {\n\t\tfiles: 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\treturn {\n\t\t\tscripts: addons.files\n\t\t\t\t? [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcommands: [\n\t\t\t\t\t\t\t\t`node ${resolveBin(\"trash-cli/cli.js\")} ${addons.files.join(\" \")}`,\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tphase: CommandPhase.Migrations,\n\t\t\t\t\t\t\tsilent: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t]\n\t\t\t\t: undefined,\n\t\t};\n\t},\n});\n"],"mappings":";;;;;AAMA,MAAa,mBAAmB,KAAK,YAAY;CAChD,OAAO,EACN,MAAM,eACP;CACA,QAAQ,EACP,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,EACrC;CAGA,UAAU;EACT,OAAO,CAAC;CACT;CACA,WAAW,EAAE,UAAU;EACtB,OAAO,EACN,SAAS,OAAO,QACb,CACA;GACC,UAAU,CACT,QAAQ,WAAW,kBAAkB,EAAE,GAAG,OAAO,MAAM,KAAK,GAAG,GAChE;GACA,OAAO,aAAa;GACpB,QAAQ;EACT,CACD,IACC,KAAA,EACJ;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
//#region src/blocks/blockRemoveWorkflows.d.ts
|
|
2
|
+
declare const blockRemoveWorkflows: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
+
workflows?: string[] | undefined;
|
|
4
|
+
}, {
|
|
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
|
+
hash?: string | undefined;
|
|
69
|
+
pinned?: boolean | undefined;
|
|
70
|
+
}>> | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
//#endregion
|
|
73
|
+
export { blockRemoveWorkflows };
|
|
74
|
+
//# sourceMappingURL=blockRemoveWorkflows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockRemoveWorkflows.d.ts","names":[],"sources":["../../src/blocks/blockRemoveWorkflows.ts"],"mappings":";cAKa,8CAAoB"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { base } from "../base.js";
|
|
2
2
|
import { blockRemoveFiles } from "./blockRemoveFiles.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
|
|
5
4
|
//#region src/blocks/blockRemoveWorkflows.ts
|
|
6
5
|
const blockRemoveWorkflows = base.createBlock({
|
|
7
6
|
about: { name: "Remove Workflows" },
|
|
@@ -14,6 +13,7 @@ const blockRemoveWorkflows = base.createBlock({
|
|
|
14
13
|
return { addons: [blockRemoveFiles({ files: workflows?.map((workflow) => `.github/workflows/${workflow}.yaml`) })] };
|
|
15
14
|
}
|
|
16
15
|
});
|
|
17
|
-
|
|
18
16
|
//#endregion
|
|
19
|
-
export { blockRemoveWorkflows };
|
|
17
|
+
export { blockRemoveWorkflows };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=blockRemoveWorkflows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,mBACP;CACA,QAAQ,EACP,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,EACzC;CAGA,UAAU;EACT,OAAO,CAAC;CACT;CACA,WAAW,EAAE,UAAU;EACtB,MAAM,EAAE,cAAc;EAEtB,OAAO,EACN,QAAQ,CACP,iBAAiB,EAChB,OAAO,WAAW,KAChB,aAAa,qBAAqB,SAAS,MAC7C,EACD,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
//#region src/blocks/blockRenovate.d.ts
|
|
2
|
+
declare const blockRenovate: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
+
ignoreDeps: string[];
|
|
4
|
+
}, {
|
|
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
|
+
hash?: string | undefined;
|
|
69
|
+
pinned?: boolean | undefined;
|
|
70
|
+
}>> | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
//#endregion
|
|
73
|
+
export { blockRenovate };
|
|
74
|
+
//# sourceMappingURL=blockRenovate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockRenovate.d.ts","names":[],"sources":["../../src/blocks/blockRenovate.ts"],"mappings":";cAQa,uCAAa"}
|
|
@@ -2,7 +2,6 @@ import { base } from "../base.js";
|
|
|
2
2
|
import { intakeFileAsJson } from "./intake/intakeFileAsJson.js";
|
|
3
3
|
import { blockGitHubApps } from "./blockGitHubApps.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
|
-
|
|
6
5
|
//#region src/blocks/blockRenovate.ts
|
|
7
6
|
const zIgnoreDeps = z.array(z.string()).default([]);
|
|
8
7
|
const blockRenovate = base.createBlock({
|
|
@@ -27,7 +26,7 @@ const blockRenovate = base.createBlock({
|
|
|
27
26
|
"config:best-practices",
|
|
28
27
|
"replacements:all"
|
|
29
28
|
],
|
|
30
|
-
ignoreDeps: Array.from(new Set(["codecov/codecov-action", ...ignoreDeps])).sort(),
|
|
29
|
+
ignoreDeps: Array.from(/* @__PURE__ */ new Set(["codecov/codecov-action", ...ignoreDeps])).sort(),
|
|
31
30
|
labels: ["dependencies"],
|
|
32
31
|
minimumReleaseAge: "7 days",
|
|
33
32
|
patch: { enabled: false },
|
|
@@ -36,6 +35,7 @@ const blockRenovate = base.createBlock({
|
|
|
36
35
|
};
|
|
37
36
|
}
|
|
38
37
|
});
|
|
39
|
-
|
|
40
38
|
//#endregion
|
|
41
|
-
export { blockRenovate };
|
|
39
|
+
export { blockRenovate };
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=blockRenovate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;AAElD,MAAa,gBAAgB,KAAK,YAAY;CAC7C,OAAO,EACN,MAAM,WACP;CACA,QAAQ,EACP,YAAY,YACb;CACA,OAAO,EAAE,SAAS;EACjB,MAAM,MAAM,iBAAiB,OAAO,CAAC,WAAW,eAAe,CAAC;EAEhE,OAAO,EACN,YAAY,YAAY,UAAU,KAAK,UAAU,CAAC,CAAC,KACpD;CACD;CACA,QAAQ,EAAE,UAAU;EACnB,MAAM,EAAE,eAAe;EAEvB,OAAO;GACN,QAAQ,CACP,gBAAgB,EACf,MAAM,CACL;IACC,MAAM;IACN,KAAK;GACN,CACD,EACD,CAAC,CACF;GACA,OAAO,EACN,WAAW,EACV,iBAAiB,KAAK,UAAU;IAC/B,SAAS;IACT,WAAW;IACX,SAAS;KACR;KACA;KACA;IACD;IACA,YAAY,MAAM,qBACjB,IAAI,IAAI,CAAC,0BAA0B,GAAG,UAAU,CAAC,CAClD,CAAC,CAAC,KAAK;IACP,QAAQ,CAAC,cAAc;IACvB,mBAAmB;IACnB,OAAO,EAAE,SAAS,MAAM;IACxB,mBAAmB,CAAC,YAAY;GACjC,CAAC,EACF,EACD;EACD;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
//#region src/blocks/blockRepositoryBranchRuleset.d.ts
|
|
2
|
+
declare const blockRepositoryBranchRuleset: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
+
requiredStatusChecks?: string[] | undefined;
|
|
4
|
+
}, {
|
|
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
|
+
hash?: string | undefined;
|
|
69
|
+
pinned?: boolean | undefined;
|
|
70
|
+
}>> | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
//#endregion
|
|
73
|
+
export { blockRepositoryBranchRuleset };
|
|
74
|
+
//# sourceMappingURL=blockRepositoryBranchRuleset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockRepositoryBranchRuleset.d.ts","names":[],"sources":["../../src/blocks/blockRepositoryBranchRuleset.ts"],"mappings":";cAMa,sDAA4B"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { base } from "../base.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
|
|
4
3
|
//#region src/blocks/blockRepositoryBranchRuleset.ts
|
|
5
4
|
const blockRepositoryBranchRuleset = base.createBlock({
|
|
6
5
|
about: { name: "Repository Branch Ruleset" },
|
|
@@ -76,6 +75,7 @@ function createRulesetParameters(contexts, options, rulesetId) {
|
|
|
76
75
|
target: "branch"
|
|
77
76
|
};
|
|
78
77
|
}
|
|
79
|
-
|
|
80
78
|
//#endregion
|
|
81
|
-
export { blockRepositoryBranchRuleset };
|
|
79
|
+
export { blockRepositoryBranchRuleset };
|
|
80
|
+
|
|
81
|
+
//# sourceMappingURL=blockRepositoryBranchRuleset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,4BACP;CACA,QAAQ,EACP,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,EACpD;CACA,MAAM,EAAE,QAAQ,WAAW;EAC1B,OAAO,EACN,UAAU,CACT;GACC,UAAU;GACV,YAAY,wBACX,OAAO,sBACP,OACD;GACA,MAAM;EACP,CACD,EACD;CACD;CACA,WAAW,EAAE,QAAQ,WAAW;EAC/B,OAAO,EACN,UAAU,CACT;GACC,UAAU;GACV,YAAY;IACX,QAAQ;IACR,OAAO,QAAQ;IACf,MAAM,QAAQ;GACf;GACA,QAAQ;GACR,MAAM;EACP,GACA,QAAQ,YACL;GACA,UAAU;GACV,YAAY,wBACX,OAAO,sBACP,SACA,QAAQ,SACT;GACA,MAAM;EACP,IACC;GACA,UAAU;GACV,YAAY,wBACX,OAAO,sBACP,OACD;GACA,MAAM;EACP,CACH,EACD;CACD;CAGA,UAAU;EACT,OAAO,CAAC;CACT;AACD,CAAC;AAED,SAAS,wBACR,UACA,SACA,WACC;CACD,OAAO;EACN,eAAe,CACd;GAGC,UAAU;GACV,YAAY;GACZ,aAAa;EACd,CACD;EACA,YAAY,EACX,UAAU;GACT,SAAS,CAAC;GACV,SAAS,CAAC,iBAAiB;EAC5B,EACD;EACA,aAAa;EACb,MAAM;EACN,OAAO,QAAQ;EACf,MAAM,QAAQ;EACd,OAAO;GACN,EAAE,MAAM,WAAW;GACnB;IACC,YAAY;KACX,uBAAuB,CAAC,QAAQ;KAChC,+BAA+B;KAC/B,2BAA2B;KAC3B,4BAA4B;KAC5B,iCAAiC;KACjC,mCAAmC;IACpC;IACA,MAAM;GACP;GACA;IACC,YAAY;KACX,wBACC,UAAU,KAAK,aAAa,EAC3B,QACD,EAAE,KAAK,CAAC;KACT,sCAAsC;IACvC;IACA,MAAM;GACP;EACD;EACA,YAAY,cAAc,KAAA,IAAY,YAAY,OAAO,SAAS;EAClE,QAAQ;CACT;AACD"}
|