create-typescript-app 2.64.0 → 2.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +1 -1
- package/dist/base.d.mts +170 -0
- package/dist/base.mjs +162 -0
- package/dist/blocks/actions/resolveUses.d.mts +5 -0
- package/dist/blocks/actions/resolveUses.mjs +16 -0
- package/dist/blocks/actions/steps.d.mts +37 -0
- package/dist/blocks/actions/steps.mjs +19 -0
- package/dist/blocks/bin/getPrimaryBin.d.mts +4 -0
- package/dist/blocks/bin/getPrimaryBin.mjs +6 -0
- package/dist/blocks/blockAllContributors.d.mts +73 -0
- package/dist/blocks/blockAllContributors.mjs +132 -0
- package/dist/blocks/blockAreTheTypesWrong.d.mts +73 -0
- package/dist/blocks/blockAreTheTypesWrong.mjs +14 -0
- package/dist/blocks/blockBin.d.mts +75 -0
- package/dist/blocks/blockBin.mjs +27 -0
- package/dist/blocks/blockCSpell.d.mts +76 -0
- package/dist/blocks/blockCSpell.mjs +77 -0
- package/dist/blocks/blockCTATransitions.d.mts +73 -0
- package/dist/blocks/blockCTATransitions.mjs +115 -0
- package/dist/blocks/blockCodecov.d.mts +75 -0
- package/dist/blocks/blockCodecov.mjs +58 -0
- package/dist/blocks/blockContributingDocs.d.mts +73 -0
- package/dist/blocks/blockContributingDocs.mjs +112 -0
- package/dist/blocks/blockContributorCovenant.d.mts +73 -0
- package/dist/blocks/blockContributorCovenant.mjs +158 -0
- package/dist/blocks/blockDevelopmentDocs.d.mts +87 -0
- package/dist/blocks/blockDevelopmentDocs.mjs +72 -0
- package/dist/blocks/blockESLint.d.mts +97 -0
- package/dist/blocks/blockESLint.mjs +196 -0
- package/dist/blocks/blockESLintComments.d.mts +73 -0
- package/dist/blocks/blockESLintComments.mjs +21 -0
- package/dist/blocks/blockESLintJSDoc.d.mts +73 -0
- package/dist/blocks/blockESLintJSDoc.mjs +25 -0
- package/dist/blocks/blockESLintJSONC.d.mts +73 -0
- package/dist/blocks/blockESLintJSONC.mjs +20 -0
- package/dist/blocks/blockESLintMarkdown.d.mts +73 -0
- package/dist/blocks/blockESLintMarkdown.mjs +36 -0
- package/dist/blocks/blockESLintMarkdownLinks.d.mts +73 -0
- package/dist/blocks/blockESLintMarkdownLinks.mjs +20 -0
- package/dist/blocks/blockESLintMoreStyling.d.mts +74 -0
- package/dist/blocks/blockESLintMoreStyling.mjs +28 -0
- package/dist/blocks/blockESLintNode.d.mts +73 -0
- package/dist/blocks/blockESLintNode.mjs +32 -0
- package/dist/blocks/blockESLintPackageJson.d.mts +73 -0
- package/dist/blocks/blockESLintPackageJson.mjs +31 -0
- package/dist/blocks/blockESLintPerfectionist.d.mts +73 -0
- package/dist/blocks/blockESLintPerfectionist.mjs +25 -0
- package/dist/blocks/blockESLintPlugin.d.mts +75 -0
- package/dist/blocks/blockESLintPlugin.mjs +230 -0
- package/dist/blocks/blockESLintRegexp.d.mts +73 -0
- package/dist/blocks/blockESLintRegexp.mjs +21 -0
- package/dist/blocks/blockESLintYML.d.mts +73 -0
- package/dist/blocks/blockESLintYML.mjs +31 -0
- package/dist/blocks/blockExampleFiles.d.mts +76 -0
- package/dist/blocks/blockExampleFiles.mjs +23 -0
- package/dist/blocks/blockExports.d.mts +76 -0
- package/dist/blocks/blockExports.mjs +27 -0
- package/dist/blocks/blockFunding.d.mts +73 -0
- package/dist/blocks/blockFunding.mjs +15 -0
- package/dist/blocks/blockGitHubActionsCI.d.mts +88 -0
- package/dist/blocks/blockGitHubActionsCI.mjs +89 -0
- package/dist/blocks/blockGitHubApps.d.mts +78 -0
- package/dist/blocks/blockGitHubApps.mjs +16 -0
- package/dist/blocks/blockGitHubIssueTemplates.d.mts +73 -0
- package/dist/blocks/blockGitHubIssueTemplates.mjs +203 -0
- package/dist/blocks/blockGitHubPRTemplate.d.mts +73 -0
- package/dist/blocks/blockGitHubPRTemplate.mjs +23 -0
- package/dist/blocks/blockGitignore.d.mts +75 -0
- package/dist/blocks/blockGitignore.mjs +14 -0
- package/dist/blocks/blockKnip.d.mts +77 -0
- package/dist/blocks/blockKnip.mjs +70 -0
- package/dist/blocks/blockMITLicense.d.mts +73 -0
- package/dist/blocks/blockMITLicense.mjs +39 -0
- package/dist/blocks/blockNcc.d.mts +75 -0
- package/dist/blocks/blockNcc.mjs +65 -0
- package/dist/blocks/blockNvmrc.d.mts +73 -0
- package/dist/blocks/blockNvmrc.mjs +17 -0
- package/dist/blocks/blockOctoGuide.d.mts +75 -0
- package/dist/blocks/blockOctoGuide.mjs +73 -0
- package/dist/blocks/blockOctoGuideStrict.d.mts +73 -0
- package/dist/blocks/blockOctoGuideStrict.mjs +11 -0
- package/dist/blocks/blockPackageJson.d.mts +150 -0
- package/dist/blocks/blockPackageJson.mjs +86 -0
- package/dist/blocks/blockPnpmDedupe.d.mts +73 -0
- package/dist/blocks/blockPnpmDedupe.mjs +19 -0
- package/dist/blocks/blockPrettier.d.mts +83 -0
- package/dist/blocks/blockPrettier.mjs +97 -0
- package/dist/blocks/blockPrettierPluginCurly.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginCurly.mjs +11 -0
- package/dist/blocks/blockPrettierPluginPackageJson.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginPackageJson.mjs +11 -0
- package/dist/blocks/blockPrettierPluginPaddingLines.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginPaddingLines.mjs +11 -0
- package/dist/blocks/blockPrettierPluginSentencesPerLine.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginSentencesPerLine.mjs +11 -0
- package/dist/blocks/blockPrettierPluginSh.d.mts +73 -0
- package/dist/blocks/blockPrettierPluginSh.mjs +11 -0
- package/dist/blocks/blockREADME.d.mts +86 -0
- package/dist/blocks/blockREADME.mjs +74 -0
- package/dist/blocks/blockReleaseIt.d.mts +78 -0
- package/dist/blocks/blockReleaseIt.mjs +160 -0
- package/dist/blocks/blockRemoveDependencies.d.mts +75 -0
- package/dist/blocks/blockRemoveDependencies.mjs +20 -0
- package/dist/blocks/blockRemoveFiles.d.mts +75 -0
- package/dist/blocks/blockRemoveFiles.mjs +21 -0
- package/dist/blocks/blockRemoveWorkflows.d.mts +75 -0
- package/dist/blocks/blockRemoveWorkflows.mjs +17 -0
- package/dist/blocks/blockRenovate.d.mts +75 -0
- package/dist/blocks/blockRenovate.mjs +39 -0
- package/dist/blocks/blockRepositoryBranchRuleset.d.mts +75 -0
- package/dist/blocks/blockRepositoryBranchRuleset.mjs +79 -0
- package/dist/blocks/blockRepositoryLabels.d.mts +73 -0
- package/dist/blocks/blockRepositoryLabels.mjs +52 -0
- package/dist/blocks/blockRepositorySecrets.d.mts +78 -0
- package/dist/blocks/blockRepositorySecrets.mjs +16 -0
- package/dist/blocks/blockRepositorySettings.d.mts +73 -0
- package/dist/blocks/blockRepositorySettings.mjs +32 -0
- package/dist/blocks/blockSecurityDocs.d.mts +73 -0
- package/dist/blocks/blockSecurityDocs.mjs +20 -0
- package/dist/blocks/blockSideEffects.d.mts +75 -0
- package/dist/blocks/blockSideEffects.mjs +14 -0
- package/dist/blocks/blockTSDown.d.mts +77 -0
- package/dist/blocks/blockTSDown.mjs +121 -0
- package/dist/blocks/blockTemplatedWith.d.mts +73 -0
- package/dist/blocks/blockTemplatedWith.mjs +13 -0
- package/dist/blocks/blockTypeScript.d.mts +185 -0
- package/dist/blocks/blockTypeScript.mjs +136 -0
- package/dist/blocks/blockVSCode.d.mts +82 -0
- package/dist/blocks/blockVSCode.mjs +59 -0
- package/dist/blocks/blockVitest.d.mts +90 -0
- package/dist/blocks/blockVitest.mjs +208 -0
- package/dist/blocks/blockWebExt.d.mts +73 -0
- package/dist/blocks/blockWebExt.mjs +104 -0
- package/dist/blocks/codecov/findCodecovStep.d.mts +6 -0
- package/dist/blocks/codecov/findCodecovStep.mjs +7 -0
- package/dist/blocks/eslint/blockESLintIntake.d.mts +10 -0
- package/dist/blocks/eslint/blockESLintIntake.mjs +84 -0
- package/dist/blocks/eslint/blockESLintPluginIntake.d.mts +6 -0
- package/dist/blocks/eslint/blockESLintPluginIntake.mjs +27 -0
- package/dist/blocks/eslint/getScriptFileExtension.d.mts +7 -0
- package/dist/blocks/eslint/getScriptFileExtension.mjs +6 -0
- package/dist/blocks/eslint/mergeAllExtensions.d.mts +16 -0
- package/dist/blocks/eslint/mergeAllExtensions.mjs +46 -0
- package/dist/blocks/eslint/schemas.d.mts +111 -0
- package/dist/blocks/eslint/schemas.mjs +40 -0
- package/dist/blocks/files/createJobName.d.mts +4 -0
- package/dist/blocks/files/createJobName.mjs +6 -0
- package/dist/blocks/files/createMultiWorkflowFile.d.mts +24 -0
- package/dist/blocks/files/createMultiWorkflowFile.mjs +28 -0
- package/dist/blocks/files/createSoloWorkflowFile.d.mts +64 -0
- package/dist/blocks/files/createSoloWorkflowFile.mjs +19 -0
- package/dist/blocks/files/formatIgnoreFile.d.mts +4 -0
- package/dist/blocks/files/formatIgnoreFile.mjs +6 -0
- package/dist/blocks/files/formatWorkflowYaml.d.mts +4 -0
- package/dist/blocks/files/formatWorkflowYaml.mjs +10 -0
- package/dist/blocks/files/formatYaml.d.mts +4 -0
- package/dist/blocks/files/formatYaml.mjs +21 -0
- package/dist/blocks/files/removeUsesQuotes.d.mts +4 -0
- package/dist/blocks/files/removeUsesQuotes.mjs +6 -0
- package/dist/blocks/getInstallationSuggestions.d.mts +4 -0
- package/dist/blocks/getInstallationSuggestions.mjs +11 -0
- package/dist/blocks/index.d.mts +3953 -0
- package/dist/blocks/index.mjs +108 -0
- package/dist/blocks/intake/intakeFile.d.mts +5 -0
- package/dist/blocks/intake/intakeFile.mjs +11 -0
- package/dist/blocks/intake/intakeFileAsJson.d.mts +5 -0
- package/dist/blocks/intake/intakeFileAsJson.mjs +13 -0
- package/dist/blocks/intake/intakeFileAsYaml.d.mts +6 -0
- package/dist/blocks/intake/intakeFileAsYaml.mjs +16 -0
- package/dist/blocks/intake/intakeFileDefineConfig.d.mts +5 -0
- package/dist/blocks/intake/intakeFileDefineConfig.mjs +9 -0
- package/dist/blocks/intake/intakeFileExportObject.d.mts +5 -0
- package/dist/blocks/intake/intakeFileExportObject.mjs +22 -0
- package/dist/blocks/options.fakes.d.mts +25 -0
- package/dist/blocks/options.fakes.mjs +19 -0
- package/dist/blocks/outcomeLabels.d.mts +14 -0
- package/dist/blocks/outcomeLabels.mjs +93 -0
- package/dist/blocks/phases.d.mts +10 -0
- package/dist/blocks/phases.mjs +10 -0
- package/dist/constants.d.mts +9 -0
- package/dist/constants.mjs +7 -0
- package/dist/data/contributions.d.mts +4 -0
- package/dist/data/contributions.mjs +13 -0
- package/dist/data/packageData.d.mts +9 -0
- package/dist/data/packageData.mjs +17 -0
- package/dist/index.d.mts +293 -0
- package/dist/index.mjs +63 -0
- package/dist/inputs/inputFromDirectory.d.mts +7 -0
- package/dist/inputs/inputFromDirectory.mjs +11 -0
- package/dist/inputs/inputFromOctokit.d.mts +8 -0
- package/dist/inputs/inputFromOctokit.mjs +23 -0
- package/dist/options/readAccess.d.mts +5 -0
- package/dist/options/readAccess.mjs +6 -0
- package/dist/options/readAllContributors.d.mts +6 -0
- package/dist/options/readAllContributors.mjs +18 -0
- package/dist/options/readAuthor.d.mts +8 -0
- package/dist/options/readAuthor.mjs +6 -0
- package/dist/options/readBin.d.mts +5 -0
- package/dist/options/readBin.mjs +11 -0
- package/dist/options/readBundle.d.mts +5 -0
- package/dist/options/readBundle.mjs +12 -0
- package/dist/options/readCodecovToken.d.mts +5 -0
- package/dist/options/readCodecovToken.mjs +23 -0
- package/dist/options/readDescription.d.mts +5 -0
- package/dist/options/readDescription.mjs +17 -0
- package/dist/options/readDescriptionFromReadme.d.mts +4 -0
- package/dist/options/readDescriptionFromReadme.mjs +13 -0
- package/dist/options/readDevelopmentDocumentation.d.mts +5 -0
- package/dist/options/readDevelopmentDocumentation.mjs +21 -0
- package/dist/options/readDocumentation.d.mts +5 -0
- package/dist/options/readDocumentation.mjs +21 -0
- package/dist/options/readEmailFromCodeOfConduct.d.mts +5 -0
- package/dist/options/readEmailFromCodeOfConduct.mjs +8 -0
- package/dist/options/readEmailFromGit.d.mts +5 -0
- package/dist/options/readEmailFromGit.mjs +7 -0
- package/dist/options/readEmailFromNpm.d.mts +6 -0
- package/dist/options/readEmailFromNpm.mjs +6 -0
- package/dist/options/readEmails.d.mts +8 -0
- package/dist/options/readEmails.mjs +11 -0
- package/dist/options/readEmoji.d.mts +4 -0
- package/dist/options/readEmoji.mjs +10 -0
- package/dist/options/readExistingLabels.d.mts +9 -0
- package/dist/options/readExistingLabels.mjs +21 -0
- package/dist/options/readFileAsJson.d.mts +4 -0
- package/dist/options/readFileAsJson.mjs +11 -0
- package/dist/options/readFileSafe.d.mts +4 -0
- package/dist/options/readFileSafe.mjs +11 -0
- package/dist/options/readFunding.d.mts +5 -0
- package/dist/options/readFunding.mjs +8 -0
- package/dist/options/readGitDefaults.d.mts +6 -0
- package/dist/options/readGitDefaults.mjs +9 -0
- package/dist/options/readGuide.d.mts +8 -0
- package/dist/options/readGuide.mjs +14 -0
- package/dist/options/readKeywords.d.mts +5 -0
- package/dist/options/readKeywords.mjs +7 -0
- package/dist/options/readLogo.d.mts +9 -0
- package/dist/options/readLogo.mjs +19 -0
- package/dist/options/readLogoSizing.d.mts +8 -0
- package/dist/options/readLogoSizing.mjs +29 -0
- package/dist/options/readNode.d.mts +8 -0
- package/dist/options/readNode.mjs +12 -0
- package/dist/options/readNpmDefaults.d.mts +5 -0
- package/dist/options/readNpmDefaults.mjs +9 -0
- package/dist/options/readOwner.d.mts +7 -0
- package/dist/options/readOwner.mjs +7 -0
- package/dist/options/readPackageAuthor.d.mts +9 -0
- package/dist/options/readPackageAuthor.mjs +12 -0
- package/dist/options/readPackageData.d.mts +6 -0
- package/dist/options/readPackageData.mjs +8 -0
- package/dist/options/readPnpm.d.mts +5 -0
- package/dist/options/readPnpm.mjs +7 -0
- package/dist/options/readReadmeAdditional.d.mts +4 -0
- package/dist/options/readReadmeAdditional.mjs +17 -0
- package/dist/options/readReadmeExplainer.d.mts +4 -0
- package/dist/options/readReadmeExplainer.mjs +25 -0
- package/dist/options/readReadmeFootnotes.d.mts +5 -0
- package/dist/options/readReadmeFootnotes.mjs +15 -0
- package/dist/options/readReadmeUsage.d.mts +4 -0
- package/dist/options/readReadmeUsage.mjs +13 -0
- package/dist/options/readRepository.d.mts +9 -0
- package/dist/options/readRepository.mjs +6 -0
- package/dist/options/readRulesetId.d.mts +5 -0
- package/dist/options/readRulesetId.mjs +13 -0
- package/dist/options/readTitle.d.mts +4 -0
- package/dist/options/readTitle.mjs +11 -0
- package/dist/options/readWords.d.mts +5 -0
- package/dist/options/readWords.mjs +8 -0
- package/dist/options/readWorkflowsVersions.d.mts +6 -0
- package/dist/options/readWorkflowsVersions.mjs +45 -0
- package/dist/package.json.d.mts +138 -0
- package/dist/presets/common.d.mts +165 -0
- package/dist/presets/common.mjs +26 -0
- package/dist/presets/everything.d.mts +165 -0
- package/dist/presets/everything.mjs +60 -0
- package/dist/presets/index.d.mts +494 -0
- package/dist/presets/index.mjs +11 -0
- package/dist/presets/minimal.d.mts +165 -0
- package/dist/presets/minimal.mjs +68 -0
- package/dist/schemas.d.mts +121 -0
- package/dist/schemas.mjs +31 -0
- package/dist/template.d.mts +165 -0
- package/dist/template.mjs +38 -0
- package/dist/types.d.mts +41 -0
- package/dist/utils/htmlToTextSafe.d.mts +4 -0
- package/dist/utils/htmlToTextSafe.mjs +13 -0
- package/dist/utils/parseDefineConfig.d.mts +7 -0
- package/dist/utils/parseDefineConfig.mjs +22 -0
- package/dist/utils/resolveBin.d.mts +4 -0
- package/dist/utils/resolveBin.mjs +7 -0
- package/dist/utils/resolveEmails.d.mts +5 -0
- package/dist/utils/resolveEmails.mjs +9 -0
- package/dist/utils/swallowError.d.mts +4 -0
- package/dist/utils/swallowError.mjs +6 -0
- package/dist/utils/swallowErrorAsync.d.mts +4 -0
- package/dist/utils/swallowErrorAsync.mjs +10 -0
- package/dist/utils/trimPrecedingSlash.d.mts +4 -0
- package/dist/utils/trimPrecedingSlash.mjs +6 -0
- package/dist/utils/tryCatch.d.mts +4 -0
- package/dist/utils/tryCatch.mjs +10 -0
- package/package.json +8 -7
- package/lib/base.d.ts +0 -175
- package/lib/base.d.ts.map +0 -1
- package/lib/base.js +0 -162
- package/lib/base.js.map +0 -1
- package/lib/blocks/actions/resolveUses.d.ts +0 -6
- package/lib/blocks/actions/resolveUses.d.ts.map +0 -1
- package/lib/blocks/actions/resolveUses.js +0 -18
- package/lib/blocks/actions/resolveUses.js.map +0 -1
- package/lib/blocks/actions/steps.d.ts +0 -37
- package/lib/blocks/actions/steps.d.ts.map +0 -1
- package/lib/blocks/actions/steps.js +0 -20
- package/lib/blocks/actions/steps.js.map +0 -1
- package/lib/blocks/bin/getPrimaryBin.d.ts +0 -5
- package/lib/blocks/bin/getPrimaryBin.d.ts.map +0 -1
- package/lib/blocks/bin/getPrimaryBin.js +0 -8
- package/lib/blocks/bin/getPrimaryBin.js.map +0 -1
- package/lib/blocks/blockAllContributors.d.ts +0 -72
- package/lib/blocks/blockAllContributors.d.ts.map +0 -1
- package/lib/blocks/blockAllContributors.js +0 -130
- package/lib/blocks/blockAllContributors.js.map +0 -1
- package/lib/blocks/blockAreTheTypesWrong.d.ts +0 -72
- package/lib/blocks/blockAreTheTypesWrong.d.ts.map +0 -1
- package/lib/blocks/blockAreTheTypesWrong.js +0 -16
- package/lib/blocks/blockAreTheTypesWrong.js.map +0 -1
- package/lib/blocks/blockCSpell.d.ts +0 -75
- package/lib/blocks/blockCSpell.d.ts.map +0 -1
- package/lib/blocks/blockCSpell.js +0 -79
- package/lib/blocks/blockCSpell.js.map +0 -1
- package/lib/blocks/blockCTATransitions.d.ts +0 -72
- package/lib/blocks/blockCTATransitions.d.ts.map +0 -1
- package/lib/blocks/blockCTATransitions.js +0 -113
- package/lib/blocks/blockCTATransitions.js.map +0 -1
- package/lib/blocks/blockCodecov.d.ts +0 -74
- package/lib/blocks/blockCodecov.d.ts.map +0 -1
- package/lib/blocks/blockCodecov.js +0 -54
- package/lib/blocks/blockCodecov.js.map +0 -1
- package/lib/blocks/blockContributingDocs.d.ts +0 -72
- package/lib/blocks/blockContributingDocs.d.ts.map +0 -1
- package/lib/blocks/blockContributingDocs.js +0 -114
- package/lib/blocks/blockContributingDocs.js.map +0 -1
- package/lib/blocks/blockContributorCovenant.d.ts +0 -72
- package/lib/blocks/blockContributorCovenant.d.ts.map +0 -1
- package/lib/blocks/blockContributorCovenant.js +0 -159
- package/lib/blocks/blockContributorCovenant.js.map +0 -1
- package/lib/blocks/blockDevelopmentDocs.d.ts +0 -86
- package/lib/blocks/blockDevelopmentDocs.d.ts.map +0 -1
- package/lib/blocks/blockDevelopmentDocs.js +0 -74
- package/lib/blocks/blockDevelopmentDocs.js.map +0 -1
- package/lib/blocks/blockESLint.d.ts +0 -96
- package/lib/blocks/blockESLint.d.ts.map +0 -1
- package/lib/blocks/blockESLint.js +0 -198
- package/lib/blocks/blockESLint.js.map +0 -1
- package/lib/blocks/blockESLintComments.d.ts +0 -72
- package/lib/blocks/blockESLintComments.d.ts.map +0 -1
- package/lib/blocks/blockESLintComments.js +0 -23
- package/lib/blocks/blockESLintComments.js.map +0 -1
- package/lib/blocks/blockESLintJSDoc.d.ts +0 -72
- package/lib/blocks/blockESLintJSDoc.d.ts.map +0 -1
- package/lib/blocks/blockESLintJSDoc.js +0 -27
- package/lib/blocks/blockESLintJSDoc.js.map +0 -1
- package/lib/blocks/blockESLintJSONC.d.ts +0 -72
- package/lib/blocks/blockESLintJSONC.d.ts.map +0 -1
- package/lib/blocks/blockESLintJSONC.js +0 -22
- package/lib/blocks/blockESLintJSONC.js.map +0 -1
- package/lib/blocks/blockESLintMarkdown.d.ts +0 -72
- package/lib/blocks/blockESLintMarkdown.d.ts.map +0 -1
- package/lib/blocks/blockESLintMarkdown.js +0 -38
- package/lib/blocks/blockESLintMarkdown.js.map +0 -1
- package/lib/blocks/blockESLintMoreStyling.d.ts +0 -73
- package/lib/blocks/blockESLintMoreStyling.d.ts.map +0 -1
- package/lib/blocks/blockESLintMoreStyling.js +0 -30
- package/lib/blocks/blockESLintMoreStyling.js.map +0 -1
- package/lib/blocks/blockESLintNode.d.ts +0 -72
- package/lib/blocks/blockESLintNode.d.ts.map +0 -1
- package/lib/blocks/blockESLintNode.js +0 -27
- package/lib/blocks/blockESLintNode.js.map +0 -1
- package/lib/blocks/blockESLintPackageJson.d.ts +0 -72
- package/lib/blocks/blockESLintPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockESLintPackageJson.js +0 -33
- package/lib/blocks/blockESLintPackageJson.js.map +0 -1
- package/lib/blocks/blockESLintPerfectionist.d.ts +0 -72
- package/lib/blocks/blockESLintPerfectionist.d.ts.map +0 -1
- package/lib/blocks/blockESLintPerfectionist.js +0 -27
- package/lib/blocks/blockESLintPerfectionist.js.map +0 -1
- package/lib/blocks/blockESLintPlugin.d.ts +0 -74
- package/lib/blocks/blockESLintPlugin.d.ts.map +0 -1
- package/lib/blocks/blockESLintPlugin.js +0 -232
- package/lib/blocks/blockESLintPlugin.js.map +0 -1
- package/lib/blocks/blockESLintRegexp.d.ts +0 -72
- package/lib/blocks/blockESLintRegexp.d.ts.map +0 -1
- package/lib/blocks/blockESLintRegexp.js +0 -23
- package/lib/blocks/blockESLintRegexp.js.map +0 -1
- package/lib/blocks/blockESLintYML.d.ts +0 -72
- package/lib/blocks/blockESLintYML.d.ts.map +0 -1
- package/lib/blocks/blockESLintYML.js +0 -33
- package/lib/blocks/blockESLintYML.js.map +0 -1
- package/lib/blocks/blockExampleFiles.d.ts +0 -75
- package/lib/blocks/blockExampleFiles.d.ts.map +0 -1
- package/lib/blocks/blockExampleFiles.js +0 -25
- package/lib/blocks/blockExampleFiles.js.map +0 -1
- package/lib/blocks/blockExports.d.ts +0 -75
- package/lib/blocks/blockExports.d.ts.map +0 -1
- package/lib/blocks/blockExports.js +0 -20
- package/lib/blocks/blockExports.js.map +0 -1
- package/lib/blocks/blockFunding.d.ts +0 -72
- package/lib/blocks/blockFunding.d.ts.map +0 -1
- package/lib/blocks/blockFunding.js +0 -13
- package/lib/blocks/blockFunding.js.map +0 -1
- package/lib/blocks/blockGitHubActionsCI.d.ts +0 -88
- package/lib/blocks/blockGitHubActionsCI.d.ts.map +0 -1
- package/lib/blocks/blockGitHubActionsCI.js +0 -91
- package/lib/blocks/blockGitHubActionsCI.js.map +0 -1
- package/lib/blocks/blockGitHubApps.d.ts +0 -77
- package/lib/blocks/blockGitHubApps.d.ts.map +0 -1
- package/lib/blocks/blockGitHubApps.js +0 -18
- package/lib/blocks/blockGitHubApps.js.map +0 -1
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +0 -72
- package/lib/blocks/blockGitHubIssueTemplates.d.ts.map +0 -1
- package/lib/blocks/blockGitHubIssueTemplates.js +0 -196
- package/lib/blocks/blockGitHubIssueTemplates.js.map +0 -1
- package/lib/blocks/blockGitHubPRTemplate.d.ts +0 -72
- package/lib/blocks/blockGitHubPRTemplate.d.ts.map +0 -1
- package/lib/blocks/blockGitHubPRTemplate.js +0 -25
- package/lib/blocks/blockGitHubPRTemplate.js.map +0 -1
- package/lib/blocks/blockGitignore.d.ts +0 -74
- package/lib/blocks/blockGitignore.d.ts.map +0 -1
- package/lib/blocks/blockGitignore.js +0 -16
- package/lib/blocks/blockGitignore.js.map +0 -1
- package/lib/blocks/blockKnip.d.ts +0 -76
- package/lib/blocks/blockKnip.d.ts.map +0 -1
- package/lib/blocks/blockKnip.js +0 -70
- package/lib/blocks/blockKnip.js.map +0 -1
- package/lib/blocks/blockMITLicense.d.ts +0 -72
- package/lib/blocks/blockMITLicense.d.ts.map +0 -1
- package/lib/blocks/blockMITLicense.js +0 -41
- package/lib/blocks/blockMITLicense.js.map +0 -1
- package/lib/blocks/blockNcc.d.ts +0 -74
- package/lib/blocks/blockNcc.d.ts.map +0 -1
- package/lib/blocks/blockNcc.js +0 -67
- package/lib/blocks/blockNcc.js.map +0 -1
- package/lib/blocks/blockNvmrc.d.ts +0 -72
- package/lib/blocks/blockNvmrc.d.ts.map +0 -1
- package/lib/blocks/blockNvmrc.js +0 -19
- package/lib/blocks/blockNvmrc.js.map +0 -1
- package/lib/blocks/blockOctoGuide.d.ts +0 -74
- package/lib/blocks/blockOctoGuide.d.ts.map +0 -1
- package/lib/blocks/blockOctoGuide.js +0 -71
- package/lib/blocks/blockOctoGuide.js.map +0 -1
- package/lib/blocks/blockOctoGuideStrict.d.ts +0 -72
- package/lib/blocks/blockOctoGuideStrict.d.ts.map +0 -1
- package/lib/blocks/blockOctoGuideStrict.js +0 -13
- package/lib/blocks/blockOctoGuideStrict.js.map +0 -1
- package/lib/blocks/blockPackageJson.d.ts +0 -149
- package/lib/blocks/blockPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockPackageJson.js +0 -87
- package/lib/blocks/blockPackageJson.js.map +0 -1
- package/lib/blocks/blockPnpmDedupe.d.ts +0 -72
- package/lib/blocks/blockPnpmDedupe.d.ts.map +0 -1
- package/lib/blocks/blockPnpmDedupe.js +0 -21
- package/lib/blocks/blockPnpmDedupe.js.map +0 -1
- package/lib/blocks/blockPrettier.d.ts +0 -82
- package/lib/blocks/blockPrettier.d.ts.map +0 -1
- package/lib/blocks/blockPrettier.js +0 -97
- package/lib/blocks/blockPrettier.js.map +0 -1
- package/lib/blocks/blockPrettierPluginCurly.d.ts +0 -72
- package/lib/blocks/blockPrettierPluginCurly.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginCurly.js +0 -13
- package/lib/blocks/blockPrettierPluginCurly.js.map +0 -1
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +0 -72
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginPackageJson.js +0 -13
- package/lib/blocks/blockPrettierPluginPackageJson.js.map +0 -1
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +0 -72
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginSentencesPerLine.js +0 -13
- package/lib/blocks/blockPrettierPluginSentencesPerLine.js.map +0 -1
- package/lib/blocks/blockPrettierPluginSh.d.ts +0 -72
- package/lib/blocks/blockPrettierPluginSh.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginSh.js +0 -13
- package/lib/blocks/blockPrettierPluginSh.js.map +0 -1
- package/lib/blocks/blockREADME.d.ts +0 -85
- package/lib/blocks/blockREADME.d.ts.map +0 -1
- package/lib/blocks/blockREADME.js +0 -76
- package/lib/blocks/blockREADME.js.map +0 -1
- package/lib/blocks/blockReleaseIt.d.ts +0 -77
- package/lib/blocks/blockReleaseIt.d.ts.map +0 -1
- package/lib/blocks/blockReleaseIt.js +0 -158
- package/lib/blocks/blockReleaseIt.js.map +0 -1
- package/lib/blocks/blockRemoveDependencies.d.ts +0 -74
- package/lib/blocks/blockRemoveDependencies.d.ts.map +0 -1
- package/lib/blocks/blockRemoveDependencies.js +0 -22
- package/lib/blocks/blockRemoveDependencies.js.map +0 -1
- package/lib/blocks/blockRemoveFiles.d.ts +0 -74
- package/lib/blocks/blockRemoveFiles.d.ts.map +0 -1
- package/lib/blocks/blockRemoveFiles.js +0 -23
- package/lib/blocks/blockRemoveFiles.js.map +0 -1
- package/lib/blocks/blockRemoveWorkflows.d.ts +0 -74
- package/lib/blocks/blockRemoveWorkflows.d.ts.map +0 -1
- package/lib/blocks/blockRemoveWorkflows.js +0 -19
- package/lib/blocks/blockRemoveWorkflows.js.map +0 -1
- package/lib/blocks/blockRenovate.d.ts +0 -74
- package/lib/blocks/blockRenovate.d.ts.map +0 -1
- package/lib/blocks/blockRenovate.js +0 -41
- package/lib/blocks/blockRenovate.js.map +0 -1
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +0 -74
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts.map +0 -1
- package/lib/blocks/blockRepositoryBranchRuleset.js +0 -81
- package/lib/blocks/blockRepositoryBranchRuleset.js.map +0 -1
- package/lib/blocks/blockRepositoryLabels.d.ts +0 -72
- package/lib/blocks/blockRepositoryLabels.d.ts.map +0 -1
- package/lib/blocks/blockRepositoryLabels.js +0 -54
- package/lib/blocks/blockRepositoryLabels.js.map +0 -1
- package/lib/blocks/blockRepositorySecrets.d.ts +0 -77
- package/lib/blocks/blockRepositorySecrets.d.ts.map +0 -1
- package/lib/blocks/blockRepositorySecrets.js +0 -18
- package/lib/blocks/blockRepositorySecrets.js.map +0 -1
- package/lib/blocks/blockRepositorySettings.d.ts +0 -72
- package/lib/blocks/blockRepositorySettings.d.ts.map +0 -1
- package/lib/blocks/blockRepositorySettings.js +0 -34
- package/lib/blocks/blockRepositorySettings.js.map +0 -1
- package/lib/blocks/blockSecurityDocs.d.ts +0 -72
- package/lib/blocks/blockSecurityDocs.d.ts.map +0 -1
- package/lib/blocks/blockSecurityDocs.js +0 -21
- package/lib/blocks/blockSecurityDocs.js.map +0 -1
- package/lib/blocks/blockSideEffects.d.ts +0 -74
- package/lib/blocks/blockSideEffects.d.ts.map +0 -1
- package/lib/blocks/blockSideEffects.js +0 -16
- package/lib/blocks/blockSideEffects.js.map +0 -1
- package/lib/blocks/blockTSDown.d.ts +0 -76
- package/lib/blocks/blockTSDown.d.ts.map +0 -1
- package/lib/blocks/blockTSDown.js +0 -108
- package/lib/blocks/blockTSDown.js.map +0 -1
- package/lib/blocks/blockTemplatedWith.d.ts +0 -72
- package/lib/blocks/blockTemplatedWith.d.ts.map +0 -1
- package/lib/blocks/blockTemplatedWith.js +0 -15
- package/lib/blocks/blockTemplatedWith.js.map +0 -1
- package/lib/blocks/blockTypeScript.d.ts +0 -184
- package/lib/blocks/blockTypeScript.d.ts.map +0 -1
- package/lib/blocks/blockTypeScript.js +0 -138
- package/lib/blocks/blockTypeScript.js.map +0 -1
- package/lib/blocks/blockVSCode.d.ts +0 -81
- package/lib/blocks/blockVSCode.d.ts.map +0 -1
- package/lib/blocks/blockVSCode.js +0 -61
- package/lib/blocks/blockVSCode.js.map +0 -1
- package/lib/blocks/blockVitest.d.ts +0 -89
- package/lib/blocks/blockVitest.d.ts.map +0 -1
- package/lib/blocks/blockVitest.js +0 -207
- package/lib/blocks/blockVitest.js.map +0 -1
- package/lib/blocks/blockWebExt.d.ts +0 -72
- package/lib/blocks/blockWebExt.d.ts.map +0 -1
- package/lib/blocks/blockWebExt.js +0 -97
- package/lib/blocks/blockWebExt.js.map +0 -1
- package/lib/blocks/eslint/blockESLintIntake.d.ts +0 -11
- package/lib/blocks/eslint/blockESLintIntake.d.ts.map +0 -1
- package/lib/blocks/eslint/blockESLintIntake.js +0 -86
- package/lib/blocks/eslint/blockESLintIntake.js.map +0 -1
- package/lib/blocks/eslint/blockESLintPluginIntake.d.ts +0 -7
- package/lib/blocks/eslint/blockESLintPluginIntake.d.ts.map +0 -1
- package/lib/blocks/eslint/blockESLintPluginIntake.js +0 -29
- package/lib/blocks/eslint/blockESLintPluginIntake.js.map +0 -1
- package/lib/blocks/eslint/getScriptFileExtension.d.ts +0 -8
- package/lib/blocks/eslint/getScriptFileExtension.d.ts.map +0 -1
- package/lib/blocks/eslint/getScriptFileExtension.js +0 -8
- package/lib/blocks/eslint/getScriptFileExtension.js.map +0 -1
- package/lib/blocks/eslint/mergeAllExtensions.d.ts +0 -17
- package/lib/blocks/eslint/mergeAllExtensions.d.ts.map +0 -1
- package/lib/blocks/eslint/mergeAllExtensions.js +0 -48
- package/lib/blocks/eslint/mergeAllExtensions.js.map +0 -1
- package/lib/blocks/eslint/schemas.d.ts +0 -112
- package/lib/blocks/eslint/schemas.d.ts.map +0 -1
- package/lib/blocks/eslint/schemas.js +0 -42
- package/lib/blocks/eslint/schemas.js.map +0 -1
- package/lib/blocks/files/createJobName.d.ts +0 -5
- package/lib/blocks/files/createJobName.d.ts.map +0 -1
- package/lib/blocks/files/createJobName.js +0 -8
- package/lib/blocks/files/createJobName.js.map +0 -1
- package/lib/blocks/files/createMultiWorkflowFile.d.ts +0 -24
- package/lib/blocks/files/createMultiWorkflowFile.d.ts.map +0 -1
- package/lib/blocks/files/createMultiWorkflowFile.js +0 -30
- package/lib/blocks/files/createMultiWorkflowFile.js.map +0 -1
- package/lib/blocks/files/createSoloWorkflowFile.d.ts +0 -65
- package/lib/blocks/files/createSoloWorkflowFile.d.ts.map +0 -1
- package/lib/blocks/files/createSoloWorkflowFile.js +0 -21
- package/lib/blocks/files/createSoloWorkflowFile.js.map +0 -1
- package/lib/blocks/files/formatIgnoreFile.d.ts +0 -5
- package/lib/blocks/files/formatIgnoreFile.d.ts.map +0 -1
- package/lib/blocks/files/formatIgnoreFile.js +0 -8
- package/lib/blocks/files/formatIgnoreFile.js.map +0 -1
- package/lib/blocks/files/formatWorkflowYaml.d.ts +0 -5
- package/lib/blocks/files/formatWorkflowYaml.d.ts.map +0 -1
- package/lib/blocks/files/formatWorkflowYaml.js +0 -9
- package/lib/blocks/files/formatWorkflowYaml.js.map +0 -1
- package/lib/blocks/files/formatYaml.d.ts +0 -5
- package/lib/blocks/files/formatYaml.d.ts.map +0 -1
- package/lib/blocks/files/formatYaml.js +0 -20
- package/lib/blocks/files/formatYaml.js.map +0 -1
- package/lib/blocks/files/removeUsesQuotes.d.ts +0 -5
- package/lib/blocks/files/removeUsesQuotes.d.ts.map +0 -1
- package/lib/blocks/files/removeUsesQuotes.js +0 -8
- package/lib/blocks/files/removeUsesQuotes.js.map +0 -1
- package/lib/blocks/getInstallationSuggestions.d.ts +0 -5
- package/lib/blocks/getInstallationSuggestions.d.ts.map +0 -1
- package/lib/blocks/getInstallationSuggestions.js +0 -13
- package/lib/blocks/getInstallationSuggestions.js.map +0 -1
- package/lib/blocks/index.d.ts +0 -3713
- package/lib/blocks/index.d.ts.map +0 -1
- package/lib/blocks/index.js +0 -106
- package/lib/blocks/index.js.map +0 -1
- package/lib/blocks/intake/intakeFile.d.ts +0 -6
- package/lib/blocks/intake/intakeFile.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFile.js +0 -13
- package/lib/blocks/intake/intakeFile.js.map +0 -1
- package/lib/blocks/intake/intakeFileAsJson.d.ts +0 -6
- package/lib/blocks/intake/intakeFileAsJson.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileAsJson.js +0 -15
- package/lib/blocks/intake/intakeFileAsJson.js.map +0 -1
- package/lib/blocks/intake/intakeFileAsYaml.d.ts +0 -6
- package/lib/blocks/intake/intakeFileAsYaml.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileAsYaml.js +0 -15
- package/lib/blocks/intake/intakeFileAsYaml.js.map +0 -1
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts +0 -6
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileDefineConfig.js +0 -24
- package/lib/blocks/intake/intakeFileDefineConfig.js.map +0 -1
- package/lib/blocks/intake/intakeFileExportObject.d.ts +0 -6
- package/lib/blocks/intake/intakeFileExportObject.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileExportObject.js +0 -24
- package/lib/blocks/intake/intakeFileExportObject.js.map +0 -1
- package/lib/blocks/options.fakes.d.ts +0 -26
- package/lib/blocks/options.fakes.d.ts.map +0 -1
- package/lib/blocks/options.fakes.js +0 -21
- package/lib/blocks/options.fakes.js.map +0 -1
- package/lib/blocks/outcomeLabels.d.ts +0 -15
- package/lib/blocks/outcomeLabels.d.ts.map +0 -1
- package/lib/blocks/outcomeLabels.js +0 -95
- package/lib/blocks/outcomeLabels.js.map +0 -1
- package/lib/blocks/phases.d.ts +0 -11
- package/lib/blocks/phases.d.ts.map +0 -1
- package/lib/blocks/phases.js +0 -12
- package/lib/blocks/phases.js.map +0 -1
- package/lib/constants.d.ts +0 -10
- package/lib/constants.d.ts.map +0 -1
- package/lib/constants.js +0 -9
- package/lib/constants.js.map +0 -1
- package/lib/data/contributions.d.ts +0 -5
- package/lib/data/contributions.d.ts.map +0 -1
- package/lib/data/contributions.js +0 -15
- package/lib/data/contributions.js.map +0 -1
- package/lib/data/packageData.d.ts +0 -10
- package/lib/data/packageData.d.ts.map +0 -1
- package/lib/data/packageData.js +0 -19
- package/lib/data/packageData.js.map +0 -1
- package/lib/index.d.ts +0 -294
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -63
- package/lib/index.js.map +0 -1
- package/lib/inputs/inputFromDirectory.d.ts +0 -8
- package/lib/inputs/inputFromDirectory.d.ts.map +0 -1
- package/lib/inputs/inputFromDirectory.js +0 -13
- package/lib/inputs/inputFromDirectory.js.map +0 -1
- package/lib/inputs/inputFromOctokit.d.ts +0 -9
- package/lib/inputs/inputFromOctokit.d.ts.map +0 -1
- package/lib/inputs/inputFromOctokit.js +0 -25
- package/lib/inputs/inputFromOctokit.js.map +0 -1
- package/lib/options/readAccess.d.ts +0 -6
- package/lib/options/readAccess.d.ts.map +0 -1
- package/lib/options/readAccess.js +0 -8
- package/lib/options/readAccess.js.map +0 -1
- package/lib/options/readAllContributors.d.ts +0 -7
- package/lib/options/readAllContributors.d.ts.map +0 -1
- package/lib/options/readAllContributors.js +0 -20
- package/lib/options/readAllContributors.js.map +0 -1
- package/lib/options/readAuthor.d.ts +0 -9
- package/lib/options/readAuthor.d.ts.map +0 -1
- package/lib/options/readAuthor.js +0 -8
- package/lib/options/readAuthor.js.map +0 -1
- package/lib/options/readBin.d.ts +0 -6
- package/lib/options/readBin.d.ts.map +0 -1
- package/lib/options/readBin.js +0 -10
- package/lib/options/readBin.js.map +0 -1
- package/lib/options/readDescription.d.ts +0 -6
- package/lib/options/readDescription.d.ts.map +0 -1
- package/lib/options/readDescription.js +0 -19
- package/lib/options/readDescription.js.map +0 -1
- package/lib/options/readDescriptionFromReadme.d.ts +0 -5
- package/lib/options/readDescriptionFromReadme.d.ts.map +0 -1
- package/lib/options/readDescriptionFromReadme.js +0 -15
- package/lib/options/readDescriptionFromReadme.js.map +0 -1
- package/lib/options/readDevelopmentDocumentation.d.ts +0 -6
- package/lib/options/readDevelopmentDocumentation.d.ts.map +0 -1
- package/lib/options/readDevelopmentDocumentation.js +0 -23
- package/lib/options/readDevelopmentDocumentation.js.map +0 -1
- package/lib/options/readDocumentation.d.ts +0 -6
- package/lib/options/readDocumentation.d.ts.map +0 -1
- package/lib/options/readDocumentation.js +0 -23
- package/lib/options/readDocumentation.js.map +0 -1
- package/lib/options/readEmailFromCodeOfConduct.d.ts +0 -6
- package/lib/options/readEmailFromCodeOfConduct.d.ts.map +0 -1
- package/lib/options/readEmailFromCodeOfConduct.js +0 -10
- package/lib/options/readEmailFromCodeOfConduct.js.map +0 -1
- package/lib/options/readEmailFromGit.d.ts +0 -6
- package/lib/options/readEmailFromGit.d.ts.map +0 -1
- package/lib/options/readEmailFromGit.js +0 -9
- package/lib/options/readEmailFromGit.js.map +0 -1
- package/lib/options/readEmailFromNpm.d.ts +0 -7
- package/lib/options/readEmailFromNpm.d.ts.map +0 -1
- package/lib/options/readEmailFromNpm.js +0 -8
- package/lib/options/readEmailFromNpm.js.map +0 -1
- package/lib/options/readEmails.d.ts +0 -9
- package/lib/options/readEmails.d.ts.map +0 -1
- package/lib/options/readEmails.js +0 -13
- package/lib/options/readEmails.js.map +0 -1
- package/lib/options/readEmoji.d.ts +0 -5
- package/lib/options/readEmoji.d.ts.map +0 -1
- package/lib/options/readEmoji.js +0 -8
- package/lib/options/readEmoji.js.map +0 -1
- package/lib/options/readExistingLabels.d.ts +0 -10
- package/lib/options/readExistingLabels.d.ts.map +0 -1
- package/lib/options/readExistingLabels.js +0 -23
- package/lib/options/readExistingLabels.js.map +0 -1
- package/lib/options/readFileAsJson.d.ts +0 -5
- package/lib/options/readFileAsJson.d.ts.map +0 -1
- package/lib/options/readFileAsJson.js +0 -13
- package/lib/options/readFileAsJson.js.map +0 -1
- package/lib/options/readFileSafe.d.ts +0 -5
- package/lib/options/readFileSafe.d.ts.map +0 -1
- package/lib/options/readFileSafe.js +0 -13
- package/lib/options/readFileSafe.js.map +0 -1
- package/lib/options/readFunding.d.ts +0 -6
- package/lib/options/readFunding.d.ts.map +0 -1
- package/lib/options/readFunding.js +0 -10
- package/lib/options/readFunding.js.map +0 -1
- package/lib/options/readGitDefaults.d.ts +0 -7
- package/lib/options/readGitDefaults.d.ts.map +0 -1
- package/lib/options/readGitDefaults.js +0 -11
- package/lib/options/readGitDefaults.js.map +0 -1
- package/lib/options/readGuide.d.ts +0 -9
- package/lib/options/readGuide.d.ts.map +0 -1
- package/lib/options/readGuide.js +0 -16
- package/lib/options/readGuide.js.map +0 -1
- package/lib/options/readKeywords.d.ts +0 -6
- package/lib/options/readKeywords.d.ts.map +0 -1
- package/lib/options/readKeywords.js +0 -9
- package/lib/options/readKeywords.js.map +0 -1
- package/lib/options/readLogo.d.ts +0 -10
- package/lib/options/readLogo.d.ts.map +0 -1
- package/lib/options/readLogo.js +0 -21
- package/lib/options/readLogo.js.map +0 -1
- package/lib/options/readLogoSizing.d.ts +0 -9
- package/lib/options/readLogoSizing.d.ts.map +0 -1
- package/lib/options/readLogoSizing.js +0 -31
- package/lib/options/readLogoSizing.js.map +0 -1
- package/lib/options/readNode.d.ts +0 -9
- package/lib/options/readNode.d.ts.map +0 -1
- package/lib/options/readNode.js +0 -14
- package/lib/options/readNode.js.map +0 -1
- package/lib/options/readNpmDefaults.d.ts +0 -6
- package/lib/options/readNpmDefaults.d.ts.map +0 -1
- package/lib/options/readNpmDefaults.js +0 -11
- package/lib/options/readNpmDefaults.js.map +0 -1
- package/lib/options/readOwner.d.ts +0 -8
- package/lib/options/readOwner.d.ts.map +0 -1
- package/lib/options/readOwner.js +0 -9
- package/lib/options/readOwner.js.map +0 -1
- package/lib/options/readPackageAuthor.d.ts +0 -10
- package/lib/options/readPackageAuthor.d.ts.map +0 -1
- package/lib/options/readPackageAuthor.js +0 -14
- package/lib/options/readPackageAuthor.js.map +0 -1
- package/lib/options/readPackageData.d.ts +0 -7
- package/lib/options/readPackageData.d.ts.map +0 -1
- package/lib/options/readPackageData.js +0 -10
- package/lib/options/readPackageData.js.map +0 -1
- package/lib/options/readPnpm.d.ts +0 -6
- package/lib/options/readPnpm.d.ts.map +0 -1
- package/lib/options/readPnpm.js +0 -9
- package/lib/options/readPnpm.js.map +0 -1
- package/lib/options/readReadmeAdditional.d.ts +0 -5
- package/lib/options/readReadmeAdditional.d.ts.map +0 -1
- package/lib/options/readReadmeAdditional.js +0 -19
- package/lib/options/readReadmeAdditional.js.map +0 -1
- package/lib/options/readReadmeExplainer.d.ts +0 -5
- package/lib/options/readReadmeExplainer.d.ts.map +0 -1
- package/lib/options/readReadmeExplainer.js +0 -27
- package/lib/options/readReadmeExplainer.js.map +0 -1
- package/lib/options/readReadmeFootnotes.d.ts +0 -6
- package/lib/options/readReadmeFootnotes.d.ts.map +0 -1
- package/lib/options/readReadmeFootnotes.js +0 -17
- package/lib/options/readReadmeFootnotes.js.map +0 -1
- package/lib/options/readReadmeUsage.d.ts +0 -5
- package/lib/options/readReadmeUsage.d.ts.map +0 -1
- package/lib/options/readReadmeUsage.js +0 -15
- package/lib/options/readReadmeUsage.js.map +0 -1
- package/lib/options/readRepository.d.ts +0 -10
- package/lib/options/readRepository.d.ts.map +0 -1
- package/lib/options/readRepository.js +0 -8
- package/lib/options/readRepository.js.map +0 -1
- package/lib/options/readRulesetId.d.ts +0 -6
- package/lib/options/readRulesetId.d.ts.map +0 -1
- package/lib/options/readRulesetId.js +0 -15
- package/lib/options/readRulesetId.js.map +0 -1
- package/lib/options/readTitle.d.ts +0 -5
- package/lib/options/readTitle.d.ts.map +0 -1
- package/lib/options/readTitle.js +0 -13
- package/lib/options/readTitle.js.map +0 -1
- package/lib/options/readWords.d.ts +0 -6
- package/lib/options/readWords.d.ts.map +0 -1
- package/lib/options/readWords.js +0 -10
- package/lib/options/readWords.js.map +0 -1
- package/lib/options/readWorkflowsVersions.d.ts +0 -7
- package/lib/options/readWorkflowsVersions.d.ts.map +0 -1
- package/lib/options/readWorkflowsVersions.js +0 -47
- package/lib/options/readWorkflowsVersions.js.map +0 -1
- package/lib/package.json.d.ts +0 -138
- package/lib/package.json.d.ts.map +0 -1
- package/lib/presets/common.d.ts +0 -170
- package/lib/presets/common.d.ts.map +0 -1
- package/lib/presets/common.js +0 -28
- package/lib/presets/common.js.map +0 -1
- package/lib/presets/everything.d.ts +0 -170
- package/lib/presets/everything.d.ts.map +0 -1
- package/lib/presets/everything.js +0 -58
- package/lib/presets/everything.js.map +0 -1
- package/lib/presets/index.d.ts +0 -507
- package/lib/presets/index.d.ts.map +0 -1
- package/lib/presets/index.js +0 -13
- package/lib/presets/index.js.map +0 -1
- package/lib/presets/minimal.d.ts +0 -170
- package/lib/presets/minimal.d.ts.map +0 -1
- package/lib/presets/minimal.js +0 -68
- package/lib/presets/minimal.js.map +0 -1
- package/lib/schemas.d.ts +0 -111
- package/lib/schemas.d.ts.map +0 -1
- package/lib/schemas.js +0 -29
- package/lib/schemas.js.map +0 -1
- package/lib/template.d.ts +0 -170
- package/lib/template.d.ts.map +0 -1
- package/lib/template.js +0 -40
- package/lib/template.js.map +0 -1
- package/lib/types.d.ts +0 -42
- package/lib/types.d.ts.map +0 -1
- package/lib/utils/htmlToTextSafe.d.ts +0 -5
- package/lib/utils/htmlToTextSafe.d.ts.map +0 -1
- package/lib/utils/htmlToTextSafe.js +0 -15
- package/lib/utils/htmlToTextSafe.js.map +0 -1
- package/lib/utils/resolveBin.d.ts +0 -5
- package/lib/utils/resolveBin.d.ts.map +0 -1
- package/lib/utils/resolveBin.js +0 -9
- package/lib/utils/resolveBin.js.map +0 -1
- package/lib/utils/swallowError.d.ts +0 -5
- package/lib/utils/swallowError.d.ts.map +0 -1
- package/lib/utils/swallowError.js +0 -8
- package/lib/utils/swallowError.js.map +0 -1
- package/lib/utils/swallowErrorAsync.d.ts +0 -5
- package/lib/utils/swallowErrorAsync.d.ts.map +0 -1
- package/lib/utils/swallowErrorAsync.js +0 -12
- package/lib/utils/swallowErrorAsync.js.map +0 -1
- package/lib/utils/trimPrecedingSlash.d.ts +0 -5
- package/lib/utils/trimPrecedingSlash.d.ts.map +0 -1
- package/lib/utils/trimPrecedingSlash.js +0 -8
- package/lib/utils/trimPrecedingSlash.js.map +0 -1
- package/lib/utils/tryCatch.d.ts +0 -5
- package/lib/utils/tryCatch.d.ts.map +0 -1
- package/lib/utils/tryCatch.js +0 -12
- package/lib/utils/tryCatch.js.map +0 -1
- /package/{lib/_virtual/_rolldown/runtime.js → dist/_virtual/_rolldown/runtime.mjs} +0 -0
- /package/{lib/types.js → dist/types.mjs} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockESLintPackageJson.js","names":[],"sources":["../../src/blocks/blockESLintPackageJson.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockESLint } from \"./blockESLint.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRemoveDependencies } from \"./blockRemoveDependencies.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\n\nexport const blockESLintPackageJson = base.createBlock({\n\tabout: {\n\t\tname: \"ESLint package.json Plugin\",\n\t},\n\tproduce() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockESLint({\n\t\t\t\t\textensions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\textends: [\n\t\t\t\t\t\t\t\t\"packageJson.configs.recommended\",\n\t\t\t\t\t\t\t\t\"packageJson.configs.stylistic\",\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tfiles: [\"package.json\"],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\timports: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tsource: \"eslint-plugin-package-json\",\n\t\t\t\t\t\t\tspecifier: \"packageJson\",\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\tscripts: {\n\t\t\t\t\t\t\t\"lint:package-json\": undefined,\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\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\".npmpackagejsonlintrc*\"],\n\t\t\t\t}),\n\t\t\t\tblockRemoveDependencies({\n\t\t\t\t\tdependencies: [\n\t\t\t\t\t\t\"npm-package-json-lint\",\n\t\t\t\t\t\t\"npm-package-json-lint-config-default\",\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"lint-package-json\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;AAOA,MAAa,yBAAyB,KAAK,YAAY;CACtD,OAAO,EACN,MAAM,6BACP;CACA,UAAU;EACT,OAAO,EACN,QAAQ,CACP,YAAY;GACX,YAAY,CACX;IACC,SAAS,CACR,mCACA,+BACD;IACA,OAAO,CAAC,cAAc;GACvB,CACD;GACA,SAAS,CACR;IACC,QAAQ;IACR,WAAW;GACZ,CACD;EACD,CAAC,GACD,iBAAiB,EAChB,YAAY,EACX,SAAS,EACR,qBAAqB,KAAA,EACtB,EACD,EACD,CAAC,CACF,EACD;CACD;CACA,aAAa;EACZ,OAAO,EACN,QAAQ;GACP,iBAAiB,EAChB,OAAO,CAAC,wBAAwB,EACjC,CAAC;GACD,wBAAwB,EACvB,cAAc,CACb,yBACA,sCACD,EACD,CAAC;GACD,qBAAqB,EACpB,WAAW,CAAC,mBAAmB,EAChC,CAAC;EACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockESLintPerfectionist.d.ts
|
|
2
|
-
declare const blockESLintPerfectionist: 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 { blockESLintPerfectionist };
|
|
72
|
-
//# sourceMappingURL=blockESLintPerfectionist.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockESLintPerfectionist.d.ts","names":[],"sources":["../../src/blocks/blockESLintPerfectionist.ts"],"mappings":";cAIa,kDAAwB"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { base } from "../base.js";
|
|
2
|
-
import { getScriptFileExtension } from "./eslint/getScriptFileExtension.js";
|
|
3
|
-
import { blockESLint } from "./blockESLint.js";
|
|
4
|
-
//#region src/blocks/blockESLintPerfectionist.ts
|
|
5
|
-
const blockESLintPerfectionist = base.createBlock({
|
|
6
|
-
about: { name: "ESLint Perfectionist Plugin" },
|
|
7
|
-
produce({ options }) {
|
|
8
|
-
return { addons: [blockESLint({
|
|
9
|
-
extensions: [{
|
|
10
|
-
extends: [`perfectionist.configs["recommended-natural"]`],
|
|
11
|
-
files: [getScriptFileExtension(options)],
|
|
12
|
-
settings: { perfectionist: {
|
|
13
|
-
partitionByComment: true,
|
|
14
|
-
type: "natural"
|
|
15
|
-
} }
|
|
16
|
-
}],
|
|
17
|
-
imports: [{
|
|
18
|
-
source: "eslint-plugin-perfectionist",
|
|
19
|
-
specifier: "perfectionist"
|
|
20
|
-
}]
|
|
21
|
-
})] };
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
//#endregion
|
|
25
|
-
export { blockESLintPerfectionist };
|
|
26
|
-
|
|
27
|
-
//# sourceMappingURL=blockESLintPerfectionist.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockESLintPerfectionist.js","names":[],"sources":["../../src/blocks/blockESLintPerfectionist.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockESLint } from \"./blockESLint.js\";\nimport { getScriptFileExtension } from \"./eslint/getScriptFileExtension.js\";\n\nexport const blockESLintPerfectionist = base.createBlock({\n\tabout: {\n\t\tname: \"ESLint Perfectionist Plugin\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockESLint({\n\t\t\t\t\textensions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\textends: [`perfectionist.configs[\"recommended-natural\"]`],\n\t\t\t\t\t\t\tfiles: [getScriptFileExtension(options)],\n\t\t\t\t\t\t\tsettings: {\n\t\t\t\t\t\t\t\tperfectionist: {\n\t\t\t\t\t\t\t\t\tpartitionByComment: true,\n\t\t\t\t\t\t\t\t\ttype: \"natural\",\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\timports: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tsource: \"eslint-plugin-perfectionist\",\n\t\t\t\t\t\t\tspecifier: \"perfectionist\",\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":";;;;AAIA,MAAa,2BAA2B,KAAK,YAAY;CACxD,OAAO,EACN,MAAM,8BACP;CACA,QAAQ,EAAE,WAAW;EACpB,OAAO,EACN,QAAQ,CACP,YAAY;GACX,YAAY,CACX;IACC,SAAS,CAAC,8CAA8C;IACxD,OAAO,CAAC,uBAAuB,OAAO,CAAC;IACvC,UAAU,EACT,eAAe;KACd,oBAAoB;KACpB,MAAM;IACP,EACD;GACD,CACD;GACA,SAAS,CACR;IACC,QAAQ;IACR,WAAW;GACZ,CACD;EACD,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockESLintPlugin.d.ts
|
|
2
|
-
declare const blockESLintPlugin: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
-
configEmoji?: [string, string][] | undefined;
|
|
4
|
-
}, {
|
|
5
|
-
access: "public" | "restricted";
|
|
6
|
-
description: string;
|
|
7
|
-
directory: string;
|
|
8
|
-
documentation: {
|
|
9
|
-
readme: {
|
|
10
|
-
additional?: string | undefined;
|
|
11
|
-
explainer?: string | undefined;
|
|
12
|
-
footnotes?: string | undefined;
|
|
13
|
-
usage?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
development?: string | undefined;
|
|
16
|
-
};
|
|
17
|
-
email: {
|
|
18
|
-
github: string;
|
|
19
|
-
npm: string;
|
|
20
|
-
};
|
|
21
|
-
title: string;
|
|
22
|
-
node: {
|
|
23
|
-
minimum: string;
|
|
24
|
-
pinned?: string | undefined;
|
|
25
|
-
};
|
|
26
|
-
owner: string;
|
|
27
|
-
repository: string;
|
|
28
|
-
type?: "commonjs" | "module" | undefined;
|
|
29
|
-
author?: string | undefined;
|
|
30
|
-
bin?: string | Record<string, string> | undefined;
|
|
31
|
-
contributors?: {
|
|
32
|
-
avatar_url: string;
|
|
33
|
-
contributions: string[];
|
|
34
|
-
login: string;
|
|
35
|
-
name: string;
|
|
36
|
-
profile: string;
|
|
37
|
-
}[] | undefined;
|
|
38
|
-
emoji?: string | undefined;
|
|
39
|
-
existingLabels?: {
|
|
40
|
-
name: string;
|
|
41
|
-
description: string;
|
|
42
|
-
color: string;
|
|
43
|
-
}[] | undefined;
|
|
44
|
-
funding?: string | undefined;
|
|
45
|
-
guide?: {
|
|
46
|
-
href: string;
|
|
47
|
-
title: string;
|
|
48
|
-
} | undefined;
|
|
49
|
-
keywords?: string[] | undefined;
|
|
50
|
-
logo?: {
|
|
51
|
-
alt: string;
|
|
52
|
-
src: string;
|
|
53
|
-
height?: number | undefined;
|
|
54
|
-
width?: number | undefined;
|
|
55
|
-
} | undefined;
|
|
56
|
-
packageData?: {
|
|
57
|
-
dependencies?: Record<string, string> | undefined;
|
|
58
|
-
devDependencies?: Record<string, string> | undefined;
|
|
59
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
60
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
61
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
pnpm?: string | undefined;
|
|
64
|
-
rulesetId?: string | undefined;
|
|
65
|
-
version?: string | undefined;
|
|
66
|
-
words?: string[] | undefined;
|
|
67
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
68
|
-
pinned?: boolean | undefined;
|
|
69
|
-
hash?: string | undefined;
|
|
70
|
-
}>> | undefined;
|
|
71
|
-
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockESLintPlugin };
|
|
74
|
-
//# sourceMappingURL=blockESLintPlugin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockESLintPlugin.d.ts","names":[],"sources":["../../src/blocks/blockESLintPlugin.ts"],"mappings":";cAca,2CAAiB"}
|
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
import { base } from "../base.js";
|
|
2
|
-
import { intakeFile } from "./intake/intakeFile.js";
|
|
3
|
-
import { CommandPhase } from "./phases.js";
|
|
4
|
-
import { blockGitHubActionsCI } from "./blockGitHubActionsCI.js";
|
|
5
|
-
import { blockPackageJson } from "./blockPackageJson.js";
|
|
6
|
-
import { blockDevelopmentDocs } from "./blockDevelopmentDocs.js";
|
|
7
|
-
import { blockCSpell } from "./blockCSpell.js";
|
|
8
|
-
import { getScriptFileExtension } from "./eslint/getScriptFileExtension.js";
|
|
9
|
-
import { zConfigEmoji } from "./eslint/schemas.js";
|
|
10
|
-
import { blockESLint } from "./blockESLint.js";
|
|
11
|
-
import { blockREADME } from "./blockREADME.js";
|
|
12
|
-
import { blockVitest } from "./blockVitest.js";
|
|
13
|
-
import { blockESLintPluginIntake } from "./eslint/blockESLintPluginIntake.js";
|
|
14
|
-
//#region src/blocks/blockESLintPlugin.ts
|
|
15
|
-
const blockESLintPlugin = base.createBlock({
|
|
16
|
-
about: { name: "ESLint Plugin" },
|
|
17
|
-
addons: { configEmoji: zConfigEmoji },
|
|
18
|
-
intake({ files }) {
|
|
19
|
-
const docGeneratorConfigRaw = intakeFile(files, [[".eslint-doc-generatorrc.js", ".eslint-doc-generatorrc.mjs"]]);
|
|
20
|
-
return docGeneratorConfigRaw ? blockESLintPluginIntake(docGeneratorConfigRaw[0]) : void 0;
|
|
21
|
-
},
|
|
22
|
-
produce({ addons, options }) {
|
|
23
|
-
const { configEmoji } = addons;
|
|
24
|
-
const configFileName = `.eslint-doc-generatorrc.${options.type === "commonjs" ? "mjs" : "js"}`;
|
|
25
|
-
const pluginName = options.repository.replace(/^eslint-plugin-/, "").replaceAll(/-\w/g, (matched) => matched[1].toUpperCase());
|
|
26
|
-
return {
|
|
27
|
-
addons: [
|
|
28
|
-
blockCSpell({ words: ["eslint-doc-generatorrc"] }),
|
|
29
|
-
blockDevelopmentDocs({ sections: {
|
|
30
|
-
Building: { innerSections: [{
|
|
31
|
-
contents: `
|
|
32
|
-
Run [\`eslint-doc-generator\`](https://github.com/bmish/eslint-doc-generator) to generate Markdown files documenting rules.
|
|
33
|
-
|
|
34
|
-
\`\`\`shell
|
|
35
|
-
pnpm build:docs
|
|
36
|
-
\`\`\`
|
|
37
|
-
`,
|
|
38
|
-
heading: "Building Docs"
|
|
39
|
-
}] },
|
|
40
|
-
Linting: { contents: { items: [`- \`pnpm lint:docs\` ([eslint-doc-generator](https://github.com/bmish/eslint-doc-generator)): Generates and validates documentation for ESLint rules`] } }
|
|
41
|
-
} }),
|
|
42
|
-
blockESLint({
|
|
43
|
-
extensions: [{
|
|
44
|
-
extends: ["eslintPlugin.configs[\"flat/recommended\"]"],
|
|
45
|
-
files: [getScriptFileExtension(options)]
|
|
46
|
-
}],
|
|
47
|
-
ignores: [configFileName, "docs/rules/*/*.ts"],
|
|
48
|
-
imports: [{
|
|
49
|
-
source: {
|
|
50
|
-
packageName: "eslint-plugin-eslint-plugin",
|
|
51
|
-
version: "6.4.0"
|
|
52
|
-
},
|
|
53
|
-
specifier: "eslintPlugin"
|
|
54
|
-
}]
|
|
55
|
-
}),
|
|
56
|
-
blockGitHubActionsCI({ jobs: [{
|
|
57
|
-
name: "Lint Docs",
|
|
58
|
-
steps: [{ run: "pnpm build || exit 0" }, { run: "pnpm lint:docs" }]
|
|
59
|
-
}] }),
|
|
60
|
-
blockREADME({ defaultUsage: [`Add this plugin to the list of plugins in your [ESLint configuration file](https://eslint.org/docs/latest/use/configure/configuration-files):
|
|
61
|
-
|
|
62
|
-
\`\`\`shell
|
|
63
|
-
npm i ${options.repository} -D
|
|
64
|
-
\`\`\`
|
|
65
|
-
|
|
66
|
-
\`\`\`ts
|
|
67
|
-
import ${pluginName} from "${options.repository}";
|
|
68
|
-
|
|
69
|
-
export default [
|
|
70
|
-
// (other plugins)
|
|
71
|
-
${pluginName}.configs.recommended, // 👈
|
|
72
|
-
];
|
|
73
|
-
\`\`\`
|
|
74
|
-
|
|
75
|
-
### Rules
|
|
76
|
-
|
|
77
|
-
These are all set to \`"error"\` in the recommended config:
|
|
78
|
-
|
|
79
|
-
<!-- begin auto-generated rules list --><!-- end auto-generated rules list -->`] }),
|
|
80
|
-
blockPackageJson({ properties: {
|
|
81
|
-
dependencies: { "@typescript-eslint/utils": "^8.29.0" },
|
|
82
|
-
devDependencies: {
|
|
83
|
-
"@typescript-eslint/rule-tester": "8.29.1",
|
|
84
|
-
"eslint-doc-generator": "2.1.0",
|
|
85
|
-
"eslint-plugin-eslint-plugin": "6.4.0"
|
|
86
|
-
},
|
|
87
|
-
scripts: {
|
|
88
|
-
"build:docs": "pnpm build --no-dts && eslint-doc-generator",
|
|
89
|
-
"lint:docs": "eslint-doc-generator --check"
|
|
90
|
-
}
|
|
91
|
-
} }),
|
|
92
|
-
blockVitest({ coverage: { exclude: ["src/index.ts", "src/rules/index.ts"] } })
|
|
93
|
-
],
|
|
94
|
-
files: { [configFileName]: `import prettier from "prettier";
|
|
95
|
-
|
|
96
|
-
/** @type {import('eslint-doc-generator').GenerateOptions} */
|
|
97
|
-
const config = {
|
|
98
|
-
${configEmoji ? `configEmoji: ${JSON.stringify(configEmoji)},\n\t` : ""}postprocess: async (content, path) =>
|
|
99
|
-
prettier.format(content, {
|
|
100
|
-
...(await prettier.resolveConfig(path)),
|
|
101
|
-
parser: "markdown",
|
|
102
|
-
}),
|
|
103
|
-
ruleDocTitleFormat: "name",
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
export default config;
|
|
107
|
-
` },
|
|
108
|
-
scripts: [{
|
|
109
|
-
commands: ["pnpm build"],
|
|
110
|
-
phase: CommandPhase.Build
|
|
111
|
-
}, {
|
|
112
|
-
commands: ["pnpm eslint-doc-generator --init-rule-docs"],
|
|
113
|
-
phase: CommandPhase.Process
|
|
114
|
-
}]
|
|
115
|
-
};
|
|
116
|
-
},
|
|
117
|
-
setup({ options }) {
|
|
118
|
-
const pluginName = options.repository.replace("eslint-plugin-", "");
|
|
119
|
-
return { files: { src: {
|
|
120
|
-
"index.ts": `import Module from "node:module";
|
|
121
|
-
|
|
122
|
-
import { rules } from "./rules/index.js";
|
|
123
|
-
|
|
124
|
-
const require = Module.createRequire(import.meta.url);
|
|
125
|
-
|
|
126
|
-
const { name, version } =
|
|
127
|
-
// \`import\`ing here would bypass the TSConfig's \`"rootDir": "src"\`
|
|
128
|
-
require("../package.json") as typeof import("../package.json");
|
|
129
|
-
|
|
130
|
-
export const plugin = {
|
|
131
|
-
configs: {
|
|
132
|
-
get recommended() {
|
|
133
|
-
return recommended;
|
|
134
|
-
},
|
|
135
|
-
},
|
|
136
|
-
meta: { name, version },
|
|
137
|
-
rules,
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
const recommended = {
|
|
141
|
-
plugins: {
|
|
142
|
-
"${pluginName}": plugin,
|
|
143
|
-
},
|
|
144
|
-
rules: Object.fromEntries(
|
|
145
|
-
Object.keys(rules).map((rule) => [\`${pluginName}/\${rule}\`, "error"]),
|
|
146
|
-
),
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
export { rules };
|
|
150
|
-
|
|
151
|
-
export default plugin;
|
|
152
|
-
`,
|
|
153
|
-
rules: {
|
|
154
|
-
"enums.test.ts": `import { rule } from "./enums.js";
|
|
155
|
-
import { ruleTester } from "./ruleTester.js";
|
|
156
|
-
|
|
157
|
-
ruleTester.run("enums", rule, {
|
|
158
|
-
invalid: [
|
|
159
|
-
{
|
|
160
|
-
code: \`enum Values {}\`,
|
|
161
|
-
errors: [
|
|
162
|
-
{
|
|
163
|
-
column: 1,
|
|
164
|
-
endColumn: 15,
|
|
165
|
-
endLine: 1,
|
|
166
|
-
line: 1,
|
|
167
|
-
messageId: "enum",
|
|
168
|
-
},
|
|
169
|
-
],
|
|
170
|
-
},
|
|
171
|
-
],
|
|
172
|
-
valid: [\`const Values = {};\`, \`const Values = {} as const;\`],
|
|
173
|
-
});
|
|
174
|
-
`,
|
|
175
|
-
"enums.ts": `import { createRule } from "../utils.js";
|
|
176
|
-
|
|
177
|
-
export const rule = createRule({
|
|
178
|
-
create(context) {
|
|
179
|
-
return {
|
|
180
|
-
TSEnumDeclaration(node) {
|
|
181
|
-
context.report({
|
|
182
|
-
messageId: "enum",
|
|
183
|
-
node,
|
|
184
|
-
});
|
|
185
|
-
},
|
|
186
|
-
};
|
|
187
|
-
},
|
|
188
|
-
defaultOptions: [],
|
|
189
|
-
meta: {
|
|
190
|
-
docs: {
|
|
191
|
-
description: "Avoid using TypeScript's enums.",
|
|
192
|
-
},
|
|
193
|
-
messages: {
|
|
194
|
-
enum: "This enum will not be allowed under TypeScript's --erasableSyntaxOnly.",
|
|
195
|
-
},
|
|
196
|
-
schema: [],
|
|
197
|
-
type: "problem",
|
|
198
|
-
},
|
|
199
|
-
name: "enums",
|
|
200
|
-
});
|
|
201
|
-
`,
|
|
202
|
-
"index.ts": `import { rule as enums } from "./enums.js";
|
|
203
|
-
|
|
204
|
-
export const rules = {
|
|
205
|
-
enums,
|
|
206
|
-
};
|
|
207
|
-
`,
|
|
208
|
-
"ruleTester.ts": `import { RuleTester } from "@typescript-eslint/rule-tester";
|
|
209
|
-
import * as vitest from "vitest";
|
|
210
|
-
|
|
211
|
-
RuleTester.afterAll = vitest.afterAll;
|
|
212
|
-
RuleTester.it = vitest.it;
|
|
213
|
-
RuleTester.itOnly = vitest.it.only;
|
|
214
|
-
RuleTester.describe = vitest.describe;
|
|
215
|
-
|
|
216
|
-
export const ruleTester = new RuleTester();
|
|
217
|
-
`
|
|
218
|
-
},
|
|
219
|
-
"utils.ts": `import { ESLintUtils } from "@typescript-eslint/utils";
|
|
220
|
-
|
|
221
|
-
export const createRule = ESLintUtils.RuleCreator(
|
|
222
|
-
(name) =>
|
|
223
|
-
\`https://github.com/${options.owner}/${options.repository}/blob/main/docs/rules/\${name}.md\`,
|
|
224
|
-
);
|
|
225
|
-
`
|
|
226
|
-
} } };
|
|
227
|
-
}
|
|
228
|
-
});
|
|
229
|
-
//#endregion
|
|
230
|
-
export { blockESLintPlugin };
|
|
231
|
-
|
|
232
|
-
//# sourceMappingURL=blockESLintPlugin.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockESLintPlugin.js","names":[],"sources":["../../src/blocks/blockESLintPlugin.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockCSpell } from \"./blockCSpell.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockESLint } from \"./blockESLint.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockREADME } from \"./blockREADME.js\";\nimport { blockVitest } from \"./blockVitest.js\";\nimport { blockESLintPluginIntake } from \"./eslint/blockESLintPluginIntake.js\";\nimport { getScriptFileExtension } from \"./eslint/getScriptFileExtension.js\";\nimport { zConfigEmoji } from \"./eslint/schemas.js\";\nimport { intakeFile } from \"./intake/intakeFile.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nexport const blockESLintPlugin = base.createBlock({\n\tabout: {\n\t\tname: \"ESLint Plugin\",\n\t},\n\taddons: {\n\t\tconfigEmoji: zConfigEmoji,\n\t},\n\tintake({ files }) {\n\t\tconst docGeneratorConfigRaw = intakeFile(files, [\n\t\t\t[\".eslint-doc-generatorrc.js\", \".eslint-doc-generatorrc.mjs\"],\n\t\t]);\n\n\t\treturn docGeneratorConfigRaw\n\t\t\t? blockESLintPluginIntake(docGeneratorConfigRaw[0])\n\t\t\t: undefined;\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { configEmoji } = addons;\n\t\tconst configFileName = `.eslint-doc-generatorrc.${options.type === \"commonjs\" ? \"mjs\" : \"js\"}`;\n\t\tconst pluginName = options.repository\n\t\t\t.replace(/^eslint-plugin-/, \"\")\n\t\t\t.replaceAll(/-\\w/g, (matched) => matched[1].toUpperCase());\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockCSpell({\n\t\t\t\t\twords: [\"eslint-doc-generatorrc\"],\n\t\t\t\t}),\n\t\t\t\tblockDevelopmentDocs({\n\t\t\t\t\tsections: {\n\t\t\t\t\t\tBuilding: {\n\t\t\t\t\t\t\tinnerSections: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tcontents: `\nRun [\\`eslint-doc-generator\\`](https://github.com/bmish/eslint-doc-generator) to generate Markdown files documenting rules.\n\n\\`\\`\\`shell\npnpm build:docs\n\\`\\`\\`\n\t\t`,\n\t\t\t\t\t\t\t\t\theading: \"Building Docs\",\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\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:docs\\` ([eslint-doc-generator](https://github.com/bmish/eslint-doc-generator)): Generates and validates documentation for ESLint rules`,\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\tblockESLint({\n\t\t\t\t\textensions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\textends: ['eslintPlugin.configs[\"flat/recommended\"]'],\n\t\t\t\t\t\t\tfiles: [getScriptFileExtension(options)],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\tignores: [configFileName, \"docs/rules/*/*.ts\"],\n\t\t\t\t\timports: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tsource: {\n\t\t\t\t\t\t\t\tpackageName: \"eslint-plugin-eslint-plugin\",\n\t\t\t\t\t\t\t\tversion: \"6.4.0\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tspecifier: \"eslintPlugin\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockGitHubActionsCI({\n\t\t\t\t\tjobs: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Lint Docs\",\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t{ run: \"pnpm build || exit 0\" },\n\t\t\t\t\t\t\t\t{ run: \"pnpm lint:docs\" },\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\tblockREADME({\n\t\t\t\t\tdefaultUsage: [\n\t\t\t\t\t\t`Add this plugin to the list of plugins in your [ESLint configuration file](https://eslint.org/docs/latest/use/configure/configuration-files):\n\n\\`\\`\\`shell\nnpm i ${options.repository} -D\n\\`\\`\\`\n\n\\`\\`\\`ts\nimport ${pluginName} from \"${options.repository}\";\n\nexport default [\n\t// (other plugins)\n\t${pluginName}.configs.recommended, // 👈\n];\n\\`\\`\\`\n\n### Rules\n\nThese are all set to \\`\"error\"\\` in the recommended config:\n\n<!-- begin auto-generated rules list --><!-- end auto-generated rules list -->`,\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\tdependencies: {\n\t\t\t\t\t\t\t\"@typescript-eslint/utils\": \"^8.29.0\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdevDependencies: {\n\t\t\t\t\t\t\t\"@typescript-eslint/rule-tester\": \"8.29.1\",\n\t\t\t\t\t\t\t\"eslint-doc-generator\": \"2.1.0\",\n\t\t\t\t\t\t\t\"eslint-plugin-eslint-plugin\": \"6.4.0\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\t\"build:docs\": \"pnpm build --no-dts && eslint-doc-generator\",\n\t\t\t\t\t\t\t\"lint:docs\": \"eslint-doc-generator --check\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockVitest({\n\t\t\t\t\tcoverage: {\n\t\t\t\t\t\texclude: [\"src/index.ts\", \"src/rules/index.ts\"],\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t[configFileName]: `import prettier from \"prettier\";\n\n/** @type {import('eslint-doc-generator').GenerateOptions} */\nconst config = {\n\t${configEmoji ? `configEmoji: ${JSON.stringify(configEmoji)},\\n\\t` : \"\"}postprocess: async (content, path) =>\n\t\tprettier.format(content, {\n\t\t\t...(await prettier.resolveConfig(path)),\n\t\t\tparser: \"markdown\",\n\t\t}),\n\truleDocTitleFormat: \"name\",\n};\n\nexport default config;\n`,\n\t\t\t},\n\t\t\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [\"pnpm build\"],\n\t\t\t\t\tphase: CommandPhase.Build,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tcommands: [\"pnpm eslint-doc-generator --init-rule-docs\"],\n\t\t\t\t\tphase: CommandPhase.Process,\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n\tsetup({ options }) {\n\t\tconst pluginName = options.repository.replace(\"eslint-plugin-\", \"\");\n\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\tsrc: {\n\t\t\t\t\t\"index.ts\": `import Module from \"node:module\";\n\nimport { rules } from \"./rules/index.js\";\n\nconst require = Module.createRequire(import.meta.url);\n\nconst { name, version } =\n\t// \\`import\\`ing here would bypass the TSConfig's \\`\"rootDir\": \"src\"\\`\n\trequire(\"../package.json\") as typeof import(\"../package.json\");\n\nexport const plugin = {\n\tconfigs: {\n\t\tget recommended() {\n\t\t\treturn recommended;\n\t\t},\n\t},\n\tmeta: { name, version },\n\trules,\n};\n\nconst recommended = {\n\tplugins: {\n\t\t\"${pluginName}\": plugin,\n\t},\n\trules: Object.fromEntries(\n\t\tObject.keys(rules).map((rule) => [\\`${pluginName}/\\${rule}\\`, \"error\"]),\n\t),\n};\n\nexport { rules };\n\nexport default plugin;\n`,\n\t\t\t\t\trules: {\n\t\t\t\t\t\t\"enums.test.ts\": `import { rule } from \"./enums.js\";\nimport { ruleTester } from \"./ruleTester.js\";\n\nruleTester.run(\"enums\", rule, {\n\tinvalid: [\n\t\t{\n\t\t\tcode: \\`enum Values {}\\`,\n\t\t\terrors: [\n\t\t\t\t{\n\t\t\t\t\tcolumn: 1,\n\t\t\t\t\tendColumn: 15,\n\t\t\t\t\tendLine: 1,\n\t\t\t\t\tline: 1,\n\t\t\t\t\tmessageId: \"enum\",\n\t\t\t\t},\n\t\t\t],\n\t\t},\n\t],\n\tvalid: [\\`const Values = {};\\`, \\`const Values = {} as const;\\`],\n});\n`,\n\t\t\t\t\t\t\"enums.ts\": `import { createRule } from \"../utils.js\";\n\nexport const rule = createRule({\n\tcreate(context) {\n\t\treturn {\n\t\t\tTSEnumDeclaration(node) {\n\t\t\t\tcontext.report({\n\t\t\t\t\tmessageId: \"enum\",\n\t\t\t\t\tnode,\n\t\t\t\t});\n\t\t\t},\n\t\t};\n\t},\n\tdefaultOptions: [],\n\tmeta: {\n\t\tdocs: {\n\t\t\tdescription: \"Avoid using TypeScript's enums.\",\n\t\t},\n\t\tmessages: {\n\t\t\tenum: \"This enum will not be allowed under TypeScript's --erasableSyntaxOnly.\",\n\t\t},\n\t\tschema: [],\n\t\ttype: \"problem\",\n\t},\n\tname: \"enums\",\n});\n`,\n\t\t\t\t\t\t\"index.ts\": `import { rule as enums } from \"./enums.js\";\n\nexport const rules = {\n\tenums,\n};\n`,\n\t\t\t\t\t\t\"ruleTester.ts\": `import { RuleTester } from \"@typescript-eslint/rule-tester\";\nimport * as vitest from \"vitest\";\n\nRuleTester.afterAll = vitest.afterAll;\nRuleTester.it = vitest.it;\nRuleTester.itOnly = vitest.it.only;\nRuleTester.describe = vitest.describe;\n\nexport const ruleTester = new RuleTester();\n`,\n\t\t\t\t\t},\n\t\t\t\t\t\"utils.ts\": `import { ESLintUtils } from \"@typescript-eslint/utils\";\n\nexport const createRule = ESLintUtils.RuleCreator(\n\t(name) =>\n\t\t\\`https://github.com/${options.owner}/${options.repository}/blob/main/docs/rules/\\${name}.md\\`,\n);\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;;;;;AAcA,MAAa,oBAAoB,KAAK,YAAY;CACjD,OAAO,EACN,MAAM,gBACP;CACA,QAAQ,EACP,aAAa,aACd;CACA,OAAO,EAAE,SAAS;EACjB,MAAM,wBAAwB,WAAW,OAAO,CAC/C,CAAC,8BAA8B,6BAA6B,CAC7D,CAAC;EAED,OAAO,wBACJ,wBAAwB,sBAAsB,EAAE,IAChD,KAAA;CACJ;CACA,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,gBAAgB;EACxB,MAAM,iBAAiB,2BAA2B,QAAQ,SAAS,aAAa,QAAQ;EACxF,MAAM,aAAa,QAAQ,WACzB,QAAQ,mBAAmB,EAAE,CAAC,CAC9B,WAAW,SAAS,YAAY,QAAQ,EAAE,CAAC,YAAY,CAAC;EAE1D,OAAO;GACN,QAAQ;IACP,YAAY,EACX,OAAO,CAAC,wBAAwB,EACjC,CAAC;IACD,qBAAqB,EACpB,UAAU;KACT,UAAU,EACT,eAAe,CACd;MACC,UAAU;;;;;;;MAOV,SAAS;KACV,CACD,EACD;KACA,SAAS,EACR,UAAU,EACT,OAAO,CACN,sJACD,EACD,EACD;IACD,EACD,CAAC;IACD,YAAY;KACX,YAAY,CACX;MACC,SAAS,CAAC,4CAA0C;MACpD,OAAO,CAAC,uBAAuB,OAAO,CAAC;KACxC,CACD;KACA,SAAS,CAAC,gBAAgB,mBAAmB;KAC7C,SAAS,CACR;MACC,QAAQ;OACP,aAAa;OACb,SAAS;MACV;MACA,WAAW;KACZ,CACD;IACD,CAAC;IACD,qBAAqB,EACpB,MAAM,CACL;KACC,MAAM;KACN,OAAO,CACN,EAAE,KAAK,uBAAuB,GAC9B,EAAE,KAAK,iBAAiB,CACzB;IACD,CACD,EACD,CAAC;IACD,YAAY,EACX,cAAc,CACb;;;QAGE,QAAQ,WAAW;;;;SAIlB,WAAW,SAAS,QAAQ,WAAW;;;;GAI7C,WAAW;;;;;;;;+EAST,EACD,CAAC;IACD,iBAAiB,EAChB,YAAY;KACX,cAAc,EACb,4BAA4B,UAC7B;KACA,iBAAiB;MAChB,kCAAkC;MAClC,wBAAwB;MACxB,+BAA+B;KAChC;KACA,SAAS;MACR,cAAc;MACd,aAAa;KACd;IACD,EACD,CAAC;IACD,YAAY,EACX,UAAU,EACT,SAAS,CAAC,gBAAgB,oBAAoB,EAC/C,EACD,CAAC;GACF;GACA,OAAO,GACL,iBAAiB;;;;GAInB,cAAc,gBAAgB,KAAK,UAAU,WAAW,EAAE,SAAS,GAAG;;;;;;;;;EAUtE;GACA,SAAS,CACR;IACC,UAAU,CAAC,YAAY;IACvB,OAAO,aAAa;GACrB,GACA;IACC,UAAU,CAAC,4CAA4C;IACvD,OAAO,aAAa;GACrB,CACD;EACD;CACD;CACA,MAAM,EAAE,WAAW;EAClB,MAAM,aAAa,QAAQ,WAAW,QAAQ,kBAAkB,EAAE;EAElE,OAAO,EACN,OAAO,EACN,KAAK;GACJ,YAAY;;;;;;;;;;;;;;;;;;;;;;KAsBZ,WAAW;;;wCAGwB,WAAW;;;;;;;;GAQ9C,OAAO;IACN,iBAAiB;;;;;;;;;;;;;;;;;;;;;IAqBjB,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2BZ,YAAY;;;;;;IAMZ,iBAAiB;;;;;;;;;;GAUlB;GACA,YAAY;;;;yBAIQ,QAAQ,MAAM,GAAG,QAAQ,WAAW;;;EAGzD,EACD,EACD;CACD;AACD,CAAC"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockESLintRegexp.d.ts
|
|
2
|
-
declare const blockESLintRegexp: 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 { blockESLintRegexp };
|
|
72
|
-
//# sourceMappingURL=blockESLintRegexp.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockESLintRegexp.d.ts","names":[],"sources":["../../src/blocks/blockESLintRegexp.ts"],"mappings":";cAIa,2CAAiB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { base } from "../base.js";
|
|
2
|
-
import { getScriptFileExtension } from "./eslint/getScriptFileExtension.js";
|
|
3
|
-
import { blockESLint } from "./blockESLint.js";
|
|
4
|
-
//#region src/blocks/blockESLintRegexp.ts
|
|
5
|
-
const blockESLintRegexp = base.createBlock({
|
|
6
|
-
about: { name: "ESLint Regexp Plugin" },
|
|
7
|
-
produce({ options }) {
|
|
8
|
-
return { addons: [blockESLint({
|
|
9
|
-
extensions: [{
|
|
10
|
-
extends: [`regexp.configs["flat/recommended"]`],
|
|
11
|
-
files: [getScriptFileExtension(options)]
|
|
12
|
-
}],
|
|
13
|
-
imports: [{
|
|
14
|
-
source: "eslint-plugin-regexp",
|
|
15
|
-
specifier: "* as regexp"
|
|
16
|
-
}]
|
|
17
|
-
})] };
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
//#endregion
|
|
21
|
-
export { blockESLintRegexp };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=blockESLintRegexp.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockESLintRegexp.js","names":[],"sources":["../../src/blocks/blockESLintRegexp.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockESLint } from \"./blockESLint.js\";\nimport { getScriptFileExtension } from \"./eslint/getScriptFileExtension.js\";\n\nexport const blockESLintRegexp = base.createBlock({\n\tabout: {\n\t\tname: \"ESLint Regexp Plugin\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockESLint({\n\t\t\t\t\textensions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\textends: [`regexp.configs[\"flat/recommended\"]`],\n\t\t\t\t\t\t\tfiles: [getScriptFileExtension(options)],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\timports: [\n\t\t\t\t\t\t{ source: \"eslint-plugin-regexp\", specifier: \"* as regexp\" },\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAIA,MAAa,oBAAoB,KAAK,YAAY;CACjD,OAAO,EACN,MAAM,uBACP;CACA,QAAQ,EAAE,WAAW;EACpB,OAAO,EACN,QAAQ,CACP,YAAY;GACX,YAAY,CACX;IACC,SAAS,CAAC,oCAAoC;IAC9C,OAAO,CAAC,uBAAuB,OAAO,CAAC;GACxC,CACD;GACA,SAAS,CACR;IAAE,QAAQ;IAAwB,WAAW;GAAc,CAC5D;EACD,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockESLintYML.d.ts
|
|
2
|
-
declare const blockESLintYML: 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 { blockESLintYML };
|
|
72
|
-
//# sourceMappingURL=blockESLintYML.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockESLintYML.d.ts","names":[],"sources":["../../src/blocks/blockESLintYML.ts"],"mappings":";cAGa,wCAAc"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { base } from "../base.js";
|
|
2
|
-
import { blockESLint } from "./blockESLint.js";
|
|
3
|
-
//#region src/blocks/blockESLintYML.ts
|
|
4
|
-
const blockESLintYML = base.createBlock({
|
|
5
|
-
about: { name: "ESLint YML Plugin" },
|
|
6
|
-
produce() {
|
|
7
|
-
return { addons: [blockESLint({
|
|
8
|
-
extensions: [{
|
|
9
|
-
extends: ["yml.configs[\"flat/standard\"]", "yml.configs[\"flat/prettier\"]"],
|
|
10
|
-
files: ["**/*.{yml,yaml}"],
|
|
11
|
-
rules: {
|
|
12
|
-
"yml/file-extension": "error",
|
|
13
|
-
"yml/sort-keys": ["error", {
|
|
14
|
-
order: { type: "asc" },
|
|
15
|
-
pathPattern: "^.*$"
|
|
16
|
-
}],
|
|
17
|
-
"yml/sort-sequence-values": ["error", {
|
|
18
|
-
order: { type: "asc" },
|
|
19
|
-
pathPattern: "^.*$"
|
|
20
|
-
}]
|
|
21
|
-
}
|
|
22
|
-
}],
|
|
23
|
-
imports: [{
|
|
24
|
-
source: "eslint-plugin-yml",
|
|
25
|
-
specifier: "yml"
|
|
26
|
-
}]
|
|
27
|
-
})] };
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
//#endregion
|
|
31
|
-
export { blockESLintYML };
|
|
32
|
-
|
|
33
|
-
//# sourceMappingURL=blockESLintYML.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockESLintYML.js","names":[],"sources":["../../src/blocks/blockESLintYML.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockESLint } from \"./blockESLint.js\";\n\nexport const blockESLintYML = base.createBlock({\n\tabout: {\n\t\tname: \"ESLint YML Plugin\",\n\t},\n\tproduce() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockESLint({\n\t\t\t\t\textensions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\textends: [\n\t\t\t\t\t\t\t\t'yml.configs[\"flat/standard\"]',\n\t\t\t\t\t\t\t\t'yml.configs[\"flat/prettier\"]',\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tfiles: [\"**/*.{yml,yaml}\"],\n\t\t\t\t\t\t\trules: {\n\t\t\t\t\t\t\t\t\"yml/file-extension\": \"error\",\n\t\t\t\t\t\t\t\t\"yml/sort-keys\": [\n\t\t\t\t\t\t\t\t\t\"error\",\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\torder: { type: \"asc\" },\n\t\t\t\t\t\t\t\t\t\tpathPattern: \"^.*$\",\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\"yml/sort-sequence-values\": [\n\t\t\t\t\t\t\t\t\t\"error\",\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\torder: { type: \"asc\" },\n\t\t\t\t\t\t\t\t\t\tpathPattern: \"^.*$\",\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\timports: [{ source: \"eslint-plugin-yml\", specifier: \"yml\" }],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;AAGA,MAAa,iBAAiB,KAAK,YAAY;CAC9C,OAAO,EACN,MAAM,oBACP;CACA,UAAU;EACT,OAAO,EACN,QAAQ,CACP,YAAY;GACX,YAAY,CACX;IACC,SAAS,CACR,kCACA,gCACD;IACA,OAAO,CAAC,iBAAiB;IACzB,OAAO;KACN,sBAAsB;KACtB,iBAAiB,CAChB,SACA;MACC,OAAO,EAAE,MAAM,MAAM;MACrB,aAAa;KACd,CACD;KACA,4BAA4B,CAC3B,SACA;MACC,OAAO,EAAE,MAAM,MAAM;MACrB,aAAa;KACd,CACD;IACD;GACD,CACD;GACA,SAAS,CAAC;IAAE,QAAQ;IAAqB,WAAW;GAAM,CAAC;EAC5D,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|