create-typescript-app 2.62.0 → 2.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +3 -3
- 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/blockGitHubApps.d.ts
|
|
2
|
+
declare const blockGitHubApps: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
+
apps: {
|
|
4
|
+
name: string;
|
|
5
|
+
url: string;
|
|
6
|
+
}[];
|
|
7
|
+
}, {
|
|
8
|
+
access: "public" | "restricted";
|
|
9
|
+
description: string;
|
|
10
|
+
directory: string;
|
|
11
|
+
documentation: {
|
|
12
|
+
readme: {
|
|
13
|
+
additional?: string | undefined;
|
|
14
|
+
explainer?: string | undefined;
|
|
15
|
+
footnotes?: string | undefined;
|
|
16
|
+
usage?: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
development?: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
email: {
|
|
21
|
+
github: string;
|
|
22
|
+
npm: string;
|
|
23
|
+
};
|
|
24
|
+
title: string;
|
|
25
|
+
node: {
|
|
26
|
+
minimum: string;
|
|
27
|
+
pinned?: string | undefined;
|
|
28
|
+
};
|
|
29
|
+
owner: string;
|
|
30
|
+
repository: string;
|
|
31
|
+
type?: "commonjs" | "module" | undefined;
|
|
32
|
+
author?: string | undefined;
|
|
33
|
+
bin?: string | Record<string, string> | undefined;
|
|
34
|
+
contributors?: {
|
|
35
|
+
avatar_url: string;
|
|
36
|
+
contributions: string[];
|
|
37
|
+
login: string;
|
|
38
|
+
name: string;
|
|
39
|
+
profile: string;
|
|
40
|
+
}[] | undefined;
|
|
41
|
+
emoji?: string | undefined;
|
|
42
|
+
existingLabels?: {
|
|
43
|
+
name: string;
|
|
44
|
+
description: string;
|
|
45
|
+
color: string;
|
|
46
|
+
}[] | undefined;
|
|
47
|
+
funding?: string | undefined;
|
|
48
|
+
guide?: {
|
|
49
|
+
href: string;
|
|
50
|
+
title: string;
|
|
51
|
+
} | undefined;
|
|
52
|
+
keywords?: string[] | undefined;
|
|
53
|
+
logo?: {
|
|
54
|
+
alt: string;
|
|
55
|
+
src: string;
|
|
56
|
+
height?: number | undefined;
|
|
57
|
+
width?: number | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
packageData?: {
|
|
60
|
+
dependencies?: Record<string, string> | undefined;
|
|
61
|
+
devDependencies?: Record<string, string> | undefined;
|
|
62
|
+
peerDependencies?: Record<string, string> | undefined;
|
|
63
|
+
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
64
|
+
scripts?: Record<string, string | undefined> | undefined;
|
|
65
|
+
} | undefined;
|
|
66
|
+
pnpm?: string | undefined;
|
|
67
|
+
rulesetId?: string | undefined;
|
|
68
|
+
version?: string | undefined;
|
|
69
|
+
words?: string[] | undefined;
|
|
70
|
+
workflowsVersions?: Record<string, Record<string, {
|
|
71
|
+
pinned?: boolean | undefined;
|
|
72
|
+
hash?: string | undefined;
|
|
73
|
+
}>> | undefined;
|
|
74
|
+
}>;
|
|
75
|
+
//#endregion
|
|
76
|
+
export { blockGitHubApps };
|
|
77
|
+
//# sourceMappingURL=blockGitHubApps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockGitHubApps.d.ts","names":[],"sources":["../../src/blocks/blockGitHubApps.ts"],"mappings":";cAKa,yCAAe"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { base } from "../base.js";
|
|
2
2
|
import { getInstallationSuggestions } from "./getInstallationSuggestions.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
|
|
5
4
|
//#region src/blocks/blockGitHubApps.ts
|
|
6
5
|
const blockGitHubApps = base.createBlock({
|
|
7
6
|
about: { name: "GitHub Apps" },
|
|
@@ -13,6 +12,7 @@ const blockGitHubApps = base.createBlock({
|
|
|
13
12
|
return { suggestions: getInstallationSuggestions("enable the GitHub app", addons.apps.map((app) => `${app.name} (${app.url})`), `https://github.com/${options.owner}/${options.repository}/settings/installations`) };
|
|
14
13
|
}
|
|
15
14
|
});
|
|
16
|
-
|
|
17
15
|
//#endregion
|
|
18
|
-
export { blockGitHubApps };
|
|
16
|
+
export { blockGitHubApps };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=blockGitHubApps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockGitHubApps.js","names":[],"sources":["../../src/blocks/blockGitHubApps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getInstallationSuggestions } from \"./getInstallationSuggestions.js\";\n\nexport const blockGitHubApps = base.createBlock({\n\tabout: {\n\t\tname: \"GitHub Apps\",\n\t},\n\taddons: {\n\t\tapps: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\tname: z.string(),\n\t\t\t\t\turl: z.string(),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.default([]),\n\t},\n\tproduce({ addons, options }) {\n\t\treturn {\n\t\t\tsuggestions: getInstallationSuggestions(\n\t\t\t\t\"enable the GitHub app\",\n\t\t\t\taddons.apps.map((app) => `${app.name} (${app.url})`),\n\t\t\t\t`https://github.com/${options.owner}/${options.repository}/settings/installations`,\n\t\t\t),\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAKA,MAAa,kBAAkB,KAAK,YAAY;CAC/C,OAAO,EACN,MAAM,cACP;CACA,QAAQ,EACP,MAAM,EACJ,MACA,EAAE,OAAO;EACR,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,OAAO;CACf,CAAC,CACF,CAAC,CACA,QAAQ,CAAC,CAAC,EACb;CACA,QAAQ,EAAE,QAAQ,WAAW;EAC5B,OAAO,EACN,aAAa,2BACZ,yBACA,OAAO,KAAK,KAAK,QAAQ,GAAG,IAAI,KAAK,IAAI,IAAI,IAAI,EAAE,GACnD,sBAAsB,QAAQ,MAAM,GAAG,QAAQ,WAAW,wBAC3D,EACD;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
//#region src/blocks/blockGitHubIssueTemplates.d.ts
|
|
2
|
+
declare const blockGitHubIssueTemplates: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
|
+
access: "public" | "restricted";
|
|
4
|
+
description: string;
|
|
5
|
+
directory: string;
|
|
6
|
+
documentation: {
|
|
7
|
+
readme: {
|
|
8
|
+
additional?: string | undefined;
|
|
9
|
+
explainer?: string | undefined;
|
|
10
|
+
footnotes?: string | undefined;
|
|
11
|
+
usage?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
development?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
email: {
|
|
16
|
+
github: string;
|
|
17
|
+
npm: string;
|
|
18
|
+
};
|
|
19
|
+
title: string;
|
|
20
|
+
node: {
|
|
21
|
+
minimum: string;
|
|
22
|
+
pinned?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
owner: string;
|
|
25
|
+
repository: string;
|
|
26
|
+
type?: "commonjs" | "module" | undefined;
|
|
27
|
+
author?: string | undefined;
|
|
28
|
+
bin?: string | Record<string, string> | undefined;
|
|
29
|
+
contributors?: {
|
|
30
|
+
avatar_url: string;
|
|
31
|
+
contributions: string[];
|
|
32
|
+
login: string;
|
|
33
|
+
name: string;
|
|
34
|
+
profile: string;
|
|
35
|
+
}[] | undefined;
|
|
36
|
+
emoji?: string | undefined;
|
|
37
|
+
existingLabels?: {
|
|
38
|
+
name: string;
|
|
39
|
+
description: string;
|
|
40
|
+
color: string;
|
|
41
|
+
}[] | undefined;
|
|
42
|
+
funding?: string | undefined;
|
|
43
|
+
guide?: {
|
|
44
|
+
href: string;
|
|
45
|
+
title: string;
|
|
46
|
+
} | undefined;
|
|
47
|
+
keywords?: string[] | undefined;
|
|
48
|
+
logo?: {
|
|
49
|
+
alt: string;
|
|
50
|
+
src: string;
|
|
51
|
+
height?: number | undefined;
|
|
52
|
+
width?: number | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
packageData?: {
|
|
55
|
+
dependencies?: Record<string, string> | undefined;
|
|
56
|
+
devDependencies?: Record<string, string> | undefined;
|
|
57
|
+
peerDependencies?: Record<string, string> | undefined;
|
|
58
|
+
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
59
|
+
scripts?: Record<string, string | undefined> | undefined;
|
|
60
|
+
} | undefined;
|
|
61
|
+
pnpm?: string | undefined;
|
|
62
|
+
rulesetId?: string | undefined;
|
|
63
|
+
version?: string | undefined;
|
|
64
|
+
words?: string[] | undefined;
|
|
65
|
+
workflowsVersions?: Record<string, Record<string, {
|
|
66
|
+
pinned?: boolean | undefined;
|
|
67
|
+
hash?: string | undefined;
|
|
68
|
+
}>> | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
//#endregion
|
|
71
|
+
export { blockGitHubIssueTemplates };
|
|
72
|
+
//# sourceMappingURL=blockGitHubIssueTemplates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockGitHubIssueTemplates.d.ts","names":[],"sources":["../../src/blocks/blockGitHubIssueTemplates.ts"],"mappings":";cAGa,mDAAyB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { base } from "../base.js";
|
|
2
2
|
import { formatYaml } from "./files/formatYaml.js";
|
|
3
|
-
|
|
4
3
|
//#region src/blocks/blockGitHubIssueTemplates.ts
|
|
5
4
|
const blockGitHubIssueTemplates = base.createBlock({
|
|
6
5
|
about: { name: "GitHub Issue Templates" },
|
|
@@ -191,6 +190,7 @@ const blockGitHubIssueTemplates = base.createBlock({
|
|
|
191
190
|
} } };
|
|
192
191
|
}
|
|
193
192
|
});
|
|
194
|
-
|
|
195
193
|
//#endregion
|
|
196
|
-
export { blockGitHubIssueTemplates };
|
|
194
|
+
export { blockGitHubIssueTemplates };
|
|
195
|
+
|
|
196
|
+
//# sourceMappingURL=blockGitHubIssueTemplates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockGitHubIssueTemplates.js","names":[],"sources":["../../src/blocks/blockGitHubIssueTemplates.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { formatYaml } from \"./files/formatYaml.js\";\n\nexport const blockGitHubIssueTemplates = base.createBlock({\n\tabout: {\n\t\tname: \"GitHub Issue Templates\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\tISSUE_TEMPLATE: {\n\t\t\t\t\t\t\"01-bug.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Bug Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have tried restarting my IDE and the issue persists.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have pulled in the newest version of the project.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\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\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to happen?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Expected\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\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\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What happened instead?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Actual\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\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\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription: \"Report a bug trying to run the code\",\n\t\t\t\t\t\t\tlabels: [\"type: bug\"],\n\t\t\t\t\t\t\tname: \"🐛 Bug\",\n\t\t\t\t\t\t\ttitle: \"🐛 Bug: <short description of the bug>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"02-documentation.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Documentation Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have looked at the latest `main` branch of the repository.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\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\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What would you like to report?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\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\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription: \"Report a typo or missing area of documentation\",\n\t\t\t\t\t\t\tlabels: [\"area: documentation\"],\n\t\t\t\t\t\t\tname: \"📝 Documentation\",\n\t\t\t\t\t\t\ttitle: \"📝 Documentation: <short description of the request>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"03-feature.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Feature Request Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have looked at the latest version of the project.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\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\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to be able to do?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\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\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\"Request that a new feature be added or an existing feature improved\",\n\t\t\t\t\t\t\tlabels: [\"type: feature\"],\n\t\t\t\t\t\t\tname: \"🚀 Feature\",\n\t\t\t\t\t\t\ttitle: \"🚀 Feature: <short description of the feature>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"04-tooling.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Tooling Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have tried restarting my IDE and the issue persists.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have pulled in the newest version of the project.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\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\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to be able to do?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\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\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\"Report a bug or request an enhancement in repository tooling\",\n\t\t\t\t\t\t\tlabels: [\"area: tooling\"],\n\t\t\t\t\t\t\tname: \"🛠 Tooling\",\n\t\t\t\t\t\t\ttitle: \"🛠 Tooling: <short description of the change>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t\t\"ISSUE_TEMPLATE.md\": `<!-- Note: Please must use one of our issue templates to file an issue! 🛑 -->\n<!-- 👉 https://github.com/${options.owner}/${options.repository}/issues/new/choose 👈 -->\n<!-- **Issues that should have been filed with a template will be closed without action, and we will ask you to use a template.** -->\n\n<!-- This blank issue template is only for issues that don't fit any of the templates. -->\n\n## Overview\n\n...\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;AAGA,MAAa,4BAA4B,KAAK,YAAY;CACzD,OAAO,EACN,MAAM,yBACP;CACA,QAAQ,EAAE,WAAW;EACpB,OAAO,EACN,OAAO,EACN,WAAW;GACV,gBAAgB;IACf,eAAe,WAAW;KACzB,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS;SACR;UACC,OACC;UACD,UAAU;SACX;SACA;UACC,OACC;UACD,UAAU;SACX;SACA;UACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;UACtG,UAAU;SACX;QACD;OACD;OACA,MAAM;MACP;MACA;OACC,YAAY;QACX,aAAa;QACb,OAAO;OACR;OACA,MAAM;OACN,aAAa,EACZ,UAAU,KACX;MACD;MACA;OACC,YAAY;QACX,aAAa;QACb,OAAO;OACR;OACA,MAAM;OACN,aAAa,EACZ,UAAU,KACX;MACD;MACA;OACC,YAAY;QACX,aAAa;QACb,OAAO;OACR;OACA,MAAM;MACP;KACD;KACA,aAAa;KACb,QAAQ,CAAC,WAAW;KACpB,MAAM;KACN,OAAO;IACR,CAAC;IACD,yBAAyB,WAAW;KACnC,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS,CACR;SACC,OACC;SACD,UAAU;QACX,GACA;SACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;SACtG,UAAU;QACX,CACD;OACD;OACA,MAAM;MACP;MACA;OACC,YAAY;QACX,aAAa;QACb,OAAO;OACR;OACA,MAAM;OACN,aAAa,EACZ,UAAU,KACX;MACD;MACA;OACC,YAAY;QACX,aAAa;QACb,OAAO;OACR;OACA,MAAM;MACP;KACD;KACA,aAAa;KACb,QAAQ,CAAC,qBAAqB;KAC9B,MAAM;KACN,OAAO;IACR,CAAC;IACD,mBAAmB,WAAW;KAC7B,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS,CACR;SACC,OACC;SACD,UAAU;QACX,GACA;SACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;SACtG,UAAU;QACX,CACD;OACD;OACA,MAAM;MACP;MACA;OACC,YAAY;QACX,aAAa;QACb,OAAO;OACR;OACA,MAAM;OACN,aAAa,EACZ,UAAU,KACX;MACD;MACA;OACC,YAAY;QACX,aAAa;QACb,OAAO;OACR;OACA,MAAM;MACP;KACD;KACA,aACC;KACD,QAAQ,CAAC,eAAe;KACxB,MAAM;KACN,OAAO;IACR,CAAC;IACD,mBAAmB,WAAW;KAC7B,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS;SACR;UACC,OACC;UACD,UAAU;SACX;SACA;UACC,OACC;UACD,UAAU;SACX;SACA;UACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;UACtG,UAAU;SACX;QACD;OACD;OACA,MAAM;MACP;MACA;OACC,YAAY;QACX,aAAa;QACb,OAAO;OACR;OACA,MAAM;OACN,aAAa,EACZ,UAAU,KACX;MACD;MACA;OACC,YAAY;QACX,aAAa;QACb,OAAO;OACR;OACA,MAAM;MACP;KACD;KACA,aACC;KACD,QAAQ,CAAC,eAAe;KACxB,MAAM;KACN,OAAO;IACR,CAAC;GACF;GACA,qBAAqB;6BACG,QAAQ,MAAM,GAAG,QAAQ,WAAW;;;;;;;;;EAS7D,EACD,EACD;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
//#region src/blocks/blockGitHubPRTemplate.d.ts
|
|
2
|
+
declare const blockGitHubPRTemplate: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
|
+
access: "public" | "restricted";
|
|
4
|
+
description: string;
|
|
5
|
+
directory: string;
|
|
6
|
+
documentation: {
|
|
7
|
+
readme: {
|
|
8
|
+
additional?: string | undefined;
|
|
9
|
+
explainer?: string | undefined;
|
|
10
|
+
footnotes?: string | undefined;
|
|
11
|
+
usage?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
development?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
email: {
|
|
16
|
+
github: string;
|
|
17
|
+
npm: string;
|
|
18
|
+
};
|
|
19
|
+
title: string;
|
|
20
|
+
node: {
|
|
21
|
+
minimum: string;
|
|
22
|
+
pinned?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
owner: string;
|
|
25
|
+
repository: string;
|
|
26
|
+
type?: "commonjs" | "module" | undefined;
|
|
27
|
+
author?: string | undefined;
|
|
28
|
+
bin?: string | Record<string, string> | undefined;
|
|
29
|
+
contributors?: {
|
|
30
|
+
avatar_url: string;
|
|
31
|
+
contributions: string[];
|
|
32
|
+
login: string;
|
|
33
|
+
name: string;
|
|
34
|
+
profile: string;
|
|
35
|
+
}[] | undefined;
|
|
36
|
+
emoji?: string | undefined;
|
|
37
|
+
existingLabels?: {
|
|
38
|
+
name: string;
|
|
39
|
+
description: string;
|
|
40
|
+
color: string;
|
|
41
|
+
}[] | undefined;
|
|
42
|
+
funding?: string | undefined;
|
|
43
|
+
guide?: {
|
|
44
|
+
href: string;
|
|
45
|
+
title: string;
|
|
46
|
+
} | undefined;
|
|
47
|
+
keywords?: string[] | undefined;
|
|
48
|
+
logo?: {
|
|
49
|
+
alt: string;
|
|
50
|
+
src: string;
|
|
51
|
+
height?: number | undefined;
|
|
52
|
+
width?: number | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
packageData?: {
|
|
55
|
+
dependencies?: Record<string, string> | undefined;
|
|
56
|
+
devDependencies?: Record<string, string> | undefined;
|
|
57
|
+
peerDependencies?: Record<string, string> | undefined;
|
|
58
|
+
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
59
|
+
scripts?: Record<string, string | undefined> | undefined;
|
|
60
|
+
} | undefined;
|
|
61
|
+
pnpm?: string | undefined;
|
|
62
|
+
rulesetId?: string | undefined;
|
|
63
|
+
version?: string | undefined;
|
|
64
|
+
words?: string[] | undefined;
|
|
65
|
+
workflowsVersions?: Record<string, Record<string, {
|
|
66
|
+
pinned?: boolean | undefined;
|
|
67
|
+
hash?: string | undefined;
|
|
68
|
+
}>> | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
//#endregion
|
|
71
|
+
export { blockGitHubPRTemplate };
|
|
72
|
+
//# sourceMappingURL=blockGitHubPRTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockGitHubPRTemplate.d.ts","names":[],"sources":["../../src/blocks/blockGitHubPRTemplate.ts"],"mappings":";cAEa,+CAAqB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { base } from "../base.js";
|
|
2
|
-
|
|
3
2
|
//#region src/blocks/blockGitHubPRTemplate.ts
|
|
4
3
|
const blockGitHubPRTemplate = base.createBlock({
|
|
5
4
|
about: { name: "GitHub Issue Templates" },
|
|
@@ -20,6 +19,7 @@ Otherwise we may not be able to review your PR. -->
|
|
|
20
19
|
` } } };
|
|
21
20
|
}
|
|
22
21
|
});
|
|
23
|
-
|
|
24
22
|
//#endregion
|
|
25
|
-
export { blockGitHubPRTemplate };
|
|
23
|
+
export { blockGitHubPRTemplate };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=blockGitHubPRTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockGitHubPRTemplate.js","names":[],"sources":["../../src/blocks/blockGitHubPRTemplate.ts"],"sourcesContent":["import { base } from \"../base.js\";\n\nexport const blockGitHubPRTemplate = base.createBlock({\n\tabout: {\n\t\tname: \"GitHub Issue Templates\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\t\"PULL_REQUEST_TEMPLATE.md\": `<!-- 👋 Hi, thanks for sending a PR to ${options.repository}! ${options.emoji}\nPlease fill out all fields below and make sure each item is true and [x] checked.\nOtherwise we may not be able to review your PR. -->\n\n## PR Checklist\n\n- [ ] Addresses an existing open issue: fixes #000\n- [ ] That issue was marked as [\\`status: accepting prs\\`](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22)\n- [ ] Steps in [CONTRIBUTING.md](https://github.com/${options.owner}/${options.repository}/blob/main/.github/CONTRIBUTING.md) were taken\n\n## Overview\n\n<!-- Description of what is changed and how the code change does that. -->\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;AAEA,MAAa,wBAAwB,KAAK,YAAY;CACrD,OAAO,EACN,MAAM,yBACP;CACA,QAAQ,EAAE,WAAW;EACpB,OAAO,EACN,OAAO,EACN,WAAW,EACV,4BAA4B,0CAA0C,QAAQ,WAAW,IAAI,QAAQ,MAAM;;;;;;;gFAOhC,QAAQ,MAAM,GAAG,QAAQ,WAAW;sDAC9D,QAAQ,MAAM,GAAG,QAAQ,WAAW;;;;;EAMtF,EACD,EACD;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
//#region src/blocks/blockGitignore.d.ts
|
|
2
|
+
declare const blockGitignore: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
+
ignores: 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
|
+
pinned?: boolean | undefined;
|
|
69
|
+
hash?: string | undefined;
|
|
70
|
+
}>> | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
//#endregion
|
|
73
|
+
export { blockGitignore };
|
|
74
|
+
//# sourceMappingURL=blockGitignore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockGitignore.d.ts","names":[],"sources":["../../src/blocks/blockGitignore.ts"],"mappings":";cAKa,wCAAc"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { base } from "../base.js";
|
|
2
2
|
import { formatIgnoreFile } from "./files/formatIgnoreFile.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
|
|
5
4
|
//#region src/blocks/blockGitignore.ts
|
|
6
5
|
const blockGitignore = base.createBlock({
|
|
7
6
|
about: { name: "Gitignore" },
|
|
@@ -11,6 +10,7 @@ const blockGitignore = base.createBlock({
|
|
|
11
10
|
return { files: { ".gitignore": formatIgnoreFile(["/node_modules", ...ignores].sort()) } };
|
|
12
11
|
}
|
|
13
12
|
});
|
|
14
|
-
|
|
15
13
|
//#endregion
|
|
16
|
-
export { blockGitignore };
|
|
14
|
+
export { blockGitignore };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=blockGitignore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockGitignore.js","names":[],"sources":["../../src/blocks/blockGitignore.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { formatIgnoreFile } from \"./files/formatIgnoreFile.js\";\n\nexport const blockGitignore = base.createBlock({\n\tabout: {\n\t\tname: \"Gitignore\",\n\t},\n\taddons: {\n\t\tignores: z.array(z.string()).default([]),\n\t},\n\tproduce({ addons }) {\n\t\tconst { ignores } = addons;\n\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".gitignore\": formatIgnoreFile([\"/node_modules\", ...ignores].sort()),\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAKA,MAAa,iBAAiB,KAAK,YAAY;CAC9C,OAAO,EACN,MAAM,YACP;CACA,QAAQ,EACP,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EACxC;CACA,QAAQ,EAAE,UAAU;EACnB,MAAM,EAAE,YAAY;EAEpB,OAAO,EACN,OAAO,EACN,cAAc,iBAAiB,CAAC,iBAAiB,GAAG,OAAO,CAAC,CAAC,KAAK,CAAC,EACpE,EACD;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
//#region src/blocks/blockKnip.d.ts
|
|
2
|
+
declare const blockKnip: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
+
entry?: string[] | undefined;
|
|
4
|
+
ignoreDependencies?: string[] | undefined;
|
|
5
|
+
project?: 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 { blockKnip };
|
|
76
|
+
//# sourceMappingURL=blockKnip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockKnip.d.ts","names":[],"sources":["../../src/blocks/blockKnip.ts"],"mappings":";cAea,mCAAS"}
|
package/lib/blocks/blockKnip.js
CHANGED
|
@@ -9,7 +9,6 @@ import { intakeFileAsJson } from "./intake/intakeFileAsJson.js";
|
|
|
9
9
|
import { intakeFileExportObject } from "./intake/intakeFileExportObject.js";
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
import removeUndefinedObjects from "remove-undefined-objects";
|
|
12
|
-
|
|
13
12
|
//#region src/blocks/blockKnip.ts
|
|
14
13
|
const zStringArray = z.array(z.string());
|
|
15
14
|
const blockKnip = base.createBlock({
|
|
@@ -65,6 +64,7 @@ export default ${JSON.stringify({
|
|
|
65
64
|
] }), blockRemoveWorkflows({ workflows: ["knip", "lint-knip"] })] };
|
|
66
65
|
}
|
|
67
66
|
});
|
|
68
|
-
|
|
69
67
|
//#endregion
|
|
70
|
-
export { blockKnip };
|
|
68
|
+
export { blockKnip };
|
|
69
|
+
|
|
70
|
+
//# sourceMappingURL=blockKnip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockKnip.js","names":[],"sources":["../../src/blocks/blockKnip.ts"],"sourcesContent":["import removeUndefinedObjects from \"remove-undefined-objects\";\nimport { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\nimport { intakeFileAsJson } from \"./intake/intakeFileAsJson.js\";\nimport { intakeFileExportObject } from \"./intake/intakeFileExportObject.js\";\n\nconst zStringArray = z.array(z.string());\n\nexport const blockKnip = base.createBlock({\n\tabout: {\n\t\tname: \"Knip\",\n\t},\n\taddons: {\n\t\tentry: zStringArray.optional(),\n\t\tignoreDependencies: zStringArray.optional(),\n\t\tproject: zStringArray.optional(),\n\t},\n\tintake({ files }) {\n\t\tconst knipJson =\n\t\t\tintakeFileExportObject(files, [\"knip.config.ts\"]) ??\n\t\t\tintakeFileAsJson(files, [\"knip.json\"]);\n\t\tif (!knipJson) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn removeUndefinedObjects({\n\t\t\tentry: zStringArray.safeParse(knipJson.entry).data,\n\t\t\tignoreDependencies: zStringArray.safeParse(knipJson.ignoreDependencies)\n\t\t\t\t.data,\n\t\t\tproject: zStringArray.safeParse(knipJson.project).data,\n\t\t});\n\t},\n\tproduce({ addons }) {\n\t\tconst { entry, ignoreDependencies, project } = addons;\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockDevelopmentDocs({\n\t\t\t\t\tsections: {\n\t\t\t\t\t\tLinting: {\n\t\t\t\t\t\t\tcontents: {\n\t\t\t\t\t\t\t\titems: [\n\t\t\t\t\t\t\t\t\t`- \\`pnpm lint:knip\\` ([knip](https://github.com/webpro/knip)): Detects unused files, dependencies, and code exports`,\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\tblockGitHubActionsCI({\n\t\t\t\t\tjobs: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Lint Knip\",\n\t\t\t\t\t\t\tsteps: [{ run: \"pnpm lint:knip\" }],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tdevDependencies: getPackageDependencies(\"knip\"),\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\t\"lint:knip\": \"knip\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\".ts-prunerc*\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t\"knip.config.ts\": `import type { KnipConfig } from \"knip\";\n\nexport default ${JSON.stringify({\n\t\t\t\t\tentry: entry?.sort(),\n\t\t\t\t\tignoreDependencies,\n\t\t\t\t\tignoreExportsUsedInFile: {\n\t\t\t\t\t\tinterface: true,\n\t\t\t\t\t\ttype: true,\n\t\t\t\t\t},\n\t\t\t\t\tproject: project?.sort(),\n\t\t\t\t\ttreatConfigHintsAsErrors: true,\n\t\t\t\t})} satisfies KnipConfig;`,\n\t\t\t},\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\".knip*\", \"knip.{c,j,m}*\", \"knip.json*\"],\n\t\t\t\t}),\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"knip\", \"lint-knip\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;;;AAaA,MAAM,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC;AAEvC,MAAa,YAAY,KAAK,YAAY;CACzC,OAAO,EACN,MAAM,OACP;CACA,QAAQ;EACP,OAAO,aAAa,SAAS;EAC7B,oBAAoB,aAAa,SAAS;EAC1C,SAAS,aAAa,SAAS;CAChC;CACA,OAAO,EAAE,SAAS;EACjB,MAAM,WACL,uBAAuB,OAAO,CAAC,gBAAgB,CAAC,KAChD,iBAAiB,OAAO,CAAC,WAAW,CAAC;EACtC,IAAI,CAAC,UACJ;EAGD,OAAO,uBAAuB;GAC7B,OAAO,aAAa,UAAU,SAAS,KAAK,CAAC,CAAC;GAC9C,oBAAoB,aAAa,UAAU,SAAS,kBAAkB,CAAC,CACrE;GACF,SAAS,aAAa,UAAU,SAAS,OAAO,CAAC,CAAC;EACnD,CAAC;CACF;CACA,QAAQ,EAAE,UAAU;EACnB,MAAM,EAAE,OAAO,oBAAoB,YAAY;EAC/C,OAAO;GACN,QAAQ;IACP,qBAAqB,EACpB,UAAU,EACT,SAAS,EACR,UAAU,EACT,OAAO,CACN,qHACD,EACD,EACD,EACD,EACD,CAAC;IACD,qBAAqB,EACpB,MAAM,CACL;KACC,MAAM;KACN,OAAO,CAAC,EAAE,KAAK,iBAAiB,CAAC;IAClC,CACD,EACD,CAAC;IACD,iBAAiB,EAChB,YAAY;KACX,iBAAiB,uBAAuB,MAAM;KAC9C,SAAS,EACR,aAAa,OACd;IACD,EACD,CAAC;IACD,iBAAiB,EAChB,OAAO,CAAC,cAAc,EACvB,CAAC;GACF;GACA,OAAO,EACN,kBAAkB;;iBAEL,KAAK,UAAU;IAC3B,OAAO,OAAO,KAAK;IACnB;IACA,yBAAyB;KACxB,WAAW;KACX,MAAM;IACP;IACA,SAAS,SAAS,KAAK;IACvB,0BAA0B;GAC3B,CAAC,EAAE,wBACJ;EACD;CACD;CACA,aAAa;EACZ,OAAO,EACN,QAAQ,CACP,iBAAiB,EAChB,OAAO;GAAC;GAAU;GAAiB;EAAY,EAChD,CAAC,GACD,qBAAqB,EACpB,WAAW,CAAC,QAAQ,WAAW,EAChC,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
//#region src/blocks/blockMITLicense.d.ts
|
|
2
|
+
declare const blockMITLicense: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
|
+
access: "public" | "restricted";
|
|
4
|
+
description: string;
|
|
5
|
+
directory: string;
|
|
6
|
+
documentation: {
|
|
7
|
+
readme: {
|
|
8
|
+
additional?: string | undefined;
|
|
9
|
+
explainer?: string | undefined;
|
|
10
|
+
footnotes?: string | undefined;
|
|
11
|
+
usage?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
development?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
email: {
|
|
16
|
+
github: string;
|
|
17
|
+
npm: string;
|
|
18
|
+
};
|
|
19
|
+
title: string;
|
|
20
|
+
node: {
|
|
21
|
+
minimum: string;
|
|
22
|
+
pinned?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
owner: string;
|
|
25
|
+
repository: string;
|
|
26
|
+
type?: "commonjs" | "module" | undefined;
|
|
27
|
+
author?: string | undefined;
|
|
28
|
+
bin?: string | Record<string, string> | undefined;
|
|
29
|
+
contributors?: {
|
|
30
|
+
avatar_url: string;
|
|
31
|
+
contributions: string[];
|
|
32
|
+
login: string;
|
|
33
|
+
name: string;
|
|
34
|
+
profile: string;
|
|
35
|
+
}[] | undefined;
|
|
36
|
+
emoji?: string | undefined;
|
|
37
|
+
existingLabels?: {
|
|
38
|
+
name: string;
|
|
39
|
+
description: string;
|
|
40
|
+
color: string;
|
|
41
|
+
}[] | undefined;
|
|
42
|
+
funding?: string | undefined;
|
|
43
|
+
guide?: {
|
|
44
|
+
href: string;
|
|
45
|
+
title: string;
|
|
46
|
+
} | undefined;
|
|
47
|
+
keywords?: string[] | undefined;
|
|
48
|
+
logo?: {
|
|
49
|
+
alt: string;
|
|
50
|
+
src: string;
|
|
51
|
+
height?: number | undefined;
|
|
52
|
+
width?: number | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
packageData?: {
|
|
55
|
+
dependencies?: Record<string, string> | undefined;
|
|
56
|
+
devDependencies?: Record<string, string> | undefined;
|
|
57
|
+
peerDependencies?: Record<string, string> | undefined;
|
|
58
|
+
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
59
|
+
scripts?: Record<string, string | undefined> | undefined;
|
|
60
|
+
} | undefined;
|
|
61
|
+
pnpm?: string | undefined;
|
|
62
|
+
rulesetId?: string | undefined;
|
|
63
|
+
version?: string | undefined;
|
|
64
|
+
words?: string[] | undefined;
|
|
65
|
+
workflowsVersions?: Record<string, Record<string, {
|
|
66
|
+
pinned?: boolean | undefined;
|
|
67
|
+
hash?: string | undefined;
|
|
68
|
+
}>> | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
//#endregion
|
|
71
|
+
export { blockMITLicense };
|
|
72
|
+
//# sourceMappingURL=blockMITLicense.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockMITLicense.d.ts","names":[],"sources":["../../src/blocks/blockMITLicense.ts"],"mappings":";cAIa,yCAAe"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { base } from "../base.js";
|
|
2
2
|
import { blockPackageJson } from "./blockPackageJson.js";
|
|
3
3
|
import { blockREADME } from "./blockREADME.js";
|
|
4
|
-
|
|
5
4
|
//#region src/blocks/blockMITLicense.ts
|
|
6
5
|
const blockMITLicense = base.createBlock({
|
|
7
6
|
about: { name: "MIT License" },
|
|
@@ -36,6 +35,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
36
35
|
};
|
|
37
36
|
}
|
|
38
37
|
});
|
|
39
|
-
|
|
40
38
|
//#endregion
|
|
41
|
-
export { blockMITLicense };
|
|
39
|
+
export { blockMITLicense };
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=blockMITLicense.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockMITLicense.js","names":[],"sources":["../../src/blocks/blockMITLicense.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockREADME } from \"./blockREADME.js\";\n\nexport const blockMITLicense = base.createBlock({\n\tabout: {\n\t\tname: \"MIT License\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\taddons: [\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: \"📝 License: MIT\",\n\t\t\t\t\t\t\thref: `https://github.com/${options.owner}/${options.repository}/blob/main/LICENSE.md`,\n\t\t\t\t\t\t\tsrc: \"https://img.shields.io/badge/%F0%9F%93%9D_license-MIT-21bb42.svg\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tlicense: \"MIT\",\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t\"LICENSE.md\": `# MIT License\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n`,\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAIA,MAAa,kBAAkB,KAAK,YAAY;CAC/C,OAAO,EACN,MAAM,cACP;CACA,QAAQ,EAAE,WAAW;EACpB,OAAO;GACN,QAAQ,CACP,YAAY,EACX,QAAQ,CACP;IACC,KAAK;IACL,MAAM,sBAAsB,QAAQ,MAAM,GAAG,QAAQ,WAAW;IAChE,KAAK;GACN,CACD,EACD,CAAC,GACD,iBAAiB,EAChB,YAAY,EACX,SAAS,MACV,EACD,CAAC,CACF;GACA,OAAO,EACN,cAAc;;;;;;;;;;;;;;;;;;;;EAqBf;EACD;CACD;AACD,CAAC"}
|