create-typescript-app 2.63.2 â 2.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +1 -1
- package/dist/base.d.mts +170 -0
- package/dist/base.mjs +162 -0
- package/dist/blocks/actions/resolveUses.d.mts +5 -0
- package/dist/blocks/actions/resolveUses.mjs +16 -0
- package/dist/blocks/actions/steps.d.mts +37 -0
- package/dist/blocks/actions/steps.mjs +19 -0
- package/dist/blocks/bin/getPrimaryBin.d.mts +4 -0
- package/dist/blocks/bin/getPrimaryBin.mjs +6 -0
- package/dist/blocks/blockAllContributors.d.mts +73 -0
- package/dist/blocks/blockAllContributors.mjs +132 -0
- package/dist/blocks/blockAreTheTypesWrong.d.mts +73 -0
- package/dist/blocks/blockAreTheTypesWrong.mjs +14 -0
- package/dist/blocks/blockBin.d.mts +75 -0
- package/dist/blocks/blockBin.mjs +27 -0
- package/dist/blocks/blockCSpell.d.mts +76 -0
- package/dist/blocks/blockCSpell.mjs +77 -0
- package/dist/blocks/blockCTATransitions.d.mts +73 -0
- package/dist/blocks/blockCTATransitions.mjs +115 -0
- package/dist/blocks/blockCodecov.d.mts +75 -0
- package/dist/blocks/blockCodecov.mjs +58 -0
- package/dist/blocks/blockContributingDocs.d.mts +73 -0
- package/dist/blocks/blockContributingDocs.mjs +112 -0
- package/dist/blocks/blockContributorCovenant.d.mts +73 -0
- package/dist/blocks/blockContributorCovenant.mjs +158 -0
- package/dist/blocks/blockDevelopmentDocs.d.mts +87 -0
- package/dist/blocks/blockDevelopmentDocs.mjs +72 -0
- package/dist/blocks/blockESLint.d.mts +97 -0
- package/dist/blocks/blockESLint.mjs +196 -0
- package/dist/blocks/blockESLintComments.d.mts +73 -0
- package/dist/blocks/blockESLintComments.mjs +21 -0
- package/dist/blocks/blockESLintJSDoc.d.mts +73 -0
- package/dist/blocks/blockESLintJSDoc.mjs +25 -0
- package/dist/blocks/blockESLintJSONC.d.mts +73 -0
- package/dist/blocks/blockESLintJSONC.mjs +20 -0
- package/dist/blocks/blockESLintMarkdown.d.mts +73 -0
- package/dist/blocks/blockESLintMarkdown.mjs +36 -0
- package/dist/blocks/blockESLintMarkdownLinks.d.mts +73 -0
- package/dist/blocks/blockESLintMarkdownLinks.mjs +20 -0
- package/dist/blocks/blockESLintMoreStyling.d.mts +74 -0
- package/dist/blocks/blockESLintMoreStyling.mjs +28 -0
- package/dist/blocks/blockESLintNode.d.mts +73 -0
- package/dist/blocks/blockESLintNode.mjs +32 -0
- package/dist/blocks/blockESLintPackageJson.d.mts +73 -0
- package/dist/blocks/blockESLintPackageJson.mjs +31 -0
- package/dist/blocks/blockESLintPerfectionist.d.mts +73 -0
- package/dist/blocks/blockESLintPerfectionist.mjs +25 -0
- package/dist/blocks/blockESLintPlugin.d.mts +75 -0
- package/dist/blocks/blockESLintPlugin.mjs +230 -0
- package/dist/blocks/blockESLintRegexp.d.mts +73 -0
- package/dist/blocks/blockESLintRegexp.mjs +21 -0
- package/dist/blocks/blockESLintYML.d.mts +73 -0
- package/dist/blocks/blockESLintYML.mjs +31 -0
- package/dist/blocks/blockExampleFiles.d.mts +76 -0
- package/dist/blocks/blockExampleFiles.mjs +23 -0
- package/dist/blocks/blockExports.d.mts +76 -0
- package/dist/blocks/blockExports.mjs +27 -0
- package/dist/blocks/blockFunding.d.mts +73 -0
- package/dist/blocks/blockFunding.mjs +15 -0
- package/dist/blocks/blockGitHubActionsCI.d.mts +88 -0
- package/dist/blocks/blockGitHubActionsCI.mjs +89 -0
- package/dist/blocks/blockGitHubApps.d.mts +78 -0
- package/dist/blocks/blockGitHubApps.mjs +16 -0
- package/dist/blocks/blockGitHubIssueTemplates.d.mts +73 -0
- package/dist/blocks/blockGitHubIssueTemplates.mjs +203 -0
- package/dist/blocks/blockGitHubPRTemplate.d.mts +73 -0
- package/dist/blocks/blockGitHubPRTemplate.mjs +23 -0
- package/dist/blocks/blockGitignore.d.mts +75 -0
- package/dist/blocks/blockGitignore.mjs +14 -0
- package/dist/blocks/blockKnip.d.mts +77 -0
- package/dist/blocks/blockKnip.mjs +70 -0
- package/dist/blocks/blockMITLicense.d.mts +73 -0
- package/dist/blocks/blockMITLicense.mjs +39 -0
- package/dist/blocks/blockNcc.d.mts +75 -0
- package/dist/blocks/blockNcc.mjs +65 -0
- package/dist/blocks/blockNvmrc.d.mts +73 -0
- package/dist/blocks/blockNvmrc.mjs +17 -0
- package/dist/blocks/blockOctoGuide.d.mts +75 -0
- package/dist/blocks/blockOctoGuide.mjs +73 -0
- package/dist/blocks/blockOctoGuideStrict.d.mts +73 -0
- package/dist/blocks/blockOctoGuideStrict.mjs +11 -0
- package/dist/blocks/blockPackageJson.d.mts +150 -0
- package/dist/blocks/blockPackageJson.mjs +86 -0
- package/dist/blocks/blockPnpmDedupe.d.mts +73 -0
- package/dist/blocks/blockPnpmDedupe.mjs +19 -0
- package/dist/blocks/blockPrettier.d.mts +83 -0
- package/dist/blocks/blockPrettier.mjs +97 -0
- package/dist/blocks/blockPrettierPluginCurly.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginCurly.mjs +11 -0
- package/dist/blocks/blockPrettierPluginPackageJson.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginPackageJson.mjs +11 -0
- package/dist/blocks/blockPrettierPluginPaddingLines.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginPaddingLines.mjs +11 -0
- package/dist/blocks/blockPrettierPluginSentencesPerLine.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginSentencesPerLine.mjs +11 -0
- package/dist/blocks/blockPrettierPluginSh.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginSh.mjs +11 -0
- package/dist/blocks/blockREADME.d.mts +86 -0
- package/dist/blocks/blockREADME.mjs +74 -0
- package/dist/blocks/blockReleaseIt.d.mts +78 -0
- package/dist/blocks/blockReleaseIt.mjs +160 -0
- package/dist/blocks/blockRemoveDependencies.d.mts +75 -0
- package/dist/blocks/blockRemoveDependencies.mjs +20 -0
- package/dist/blocks/blockRemoveFiles.d.mts +75 -0
- package/dist/blocks/blockRemoveFiles.mjs +21 -0
- package/dist/blocks/blockRemoveWorkflows.d.mts +75 -0
- package/dist/blocks/blockRemoveWorkflows.mjs +17 -0
- package/dist/blocks/blockRenovate.d.mts +75 -0
- package/dist/blocks/blockRenovate.mjs +39 -0
- package/dist/blocks/blockRepositoryBranchRuleset.d.mts +75 -0
- package/dist/blocks/blockRepositoryBranchRuleset.mjs +79 -0
- package/dist/blocks/blockRepositoryLabels.d.mts +73 -0
- package/dist/blocks/blockRepositoryLabels.mjs +52 -0
- package/dist/blocks/blockRepositorySecrets.d.mts +78 -0
- package/dist/blocks/blockRepositorySecrets.mjs +16 -0
- package/dist/blocks/blockRepositorySettings.d.mts +73 -0
- package/dist/blocks/blockRepositorySettings.mjs +32 -0
- package/dist/blocks/blockSecurityDocs.d.mts +73 -0
- package/dist/blocks/blockSecurityDocs.mjs +20 -0
- package/dist/blocks/blockSideEffects.d.mts +75 -0
- package/dist/blocks/blockSideEffects.mjs +14 -0
- package/dist/blocks/blockTSDown.d.mts +77 -0
- package/dist/blocks/blockTSDown.mjs +121 -0
- package/dist/blocks/blockTemplatedWith.d.mts +73 -0
- package/dist/blocks/blockTemplatedWith.mjs +13 -0
- package/dist/blocks/blockTypeScript.d.mts +185 -0
- package/dist/blocks/blockTypeScript.mjs +136 -0
- package/dist/blocks/blockVSCode.d.mts +82 -0
- package/dist/blocks/blockVSCode.mjs +59 -0
- package/dist/blocks/blockVitest.d.mts +90 -0
- package/dist/blocks/blockVitest.mjs +208 -0
- package/dist/blocks/blockWebExt.d.mts +73 -0
- package/dist/blocks/blockWebExt.mjs +104 -0
- package/dist/blocks/codecov/findCodecovStep.d.mts +6 -0
- package/dist/blocks/codecov/findCodecovStep.mjs +7 -0
- package/dist/blocks/eslint/blockESLintIntake.d.mts +10 -0
- package/dist/blocks/eslint/blockESLintIntake.mjs +84 -0
- package/dist/blocks/eslint/blockESLintPluginIntake.d.mts +6 -0
- package/dist/blocks/eslint/blockESLintPluginIntake.mjs +27 -0
- package/dist/blocks/eslint/getScriptFileExtension.d.mts +7 -0
- package/dist/blocks/eslint/getScriptFileExtension.mjs +6 -0
- package/dist/blocks/eslint/mergeAllExtensions.d.mts +16 -0
- package/dist/blocks/eslint/mergeAllExtensions.mjs +46 -0
- package/dist/blocks/eslint/schemas.d.mts +111 -0
- package/dist/blocks/eslint/schemas.mjs +40 -0
- package/dist/blocks/files/createJobName.d.mts +4 -0
- package/dist/blocks/files/createJobName.mjs +6 -0
- package/dist/blocks/files/createMultiWorkflowFile.d.mts +24 -0
- package/dist/blocks/files/createMultiWorkflowFile.mjs +28 -0
- package/dist/blocks/files/createSoloWorkflowFile.d.mts +64 -0
- package/dist/blocks/files/createSoloWorkflowFile.mjs +19 -0
- package/dist/blocks/files/formatIgnoreFile.d.mts +4 -0
- package/dist/blocks/files/formatIgnoreFile.mjs +6 -0
- package/dist/blocks/files/formatWorkflowYaml.d.mts +4 -0
- package/dist/blocks/files/formatWorkflowYaml.mjs +10 -0
- package/dist/blocks/files/formatYaml.d.mts +4 -0
- package/dist/blocks/files/formatYaml.mjs +21 -0
- package/dist/blocks/files/removeUsesQuotes.d.mts +4 -0
- package/dist/blocks/files/removeUsesQuotes.mjs +6 -0
- package/dist/blocks/getInstallationSuggestions.d.mts +4 -0
- package/dist/blocks/getInstallationSuggestions.mjs +11 -0
- package/dist/blocks/index.d.mts +3953 -0
- package/dist/blocks/index.mjs +108 -0
- package/dist/blocks/intake/intakeFile.d.mts +5 -0
- package/dist/blocks/intake/intakeFile.mjs +11 -0
- package/dist/blocks/intake/intakeFileAsJson.d.mts +5 -0
- package/dist/blocks/intake/intakeFileAsJson.mjs +13 -0
- package/dist/blocks/intake/intakeFileAsYaml.d.mts +6 -0
- package/dist/blocks/intake/intakeFileAsYaml.mjs +16 -0
- package/dist/blocks/intake/intakeFileDefineConfig.d.mts +5 -0
- package/dist/blocks/intake/intakeFileDefineConfig.mjs +9 -0
- package/dist/blocks/intake/intakeFileExportObject.d.mts +5 -0
- package/dist/blocks/intake/intakeFileExportObject.mjs +22 -0
- package/dist/blocks/options.fakes.d.mts +25 -0
- package/dist/blocks/options.fakes.mjs +19 -0
- package/dist/blocks/outcomeLabels.d.mts +14 -0
- package/dist/blocks/outcomeLabels.mjs +93 -0
- package/dist/blocks/phases.d.mts +10 -0
- package/dist/blocks/phases.mjs +10 -0
- package/dist/constants.d.mts +9 -0
- package/dist/constants.mjs +7 -0
- package/dist/data/contributions.d.mts +4 -0
- package/dist/data/contributions.mjs +13 -0
- package/dist/data/packageData.d.mts +9 -0
- package/dist/data/packageData.mjs +17 -0
- package/dist/index.d.mts +293 -0
- package/dist/index.mjs +63 -0
- package/dist/inputs/inputFromDirectory.d.mts +7 -0
- package/dist/inputs/inputFromDirectory.mjs +11 -0
- package/dist/inputs/inputFromOctokit.d.mts +8 -0
- package/dist/inputs/inputFromOctokit.mjs +23 -0
- package/dist/options/readAccess.d.mts +5 -0
- package/dist/options/readAccess.mjs +6 -0
- package/dist/options/readAllContributors.d.mts +6 -0
- package/dist/options/readAllContributors.mjs +18 -0
- package/dist/options/readAuthor.d.mts +8 -0
- package/dist/options/readAuthor.mjs +6 -0
- package/dist/options/readBin.d.mts +5 -0
- package/dist/options/readBin.mjs +11 -0
- package/dist/options/readBundle.d.mts +5 -0
- package/dist/options/readBundle.mjs +12 -0
- package/dist/options/readCodecovToken.d.mts +5 -0
- package/dist/options/readCodecovToken.mjs +23 -0
- package/dist/options/readDescription.d.mts +5 -0
- package/dist/options/readDescription.mjs +17 -0
- package/dist/options/readDescriptionFromReadme.d.mts +4 -0
- package/dist/options/readDescriptionFromReadme.mjs +13 -0
- package/dist/options/readDevelopmentDocumentation.d.mts +5 -0
- package/dist/options/readDevelopmentDocumentation.mjs +21 -0
- package/dist/options/readDocumentation.d.mts +5 -0
- package/dist/options/readDocumentation.mjs +21 -0
- package/dist/options/readEmailFromCodeOfConduct.d.mts +5 -0
- package/dist/options/readEmailFromCodeOfConduct.mjs +8 -0
- package/dist/options/readEmailFromGit.d.mts +5 -0
- package/dist/options/readEmailFromGit.mjs +7 -0
- package/dist/options/readEmailFromNpm.d.mts +6 -0
- package/dist/options/readEmailFromNpm.mjs +6 -0
- package/dist/options/readEmails.d.mts +8 -0
- package/dist/options/readEmails.mjs +11 -0
- package/dist/options/readEmoji.d.mts +4 -0
- package/dist/options/readEmoji.mjs +10 -0
- package/dist/options/readExistingLabels.d.mts +9 -0
- package/dist/options/readExistingLabels.mjs +21 -0
- package/dist/options/readFileAsJson.d.mts +4 -0
- package/dist/options/readFileAsJson.mjs +11 -0
- package/dist/options/readFileSafe.d.mts +4 -0
- package/dist/options/readFileSafe.mjs +11 -0
- package/dist/options/readFunding.d.mts +5 -0
- package/dist/options/readFunding.mjs +8 -0
- package/dist/options/readGitDefaults.d.mts +6 -0
- package/dist/options/readGitDefaults.mjs +9 -0
- package/dist/options/readGuide.d.mts +8 -0
- package/dist/options/readGuide.mjs +14 -0
- package/dist/options/readKeywords.d.mts +5 -0
- package/dist/options/readKeywords.mjs +7 -0
- package/dist/options/readLogo.d.mts +9 -0
- package/dist/options/readLogo.mjs +19 -0
- package/dist/options/readLogoSizing.d.mts +8 -0
- package/dist/options/readLogoSizing.mjs +29 -0
- package/dist/options/readNode.d.mts +8 -0
- package/dist/options/readNode.mjs +12 -0
- package/dist/options/readNpmDefaults.d.mts +5 -0
- package/dist/options/readNpmDefaults.mjs +9 -0
- package/dist/options/readOwner.d.mts +7 -0
- package/dist/options/readOwner.mjs +7 -0
- package/dist/options/readPackageAuthor.d.mts +9 -0
- package/dist/options/readPackageAuthor.mjs +12 -0
- package/dist/options/readPackageData.d.mts +6 -0
- package/dist/options/readPackageData.mjs +8 -0
- package/dist/options/readPnpm.d.mts +5 -0
- package/dist/options/readPnpm.mjs +7 -0
- package/dist/options/readReadmeAdditional.d.mts +4 -0
- package/dist/options/readReadmeAdditional.mjs +17 -0
- package/dist/options/readReadmeExplainer.d.mts +4 -0
- package/dist/options/readReadmeExplainer.mjs +25 -0
- package/dist/options/readReadmeFootnotes.d.mts +5 -0
- package/dist/options/readReadmeFootnotes.mjs +15 -0
- package/dist/options/readReadmeUsage.d.mts +4 -0
- package/dist/options/readReadmeUsage.mjs +13 -0
- package/dist/options/readRepository.d.mts +9 -0
- package/dist/options/readRepository.mjs +6 -0
- package/dist/options/readRulesetId.d.mts +5 -0
- package/dist/options/readRulesetId.mjs +13 -0
- package/dist/options/readTitle.d.mts +4 -0
- package/dist/options/readTitle.mjs +11 -0
- package/dist/options/readWords.d.mts +5 -0
- package/dist/options/readWords.mjs +8 -0
- package/dist/options/readWorkflowsVersions.d.mts +6 -0
- package/dist/options/readWorkflowsVersions.mjs +45 -0
- package/dist/package.json.d.mts +138 -0
- package/dist/presets/common.d.mts +165 -0
- package/dist/presets/common.mjs +26 -0
- package/dist/presets/everything.d.mts +165 -0
- package/dist/presets/everything.mjs +60 -0
- package/dist/presets/index.d.mts +494 -0
- package/dist/presets/index.mjs +11 -0
- package/dist/presets/minimal.d.mts +165 -0
- package/dist/presets/minimal.mjs +68 -0
- package/dist/schemas.d.mts +121 -0
- package/dist/schemas.mjs +31 -0
- package/dist/template.d.mts +165 -0
- package/dist/template.mjs +38 -0
- package/dist/types.d.mts +41 -0
- package/dist/utils/htmlToTextSafe.d.mts +4 -0
- package/dist/utils/htmlToTextSafe.mjs +13 -0
- package/dist/utils/parseDefineConfig.d.mts +7 -0
- package/dist/utils/parseDefineConfig.mjs +22 -0
- package/dist/utils/resolveBin.d.mts +4 -0
- package/dist/utils/resolveBin.mjs +7 -0
- package/dist/utils/resolveEmails.d.mts +5 -0
- package/dist/utils/resolveEmails.mjs +9 -0
- package/dist/utils/swallowError.d.mts +4 -0
- package/dist/utils/swallowError.mjs +6 -0
- package/dist/utils/swallowErrorAsync.d.mts +4 -0
- package/dist/utils/swallowErrorAsync.mjs +10 -0
- package/dist/utils/trimPrecedingSlash.d.mts +4 -0
- package/dist/utils/trimPrecedingSlash.mjs +6 -0
- package/dist/utils/tryCatch.d.mts +4 -0
- package/dist/utils/tryCatch.mjs +10 -0
- package/package.json +8 -7
- package/lib/base.d.ts +0 -175
- package/lib/base.d.ts.map +0 -1
- package/lib/base.js +0 -162
- package/lib/base.js.map +0 -1
- package/lib/blocks/actions/resolveUses.d.ts +0 -6
- package/lib/blocks/actions/resolveUses.d.ts.map +0 -1
- package/lib/blocks/actions/resolveUses.js +0 -18
- package/lib/blocks/actions/resolveUses.js.map +0 -1
- package/lib/blocks/actions/steps.d.ts +0 -37
- package/lib/blocks/actions/steps.d.ts.map +0 -1
- package/lib/blocks/actions/steps.js +0 -20
- package/lib/blocks/actions/steps.js.map +0 -1
- package/lib/blocks/bin/getPrimaryBin.d.ts +0 -5
- package/lib/blocks/bin/getPrimaryBin.d.ts.map +0 -1
- package/lib/blocks/bin/getPrimaryBin.js +0 -8
- package/lib/blocks/bin/getPrimaryBin.js.map +0 -1
- package/lib/blocks/blockAllContributors.d.ts +0 -72
- package/lib/blocks/blockAllContributors.d.ts.map +0 -1
- package/lib/blocks/blockAllContributors.js +0 -130
- package/lib/blocks/blockAllContributors.js.map +0 -1
- package/lib/blocks/blockAreTheTypesWrong.d.ts +0 -72
- package/lib/blocks/blockAreTheTypesWrong.d.ts.map +0 -1
- package/lib/blocks/blockAreTheTypesWrong.js +0 -16
- package/lib/blocks/blockAreTheTypesWrong.js.map +0 -1
- package/lib/blocks/blockCSpell.d.ts +0 -75
- package/lib/blocks/blockCSpell.d.ts.map +0 -1
- package/lib/blocks/blockCSpell.js +0 -79
- package/lib/blocks/blockCSpell.js.map +0 -1
- package/lib/blocks/blockCTATransitions.d.ts +0 -72
- package/lib/blocks/blockCTATransitions.d.ts.map +0 -1
- package/lib/blocks/blockCTATransitions.js +0 -113
- package/lib/blocks/blockCTATransitions.js.map +0 -1
- package/lib/blocks/blockCodecov.d.ts +0 -74
- package/lib/blocks/blockCodecov.d.ts.map +0 -1
- package/lib/blocks/blockCodecov.js +0 -54
- package/lib/blocks/blockCodecov.js.map +0 -1
- package/lib/blocks/blockContributingDocs.d.ts +0 -72
- package/lib/blocks/blockContributingDocs.d.ts.map +0 -1
- package/lib/blocks/blockContributingDocs.js +0 -114
- package/lib/blocks/blockContributingDocs.js.map +0 -1
- package/lib/blocks/blockContributorCovenant.d.ts +0 -72
- package/lib/blocks/blockContributorCovenant.d.ts.map +0 -1
- package/lib/blocks/blockContributorCovenant.js +0 -159
- package/lib/blocks/blockContributorCovenant.js.map +0 -1
- package/lib/blocks/blockDevelopmentDocs.d.ts +0 -86
- package/lib/blocks/blockDevelopmentDocs.d.ts.map +0 -1
- package/lib/blocks/blockDevelopmentDocs.js +0 -74
- package/lib/blocks/blockDevelopmentDocs.js.map +0 -1
- package/lib/blocks/blockESLint.d.ts +0 -96
- package/lib/blocks/blockESLint.d.ts.map +0 -1
- package/lib/blocks/blockESLint.js +0 -198
- package/lib/blocks/blockESLint.js.map +0 -1
- package/lib/blocks/blockESLintComments.d.ts +0 -72
- package/lib/blocks/blockESLintComments.d.ts.map +0 -1
- package/lib/blocks/blockESLintComments.js +0 -23
- package/lib/blocks/blockESLintComments.js.map +0 -1
- package/lib/blocks/blockESLintJSDoc.d.ts +0 -72
- package/lib/blocks/blockESLintJSDoc.d.ts.map +0 -1
- package/lib/blocks/blockESLintJSDoc.js +0 -27
- package/lib/blocks/blockESLintJSDoc.js.map +0 -1
- package/lib/blocks/blockESLintJSONC.d.ts +0 -72
- package/lib/blocks/blockESLintJSONC.d.ts.map +0 -1
- package/lib/blocks/blockESLintJSONC.js +0 -22
- package/lib/blocks/blockESLintJSONC.js.map +0 -1
- package/lib/blocks/blockESLintMarkdown.d.ts +0 -72
- package/lib/blocks/blockESLintMarkdown.d.ts.map +0 -1
- package/lib/blocks/blockESLintMarkdown.js +0 -38
- package/lib/blocks/blockESLintMarkdown.js.map +0 -1
- package/lib/blocks/blockESLintMoreStyling.d.ts +0 -73
- package/lib/blocks/blockESLintMoreStyling.d.ts.map +0 -1
- package/lib/blocks/blockESLintMoreStyling.js +0 -30
- package/lib/blocks/blockESLintMoreStyling.js.map +0 -1
- package/lib/blocks/blockESLintNode.d.ts +0 -72
- package/lib/blocks/blockESLintNode.d.ts.map +0 -1
- package/lib/blocks/blockESLintNode.js +0 -27
- package/lib/blocks/blockESLintNode.js.map +0 -1
- package/lib/blocks/blockESLintPackageJson.d.ts +0 -72
- package/lib/blocks/blockESLintPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockESLintPackageJson.js +0 -33
- package/lib/blocks/blockESLintPackageJson.js.map +0 -1
- package/lib/blocks/blockESLintPerfectionist.d.ts +0 -72
- package/lib/blocks/blockESLintPerfectionist.d.ts.map +0 -1
- package/lib/blocks/blockESLintPerfectionist.js +0 -27
- package/lib/blocks/blockESLintPerfectionist.js.map +0 -1
- package/lib/blocks/blockESLintPlugin.d.ts +0 -74
- package/lib/blocks/blockESLintPlugin.d.ts.map +0 -1
- package/lib/blocks/blockESLintPlugin.js +0 -232
- package/lib/blocks/blockESLintPlugin.js.map +0 -1
- package/lib/blocks/blockESLintRegexp.d.ts +0 -72
- package/lib/blocks/blockESLintRegexp.d.ts.map +0 -1
- package/lib/blocks/blockESLintRegexp.js +0 -23
- package/lib/blocks/blockESLintRegexp.js.map +0 -1
- package/lib/blocks/blockESLintYML.d.ts +0 -72
- package/lib/blocks/blockESLintYML.d.ts.map +0 -1
- package/lib/blocks/blockESLintYML.js +0 -33
- package/lib/blocks/blockESLintYML.js.map +0 -1
- package/lib/blocks/blockExampleFiles.d.ts +0 -75
- package/lib/blocks/blockExampleFiles.d.ts.map +0 -1
- package/lib/blocks/blockExampleFiles.js +0 -25
- package/lib/blocks/blockExampleFiles.js.map +0 -1
- package/lib/blocks/blockExports.d.ts +0 -75
- package/lib/blocks/blockExports.d.ts.map +0 -1
- package/lib/blocks/blockExports.js +0 -20
- package/lib/blocks/blockExports.js.map +0 -1
- package/lib/blocks/blockFunding.d.ts +0 -72
- package/lib/blocks/blockFunding.d.ts.map +0 -1
- package/lib/blocks/blockFunding.js +0 -13
- package/lib/blocks/blockFunding.js.map +0 -1
- package/lib/blocks/blockGitHubActionsCI.d.ts +0 -88
- package/lib/blocks/blockGitHubActionsCI.d.ts.map +0 -1
- package/lib/blocks/blockGitHubActionsCI.js +0 -91
- package/lib/blocks/blockGitHubActionsCI.js.map +0 -1
- package/lib/blocks/blockGitHubApps.d.ts +0 -77
- package/lib/blocks/blockGitHubApps.d.ts.map +0 -1
- package/lib/blocks/blockGitHubApps.js +0 -18
- package/lib/blocks/blockGitHubApps.js.map +0 -1
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +0 -72
- package/lib/blocks/blockGitHubIssueTemplates.d.ts.map +0 -1
- package/lib/blocks/blockGitHubIssueTemplates.js +0 -196
- package/lib/blocks/blockGitHubIssueTemplates.js.map +0 -1
- package/lib/blocks/blockGitHubPRTemplate.d.ts +0 -72
- package/lib/blocks/blockGitHubPRTemplate.d.ts.map +0 -1
- package/lib/blocks/blockGitHubPRTemplate.js +0 -25
- package/lib/blocks/blockGitHubPRTemplate.js.map +0 -1
- package/lib/blocks/blockGitignore.d.ts +0 -74
- package/lib/blocks/blockGitignore.d.ts.map +0 -1
- package/lib/blocks/blockGitignore.js +0 -16
- package/lib/blocks/blockGitignore.js.map +0 -1
- package/lib/blocks/blockKnip.d.ts +0 -76
- package/lib/blocks/blockKnip.d.ts.map +0 -1
- package/lib/blocks/blockKnip.js +0 -70
- package/lib/blocks/blockKnip.js.map +0 -1
- package/lib/blocks/blockMITLicense.d.ts +0 -72
- package/lib/blocks/blockMITLicense.d.ts.map +0 -1
- package/lib/blocks/blockMITLicense.js +0 -41
- package/lib/blocks/blockMITLicense.js.map +0 -1
- package/lib/blocks/blockNcc.d.ts +0 -74
- package/lib/blocks/blockNcc.d.ts.map +0 -1
- package/lib/blocks/blockNcc.js +0 -67
- package/lib/blocks/blockNcc.js.map +0 -1
- package/lib/blocks/blockNvmrc.d.ts +0 -72
- package/lib/blocks/blockNvmrc.d.ts.map +0 -1
- package/lib/blocks/blockNvmrc.js +0 -19
- package/lib/blocks/blockNvmrc.js.map +0 -1
- package/lib/blocks/blockOctoGuide.d.ts +0 -74
- package/lib/blocks/blockOctoGuide.d.ts.map +0 -1
- package/lib/blocks/blockOctoGuide.js +0 -71
- package/lib/blocks/blockOctoGuide.js.map +0 -1
- package/lib/blocks/blockOctoGuideStrict.d.ts +0 -72
- package/lib/blocks/blockOctoGuideStrict.d.ts.map +0 -1
- package/lib/blocks/blockOctoGuideStrict.js +0 -13
- package/lib/blocks/blockOctoGuideStrict.js.map +0 -1
- package/lib/blocks/blockPackageJson.d.ts +0 -149
- package/lib/blocks/blockPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockPackageJson.js +0 -87
- package/lib/blocks/blockPackageJson.js.map +0 -1
- package/lib/blocks/blockPnpmDedupe.d.ts +0 -72
- package/lib/blocks/blockPnpmDedupe.d.ts.map +0 -1
- package/lib/blocks/blockPnpmDedupe.js +0 -21
- package/lib/blocks/blockPnpmDedupe.js.map +0 -1
- package/lib/blocks/blockPrettier.d.ts +0 -82
- package/lib/blocks/blockPrettier.d.ts.map +0 -1
- package/lib/blocks/blockPrettier.js +0 -97
- package/lib/blocks/blockPrettier.js.map +0 -1
- package/lib/blocks/blockPrettierPluginCurly.d.ts +0 -72
- package/lib/blocks/blockPrettierPluginCurly.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginCurly.js +0 -13
- package/lib/blocks/blockPrettierPluginCurly.js.map +0 -1
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +0 -72
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginPackageJson.js +0 -13
- package/lib/blocks/blockPrettierPluginPackageJson.js.map +0 -1
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +0 -72
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginSentencesPerLine.js +0 -13
- package/lib/blocks/blockPrettierPluginSentencesPerLine.js.map +0 -1
- package/lib/blocks/blockPrettierPluginSh.d.ts +0 -72
- package/lib/blocks/blockPrettierPluginSh.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginSh.js +0 -13
- package/lib/blocks/blockPrettierPluginSh.js.map +0 -1
- package/lib/blocks/blockREADME.d.ts +0 -85
- package/lib/blocks/blockREADME.d.ts.map +0 -1
- package/lib/blocks/blockREADME.js +0 -76
- package/lib/blocks/blockREADME.js.map +0 -1
- package/lib/blocks/blockReleaseIt.d.ts +0 -77
- package/lib/blocks/blockReleaseIt.d.ts.map +0 -1
- package/lib/blocks/blockReleaseIt.js +0 -158
- package/lib/blocks/blockReleaseIt.js.map +0 -1
- package/lib/blocks/blockRemoveDependencies.d.ts +0 -74
- package/lib/blocks/blockRemoveDependencies.d.ts.map +0 -1
- package/lib/blocks/blockRemoveDependencies.js +0 -22
- package/lib/blocks/blockRemoveDependencies.js.map +0 -1
- package/lib/blocks/blockRemoveFiles.d.ts +0 -74
- package/lib/blocks/blockRemoveFiles.d.ts.map +0 -1
- package/lib/blocks/blockRemoveFiles.js +0 -23
- package/lib/blocks/blockRemoveFiles.js.map +0 -1
- package/lib/blocks/blockRemoveWorkflows.d.ts +0 -74
- package/lib/blocks/blockRemoveWorkflows.d.ts.map +0 -1
- package/lib/blocks/blockRemoveWorkflows.js +0 -19
- package/lib/blocks/blockRemoveWorkflows.js.map +0 -1
- package/lib/blocks/blockRenovate.d.ts +0 -74
- package/lib/blocks/blockRenovate.d.ts.map +0 -1
- package/lib/blocks/blockRenovate.js +0 -41
- package/lib/blocks/blockRenovate.js.map +0 -1
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +0 -74
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts.map +0 -1
- package/lib/blocks/blockRepositoryBranchRuleset.js +0 -81
- package/lib/blocks/blockRepositoryBranchRuleset.js.map +0 -1
- package/lib/blocks/blockRepositoryLabels.d.ts +0 -72
- package/lib/blocks/blockRepositoryLabels.d.ts.map +0 -1
- package/lib/blocks/blockRepositoryLabels.js +0 -54
- package/lib/blocks/blockRepositoryLabels.js.map +0 -1
- package/lib/blocks/blockRepositorySecrets.d.ts +0 -77
- package/lib/blocks/blockRepositorySecrets.d.ts.map +0 -1
- package/lib/blocks/blockRepositorySecrets.js +0 -18
- package/lib/blocks/blockRepositorySecrets.js.map +0 -1
- package/lib/blocks/blockRepositorySettings.d.ts +0 -72
- package/lib/blocks/blockRepositorySettings.d.ts.map +0 -1
- package/lib/blocks/blockRepositorySettings.js +0 -33
- package/lib/blocks/blockRepositorySettings.js.map +0 -1
- package/lib/blocks/blockSecurityDocs.d.ts +0 -72
- package/lib/blocks/blockSecurityDocs.d.ts.map +0 -1
- package/lib/blocks/blockSecurityDocs.js +0 -21
- package/lib/blocks/blockSecurityDocs.js.map +0 -1
- package/lib/blocks/blockSideEffects.d.ts +0 -74
- package/lib/blocks/blockSideEffects.d.ts.map +0 -1
- package/lib/blocks/blockSideEffects.js +0 -16
- package/lib/blocks/blockSideEffects.js.map +0 -1
- package/lib/blocks/blockTSDown.d.ts +0 -76
- package/lib/blocks/blockTSDown.d.ts.map +0 -1
- package/lib/blocks/blockTSDown.js +0 -108
- package/lib/blocks/blockTSDown.js.map +0 -1
- package/lib/blocks/blockTemplatedWith.d.ts +0 -72
- package/lib/blocks/blockTemplatedWith.d.ts.map +0 -1
- package/lib/blocks/blockTemplatedWith.js +0 -15
- package/lib/blocks/blockTemplatedWith.js.map +0 -1
- package/lib/blocks/blockTypeScript.d.ts +0 -184
- package/lib/blocks/blockTypeScript.d.ts.map +0 -1
- package/lib/blocks/blockTypeScript.js +0 -138
- package/lib/blocks/blockTypeScript.js.map +0 -1
- package/lib/blocks/blockVSCode.d.ts +0 -81
- package/lib/blocks/blockVSCode.d.ts.map +0 -1
- package/lib/blocks/blockVSCode.js +0 -61
- package/lib/blocks/blockVSCode.js.map +0 -1
- package/lib/blocks/blockVitest.d.ts +0 -89
- package/lib/blocks/blockVitest.d.ts.map +0 -1
- package/lib/blocks/blockVitest.js +0 -207
- package/lib/blocks/blockVitest.js.map +0 -1
- package/lib/blocks/blockWebExt.d.ts +0 -72
- package/lib/blocks/blockWebExt.d.ts.map +0 -1
- package/lib/blocks/blockWebExt.js +0 -97
- package/lib/blocks/blockWebExt.js.map +0 -1
- package/lib/blocks/eslint/blockESLintIntake.d.ts +0 -11
- package/lib/blocks/eslint/blockESLintIntake.d.ts.map +0 -1
- package/lib/blocks/eslint/blockESLintIntake.js +0 -86
- package/lib/blocks/eslint/blockESLintIntake.js.map +0 -1
- package/lib/blocks/eslint/blockESLintPluginIntake.d.ts +0 -7
- package/lib/blocks/eslint/blockESLintPluginIntake.d.ts.map +0 -1
- package/lib/blocks/eslint/blockESLintPluginIntake.js +0 -29
- package/lib/blocks/eslint/blockESLintPluginIntake.js.map +0 -1
- package/lib/blocks/eslint/getScriptFileExtension.d.ts +0 -8
- package/lib/blocks/eslint/getScriptFileExtension.d.ts.map +0 -1
- package/lib/blocks/eslint/getScriptFileExtension.js +0 -8
- package/lib/blocks/eslint/getScriptFileExtension.js.map +0 -1
- package/lib/blocks/eslint/mergeAllExtensions.d.ts +0 -17
- package/lib/blocks/eslint/mergeAllExtensions.d.ts.map +0 -1
- package/lib/blocks/eslint/mergeAllExtensions.js +0 -48
- package/lib/blocks/eslint/mergeAllExtensions.js.map +0 -1
- package/lib/blocks/eslint/schemas.d.ts +0 -112
- package/lib/blocks/eslint/schemas.d.ts.map +0 -1
- package/lib/blocks/eslint/schemas.js +0 -42
- package/lib/blocks/eslint/schemas.js.map +0 -1
- package/lib/blocks/files/createJobName.d.ts +0 -5
- package/lib/blocks/files/createJobName.d.ts.map +0 -1
- package/lib/blocks/files/createJobName.js +0 -8
- package/lib/blocks/files/createJobName.js.map +0 -1
- package/lib/blocks/files/createMultiWorkflowFile.d.ts +0 -24
- package/lib/blocks/files/createMultiWorkflowFile.d.ts.map +0 -1
- package/lib/blocks/files/createMultiWorkflowFile.js +0 -30
- package/lib/blocks/files/createMultiWorkflowFile.js.map +0 -1
- package/lib/blocks/files/createSoloWorkflowFile.d.ts +0 -65
- package/lib/blocks/files/createSoloWorkflowFile.d.ts.map +0 -1
- package/lib/blocks/files/createSoloWorkflowFile.js +0 -21
- package/lib/blocks/files/createSoloWorkflowFile.js.map +0 -1
- package/lib/blocks/files/formatIgnoreFile.d.ts +0 -5
- package/lib/blocks/files/formatIgnoreFile.d.ts.map +0 -1
- package/lib/blocks/files/formatIgnoreFile.js +0 -8
- package/lib/blocks/files/formatIgnoreFile.js.map +0 -1
- package/lib/blocks/files/formatWorkflowYaml.d.ts +0 -5
- package/lib/blocks/files/formatWorkflowYaml.d.ts.map +0 -1
- package/lib/blocks/files/formatWorkflowYaml.js +0 -9
- package/lib/blocks/files/formatWorkflowYaml.js.map +0 -1
- package/lib/blocks/files/formatYaml.d.ts +0 -5
- package/lib/blocks/files/formatYaml.d.ts.map +0 -1
- package/lib/blocks/files/formatYaml.js +0 -20
- package/lib/blocks/files/formatYaml.js.map +0 -1
- package/lib/blocks/files/removeUsesQuotes.d.ts +0 -5
- package/lib/blocks/files/removeUsesQuotes.d.ts.map +0 -1
- package/lib/blocks/files/removeUsesQuotes.js +0 -8
- package/lib/blocks/files/removeUsesQuotes.js.map +0 -1
- package/lib/blocks/getInstallationSuggestions.d.ts +0 -5
- package/lib/blocks/getInstallationSuggestions.d.ts.map +0 -1
- package/lib/blocks/getInstallationSuggestions.js +0 -13
- package/lib/blocks/getInstallationSuggestions.js.map +0 -1
- package/lib/blocks/index.d.ts +0 -3713
- package/lib/blocks/index.d.ts.map +0 -1
- package/lib/blocks/index.js +0 -106
- package/lib/blocks/index.js.map +0 -1
- package/lib/blocks/intake/intakeFile.d.ts +0 -6
- package/lib/blocks/intake/intakeFile.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFile.js +0 -13
- package/lib/blocks/intake/intakeFile.js.map +0 -1
- package/lib/blocks/intake/intakeFileAsJson.d.ts +0 -6
- package/lib/blocks/intake/intakeFileAsJson.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileAsJson.js +0 -15
- package/lib/blocks/intake/intakeFileAsJson.js.map +0 -1
- package/lib/blocks/intake/intakeFileAsYaml.d.ts +0 -6
- package/lib/blocks/intake/intakeFileAsYaml.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileAsYaml.js +0 -15
- package/lib/blocks/intake/intakeFileAsYaml.js.map +0 -1
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts +0 -6
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileDefineConfig.js +0 -24
- package/lib/blocks/intake/intakeFileDefineConfig.js.map +0 -1
- package/lib/blocks/intake/intakeFileExportObject.d.ts +0 -6
- package/lib/blocks/intake/intakeFileExportObject.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileExportObject.js +0 -24
- package/lib/blocks/intake/intakeFileExportObject.js.map +0 -1
- package/lib/blocks/options.fakes.d.ts +0 -26
- package/lib/blocks/options.fakes.d.ts.map +0 -1
- package/lib/blocks/options.fakes.js +0 -21
- package/lib/blocks/options.fakes.js.map +0 -1
- package/lib/blocks/outcomeLabels.d.ts +0 -15
- package/lib/blocks/outcomeLabels.d.ts.map +0 -1
- package/lib/blocks/outcomeLabels.js +0 -95
- package/lib/blocks/outcomeLabels.js.map +0 -1
- package/lib/blocks/phases.d.ts +0 -11
- package/lib/blocks/phases.d.ts.map +0 -1
- package/lib/blocks/phases.js +0 -12
- package/lib/blocks/phases.js.map +0 -1
- package/lib/constants.d.ts +0 -10
- package/lib/constants.d.ts.map +0 -1
- package/lib/constants.js +0 -9
- package/lib/constants.js.map +0 -1
- package/lib/data/contributions.d.ts +0 -5
- package/lib/data/contributions.d.ts.map +0 -1
- package/lib/data/contributions.js +0 -15
- package/lib/data/contributions.js.map +0 -1
- package/lib/data/packageData.d.ts +0 -10
- package/lib/data/packageData.d.ts.map +0 -1
- package/lib/data/packageData.js +0 -19
- package/lib/data/packageData.js.map +0 -1
- package/lib/index.d.ts +0 -294
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -63
- package/lib/index.js.map +0 -1
- package/lib/inputs/inputFromDirectory.d.ts +0 -8
- package/lib/inputs/inputFromDirectory.d.ts.map +0 -1
- package/lib/inputs/inputFromDirectory.js +0 -13
- package/lib/inputs/inputFromDirectory.js.map +0 -1
- package/lib/inputs/inputFromOctokit.d.ts +0 -9
- package/lib/inputs/inputFromOctokit.d.ts.map +0 -1
- package/lib/inputs/inputFromOctokit.js +0 -25
- package/lib/inputs/inputFromOctokit.js.map +0 -1
- package/lib/options/readAccess.d.ts +0 -6
- package/lib/options/readAccess.d.ts.map +0 -1
- package/lib/options/readAccess.js +0 -8
- package/lib/options/readAccess.js.map +0 -1
- package/lib/options/readAllContributors.d.ts +0 -7
- package/lib/options/readAllContributors.d.ts.map +0 -1
- package/lib/options/readAllContributors.js +0 -20
- package/lib/options/readAllContributors.js.map +0 -1
- package/lib/options/readAuthor.d.ts +0 -9
- package/lib/options/readAuthor.d.ts.map +0 -1
- package/lib/options/readAuthor.js +0 -8
- package/lib/options/readAuthor.js.map +0 -1
- package/lib/options/readBin.d.ts +0 -6
- package/lib/options/readBin.d.ts.map +0 -1
- package/lib/options/readBin.js +0 -10
- package/lib/options/readBin.js.map +0 -1
- package/lib/options/readDescription.d.ts +0 -6
- package/lib/options/readDescription.d.ts.map +0 -1
- package/lib/options/readDescription.js +0 -19
- package/lib/options/readDescription.js.map +0 -1
- package/lib/options/readDescriptionFromReadme.d.ts +0 -5
- package/lib/options/readDescriptionFromReadme.d.ts.map +0 -1
- package/lib/options/readDescriptionFromReadme.js +0 -15
- package/lib/options/readDescriptionFromReadme.js.map +0 -1
- package/lib/options/readDevelopmentDocumentation.d.ts +0 -6
- package/lib/options/readDevelopmentDocumentation.d.ts.map +0 -1
- package/lib/options/readDevelopmentDocumentation.js +0 -23
- package/lib/options/readDevelopmentDocumentation.js.map +0 -1
- package/lib/options/readDocumentation.d.ts +0 -6
- package/lib/options/readDocumentation.d.ts.map +0 -1
- package/lib/options/readDocumentation.js +0 -23
- package/lib/options/readDocumentation.js.map +0 -1
- package/lib/options/readEmailFromCodeOfConduct.d.ts +0 -6
- package/lib/options/readEmailFromCodeOfConduct.d.ts.map +0 -1
- package/lib/options/readEmailFromCodeOfConduct.js +0 -10
- package/lib/options/readEmailFromCodeOfConduct.js.map +0 -1
- package/lib/options/readEmailFromGit.d.ts +0 -6
- package/lib/options/readEmailFromGit.d.ts.map +0 -1
- package/lib/options/readEmailFromGit.js +0 -9
- package/lib/options/readEmailFromGit.js.map +0 -1
- package/lib/options/readEmailFromNpm.d.ts +0 -7
- package/lib/options/readEmailFromNpm.d.ts.map +0 -1
- package/lib/options/readEmailFromNpm.js +0 -8
- package/lib/options/readEmailFromNpm.js.map +0 -1
- package/lib/options/readEmails.d.ts +0 -9
- package/lib/options/readEmails.d.ts.map +0 -1
- package/lib/options/readEmails.js +0 -13
- package/lib/options/readEmails.js.map +0 -1
- package/lib/options/readEmoji.d.ts +0 -5
- package/lib/options/readEmoji.d.ts.map +0 -1
- package/lib/options/readEmoji.js +0 -8
- package/lib/options/readEmoji.js.map +0 -1
- package/lib/options/readExistingLabels.d.ts +0 -10
- package/lib/options/readExistingLabels.d.ts.map +0 -1
- package/lib/options/readExistingLabels.js +0 -23
- package/lib/options/readExistingLabels.js.map +0 -1
- package/lib/options/readFileAsJson.d.ts +0 -5
- package/lib/options/readFileAsJson.d.ts.map +0 -1
- package/lib/options/readFileAsJson.js +0 -13
- package/lib/options/readFileAsJson.js.map +0 -1
- package/lib/options/readFileSafe.d.ts +0 -5
- package/lib/options/readFileSafe.d.ts.map +0 -1
- package/lib/options/readFileSafe.js +0 -13
- package/lib/options/readFileSafe.js.map +0 -1
- package/lib/options/readFunding.d.ts +0 -6
- package/lib/options/readFunding.d.ts.map +0 -1
- package/lib/options/readFunding.js +0 -10
- package/lib/options/readFunding.js.map +0 -1
- package/lib/options/readGitDefaults.d.ts +0 -7
- package/lib/options/readGitDefaults.d.ts.map +0 -1
- package/lib/options/readGitDefaults.js +0 -11
- package/lib/options/readGitDefaults.js.map +0 -1
- package/lib/options/readGuide.d.ts +0 -9
- package/lib/options/readGuide.d.ts.map +0 -1
- package/lib/options/readGuide.js +0 -16
- package/lib/options/readGuide.js.map +0 -1
- package/lib/options/readKeywords.d.ts +0 -6
- package/lib/options/readKeywords.d.ts.map +0 -1
- package/lib/options/readKeywords.js +0 -9
- package/lib/options/readKeywords.js.map +0 -1
- package/lib/options/readLogo.d.ts +0 -10
- package/lib/options/readLogo.d.ts.map +0 -1
- package/lib/options/readLogo.js +0 -21
- package/lib/options/readLogo.js.map +0 -1
- package/lib/options/readLogoSizing.d.ts +0 -9
- package/lib/options/readLogoSizing.d.ts.map +0 -1
- package/lib/options/readLogoSizing.js +0 -31
- package/lib/options/readLogoSizing.js.map +0 -1
- package/lib/options/readNode.d.ts +0 -9
- package/lib/options/readNode.d.ts.map +0 -1
- package/lib/options/readNode.js +0 -14
- package/lib/options/readNode.js.map +0 -1
- package/lib/options/readNpmDefaults.d.ts +0 -6
- package/lib/options/readNpmDefaults.d.ts.map +0 -1
- package/lib/options/readNpmDefaults.js +0 -11
- package/lib/options/readNpmDefaults.js.map +0 -1
- package/lib/options/readOwner.d.ts +0 -8
- package/lib/options/readOwner.d.ts.map +0 -1
- package/lib/options/readOwner.js +0 -9
- package/lib/options/readOwner.js.map +0 -1
- package/lib/options/readPackageAuthor.d.ts +0 -10
- package/lib/options/readPackageAuthor.d.ts.map +0 -1
- package/lib/options/readPackageAuthor.js +0 -14
- package/lib/options/readPackageAuthor.js.map +0 -1
- package/lib/options/readPackageData.d.ts +0 -7
- package/lib/options/readPackageData.d.ts.map +0 -1
- package/lib/options/readPackageData.js +0 -10
- package/lib/options/readPackageData.js.map +0 -1
- package/lib/options/readPnpm.d.ts +0 -6
- package/lib/options/readPnpm.d.ts.map +0 -1
- package/lib/options/readPnpm.js +0 -9
- package/lib/options/readPnpm.js.map +0 -1
- package/lib/options/readReadmeAdditional.d.ts +0 -5
- package/lib/options/readReadmeAdditional.d.ts.map +0 -1
- package/lib/options/readReadmeAdditional.js +0 -19
- package/lib/options/readReadmeAdditional.js.map +0 -1
- package/lib/options/readReadmeExplainer.d.ts +0 -5
- package/lib/options/readReadmeExplainer.d.ts.map +0 -1
- package/lib/options/readReadmeExplainer.js +0 -27
- package/lib/options/readReadmeExplainer.js.map +0 -1
- package/lib/options/readReadmeFootnotes.d.ts +0 -6
- package/lib/options/readReadmeFootnotes.d.ts.map +0 -1
- package/lib/options/readReadmeFootnotes.js +0 -17
- package/lib/options/readReadmeFootnotes.js.map +0 -1
- package/lib/options/readReadmeUsage.d.ts +0 -5
- package/lib/options/readReadmeUsage.d.ts.map +0 -1
- package/lib/options/readReadmeUsage.js +0 -15
- package/lib/options/readReadmeUsage.js.map +0 -1
- package/lib/options/readRepository.d.ts +0 -10
- package/lib/options/readRepository.d.ts.map +0 -1
- package/lib/options/readRepository.js +0 -8
- package/lib/options/readRepository.js.map +0 -1
- package/lib/options/readRulesetId.d.ts +0 -6
- package/lib/options/readRulesetId.d.ts.map +0 -1
- package/lib/options/readRulesetId.js +0 -15
- package/lib/options/readRulesetId.js.map +0 -1
- package/lib/options/readTitle.d.ts +0 -5
- package/lib/options/readTitle.d.ts.map +0 -1
- package/lib/options/readTitle.js +0 -13
- package/lib/options/readTitle.js.map +0 -1
- package/lib/options/readWords.d.ts +0 -6
- package/lib/options/readWords.d.ts.map +0 -1
- package/lib/options/readWords.js +0 -10
- package/lib/options/readWords.js.map +0 -1
- package/lib/options/readWorkflowsVersions.d.ts +0 -7
- package/lib/options/readWorkflowsVersions.d.ts.map +0 -1
- package/lib/options/readWorkflowsVersions.js +0 -47
- package/lib/options/readWorkflowsVersions.js.map +0 -1
- package/lib/package.json.d.ts +0 -138
- package/lib/package.json.d.ts.map +0 -1
- package/lib/presets/common.d.ts +0 -170
- package/lib/presets/common.d.ts.map +0 -1
- package/lib/presets/common.js +0 -28
- package/lib/presets/common.js.map +0 -1
- package/lib/presets/everything.d.ts +0 -170
- package/lib/presets/everything.d.ts.map +0 -1
- package/lib/presets/everything.js +0 -58
- package/lib/presets/everything.js.map +0 -1
- package/lib/presets/index.d.ts +0 -507
- package/lib/presets/index.d.ts.map +0 -1
- package/lib/presets/index.js +0 -13
- package/lib/presets/index.js.map +0 -1
- package/lib/presets/minimal.d.ts +0 -170
- package/lib/presets/minimal.d.ts.map +0 -1
- package/lib/presets/minimal.js +0 -68
- package/lib/presets/minimal.js.map +0 -1
- package/lib/schemas.d.ts +0 -111
- package/lib/schemas.d.ts.map +0 -1
- package/lib/schemas.js +0 -29
- package/lib/schemas.js.map +0 -1
- package/lib/template.d.ts +0 -170
- package/lib/template.d.ts.map +0 -1
- package/lib/template.js +0 -40
- package/lib/template.js.map +0 -1
- package/lib/types.d.ts +0 -42
- package/lib/types.d.ts.map +0 -1
- package/lib/utils/htmlToTextSafe.d.ts +0 -5
- package/lib/utils/htmlToTextSafe.d.ts.map +0 -1
- package/lib/utils/htmlToTextSafe.js +0 -15
- package/lib/utils/htmlToTextSafe.js.map +0 -1
- package/lib/utils/resolveBin.d.ts +0 -5
- package/lib/utils/resolveBin.d.ts.map +0 -1
- package/lib/utils/resolveBin.js +0 -9
- package/lib/utils/resolveBin.js.map +0 -1
- package/lib/utils/swallowError.d.ts +0 -5
- package/lib/utils/swallowError.d.ts.map +0 -1
- package/lib/utils/swallowError.js +0 -8
- package/lib/utils/swallowError.js.map +0 -1
- package/lib/utils/swallowErrorAsync.d.ts +0 -5
- package/lib/utils/swallowErrorAsync.d.ts.map +0 -1
- package/lib/utils/swallowErrorAsync.js +0 -12
- package/lib/utils/swallowErrorAsync.js.map +0 -1
- package/lib/utils/trimPrecedingSlash.d.ts +0 -5
- package/lib/utils/trimPrecedingSlash.d.ts.map +0 -1
- package/lib/utils/trimPrecedingSlash.js +0 -8
- package/lib/utils/trimPrecedingSlash.js.map +0 -1
- package/lib/utils/tryCatch.d.ts +0 -5
- package/lib/utils/tryCatch.d.ts.map +0 -1
- package/lib/utils/tryCatch.js +0 -12
- package/lib/utils/tryCatch.js.map +0 -1
- /package/{lib/_virtual/_rolldown/runtime.js â dist/_virtual/_rolldown/runtime.mjs} +0 -0
- /package/{lib/types.js â dist/types.mjs} +0 -0
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { startingOwnerContributions } from "../data/contributions.js";
|
|
2
|
-
import { base } from "../base.js";
|
|
3
|
-
import { resolveUses } from "./actions/resolveUses.js";
|
|
4
|
-
import { CommandPhase } from "./phases.js";
|
|
5
|
-
import { createSoloWorkflowFile } from "./files/createSoloWorkflowFile.js";
|
|
6
|
-
import { blockREADME } from "./blockREADME.js";
|
|
7
|
-
import { blockPrettier } from "./blockPrettier.js";
|
|
8
|
-
import { blockRepositorySecrets } from "./blockRepositorySecrets.js";
|
|
9
|
-
import _ from "lodash";
|
|
10
|
-
//#region src/blocks/blockAllContributors.ts
|
|
11
|
-
const blockAllContributors = base.createBlock({
|
|
12
|
-
about: { name: "AllContributors" },
|
|
13
|
-
produce({ options }) {
|
|
14
|
-
const contributions = options.contributors?.length;
|
|
15
|
-
const ownerContributions = Array.from(new Set([options.contributors?.find((contributor) => contributor.login.toLowerCase() === options.owner.toLowerCase())?.contributions, startingOwnerContributions].filter(Boolean).flat()));
|
|
16
|
-
return {
|
|
17
|
-
addons: [
|
|
18
|
-
blockPrettier({ ignores: ["/.all-contributorsrc"] }),
|
|
19
|
-
blockREADME({
|
|
20
|
-
badges: [{
|
|
21
|
-
alt: `đĒ All Contributors: ${contributions}`,
|
|
22
|
-
comments: {
|
|
23
|
-
after: `
|
|
24
|
-
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
25
|
-
\t<!-- prettier-ignore-end -->`,
|
|
26
|
-
before: `<!-- prettier-ignore-start -->
|
|
27
|
-
\t<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
28
|
-
\t`
|
|
29
|
-
},
|
|
30
|
-
href: "#contributors",
|
|
31
|
-
src: `https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-${contributions}-21bb42.svg`
|
|
32
|
-
}],
|
|
33
|
-
sections: options.contributors ? [printAllContributorsTable(options.contributors)] : void 0
|
|
34
|
-
}),
|
|
35
|
-
blockRepositorySecrets({ secrets: [{
|
|
36
|
-
description: "a GitHub PAT with repo and workflow permissions",
|
|
37
|
-
name: "ACCESS_TOKEN"
|
|
38
|
-
}] })
|
|
39
|
-
],
|
|
40
|
-
files: {
|
|
41
|
-
".all-contributorsrc": JSON.stringify({
|
|
42
|
-
badgeTemplate: " <a href=\"#contributors\" target=\"_blank\"><img alt=\"đĒ All Contributors: <%= contributors.length %>\" src=\"https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-<%= contributors.length %>-21bb42.svg\" /></a>",
|
|
43
|
-
commitType: "docs",
|
|
44
|
-
contributors: options.contributors ?? [],
|
|
45
|
-
contributorsPerLine: 7,
|
|
46
|
-
contributorsSortAlphabetically: true,
|
|
47
|
-
files: ["README.md"],
|
|
48
|
-
projectName: options.repository,
|
|
49
|
-
projectOwner: options.owner,
|
|
50
|
-
repoType: "github"
|
|
51
|
-
}, null, 2),
|
|
52
|
-
".github": { workflows: { "contributors.yaml": createSoloWorkflowFile({
|
|
53
|
-
name: "Contributors",
|
|
54
|
-
on: { push: { branches: ["main"] } },
|
|
55
|
-
steps: [
|
|
56
|
-
{
|
|
57
|
-
uses: resolveUses("actions/checkout", "v4", options.workflowsVersions),
|
|
58
|
-
with: { "fetch-depth": 0 }
|
|
59
|
-
},
|
|
60
|
-
{ uses: "./.github/actions/prepare" },
|
|
61
|
-
{
|
|
62
|
-
env: { GITHUB_TOKEN: "${{ secrets.ACCESS_TOKEN }}" },
|
|
63
|
-
uses: resolveUses("JoshuaKGoldberg/all-contributors-auto-action", "v0.5.0", options.workflowsVersions)
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
}) } }
|
|
67
|
-
},
|
|
68
|
-
scripts: [{
|
|
69
|
-
commands: [`pnpx all-contributors-cli@6.23.1 add ${options.owner} ${ownerContributions.join(",")}`],
|
|
70
|
-
phase: CommandPhase.Process
|
|
71
|
-
}]
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
function printAllContributorsTable(contributors) {
|
|
76
|
-
return [
|
|
77
|
-
`## Contributors`,
|
|
78
|
-
``,
|
|
79
|
-
`<!-- spellchecker: disable -->`,
|
|
80
|
-
`<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->`,
|
|
81
|
-
`<!-- prettier-ignore-start -->`,
|
|
82
|
-
`<table>`,
|
|
83
|
-
` <tbody>`,
|
|
84
|
-
` <tr>`,
|
|
85
|
-
..._.sortBy(contributors, "name").flatMap((contributor, i) => {
|
|
86
|
-
const row = printContributorCell(contributor);
|
|
87
|
-
return i && i % 7 === 0 ? [
|
|
88
|
-
` </tr>`,
|
|
89
|
-
` <tr>`,
|
|
90
|
-
row
|
|
91
|
-
] : [row];
|
|
92
|
-
}),
|
|
93
|
-
` </tr>`,
|
|
94
|
-
` </tbody>`,
|
|
95
|
-
`</table>`,
|
|
96
|
-
``,
|
|
97
|
-
`<!-- prettier-ignore-end -->`,
|
|
98
|
-
``,
|
|
99
|
-
`<!-- ALL-CONTRIBUTORS-LIST:END -->`,
|
|
100
|
-
`<!-- spellchecker: enable -->`
|
|
101
|
-
].join("\n");
|
|
102
|
-
}
|
|
103
|
-
function printContributorCell(contributor) {
|
|
104
|
-
return [
|
|
105
|
-
` <td align="center" valign="top" width="14.28%">`,
|
|
106
|
-
`<a href="${contributor.profile}">`,
|
|
107
|
-
`<img src="${contributor.avatar_url}?s=100" width="100px;" alt="${contributor.name}"/>`,
|
|
108
|
-
`<br />`,
|
|
109
|
-
`<sub><b>${contributor.name}</b></sub></a><br />`,
|
|
110
|
-
contributor.contributions.map((contribution) => {
|
|
111
|
-
switch (contribution) {
|
|
112
|
-
case "bug": return `<a href="https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=author%3A${contributor.login}" title="Bug reports">đ</a>`;
|
|
113
|
-
case "code": return `<a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=${contributor.login}" title="Code">đģ</a>`;
|
|
114
|
-
case "design": return `<a href="#design-${contributor.login}" title="Design">đ¨</a>`;
|
|
115
|
-
case "doc": return `<a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=${contributor.login}" title="Documentation">đ</a>`;
|
|
116
|
-
case "ideas": return `<a href="#ideas-${contributor.login}" title="Ideas, Planning, & Feedback">đ¤</a>`;
|
|
117
|
-
case "infra": return `<a href="#infra-${contributor.login}" title="Infrastructure (Hosting, Build-Tools, etc)">đ</a>`;
|
|
118
|
-
case "maintenance": return `<a href="#maintenance-${contributor.login}" title="Maintenance">đ§</a>`;
|
|
119
|
-
case "review": return `<a href="https://github.com/JoshuaKGoldberg/create-typescript-app/pulls?q=is%3Apr+reviewed-by%3A${contributor.login}" title="Reviewed Pull Requests">đ</a>`;
|
|
120
|
-
case "test": return `<a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=${contributor.login}" title="Tests">â ī¸</a>`;
|
|
121
|
-
case "tool": return `<a href="#tool-${contributor.login}" title="Tools">đ§</a>`;
|
|
122
|
-
}
|
|
123
|
-
}).join(" "),
|
|
124
|
-
`</td>`
|
|
125
|
-
].join("");
|
|
126
|
-
}
|
|
127
|
-
//#endregion
|
|
128
|
-
export { blockAllContributors };
|
|
129
|
-
|
|
130
|
-
//# sourceMappingURL=blockAllContributors.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockAllContributors.js","names":[],"sources":["../../src/blocks/blockAllContributors.ts"],"sourcesContent":["import _ from \"lodash\";\n\nimport { base } from \"../base.js\";\nimport { startingOwnerContributions } from \"../data/contributions.js\";\nimport { Contributor } from \"../schemas.js\";\nimport { resolveUses } from \"./actions/resolveUses.js\";\nimport { blockPrettier } from \"./blockPrettier.js\";\nimport { blockREADME } from \"./blockREADME.js\";\nimport { blockRepositorySecrets } from \"./blockRepositorySecrets.js\";\nimport { createSoloWorkflowFile } from \"./files/createSoloWorkflowFile.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nexport const blockAllContributors = base.createBlock({\n\tabout: {\n\t\tname: \"AllContributors\",\n\t},\n\tproduce({ options }) {\n\t\tconst contributions = options.contributors?.length;\n\t\tconst ownerContributions = Array.from(\n\t\t\tnew Set(\n\t\t\t\t[\n\t\t\t\t\toptions.contributors?.find(\n\t\t\t\t\t\t(contributor) =>\n\t\t\t\t\t\t\tcontributor.login.toLowerCase() === options.owner.toLowerCase(),\n\t\t\t\t\t)?.contributions,\n\t\t\t\t\tstartingOwnerContributions,\n\t\t\t\t]\n\t\t\t\t\t.filter(Boolean)\n\t\t\t\t\t.flat(),\n\t\t\t),\n\t\t);\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockPrettier({\n\t\t\t\t\tignores: [\"/.all-contributorsrc\"],\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: `đĒ All Contributors: ${contributions}`,\n\t\t\t\t\t\t\tcomments: {\n\t\t\t\t\t\t\t\tafter: `\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\\t<!-- prettier-ignore-end -->`,\n\t\t\t\t\t\t\t\tbefore: `<!-- prettier-ignore-start -->\n\\t<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n\\t`,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\thref: \"#contributors\",\n\t\t\t\t\t\t\tsrc: `https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-${contributions}-21bb42.svg`,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\tsections: options.contributors\n\t\t\t\t\t\t? [printAllContributorsTable(options.contributors)]\n\t\t\t\t\t\t: undefined,\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\".all-contributorsrc\": JSON.stringify(\n\t\t\t\t\t{\n\t\t\t\t\t\tbadgeTemplate:\n\t\t\t\t\t\t\t'\t<a href=\"#contributors\" target=\"_blank\"><img alt=\"đĒ All Contributors: <%= contributors.length %>\" src=\"https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-<%= contributors.length %>-21bb42.svg\" /></a>',\n\t\t\t\t\t\tcommitType: \"docs\",\n\t\t\t\t\t\tcontributors: options.contributors ?? [],\n\t\t\t\t\t\tcontributorsPerLine: 7,\n\t\t\t\t\t\tcontributorsSortAlphabetically: true,\n\t\t\t\t\t\tfiles: [\"README.md\"],\n\t\t\t\t\t\tprojectName: options.repository,\n\t\t\t\t\t\tprojectOwner: options.owner,\n\t\t\t\t\t\trepoType: \"github\",\n\t\t\t\t\t},\n\t\t\t\t\tnull,\n\t\t\t\t\t2,\n\t\t\t\t),\n\t\t\t\t\".github\": {\n\t\t\t\t\tworkflows: {\n\t\t\t\t\t\t\"contributors.yaml\": createSoloWorkflowFile({\n\t\t\t\t\t\t\tname: \"Contributors\",\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\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{ uses: \"./.github/actions/prepare\" },\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tenv: { GITHUB_TOKEN: \"${{ secrets.ACCESS_TOKEN }}\" },\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"JoshuaKGoldberg/all-contributors-auto-action\",\n\t\t\t\t\t\t\t\t\t\t\"v0.5.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},\n\t\t\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [\n\t\t\t\t\t\t`pnpx all-contributors-cli@6.23.1 add ${options.owner} ${ownerContributions.join(\",\")}`,\n\t\t\t\t\t],\n\t\t\t\t\tphase: CommandPhase.Process,\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n});\n\nfunction printAllContributorsTable(contributors: Contributor[]) {\n\treturn [\n\t\t`## Contributors`,\n\t\t``,\n\t\t`<!-- spellchecker: disable -->`,\n\t\t`<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->`,\n\t\t`<!-- prettier-ignore-start -->`,\n\t\t`<table>`,\n\t\t` <tbody>`,\n\t\t` <tr>`,\n\t\t// This intentionally uses the same sort as all-contributors-cli:\n\t\t// https://github.com/all-contributors/cli/blob/74bc388bd6f0ae2658e6495e9d3781d737438a97/src/generate/index.js#L76\n\t\t..._.sortBy(contributors, \"name\").flatMap((contributor, i) => {\n\t\t\tconst row = printContributorCell(contributor);\n\n\t\t\treturn i && i % 7 === 0 ? [` </tr>`, ` <tr>`, row] : [row];\n\t\t}),\n\t\t` </tr>`,\n\t\t` </tbody>`,\n\t\t`</table>`,\n\t\t``,\n\t\t`<!-- prettier-ignore-end -->`,\n\t\t``,\n\t\t`<!-- ALL-CONTRIBUTORS-LIST:END -->`,\n\t\t`<!-- spellchecker: enable -->`,\n\t].join(\"\\n\");\n}\n\nfunction printContributorCell(contributor: Contributor) {\n\treturn [\n\t\t` <td align=\"center\" valign=\"top\" width=\"14.28%\">`,\n\t\t`<a href=\"${contributor.profile}\">`,\n\t\t`<img src=\"${contributor.avatar_url}?s=100\" width=\"100px;\" alt=\"${contributor.name}\"/>`,\n\t\t`<br />`,\n\t\t`<sub><b>${contributor.name}</b></sub></a><br />`,\n\t\tcontributor.contributions\n\t\t\t.map((contribution) => {\n\t\t\t\tswitch (contribution) {\n\t\t\t\t\tcase \"bug\":\n\t\t\t\t\t\treturn `<a href=\"https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=author%3A${contributor.login}\" title=\"Bug reports\">đ</a>`;\n\t\t\t\t\tcase \"code\":\n\t\t\t\t\t\treturn `<a href=\"https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=${contributor.login}\" title=\"Code\">đģ</a>`;\n\t\t\t\t\tcase \"design\":\n\t\t\t\t\t\treturn `<a href=\"#design-${contributor.login}\" title=\"Design\">đ¨</a>`;\n\t\t\t\t\tcase \"doc\":\n\t\t\t\t\t\treturn `<a href=\"https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=${contributor.login}\" title=\"Documentation\">đ</a>`;\n\t\t\t\t\tcase \"ideas\":\n\t\t\t\t\t\treturn `<a href=\"#ideas-${contributor.login}\" title=\"Ideas, Planning, & Feedback\">đ¤</a>`;\n\t\t\t\t\tcase \"infra\":\n\t\t\t\t\t\treturn `<a href=\"#infra-${contributor.login}\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">đ</a>`;\n\t\t\t\t\tcase \"maintenance\":\n\t\t\t\t\t\treturn `<a href=\"#maintenance-${contributor.login}\" title=\"Maintenance\">đ§</a>`;\n\t\t\t\t\tcase \"review\":\n\t\t\t\t\t\treturn `<a href=\"https://github.com/JoshuaKGoldberg/create-typescript-app/pulls?q=is%3Apr+reviewed-by%3A${contributor.login}\" title=\"Reviewed Pull Requests\">đ</a>`;\n\t\t\t\t\tcase \"test\":\n\t\t\t\t\t\treturn `<a href=\"https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=${contributor.login}\" title=\"Tests\">â ī¸</a>`;\n\t\t\t\t\tcase \"tool\":\n\t\t\t\t\t\treturn `<a href=\"#tool-${contributor.login}\" title=\"Tools\">đ§</a>`;\n\t\t\t\t}\n\t\t\t})\n\t\t\t.join(\" \"),\n\t\t`</td>`,\n\t].join(\"\");\n}\n"],"mappings":";;;;;;;;;;AAYA,MAAa,uBAAuB,KAAK,YAAY;CACpD,OAAO,EACN,MAAM,kBACP;CACA,QAAQ,EAAE,WAAW;EACpB,MAAM,gBAAgB,QAAQ,cAAc;EAC5C,MAAM,qBAAqB,MAAM,KAChC,IAAI,IACH,CACC,QAAQ,cAAc,MACpB,gBACA,YAAY,MAAM,YAAY,MAAM,QAAQ,MAAM,YAAY,CAChE,CAAC,EAAE,eACH,0BACD,CAAC,CACC,OAAO,OAAO,CAAC,CACf,KAAK,CACR,CACD;EAEA,OAAO;GACN,QAAQ;IACP,cAAc,EACb,SAAS,CAAC,sBAAsB,EACjC,CAAC;IACD,YAAY;KACX,QAAQ,CACP;MACC,KAAK,wBAAwB;MAC7B,UAAU;OACT,OAAO;;;OAGP,QAAQ;;;MAGT;MACA,MAAM;MACN,KAAK,8DAA8D,cAAc;KAClF,CACD;KACA,UAAU,QAAQ,eACf,CAAC,0BAA0B,QAAQ,YAAY,CAAC,IAChD,KAAA;IACJ,CAAC;IACD,uBAAuB,EACtB,SAAS,CACR;KACC,aAAa;KACb,MAAM;IACP,CACD,EACD,CAAC;GACF;GACA,OAAO;IACN,uBAAuB,KAAK,UAC3B;KACC,eACC;KACD,YAAY;KACZ,cAAc,QAAQ,gBAAgB,CAAC;KACvC,qBAAqB;KACrB,gCAAgC;KAChC,OAAO,CAAC,WAAW;KACnB,aAAa,QAAQ;KACrB,cAAc,QAAQ;KACtB,UAAU;IACX,GACA,MACA,CACD;IACA,WAAW,EACV,WAAW,EACV,qBAAqB,uBAAuB;KAC3C,MAAM;KACN,IAAI,EACH,MAAM,EACL,UAAU,CAAC,MAAM,EAClB,EACD;KACA,OAAO;MACN;OACC,MAAM,YACL,oBACA,MACA,QAAQ,iBACT;OACA,MAAM,EAAE,eAAe,EAAE;MAC1B;MACA,EAAE,MAAM,4BAA4B;MACpC;OACC,KAAK,EAAE,cAAc,8BAA8B;OACnD,MAAM,YACL,gDACA,UACA,QAAQ,iBACT;MACD;KACD;IACD,CAAC,EACF,EACD;GACD;GACA,SAAS,CACR;IACC,UAAU,CACT,wCAAwC,QAAQ,MAAM,GAAG,mBAAmB,KAAK,GAAG,GACrF;IACA,OAAO,aAAa;GACrB,CACD;EACD;CACD;AACD,CAAC;AAED,SAAS,0BAA0B,cAA6B;CAC/D,OAAO;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA,GAAG,EAAE,OAAO,cAAc,MAAM,CAAC,CAAC,SAAS,aAAa,MAAM;GAC7D,MAAM,MAAM,qBAAqB,WAAW;GAE5C,OAAO,KAAK,IAAI,MAAM,IAAI;IAAC;IAAa;IAAY;GAAG,IAAI,CAAC,GAAG;EAChE,CAAC;EACD;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD,CAAC,CAAC,KAAK,IAAI;AACZ;AAEA,SAAS,qBAAqB,aAA0B;CACvD,OAAO;EACN;EACA,YAAY,YAAY,QAAQ;EAChC,aAAa,YAAY,WAAW,8BAA8B,YAAY,KAAK;EACnF;EACA,WAAW,YAAY,KAAK;EAC5B,YAAY,cACV,KAAK,iBAAiB;GACtB,QAAQ,cAAR;IACC,KAAK,OACJ,OAAO,uFAAuF,YAAY,MAAM;IACjH,KAAK,QACJ,OAAO,oFAAoF,YAAY,MAAM;IAC9G,KAAK,UACJ,OAAO,oBAAoB,YAAY,MAAM;IAC9C,KAAK,OACJ,OAAO,oFAAoF,YAAY,MAAM;IAC9G,KAAK,SACJ,OAAO,mBAAmB,YAAY,MAAM;IAC7C,KAAK,SACJ,OAAO,mBAAmB,YAAY,MAAM;IAC7C,KAAK,eACJ,OAAO,yBAAyB,YAAY,MAAM;IACnD,KAAK,UACJ,OAAO,mGAAmG,YAAY,MAAM;IAC7H,KAAK,QACJ,OAAO,oFAAoF,YAAY,MAAM;IAC9G,KAAK,QACJ,OAAO,kBAAkB,YAAY,MAAM;GAC7C;EACD,CAAC,CAAC,CACD,KAAK,GAAG;EACV;CACD,CAAC,CAAC,KAAK,EAAE;AACV"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockAreTheTypesWrong.d.ts
|
|
2
|
-
declare const blockAreTheTypesWrong: 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 { blockAreTheTypesWrong };
|
|
72
|
-
//# sourceMappingURL=blockAreTheTypesWrong.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockAreTheTypesWrong.d.ts","names":[],"sources":["../../src/blocks/blockAreTheTypesWrong.ts"],"mappings":";cAGa,+CAAqB"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { base } from "../base.js";
|
|
2
|
-
import { blockGitHubActionsCI } from "./blockGitHubActionsCI.js";
|
|
3
|
-
//#region src/blocks/blockAreTheTypesWrong.ts
|
|
4
|
-
const blockAreTheTypesWrong = base.createBlock({
|
|
5
|
-
about: { name: "Are The Types Wrong" },
|
|
6
|
-
produce() {
|
|
7
|
-
return { addons: [blockGitHubActionsCI({ jobs: [{
|
|
8
|
-
name: "Are The Types Wrong?",
|
|
9
|
-
steps: [{ run: "pnpm build" }, { run: "npx --yes @arethetypeswrong/cli --pack . --ignore-rules cjs-resolves-to-esm --profile esm-only" }]
|
|
10
|
-
}] })] };
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
//#endregion
|
|
14
|
-
export { blockAreTheTypesWrong };
|
|
15
|
-
|
|
16
|
-
//# sourceMappingURL=blockAreTheTypesWrong.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockAreTheTypesWrong.js","names":[],"sources":["../../src/blocks/blockAreTheTypesWrong.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\n\nexport const blockAreTheTypesWrong = base.createBlock({\n\tabout: {\n\t\tname: \"Are The Types Wrong\",\n\t},\n\tproduce() {\n\t\treturn {\n\t\t\taddons: [\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: \"Are The Types Wrong?\",\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t{ run: \"pnpm build\" },\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\trun: \"npx --yes @arethetypeswrong/cli --pack . --ignore-rules cjs-resolves-to-esm --profile esm-only\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;AAGA,MAAa,wBAAwB,KAAK,YAAY;CACrD,OAAO,EACN,MAAM,sBACP;CACA,UAAU;EACT,OAAO,EACN,QAAQ,CACP,qBAAqB,EACpB,MAAM,CACL;GACC,MAAM;GACN,OAAO,CACN,EAAE,KAAK,aAAa,GACpB,EACC,KAAK,iGACN,CACD;EACD,CACD,EACD,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockCSpell.d.ts
|
|
2
|
-
declare const blockCSpell: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
-
words: string[];
|
|
4
|
-
ignorePaths: string[];
|
|
5
|
-
}, {
|
|
6
|
-
access: "public" | "restricted";
|
|
7
|
-
description: string;
|
|
8
|
-
directory: string;
|
|
9
|
-
documentation: {
|
|
10
|
-
readme: {
|
|
11
|
-
additional?: string | undefined;
|
|
12
|
-
explainer?: string | undefined;
|
|
13
|
-
footnotes?: string | undefined;
|
|
14
|
-
usage?: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
development?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
email: {
|
|
19
|
-
github: string;
|
|
20
|
-
npm: string;
|
|
21
|
-
};
|
|
22
|
-
title: string;
|
|
23
|
-
node: {
|
|
24
|
-
minimum: string;
|
|
25
|
-
pinned?: string | undefined;
|
|
26
|
-
};
|
|
27
|
-
owner: string;
|
|
28
|
-
repository: string;
|
|
29
|
-
type?: "commonjs" | "module" | undefined;
|
|
30
|
-
author?: string | undefined;
|
|
31
|
-
bin?: string | Record<string, string> | undefined;
|
|
32
|
-
contributors?: {
|
|
33
|
-
avatar_url: string;
|
|
34
|
-
contributions: string[];
|
|
35
|
-
login: string;
|
|
36
|
-
name: string;
|
|
37
|
-
profile: string;
|
|
38
|
-
}[] | undefined;
|
|
39
|
-
emoji?: string | undefined;
|
|
40
|
-
existingLabels?: {
|
|
41
|
-
name: string;
|
|
42
|
-
description: string;
|
|
43
|
-
color: string;
|
|
44
|
-
}[] | undefined;
|
|
45
|
-
funding?: string | undefined;
|
|
46
|
-
guide?: {
|
|
47
|
-
href: string;
|
|
48
|
-
title: string;
|
|
49
|
-
} | undefined;
|
|
50
|
-
keywords?: string[] | undefined;
|
|
51
|
-
logo?: {
|
|
52
|
-
alt: string;
|
|
53
|
-
src: string;
|
|
54
|
-
height?: number | undefined;
|
|
55
|
-
width?: number | undefined;
|
|
56
|
-
} | undefined;
|
|
57
|
-
packageData?: {
|
|
58
|
-
dependencies?: Record<string, string> | undefined;
|
|
59
|
-
devDependencies?: Record<string, string> | undefined;
|
|
60
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
61
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
63
|
-
} | undefined;
|
|
64
|
-
pnpm?: string | undefined;
|
|
65
|
-
rulesetId?: string | undefined;
|
|
66
|
-
version?: string | undefined;
|
|
67
|
-
words?: string[] | undefined;
|
|
68
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
69
|
-
pinned?: boolean | undefined;
|
|
70
|
-
hash?: string | undefined;
|
|
71
|
-
}>> | undefined;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
74
|
-
export { blockCSpell };
|
|
75
|
-
//# sourceMappingURL=blockCSpell.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockCSpell.d.ts","names":[],"sources":["../../src/blocks/blockCSpell.ts"],"mappings":";cAwBa,qCAAW"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { getPackageDependencies } from "../data/packageData.js";
|
|
2
|
-
import { base } from "../base.js";
|
|
3
|
-
import { intakeFile } from "./intake/intakeFile.js";
|
|
4
|
-
import { resolveBin } from "../utils/resolveBin.js";
|
|
5
|
-
import { CommandPhase } from "./phases.js";
|
|
6
|
-
import { blockGitHubActionsCI } from "./blockGitHubActionsCI.js";
|
|
7
|
-
import { blockPackageJson } from "./blockPackageJson.js";
|
|
8
|
-
import { blockDevelopmentDocs } from "./blockDevelopmentDocs.js";
|
|
9
|
-
import { blockRemoveWorkflows } from "./blockRemoveWorkflows.js";
|
|
10
|
-
import { blockVSCode } from "./blockVSCode.js";
|
|
11
|
-
import { z } from "zod";
|
|
12
|
-
import JSON5 from "json5";
|
|
13
|
-
import { getObjectStringsDeep } from "object-strings-deep";
|
|
14
|
-
//#region src/blocks/blockCSpell.ts
|
|
15
|
-
const filesGlob = `"**" ".github/**/*"`;
|
|
16
|
-
const addons = {
|
|
17
|
-
ignorePaths: z.array(z.string()).default([]),
|
|
18
|
-
words: z.array(z.string()).default([])
|
|
19
|
-
};
|
|
20
|
-
const zAddons = z.object(addons);
|
|
21
|
-
const blockCSpell = base.createBlock({
|
|
22
|
-
about: { name: "CSpell" },
|
|
23
|
-
addons,
|
|
24
|
-
intake({ files }) {
|
|
25
|
-
const cspellJson = intakeFile(files, ["cspell.json"]);
|
|
26
|
-
if (!cspellJson) return;
|
|
27
|
-
const { data } = zAddons.safeParse(JSON5.parse(cspellJson[0]));
|
|
28
|
-
if (!data) return;
|
|
29
|
-
return data;
|
|
30
|
-
},
|
|
31
|
-
produce({ addons, options }) {
|
|
32
|
-
const { ignorePaths, words } = addons;
|
|
33
|
-
const allWords = Array.from(/* @__PURE__ */ new Set([...options.words ?? [], ...words])).sort();
|
|
34
|
-
return {
|
|
35
|
-
addons: [
|
|
36
|
-
blockDevelopmentDocs({ sections: { Linting: { contents: { items: [`- \`pnpm lint:spelling\` ([cspell](https://cspell.org)): Spell checks across all source files`] } } } }),
|
|
37
|
-
blockVSCode({ extensions: ["streetsidesoftware.code-spell-checker"] }),
|
|
38
|
-
blockGitHubActionsCI({ jobs: [{
|
|
39
|
-
name: "Lint Spelling",
|
|
40
|
-
steps: [{ run: "pnpm lint:spelling" }]
|
|
41
|
-
}] }),
|
|
42
|
-
blockPackageJson({ properties: {
|
|
43
|
-
devDependencies: getPackageDependencies("cspell"),
|
|
44
|
-
scripts: { "lint:spelling": `cspell ${filesGlob}` }
|
|
45
|
-
} })
|
|
46
|
-
],
|
|
47
|
-
files: { "cspell.json": JSON.stringify({
|
|
48
|
-
dictionaries: [
|
|
49
|
-
"npm",
|
|
50
|
-
"node",
|
|
51
|
-
"typescript"
|
|
52
|
-
],
|
|
53
|
-
ignorePaths: Array.from(/* @__PURE__ */ new Set([
|
|
54
|
-
".github",
|
|
55
|
-
"CHANGELOG.md",
|
|
56
|
-
"lib",
|
|
57
|
-
"node_modules",
|
|
58
|
-
"pnpm-lock.yaml",
|
|
59
|
-
...ignorePaths
|
|
60
|
-
])).sort(),
|
|
61
|
-
...allWords.length && { words: allWords }
|
|
62
|
-
}) }
|
|
63
|
-
};
|
|
64
|
-
},
|
|
65
|
-
setup({ options }) {
|
|
66
|
-
const wordArgs = getObjectStringsDeep(options).map((word) => `--words "${word.replaceAll(`"`, " ")}"`).join(" ");
|
|
67
|
-
return { scripts: [{
|
|
68
|
-
commands: [`node ${resolveBin("cspell-populate-words/bin/index.mjs")} ${wordArgs}`],
|
|
69
|
-
phase: CommandPhase.Process
|
|
70
|
-
}] };
|
|
71
|
-
},
|
|
72
|
-
transition() {
|
|
73
|
-
return { addons: [blockRemoveWorkflows({ workflows: ["lint-spelling", "spelling"] })] };
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
//#endregion
|
|
77
|
-
export { blockCSpell };
|
|
78
|
-
|
|
79
|
-
//# sourceMappingURL=blockCSpell.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockCSpell.js","names":[],"sources":["../../src/blocks/blockCSpell.ts"],"sourcesContent":["import JSON5 from \"json5\";\nimport { getObjectStringsDeep } from \"object-strings-deep\";\nimport { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.js\";\nimport { resolveBin } from \"../utils/resolveBin.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\nimport { blockVSCode } from \"./blockVSCode.js\";\nimport { intakeFile } from \"./intake/intakeFile.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nconst filesGlob = `\"**\" \".github/**/*\"`;\n\nconst addons = {\n\tignorePaths: z.array(z.string()).default([]),\n\twords: z.array(z.string()).default([]),\n};\n\nconst zAddons = z.object(addons);\n\nexport const blockCSpell = base.createBlock({\n\tabout: {\n\t\tname: \"CSpell\",\n\t},\n\taddons,\n\tintake({ files }) {\n\t\tconst cspellJson = intakeFile(files, [\"cspell.json\"]);\n\t\tif (!cspellJson) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst { data } = zAddons.safeParse(JSON5.parse<unknown>(cspellJson[0]));\n\t\tif (!data) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn data;\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { ignorePaths, words } = addons;\n\n\t\tconst allWords = Array.from(\n\t\t\tnew Set([...(options.words ?? []), ...words]),\n\t\t).sort();\n\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:spelling\\` ([cspell](https://cspell.org)): Spell checks across all source files`,\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\tblockVSCode({\n\t\t\t\t\textensions: [\"streetsidesoftware.code-spell-checker\"],\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 Spelling\",\n\t\t\t\t\t\t\tsteps: [{ run: \"pnpm lint:spelling\" }],\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(\"cspell\"),\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\t\"lint:spelling\": `cspell ${filesGlob}`,\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\"cspell.json\": JSON.stringify({\n\t\t\t\t\tdictionaries: [\"npm\", \"node\", \"typescript\"],\n\t\t\t\t\tignorePaths: Array.from(\n\t\t\t\t\t\tnew Set([\n\t\t\t\t\t\t\t\".github\",\n\t\t\t\t\t\t\t\"CHANGELOG.md\",\n\t\t\t\t\t\t\t\"lib\",\n\t\t\t\t\t\t\t\"node_modules\",\n\t\t\t\t\t\t\t\"pnpm-lock.yaml\",\n\t\t\t\t\t\t\t...ignorePaths,\n\t\t\t\t\t\t]),\n\t\t\t\t\t).sort(),\n\t\t\t\t\t...(allWords.length && { words: allWords }),\n\t\t\t\t}),\n\t\t\t},\n\t\t};\n\t},\n\tsetup({ options }) {\n\t\tconst wordArgs = getObjectStringsDeep(options)\n\t\t\t.map((word) => `--words \"${word.replaceAll(`\"`, \" \")}\"`)\n\t\t\t.join(\" \");\n\n\t\treturn {\n\t\t\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [\n\t\t\t\t\t\t`node ${resolveBin(\"cspell-populate-words/bin/index.mjs\")} ${wordArgs}`,\n\t\t\t\t\t],\n\t\t\t\t\tphase: CommandPhase.Process,\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"lint-spelling\", \"spelling\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;;;;;AAeA,MAAM,YAAY;AAElB,MAAM,SAAS;CACd,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;CAC3C,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;AACtC;AAEA,MAAM,UAAU,EAAE,OAAO,MAAM;AAE/B,MAAa,cAAc,KAAK,YAAY;CAC3C,OAAO,EACN,MAAM,SACP;CACA;CACA,OAAO,EAAE,SAAS;EACjB,MAAM,aAAa,WAAW,OAAO,CAAC,aAAa,CAAC;EACpD,IAAI,CAAC,YACJ;EAGD,MAAM,EAAE,SAAS,QAAQ,UAAU,MAAM,MAAe,WAAW,EAAE,CAAC;EACtE,IAAI,CAAC,MACJ;EAGD,OAAO;CACR;CACA,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,aAAa,UAAU;EAE/B,MAAM,WAAW,MAAM,qBACtB,IAAI,IAAI,CAAC,GAAI,QAAQ,SAAS,CAAC,GAAI,GAAG,KAAK,CAAC,CAC7C,CAAC,CAAC,KAAK;EAEP,OAAO;GACN,QAAQ;IACP,qBAAqB,EACpB,UAAU,EACT,SAAS,EACR,UAAU,EACT,OAAO,CACN,+FACD,EACD,EACD,EACD,EACD,CAAC;IACD,YAAY,EACX,YAAY,CAAC,uCAAuC,EACrD,CAAC;IACD,qBAAqB,EACpB,MAAM,CACL;KACC,MAAM;KACN,OAAO,CAAC,EAAE,KAAK,qBAAqB,CAAC;IACtC,CACD,EACD,CAAC;IACD,iBAAiB,EAChB,YAAY;KACX,iBAAiB,uBAAuB,QAAQ;KAChD,SAAS,EACR,iBAAiB,UAAU,YAC5B;IACD,EACD,CAAC;GACF;GACA,OAAO,EACN,eAAe,KAAK,UAAU;IAC7B,cAAc;KAAC;KAAO;KAAQ;IAAY;IAC1C,aAAa,MAAM,qBAClB,IAAI,IAAI;KACP;KACA;KACA;KACA;KACA;KACA,GAAG;IACJ,CAAC,CACF,CAAC,CAAC,KAAK;IACP,GAAI,SAAS,UAAU,EAAE,OAAO,SAAS;GAC1C,CAAC,EACF;EACD;CACD;CACA,MAAM,EAAE,WAAW;EAClB,MAAM,WAAW,qBAAqB,OAAO,CAAC,CAC5C,KAAK,SAAS,YAAY,KAAK,WAAW,KAAK,GAAG,EAAE,EAAE,CAAC,CACvD,KAAK,GAAG;EAEV,OAAO,EACN,SAAS,CACR;GACC,UAAU,CACT,QAAQ,WAAW,qCAAqC,EAAE,GAAG,UAC9D;GACA,OAAO,aAAa;EACrB,CACD,EACD;CACD;CACA,aAAa;EACZ,OAAO,EACN,QAAQ,CACP,qBAAqB,EACpB,WAAW,CAAC,iBAAiB,UAAU,EACxC,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockCTATransitions.d.ts
|
|
2
|
-
declare const blockCTATransitions: 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 { blockCTATransitions };
|
|
72
|
-
//# sourceMappingURL=blockCTATransitions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockCTATransitions.d.ts","names":[],"sources":["../../src/blocks/blockCTATransitions.ts"],"mappings":";cAQa,6CAAmB"}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { packageData } from "../data/packageData.js";
|
|
2
|
-
import { base } from "../base.js";
|
|
3
|
-
import { resolveUses } from "./actions/resolveUses.js";
|
|
4
|
-
import { blockRepositoryBranchRuleset } from "./blockRepositoryBranchRuleset.js";
|
|
5
|
-
import { formatYaml } from "./files/formatYaml.js";
|
|
6
|
-
import { createSoloWorkflowFile } from "./files/createSoloWorkflowFile.js";
|
|
7
|
-
import { blockPackageJson } from "./blockPackageJson.js";
|
|
8
|
-
//#region src/blocks/blockCTATransitions.ts
|
|
9
|
-
const blockCTATransitions = base.createBlock({
|
|
10
|
-
about: { name: "CTA Transitions" },
|
|
11
|
-
produce({ options }) {
|
|
12
|
-
return {
|
|
13
|
-
addons: [blockPackageJson({ properties: { devDependencies: { "create-typescript-app": packageData.version } } }), blockRepositoryBranchRuleset({ requiredStatusChecks: ["Transition"] })],
|
|
14
|
-
files: { ".github": {
|
|
15
|
-
actions: { transition: { "action.yaml": formatYaml({
|
|
16
|
-
description: "Runs create-typescript-app in transition mode",
|
|
17
|
-
inputs: { token: {
|
|
18
|
-
description: "GitHub personal access token with repo, workflow, and read:org permissions.",
|
|
19
|
-
required: true
|
|
20
|
-
} },
|
|
21
|
-
name: "Transition",
|
|
22
|
-
runs: {
|
|
23
|
-
steps: [
|
|
24
|
-
{ uses: "./.github/actions/prepare" },
|
|
25
|
-
{
|
|
26
|
-
run: "npx create-typescript-app",
|
|
27
|
-
shell: "bash"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
id: "auto-commit-action",
|
|
31
|
-
uses: resolveUses("stefanzweifel/git-auto-commit-action", "v5", options.workflowsVersions),
|
|
32
|
-
with: {
|
|
33
|
-
commit_author: "The Friendly Bingo Bot <bot@create.bingo>",
|
|
34
|
-
commit_message: "Check in changes from re-running npx create-typescript-app",
|
|
35
|
-
commit_user_email: "bot@create.bingo",
|
|
36
|
-
commit_user_name: "The Friendly Bingo Bot"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
if: "steps.auto-commit-action.outputs.changes_detected == 'true'",
|
|
41
|
-
uses: resolveUses("mshick/add-pr-comment", "v2", options.workflowsVersions),
|
|
42
|
-
with: {
|
|
43
|
-
issue: "${{ github.event.pull_request.number }}",
|
|
44
|
-
message: [
|
|
45
|
-
"đ¤ Beep boop! I ran `npx create-typescript-app` and it updated some files.",
|
|
46
|
-
"",
|
|
47
|
-
"I went ahead and checked those changes into this PR for you. Please review the latest commit to see if you want to merge it.",
|
|
48
|
-
"",
|
|
49
|
-
"Cheers!",
|
|
50
|
-
" â _The Friendly Bingo Bot_ đ",
|
|
51
|
-
"",
|
|
52
|
-
"> âšī¸ These automatic commits keep your repository up-to-date with new versions of [create-typescript-app](https://github.com/JoshuaKGoldberg/create-typescript-app). If you want to opt out, delete your `.github/workflows/cta-transitions.yaml` file."
|
|
53
|
-
].join("\n")
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
id: "package-change",
|
|
58
|
-
uses: resolveUses("JoshuaKGoldberg/package-change-detector-action", "0.1.0", options.workflowsVersions),
|
|
59
|
-
with: { properties: "engines" }
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
if: `steps.package-change.outputs.changed == 'true'`,
|
|
63
|
-
uses: resolveUses("JoshuaKGoldberg/draft-pull-request-once-action", "0.0.1", options.workflowsVersions),
|
|
64
|
-
with: {
|
|
65
|
-
"github-token": "${{ inputs.token }}",
|
|
66
|
-
message: [
|
|
67
|
-
"đ¤ Beep boop! This PR changes the `engines` field in `package.json`. That might be a breaking change. It's been set to a draft so that it doesn't automatically merge. Go ahead and un-draft the PR if the change is ready for release.",
|
|
68
|
-
"",
|
|
69
|
-
"Cheers!",
|
|
70
|
-
" â _The Friendly Bingo Bot_ đ"
|
|
71
|
-
].join("\n")
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
],
|
|
75
|
-
using: "composite"
|
|
76
|
-
}
|
|
77
|
-
}) } },
|
|
78
|
-
workflows: { "cta.yaml": createSoloWorkflowFile({
|
|
79
|
-
jobName: "Transition",
|
|
80
|
-
name: "CTA",
|
|
81
|
-
on: { pull_request: { branches: ["main"] } },
|
|
82
|
-
permissions: { "pull-requests": "write" },
|
|
83
|
-
steps: [
|
|
84
|
-
{
|
|
85
|
-
id: "checkout",
|
|
86
|
-
if: `(github.actor == '${options.owner}' || github.actor == 'renovate[bot]') && startsWith(github.head_ref, 'renovate/') && contains(github.event.pull_request.title, 'create-typescript-app')`,
|
|
87
|
-
uses: resolveUses("actions/checkout", "v4", options.workflowsVersions),
|
|
88
|
-
with: {
|
|
89
|
-
"fetch-depth": 0,
|
|
90
|
-
ref: "${{github.event.pull_request.head.ref}}",
|
|
91
|
-
repository: "${{github.event.pull_request.head.repo.full_name}}",
|
|
92
|
-
token: "${{ secrets.ACCESS_TOKEN }}"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
if: "steps.checkout.outcome != 'skipped'",
|
|
97
|
-
uses: "./.github/actions/transition",
|
|
98
|
-
with: { token: "${{ secrets.ACCESS_TOKEN }}" }
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
if: "steps.checkout.outcome == 'skipped'",
|
|
102
|
-
run: "echo 'Skipping transition mode because the PR does not appear to be an automated or owner-created update to create-typescript-app.'"
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
}) }
|
|
106
|
-
} }
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
//#endregion
|
|
111
|
-
export { blockCTATransitions };
|
|
112
|
-
|
|
113
|
-
//# sourceMappingURL=blockCTATransitions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockCTATransitions.js","names":[],"sources":["../../src/blocks/blockCTATransitions.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { packageData } from \"../data/packageData.js\";\nimport { resolveUses } from \"./actions/resolveUses.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRepositoryBranchRuleset } from \"./blockRepositoryBranchRuleset.js\";\nimport { createSoloWorkflowFile } from \"./files/createSoloWorkflowFile.js\";\nimport { formatYaml } from \"./files/formatYaml.js\";\n\nexport const blockCTATransitions = base.createBlock({\n\tabout: {\n\t\tname: \"CTA Transitions\",\n\t},\n\tproduce({ options }) {\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: {\n\t\t\t\t\t\t\t\"create-typescript-app\": packageData.version,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockRepositoryBranchRuleset({\n\t\t\t\t\trequiredStatusChecks: [\"Transition\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\tactions: {\n\t\t\t\t\t\ttransition: {\n\t\t\t\t\t\t\t\"action.yaml\": formatYaml({\n\t\t\t\t\t\t\t\tdescription: \"Runs create-typescript-app in transition mode\",\n\t\t\t\t\t\t\t\tinputs: {\n\t\t\t\t\t\t\t\t\ttoken: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"GitHub personal access token with repo, workflow, and read:org permissions.\",\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\tname: \"Transition\",\n\t\t\t\t\t\t\t\truns: {\n\t\t\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t\t\t{ uses: \"./.github/actions/prepare\" },\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\trun: \"npx create-typescript-app\",\n\t\t\t\t\t\t\t\t\t\t\tshell: \"bash\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tid: \"auto-commit-action\",\n\t\t\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\t\t\"stefanzweifel/git-auto-commit-action\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"v5\",\n\t\t\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\t\t\tcommit_author:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"The Friendly Bingo Bot <bot@create.bingo>\",\n\t\t\t\t\t\t\t\t\t\t\t\tcommit_message:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"Check in changes from re-running npx create-typescript-app\",\n\t\t\t\t\t\t\t\t\t\t\t\tcommit_user_email: \"bot@create.bingo\",\n\t\t\t\t\t\t\t\t\t\t\t\tcommit_user_name: \"The Friendly Bingo Bot\",\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tif: \"steps.auto-commit-action.outputs.changes_detected == 'true'\",\n\t\t\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\t\t\"mshick/add-pr-comment\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"v2\",\n\t\t\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\t\t\tissue: \"${{ github.event.pull_request.number }}\",\n\t\t\t\t\t\t\t\t\t\t\t\tmessage: [\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"đ¤ Beep boop! I ran `npx create-typescript-app` and it updated some files.\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I went ahead and checked those changes into this PR for you. Please review the latest commit to see if you want to merge it.\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"Cheers!\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\" â _The Friendly Bingo Bot_ đ\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"> âšī¸ These automatic commits keep your repository up-to-date with new versions of [create-typescript-app](https://github.com/JoshuaKGoldberg/create-typescript-app). If you want to opt out, delete your `.github/workflows/cta-transitions.yaml` file.\",\n\t\t\t\t\t\t\t\t\t\t\t\t].join(\"\\n\"),\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tid: \"package-change\",\n\t\t\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\t\t\"JoshuaKGoldberg/package-change-detector-action\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"0.1.0\",\n\t\t\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\t\t\tproperties: \"engines\",\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tif: `steps.package-change.outputs.changed == 'true'`,\n\t\t\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\t\t\"JoshuaKGoldberg/draft-pull-request-once-action\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"0.0.1\",\n\t\t\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\t\t\t\"github-token\": \"${{ inputs.token }}\",\n\t\t\t\t\t\t\t\t\t\t\t\tmessage: [\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"đ¤ Beep boop! This PR changes the `engines` field in `package.json`. That might be a breaking change. It's been set to a draft so that it doesn't automatically merge. Go ahead and un-draft the PR if the change is ready for release.\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"Cheers!\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\" â _The Friendly Bingo Bot_ đ\",\n\t\t\t\t\t\t\t\t\t\t\t\t].join(\"\\n\"),\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\tusing: \"composite\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tworkflows: {\n\t\t\t\t\t\t\"cta.yaml\": createSoloWorkflowFile({\n\t\t\t\t\t\t\tjobName: \"Transition\",\n\t\t\t\t\t\t\tname: \"CTA\",\n\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\tpull_request: {\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\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\tid: \"checkout\",\n\t\t\t\t\t\t\t\t\tif: `(github.actor == '${options.owner}' || github.actor == 'renovate[bot]') && startsWith(github.head_ref, 'renovate/') && contains(github.event.pull_request.title, 'create-typescript-app')`,\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: \"${{github.event.pull_request.head.ref}}\",\n\t\t\t\t\t\t\t\t\t\trepository:\n\t\t\t\t\t\t\t\t\t\t\t\"${{github.event.pull_request.head.repo.full_name}}\",\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\tif: \"steps.checkout.outcome != 'skipped'\",\n\t\t\t\t\t\t\t\t\tuses: \"./.github/actions/transition\",\n\t\t\t\t\t\t\t\t\twith: {\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\tif: \"steps.checkout.outcome == 'skipped'\",\n\t\t\t\t\t\t\t\t\trun: \"echo 'Skipping transition mode because the PR does not appear to be an automated or owner-created update to create-typescript-app.'\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;AAQA,MAAa,sBAAsB,KAAK,YAAY;CACnD,OAAO,EACN,MAAM,kBACP;CACA,QAAQ,EAAE,WAAW;EACpB,OAAO;GACN,QAAQ,CACP,iBAAiB,EAChB,YAAY,EACX,iBAAiB,EAChB,yBAAyB,YAAY,QACtC,EACD,EACD,CAAC,GACD,6BAA6B,EAC5B,sBAAsB,CAAC,YAAY,EACpC,CAAC,CACF;GACA,OAAO,EACN,WAAW;IACV,SAAS,EACR,YAAY,EACX,eAAe,WAAW;KACzB,aAAa;KACb,QAAQ,EACP,OAAO;MACN,aACC;MACD,UAAU;KACX,EACD;KACA,MAAM;KACN,MAAM;MACL,OAAO;OACN,EAAE,MAAM,4BAA4B;OACpC;QACC,KAAK;QACL,OAAO;OACR;OACA;QACC,IAAI;QACJ,MAAM,YACL,wCACA,MACA,QAAQ,iBACT;QACA,MAAM;SACL,eACC;SACD,gBACC;SACD,mBAAmB;SACnB,kBAAkB;QACnB;OACD;OACA;QACC,IAAI;QACJ,MAAM,YACL,yBACA,MACA,QAAQ,iBACT;QACA,MAAM;SACL,OAAO;SACP,SAAS;UACR;UACA;UACA;UACA;UACA;UACA;UACA;UACA;SACD,CAAC,CAAC,KAAK,IAAI;QACZ;OACD;OACA;QACC,IAAI;QACJ,MAAM,YACL,kDACA,SACA,QAAQ,iBACT;QACA,MAAM,EACL,YAAY,UACb;OACD;OACA;QACC,IAAI;QACJ,MAAM,YACL,kDACA,SACA,QAAQ,iBACT;QACA,MAAM;SACL,gBAAgB;SAChB,SAAS;UACR;UACA;UACA;UACA;SACD,CAAC,CAAC,KAAK,IAAI;QACZ;OACD;MACD;MACA,OAAO;KACR;IACD,CAAC,EACF,EACD;IACA,WAAW,EACV,YAAY,uBAAuB;KAClC,SAAS;KACT,MAAM;KACN,IAAI,EACH,cAAc,EACb,UAAU,CAAC,MAAM,EAClB,EACD;KACA,aAAa,EACZ,iBAAiB,QAClB;KACA,OAAO;MACN;OACC,IAAI;OACJ,IAAI,qBAAqB,QAAQ,MAAM;OACvC,MAAM,YACL,oBACA,MACA,QAAQ,iBACT;OACA,MAAM;QACL,eAAe;QACf,KAAK;QACL,YACC;QACD,OAAO;OACR;MACD;MACA;OACC,IAAI;OACJ,MAAM;OACN,MAAM,EACL,OAAO,8BACR;MACD;MACA;OACC,IAAI;OACJ,KAAK;MACN;KACD;IACD,CAAC,EACF;GACD,EACD;EACD;CACD;AACD,CAAC"}
|