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,138 +0,0 @@
|
|
|
1
|
-
import { getPackageDependencies } from "../data/packageData.js";
|
|
2
|
-
import { base } from "../base.js";
|
|
3
|
-
import { blockGitHubActionsCI } from "./blockGitHubActionsCI.js";
|
|
4
|
-
import { blockPackageJson } from "./blockPackageJson.js";
|
|
5
|
-
import { blockDevelopmentDocs } from "./blockDevelopmentDocs.js";
|
|
6
|
-
import { blockRemoveWorkflows } from "./blockRemoveWorkflows.js";
|
|
7
|
-
import { getPrimaryBin } from "./bin/getPrimaryBin.js";
|
|
8
|
-
import { blockVSCode } from "./blockVSCode.js";
|
|
9
|
-
import { blockExampleFiles } from "./blockExampleFiles.js";
|
|
10
|
-
import { blockGitignore } from "./blockGitignore.js";
|
|
11
|
-
import { intakeFileAsJson } from "./intake/intakeFileAsJson.js";
|
|
12
|
-
import { blockKnip } from "./blockKnip.js";
|
|
13
|
-
import { blockVitest } from "./blockVitest.js";
|
|
14
|
-
import sortKeys from "sort-keys";
|
|
15
|
-
import { CompilerOptionsSchema } from "zod-tsconfig";
|
|
16
|
-
//#region src/blocks/blockTypeScript.ts
|
|
17
|
-
const blockTypeScript = base.createBlock({
|
|
18
|
-
about: { name: "TypeScript" },
|
|
19
|
-
addons: { compilerOptions: CompilerOptionsSchema.optional() },
|
|
20
|
-
intake({ files }) {
|
|
21
|
-
const raw = intakeFileAsJson(files, ["tsconfig.json"]);
|
|
22
|
-
const { data } = CompilerOptionsSchema.safeParse(raw?.compilerOptions);
|
|
23
|
-
if (!data) return;
|
|
24
|
-
return { compilerOptions: data };
|
|
25
|
-
},
|
|
26
|
-
produce({ addons, options }) {
|
|
27
|
-
const { compilerOptions } = addons;
|
|
28
|
-
const primaryBin = getPrimaryBin(options.bin, options.repository);
|
|
29
|
-
return {
|
|
30
|
-
addons: [
|
|
31
|
-
blockDevelopmentDocs({ sections: { "Type Checking": { contents: `
|
|
32
|
-
You should be able to see suggestions from [TypeScript](https://typescriptlang.org) in your editor for all open files.
|
|
33
|
-
|
|
34
|
-
However, it can be useful to run the TypeScript command-line (\`tsc\`) to type check all files in \`src/\`:
|
|
35
|
-
|
|
36
|
-
\`\`\`shell
|
|
37
|
-
pnpm tsc
|
|
38
|
-
\`\`\`
|
|
39
|
-
|
|
40
|
-
Add \`--watch\` to keep the type checker running in a watch mode that updates the display as you save files:
|
|
41
|
-
|
|
42
|
-
\`\`\`shell
|
|
43
|
-
pnpm tsc --watch
|
|
44
|
-
\`\`\`
|
|
45
|
-
` } } }),
|
|
46
|
-
blockExampleFiles({
|
|
47
|
-
files: {
|
|
48
|
-
"greet.ts": `import { GreetOptions } from "./types.js";
|
|
49
|
-
|
|
50
|
-
export function greet(options: GreetOptions | string) {
|
|
51
|
-
const {
|
|
52
|
-
logger = console.log.bind(console),
|
|
53
|
-
message,
|
|
54
|
-
times = 1,
|
|
55
|
-
} = typeof options === "string" ? { message: options } : options;
|
|
56
|
-
|
|
57
|
-
for (let i = 0; i < times; i += 1) {
|
|
58
|
-
logger(message);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
`,
|
|
62
|
-
"index.ts": `export * from "./greet.js";
|
|
63
|
-
export * from "./types.js";
|
|
64
|
-
`,
|
|
65
|
-
"types.ts": `export interface GreetOptions {
|
|
66
|
-
logger?: (message: string) => void;
|
|
67
|
-
message: string;
|
|
68
|
-
times?: number;
|
|
69
|
-
}
|
|
70
|
-
`
|
|
71
|
-
},
|
|
72
|
-
usage: [`\`\`\`shell
|
|
73
|
-
npm i ${options.repository}
|
|
74
|
-
\`\`\`
|
|
75
|
-
\`\`\`ts
|
|
76
|
-
import { greet } from "${options.repository}";
|
|
77
|
-
|
|
78
|
-
greet("Hello, world! ${options.emoji}");
|
|
79
|
-
\`\`\``]
|
|
80
|
-
}),
|
|
81
|
-
blockGitignore({ ignores: ["/lib"] }),
|
|
82
|
-
blockGitHubActionsCI({ jobs: [{
|
|
83
|
-
name: "Type Check",
|
|
84
|
-
steps: [{ run: "pnpm tsc" }]
|
|
85
|
-
}] }),
|
|
86
|
-
blockKnip({ project: ["src/**/*.ts"] }),
|
|
87
|
-
blockPackageJson({ properties: {
|
|
88
|
-
devDependencies: getPackageDependencies("typescript"),
|
|
89
|
-
files: ["lib/"]
|
|
90
|
-
} }),
|
|
91
|
-
blockVitest({
|
|
92
|
-
coverage: { include: ["src"] },
|
|
93
|
-
exclude: ["lib"]
|
|
94
|
-
}),
|
|
95
|
-
blockVSCode({
|
|
96
|
-
debuggers: primaryBin ? [{
|
|
97
|
-
name: "Debug Program",
|
|
98
|
-
preLaunchTask: "build",
|
|
99
|
-
program: primaryBin,
|
|
100
|
-
request: "launch",
|
|
101
|
-
skipFiles: ["<node_internals>/**"],
|
|
102
|
-
type: "node"
|
|
103
|
-
}] : [],
|
|
104
|
-
settings: { "typescript.tsdk": "node_modules/typescript/lib" },
|
|
105
|
-
tasks: [{
|
|
106
|
-
detail: "Build the project",
|
|
107
|
-
label: "build",
|
|
108
|
-
script: "build",
|
|
109
|
-
type: "npm"
|
|
110
|
-
}]
|
|
111
|
-
})
|
|
112
|
-
],
|
|
113
|
-
files: { "tsconfig.json": JSON.stringify({
|
|
114
|
-
compilerOptions: sortKeys({
|
|
115
|
-
declaration: true,
|
|
116
|
-
declarationMap: true,
|
|
117
|
-
esModuleInterop: true,
|
|
118
|
-
module: "NodeNext",
|
|
119
|
-
moduleResolution: "NodeNext",
|
|
120
|
-
noEmit: true,
|
|
121
|
-
resolveJsonModule: true,
|
|
122
|
-
skipLibCheck: true,
|
|
123
|
-
strict: true,
|
|
124
|
-
target: "ES2023",
|
|
125
|
-
...compilerOptions
|
|
126
|
-
}),
|
|
127
|
-
include: ["src"]
|
|
128
|
-
}) }
|
|
129
|
-
};
|
|
130
|
-
},
|
|
131
|
-
transition() {
|
|
132
|
-
return { addons: [blockRemoveWorkflows({ workflows: ["tsc"] })] };
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
//#endregion
|
|
136
|
-
export { blockTypeScript };
|
|
137
|
-
|
|
138
|
-
//# sourceMappingURL=blockTypeScript.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockTypeScript.js","names":[],"sources":["../../src/blocks/blockTypeScript.ts"],"sourcesContent":["import sortKeys from \"sort-keys\";\nimport { CompilerOptionsSchema } from \"zod-tsconfig\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.js\";\nimport { getPrimaryBin } from \"./bin/getPrimaryBin.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockExampleFiles } from \"./blockExampleFiles.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockGitignore } from \"./blockGitignore.js\";\nimport { blockKnip } from \"./blockKnip.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\nimport { blockVitest } from \"./blockVitest.js\";\nimport { blockVSCode } from \"./blockVSCode.js\";\nimport { intakeFileAsJson } from \"./intake/intakeFileAsJson.js\";\n\nexport const blockTypeScript = base.createBlock({\n\tabout: {\n\t\tname: \"TypeScript\",\n\t},\n\taddons: {\n\t\tcompilerOptions: CompilerOptionsSchema.optional(),\n\t},\n\tintake({ files }) {\n\t\tconst raw = intakeFileAsJson(files, [\"tsconfig.json\"]);\n\t\tconst { data } = CompilerOptionsSchema.safeParse(raw?.compilerOptions);\n\t\tif (!data) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn {\n\t\t\tcompilerOptions: data,\n\t\t};\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { compilerOptions } = addons;\n\t\tconst primaryBin = getPrimaryBin(options.bin, options.repository);\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\t\"Type Checking\": {\n\t\t\t\t\t\t\tcontents: `\nYou should be able to see suggestions from [TypeScript](https://typescriptlang.org) in your editor for all open files.\n\nHowever, it can be useful to run the TypeScript command-line (\\`tsc\\`) to type check all files in \\`src/\\`:\n\n\\`\\`\\`shell\npnpm tsc\n\\`\\`\\`\n\nAdd \\`--watch\\` to keep the type checker running in a watch mode that updates the display as you save files:\n\n\\`\\`\\`shell\npnpm tsc --watch\n\\`\\`\\`\n`,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockExampleFiles({\n\t\t\t\t\tfiles: {\n\t\t\t\t\t\t\"greet.ts\": `import { GreetOptions } from \"./types.js\";\n\n\texport function greet(options: GreetOptions | string) {\n\t\tconst {\n\t\t\tlogger = console.log.bind(console),\n\t\t\tmessage,\n\t\t\ttimes = 1,\n\t\t} = typeof options === \"string\" ? { message: options } : options;\n\n\t\tfor (let i = 0; i < times; i += 1) {\n\t\t\tlogger(message);\n\t\t}\n\t}\n\t`,\n\t\t\t\t\t\t\"index.ts\": `export * from \"./greet.js\";\nexport * from \"./types.js\";\n`,\n\t\t\t\t\t\t\"types.ts\": `export interface GreetOptions {\n\t\tlogger?: (message: string) => void;\n\t\tmessage: string;\n\t\ttimes?: number;\n\t}\n\t`,\n\t\t\t\t\t},\n\t\t\t\t\tusage: [\n\t\t\t\t\t\t`\\`\\`\\`shell\nnpm i ${options.repository}\n\\`\\`\\`\n\\`\\`\\`ts\nimport { greet } from \"${options.repository}\";\n\ngreet(\"Hello, world! ${options.emoji}\");\n\\`\\`\\``,\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockGitignore({\n\t\t\t\t\tignores: [\"/lib\"],\n\t\t\t\t}),\n\t\t\t\tblockGitHubActionsCI({\n\t\t\t\t\tjobs: [{ name: \"Type Check\", steps: [{ run: \"pnpm tsc\" }] }],\n\t\t\t\t}),\n\t\t\t\tblockKnip({\n\t\t\t\t\tproject: [\"src/**/*.ts\"],\n\t\t\t\t}),\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tdevDependencies: getPackageDependencies(\"typescript\"),\n\t\t\t\t\t\tfiles: [\"lib/\"],\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockVitest({ coverage: { include: [\"src\"] }, exclude: [\"lib\"] }),\n\t\t\t\tblockVSCode({\n\t\t\t\t\tdebuggers: primaryBin\n\t\t\t\t\t\t? [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tname: \"Debug Program\",\n\t\t\t\t\t\t\t\t\tpreLaunchTask: \"build\",\n\t\t\t\t\t\t\t\t\tprogram: primaryBin,\n\t\t\t\t\t\t\t\t\trequest: \"launch\",\n\t\t\t\t\t\t\t\t\tskipFiles: [\"<node_internals>/**\"],\n\t\t\t\t\t\t\t\t\ttype: \"node\",\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\tsettings: {\n\t\t\t\t\t\t\"typescript.tsdk\": \"node_modules/typescript/lib\",\n\t\t\t\t\t},\n\t\t\t\t\ttasks: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdetail: \"Build the project\",\n\t\t\t\t\t\t\tlabel: \"build\",\n\t\t\t\t\t\t\tscript: \"build\",\n\t\t\t\t\t\t\ttype: \"npm\",\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\"tsconfig.json\": JSON.stringify({\n\t\t\t\t\tcompilerOptions: sortKeys({\n\t\t\t\t\t\tdeclaration: true,\n\t\t\t\t\t\tdeclarationMap: true,\n\t\t\t\t\t\tesModuleInterop: true,\n\t\t\t\t\t\tmodule: \"NodeNext\",\n\t\t\t\t\t\tmoduleResolution: \"NodeNext\",\n\t\t\t\t\t\tnoEmit: true,\n\t\t\t\t\t\tresolveJsonModule: true,\n\t\t\t\t\t\tskipLibCheck: true,\n\t\t\t\t\t\tstrict: true,\n\t\t\t\t\t\ttarget: \"ES2023\",\n\t\t\t\t\t\t...compilerOptions,\n\t\t\t\t\t}),\n\t\t\t\t\tinclude: [\"src\"],\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: [\"tsc\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;;;;;;;AAiBA,MAAa,kBAAkB,KAAK,YAAY;CAC/C,OAAO,EACN,MAAM,aACP;CACA,QAAQ,EACP,iBAAiB,sBAAsB,SAAS,EACjD;CACA,OAAO,EAAE,SAAS;EACjB,MAAM,MAAM,iBAAiB,OAAO,CAAC,eAAe,CAAC;EACrD,MAAM,EAAE,SAAS,sBAAsB,UAAU,KAAK,eAAe;EACrE,IAAI,CAAC,MACJ;EAGD,OAAO,EACN,iBAAiB,KAClB;CACD;CACA,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,oBAAoB;EAC5B,MAAM,aAAa,cAAc,QAAQ,KAAK,QAAQ,UAAU;EAEhE,OAAO;GACN,QAAQ;IACP,qBAAqB,EACpB,UAAU,EACT,iBAAiB,EAChB,UAAU;;;;;;;;;;;;;;EAeX,EACD,EACD,CAAC;IACD,kBAAkB;KACjB,OAAO;MACN,YAAY;;;;;;;;;;;;;;MAcZ,YAAY;;;MAGZ,YAAY;;;;;;KAMb;KACA,OAAO,CACN;QACE,QAAQ,WAAW;;;yBAGF,QAAQ,WAAW;;uBAErB,QAAQ,MAAM;OAEhC;IACD,CAAC;IACD,eAAe,EACd,SAAS,CAAC,MAAM,EACjB,CAAC;IACD,qBAAqB,EACpB,MAAM,CAAC;KAAE,MAAM;KAAc,OAAO,CAAC,EAAE,KAAK,WAAW,CAAC;IAAE,CAAC,EAC5D,CAAC;IACD,UAAU,EACT,SAAS,CAAC,aAAa,EACxB,CAAC;IACD,iBAAiB,EAChB,YAAY;KACX,iBAAiB,uBAAuB,YAAY;KACpD,OAAO,CAAC,MAAM;IACf,EACD,CAAC;IACD,YAAY;KAAE,UAAU,EAAE,SAAS,CAAC,KAAK,EAAE;KAAG,SAAS,CAAC,KAAK;IAAE,CAAC;IAChE,YAAY;KACX,WAAW,aACR,CACA;MACC,MAAM;MACN,eAAe;MACf,SAAS;MACT,SAAS;MACT,WAAW,CAAC,qBAAqB;MACjC,MAAM;KACP,CACD,IACC,CAAC;KACJ,UAAU,EACT,mBAAmB,8BACpB;KACA,OAAO,CACN;MACC,QAAQ;MACR,OAAO;MACP,QAAQ;MACR,MAAM;KACP,CACD;IACD,CAAC;GACF;GACA,OAAO,EACN,iBAAiB,KAAK,UAAU;IAC/B,iBAAiB,SAAS;KACzB,aAAa;KACb,gBAAgB;KAChB,iBAAiB;KACjB,QAAQ;KACR,kBAAkB;KAClB,QAAQ;KACR,mBAAmB;KACnB,cAAc;KACd,QAAQ;KACR,QAAQ;KACR,GAAG;IACJ,CAAC;IACD,SAAS,CAAC,KAAK;GAChB,CAAC,EACF;EACD;CACD;CACA,aAAa;EACZ,OAAO,EACN,QAAQ,CACP,qBAAqB,EACpB,WAAW,CAAC,KAAK,EAClB,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockVSCode.d.ts
|
|
2
|
-
declare const blockVSCode: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
-
settings: Record<string, unknown>;
|
|
4
|
-
debuggers?: (Record<string, unknown> & {
|
|
5
|
-
name: string;
|
|
6
|
-
})[] | undefined;
|
|
7
|
-
extensions?: string[] | undefined;
|
|
8
|
-
tasks?: ({
|
|
9
|
-
detail: string;
|
|
10
|
-
} & Record<string, unknown>)[] | undefined;
|
|
11
|
-
}, {
|
|
12
|
-
access: "public" | "restricted";
|
|
13
|
-
description: string;
|
|
14
|
-
directory: string;
|
|
15
|
-
documentation: {
|
|
16
|
-
readme: {
|
|
17
|
-
additional?: string | undefined;
|
|
18
|
-
explainer?: string | undefined;
|
|
19
|
-
footnotes?: string | undefined;
|
|
20
|
-
usage?: string | undefined;
|
|
21
|
-
};
|
|
22
|
-
development?: string | undefined;
|
|
23
|
-
};
|
|
24
|
-
email: {
|
|
25
|
-
github: string;
|
|
26
|
-
npm: string;
|
|
27
|
-
};
|
|
28
|
-
title: string;
|
|
29
|
-
node: {
|
|
30
|
-
minimum: string;
|
|
31
|
-
pinned?: string | undefined;
|
|
32
|
-
};
|
|
33
|
-
owner: string;
|
|
34
|
-
repository: string;
|
|
35
|
-
type?: "commonjs" | "module" | undefined;
|
|
36
|
-
author?: string | undefined;
|
|
37
|
-
bin?: string | Record<string, string> | undefined;
|
|
38
|
-
contributors?: {
|
|
39
|
-
avatar_url: string;
|
|
40
|
-
contributions: string[];
|
|
41
|
-
login: string;
|
|
42
|
-
name: string;
|
|
43
|
-
profile: string;
|
|
44
|
-
}[] | undefined;
|
|
45
|
-
emoji?: string | undefined;
|
|
46
|
-
existingLabels?: {
|
|
47
|
-
name: string;
|
|
48
|
-
description: string;
|
|
49
|
-
color: string;
|
|
50
|
-
}[] | undefined;
|
|
51
|
-
funding?: string | undefined;
|
|
52
|
-
guide?: {
|
|
53
|
-
href: string;
|
|
54
|
-
title: string;
|
|
55
|
-
} | undefined;
|
|
56
|
-
keywords?: string[] | undefined;
|
|
57
|
-
logo?: {
|
|
58
|
-
alt: string;
|
|
59
|
-
src: string;
|
|
60
|
-
height?: number | undefined;
|
|
61
|
-
width?: number | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
packageData?: {
|
|
64
|
-
dependencies?: Record<string, string> | undefined;
|
|
65
|
-
devDependencies?: Record<string, string> | undefined;
|
|
66
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
67
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
68
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
69
|
-
} | undefined;
|
|
70
|
-
pnpm?: string | undefined;
|
|
71
|
-
rulesetId?: string | undefined;
|
|
72
|
-
version?: string | undefined;
|
|
73
|
-
words?: string[] | undefined;
|
|
74
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
75
|
-
pinned?: boolean | undefined;
|
|
76
|
-
hash?: string | undefined;
|
|
77
|
-
}>> | undefined;
|
|
78
|
-
}>;
|
|
79
|
-
//#endregion
|
|
80
|
-
export { blockVSCode };
|
|
81
|
-
//# sourceMappingURL=blockVSCode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockVSCode.d.ts","names":[],"sources":["../../src/blocks/blockVSCode.ts"],"mappings":";cAOa,qCAAW"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { base } from "../base.js";
|
|
2
|
-
import { blockDevelopmentDocs } from "./blockDevelopmentDocs.js";
|
|
3
|
-
import { getPrimaryBin } from "./bin/getPrimaryBin.js";
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
import sortKeys from "sort-keys";
|
|
6
|
-
//#region src/blocks/blockVSCode.ts
|
|
7
|
-
const blockVSCode = base.createBlock({
|
|
8
|
-
about: { name: "VS Code" },
|
|
9
|
-
addons: {
|
|
10
|
-
debuggers: z.array(z.intersection(z.record(z.string(), z.unknown()), z.object({ name: z.string() }))).optional(),
|
|
11
|
-
extensions: z.array(z.string()).optional(),
|
|
12
|
-
settings: z.record(z.string(), z.unknown()).default({}),
|
|
13
|
-
tasks: z.array(z.intersection(z.object({ detail: z.string() }), z.record(z.string(), z.unknown()))).optional()
|
|
14
|
-
},
|
|
15
|
-
produce({ addons, options }) {
|
|
16
|
-
const { debuggers, extensions, settings, tasks } = addons;
|
|
17
|
-
const primaryBin = getPrimaryBin(options.bin, options.repository);
|
|
18
|
-
return {
|
|
19
|
-
addons: [blockDevelopmentDocs({
|
|
20
|
-
hints: [`> This repository includes a list of suggested VS Code extensions.`, `> It's a good idea to use [VS Code](https://code.visualstudio.com) and accept its suggestion to install them, as they'll help with development.`],
|
|
21
|
-
sections: {
|
|
22
|
-
Building: { innerSections: primaryBin ? [{
|
|
23
|
-
contents: `
|
|
24
|
-
This repository includes a [VS Code launch configuration](https://code.visualstudio.com/docs/editor/debugging) for debugging.
|
|
25
|
-
To debug a \`bin\` app, add a breakpoint to your code, then run _Debug Program_ from the VS Code Debug panel (or press F5).
|
|
26
|
-
VS Code will automatically run the \`build\` task in the background before running \`${primaryBin}\`.
|
|
27
|
-
`,
|
|
28
|
-
heading: "Built App Debugging"
|
|
29
|
-
}] : [] },
|
|
30
|
-
Testing: { innerSections: [{
|
|
31
|
-
contents: `
|
|
32
|
-
This repository includes a [VS Code launch configuration](https://code.visualstudio.com/docs/editor/debugging) for debugging unit tests.
|
|
33
|
-
To launch it, open a test file, then run _Debug Current Test File_ from the VS Code Debug panel (or press F5).
|
|
34
|
-
`,
|
|
35
|
-
heading: "Debugging Tests"
|
|
36
|
-
}] }
|
|
37
|
-
}
|
|
38
|
-
})],
|
|
39
|
-
files: { ".vscode": {
|
|
40
|
-
"extensions.json": extensions?.length ? JSON.stringify({ recommendations: [...extensions].sort() }) : void 0,
|
|
41
|
-
"launch.json": debuggers?.length ? JSON.stringify({
|
|
42
|
-
configurations: [...debuggers].sort((a, b) => a.name.localeCompare(b.name)),
|
|
43
|
-
version: "0.2.0"
|
|
44
|
-
}) : void 0,
|
|
45
|
-
"settings.json": JSON.stringify(sortKeys({
|
|
46
|
-
"editor.formatOnSave": true,
|
|
47
|
-
"editor.rulers": [80],
|
|
48
|
-
...settings
|
|
49
|
-
})),
|
|
50
|
-
"tasks.json": tasks?.length ? JSON.stringify({
|
|
51
|
-
tasks: tasks.sort((a, b) => a.detail.localeCompare(b.detail)),
|
|
52
|
-
version: "2.0.0"
|
|
53
|
-
}) : void 0
|
|
54
|
-
} }
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
//#endregion
|
|
59
|
-
export { blockVSCode };
|
|
60
|
-
|
|
61
|
-
//# sourceMappingURL=blockVSCode.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockVSCode.js","names":[],"sources":["../../src/blocks/blockVSCode.ts"],"sourcesContent":["import sortKeys from \"sort-keys\";\nimport { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPrimaryBin } from \"./bin/getPrimaryBin.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\n\nexport const blockVSCode = base.createBlock({\n\tabout: {\n\t\tname: \"VS Code\",\n\t},\n\taddons: {\n\t\tdebuggers: z\n\t\t\t.array(\n\t\t\t\tz.intersection(\n\t\t\t\t\tz.record(z.string(), z.unknown()),\n\t\t\t\t\tz.object({ name: z.string() }),\n\t\t\t\t),\n\t\t\t)\n\t\t\t.optional(),\n\t\textensions: z.array(z.string()).optional(),\n\t\tsettings: z.record(z.string(), z.unknown()).default({}),\n\t\ttasks: z\n\t\t\t.array(\n\t\t\t\tz.intersection(\n\t\t\t\t\tz.object({ detail: z.string() }),\n\t\t\t\t\tz.record(z.string(), z.unknown()),\n\t\t\t\t),\n\t\t\t)\n\t\t\t.optional(),\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { debuggers, extensions, settings, tasks } = addons;\n\t\tconst primaryBin = getPrimaryBin(options.bin, options.repository);\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockDevelopmentDocs({\n\t\t\t\t\thints: [\n\t\t\t\t\t\t`> This repository includes a list of suggested VS Code extensions.`,\n\t\t\t\t\t\t`> It's a good idea to use [VS Code](https://code.visualstudio.com) and accept its suggestion to install them, as they'll help with development.`,\n\t\t\t\t\t],\n\t\t\t\t\tsections: {\n\t\t\t\t\t\tBuilding: {\n\t\t\t\t\t\t\tinnerSections: primaryBin\n\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\tcontents: `\nThis repository includes a [VS Code launch configuration](https://code.visualstudio.com/docs/editor/debugging) for debugging.\nTo debug a \\`bin\\` app, add a breakpoint to your code, then run _Debug Program_ from the VS Code Debug panel (or press F5).\nVS Code will automatically run the \\`build\\` task in the background before running \\`${primaryBin}\\`.\n`,\n\t\t\t\t\t\t\t\t\t\t\theading: \"Built App Debugging\",\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: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tTesting: {\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: `\nThis repository includes a [VS Code launch configuration](https://code.visualstudio.com/docs/editor/debugging) for debugging unit tests.\nTo launch it, open a test file, then run _Debug Current Test File_ from the VS Code Debug panel (or press F5).\n`,\n\t\t\t\t\t\t\t\t\theading: \"Debugging Tests\",\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\tfiles: {\n\t\t\t\t\".vscode\": {\n\t\t\t\t\t\"extensions.json\": extensions?.length\n\t\t\t\t\t\t? JSON.stringify({\n\t\t\t\t\t\t\t\trecommendations: [...extensions].sort(),\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\"launch.json\": debuggers?.length\n\t\t\t\t\t\t? JSON.stringify({\n\t\t\t\t\t\t\t\tconfigurations: [...debuggers].sort((a, b) =>\n\t\t\t\t\t\t\t\t\ta.name.localeCompare(b.name),\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tversion: \"0.2.0\",\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\"settings.json\": JSON.stringify(\n\t\t\t\t\t\tsortKeys({\n\t\t\t\t\t\t\t\"editor.formatOnSave\": true,\n\t\t\t\t\t\t\t\"editor.rulers\": [80],\n\t\t\t\t\t\t\t...settings,\n\t\t\t\t\t\t}),\n\t\t\t\t\t),\n\t\t\t\t\t\"tasks.json\": tasks?.length\n\t\t\t\t\t\t? JSON.stringify({\n\t\t\t\t\t\t\t\ttasks: tasks.sort((a, b) => a.detail.localeCompare(b.detail)),\n\t\t\t\t\t\t\t\tversion: \"2.0.0\",\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t: undefined,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;AAOA,MAAa,cAAc,KAAK,YAAY;CAC3C,OAAO,EACN,MAAM,UACP;CACA,QAAQ;EACP,WAAW,EACT,MACA,EAAE,aACD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAChC,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAC9B,CACD,CAAC,CACA,SAAS;EACX,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS;EACzC,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;EACtD,OAAO,EACL,MACA,EAAE,aACD,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,GAC/B,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CACjC,CACD,CAAC,CACA,SAAS;CACZ;CACA,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,WAAW,YAAY,UAAU,UAAU;EACnD,MAAM,aAAa,cAAc,QAAQ,KAAK,QAAQ,UAAU;EAEhE,OAAO;GACN,QAAQ,CACP,qBAAqB;IACpB,OAAO,CACN,sEACA,iJACD;IACA,UAAU;KACT,UAAU,EACT,eAAe,aACZ,CACA;MACC,UAAU;;;uFAGkE,WAAW;;MAEvF,SAAS;KACV,CACD,IACC,CAAC,EACL;KACA,SAAS,EACR,eAAe,CACd;MACC,UAAU;;;;MAIV,SAAS;KACV,CACD,EACD;IACD;GACD,CAAC,CACF;GACA,OAAO,EACN,WAAW;IACV,mBAAmB,YAAY,SAC5B,KAAK,UAAU,EACf,iBAAiB,CAAC,GAAG,UAAU,CAAC,CAAC,KAAK,EACvC,CAAC,IACA,KAAA;IACH,eAAe,WAAW,SACvB,KAAK,UAAU;KACf,gBAAgB,CAAC,GAAG,SAAS,CAAC,CAAC,MAAM,GAAG,MACvC,EAAE,KAAK,cAAc,EAAE,IAAI,CAC5B;KACA,SAAS;IACV,CAAC,IACA,KAAA;IACH,iBAAiB,KAAK,UACrB,SAAS;KACR,uBAAuB;KACvB,iBAAiB,CAAC,EAAE;KACpB,GAAG;IACJ,CAAC,CACF;IACA,cAAc,OAAO,SAClB,KAAK,UAAU;KACf,OAAO,MAAM,MAAM,GAAG,MAAM,EAAE,OAAO,cAAc,EAAE,MAAM,CAAC;KAC5D,SAAS;IACV,CAAC,IACA,KAAA;GACJ,EACD;EACD;CACD;AACD,CAAC"}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
//#region src/blocks/blockVitest.d.ts
|
|
2
|
-
declare const blockVitest: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
-
exclude: string[];
|
|
4
|
-
actionSteps: ({
|
|
5
|
-
with?: Record<string, string> | undefined;
|
|
6
|
-
env?: Record<string, string> | undefined;
|
|
7
|
-
if?: string | undefined;
|
|
8
|
-
} & ({
|
|
9
|
-
run: string;
|
|
10
|
-
} | {
|
|
11
|
-
uses: string;
|
|
12
|
-
}))[];
|
|
13
|
-
coverage: {
|
|
14
|
-
exclude?: string[] | undefined;
|
|
15
|
-
include?: string[] | undefined;
|
|
16
|
-
};
|
|
17
|
-
flags: string[];
|
|
18
|
-
environment?: string | undefined;
|
|
19
|
-
}, {
|
|
20
|
-
access: "public" | "restricted";
|
|
21
|
-
description: string;
|
|
22
|
-
directory: string;
|
|
23
|
-
documentation: {
|
|
24
|
-
readme: {
|
|
25
|
-
additional?: string | undefined;
|
|
26
|
-
explainer?: string | undefined;
|
|
27
|
-
footnotes?: string | undefined;
|
|
28
|
-
usage?: string | undefined;
|
|
29
|
-
};
|
|
30
|
-
development?: string | undefined;
|
|
31
|
-
};
|
|
32
|
-
email: {
|
|
33
|
-
github: string;
|
|
34
|
-
npm: string;
|
|
35
|
-
};
|
|
36
|
-
title: string;
|
|
37
|
-
node: {
|
|
38
|
-
minimum: string;
|
|
39
|
-
pinned?: string | undefined;
|
|
40
|
-
};
|
|
41
|
-
owner: string;
|
|
42
|
-
repository: string;
|
|
43
|
-
type?: "commonjs" | "module" | undefined;
|
|
44
|
-
author?: string | undefined;
|
|
45
|
-
bin?: string | Record<string, string> | undefined;
|
|
46
|
-
contributors?: {
|
|
47
|
-
avatar_url: string;
|
|
48
|
-
contributions: string[];
|
|
49
|
-
login: string;
|
|
50
|
-
name: string;
|
|
51
|
-
profile: string;
|
|
52
|
-
}[] | undefined;
|
|
53
|
-
emoji?: string | undefined;
|
|
54
|
-
existingLabels?: {
|
|
55
|
-
name: string;
|
|
56
|
-
description: string;
|
|
57
|
-
color: string;
|
|
58
|
-
}[] | undefined;
|
|
59
|
-
funding?: string | undefined;
|
|
60
|
-
guide?: {
|
|
61
|
-
href: string;
|
|
62
|
-
title: string;
|
|
63
|
-
} | undefined;
|
|
64
|
-
keywords?: string[] | undefined;
|
|
65
|
-
logo?: {
|
|
66
|
-
alt: string;
|
|
67
|
-
src: string;
|
|
68
|
-
height?: number | undefined;
|
|
69
|
-
width?: number | undefined;
|
|
70
|
-
} | undefined;
|
|
71
|
-
packageData?: {
|
|
72
|
-
dependencies?: Record<string, string> | undefined;
|
|
73
|
-
devDependencies?: Record<string, string> | undefined;
|
|
74
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
75
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
76
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
pnpm?: string | undefined;
|
|
79
|
-
rulesetId?: string | undefined;
|
|
80
|
-
version?: string | undefined;
|
|
81
|
-
words?: string[] | undefined;
|
|
82
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
83
|
-
pinned?: boolean | undefined;
|
|
84
|
-
hash?: string | undefined;
|
|
85
|
-
}>> | undefined;
|
|
86
|
-
}>;
|
|
87
|
-
//#endregion
|
|
88
|
-
export { blockVitest };
|
|
89
|
-
//# sourceMappingURL=blockVitest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockVitest.d.ts","names":[],"sources":["../../src/blocks/blockVitest.ts"],"mappings":";cAyDa,qCAAW"}
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
import { getPackageDependencies } from "../data/packageData.js";
|
|
2
|
-
import { base } from "../base.js";
|
|
3
|
-
import { zActionStep } from "./actions/steps.js";
|
|
4
|
-
import { blockRemoveFiles } from "./blockRemoveFiles.js";
|
|
5
|
-
import { blockGitHubActionsCI } from "./blockGitHubActionsCI.js";
|
|
6
|
-
import { blockPackageJson } from "./blockPackageJson.js";
|
|
7
|
-
import { blockDevelopmentDocs } from "./blockDevelopmentDocs.js";
|
|
8
|
-
import { blockRemoveWorkflows } from "./blockRemoveWorkflows.js";
|
|
9
|
-
import { blockVSCode } from "./blockVSCode.js";
|
|
10
|
-
import { blockCSpell } from "./blockCSpell.js";
|
|
11
|
-
import { blockRemoveDependencies } from "./blockRemoveDependencies.js";
|
|
12
|
-
import { blockESLint } from "./blockESLint.js";
|
|
13
|
-
import { blockExampleFiles } from "./blockExampleFiles.js";
|
|
14
|
-
import { blockGitignore } from "./blockGitignore.js";
|
|
15
|
-
import { blockKnip } from "./blockKnip.js";
|
|
16
|
-
import { blockPrettier } from "./blockPrettier.js";
|
|
17
|
-
import { intakeFileDefineConfig } from "./intake/intakeFileDefineConfig.js";
|
|
18
|
-
import { blockTSDown } from "./blockTSDown.js";
|
|
19
|
-
import { z } from "zod";
|
|
20
|
-
//#region src/blocks/blockVitest.ts
|
|
21
|
-
const zCoverage = z.object({
|
|
22
|
-
exclude: z.array(z.string()).optional(),
|
|
23
|
-
include: z.array(z.string()).optional()
|
|
24
|
-
});
|
|
25
|
-
const zEnvironment = z.string();
|
|
26
|
-
const zExclude = z.array(z.string());
|
|
27
|
-
const zTest = z.object({
|
|
28
|
-
coverage: zCoverage,
|
|
29
|
-
environment: zEnvironment,
|
|
30
|
-
exclude: zExclude
|
|
31
|
-
}).partial();
|
|
32
|
-
function intakeFromConfig(files) {
|
|
33
|
-
const rawData = intakeFileDefineConfig(files, ["vitest.config.ts"]);
|
|
34
|
-
if (typeof rawData?.test !== "object") return;
|
|
35
|
-
const parsedData = zTest.safeParse(rawData.test).data;
|
|
36
|
-
if (!parsedData) return;
|
|
37
|
-
return {
|
|
38
|
-
coverage: parsedData.coverage,
|
|
39
|
-
environment: parsedData.environment,
|
|
40
|
-
exclude: parsedData.exclude
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
const blockVitest = base.createBlock({
|
|
44
|
-
about: { name: "Vitest" },
|
|
45
|
-
addons: {
|
|
46
|
-
actionSteps: z.array(zActionStep).default([]),
|
|
47
|
-
coverage: zCoverage.default({}),
|
|
48
|
-
environment: zEnvironment.optional(),
|
|
49
|
-
exclude: zExclude.default([]),
|
|
50
|
-
flags: z.array(z.string()).default([])
|
|
51
|
-
},
|
|
52
|
-
intake({ files, options }) {
|
|
53
|
-
return {
|
|
54
|
-
...intakeFromConfig(files),
|
|
55
|
-
flags: options.packageData?.scripts?.test?.match(/^vitest (.+)/)?.[1].split(" ")
|
|
56
|
-
};
|
|
57
|
-
},
|
|
58
|
-
produce({ addons }) {
|
|
59
|
-
const { actionSteps, coverage, environment, exclude } = addons;
|
|
60
|
-
const excludeText = JSON.stringify(Array.from(/* @__PURE__ */ new Set(["node_modules", ...exclude])).sort());
|
|
61
|
-
return {
|
|
62
|
-
addons: [
|
|
63
|
-
blockCSpell({ ignorePaths: ["coverage"] }),
|
|
64
|
-
blockDevelopmentDocs({ sections: { Testing: { contents: `
|
|
65
|
-
[Vitest](https://vitest.dev) is used for tests.
|
|
66
|
-
You can run it locally on the command-line:
|
|
67
|
-
|
|
68
|
-
\`\`\`shell
|
|
69
|
-
pnpm run test
|
|
70
|
-
\`\`\`
|
|
71
|
-
|
|
72
|
-
Add the \`--coverage\` flag to compute test coverage and place reports in the \`coverage/\` directory:
|
|
73
|
-
|
|
74
|
-
\`\`\`shell
|
|
75
|
-
pnpm run test --coverage
|
|
76
|
-
\`\`\`
|
|
77
|
-
|
|
78
|
-
Note that [console-fail-test](https://github.com/JoshuaKGoldberg/console-fail-test) is enabled for all test runs.
|
|
79
|
-
Calls to \`console.log\`, \`console.warn\`, and other console methods will cause a test to fail.
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
` } } }),
|
|
83
|
-
blockESLint({
|
|
84
|
-
extensions: [{
|
|
85
|
-
extends: ["vitest.configs.recommended"],
|
|
86
|
-
files: ["**/*.test.*"],
|
|
87
|
-
rules: [{ entries: { "@typescript-eslint/no-unsafe-assignment": "off" } }],
|
|
88
|
-
settings: { vitest: { typecheck: true } }
|
|
89
|
-
}],
|
|
90
|
-
ignores: ["coverage", "**/*.snap"],
|
|
91
|
-
imports: [{
|
|
92
|
-
source: "@vitest/eslint-plugin",
|
|
93
|
-
specifier: "vitest"
|
|
94
|
-
}]
|
|
95
|
-
}),
|
|
96
|
-
blockExampleFiles({ files: { "greet.test.ts": `import { describe, expect, it, vi } from "vitest";
|
|
97
|
-
|
|
98
|
-
import { greet } from "./greet.js";
|
|
99
|
-
|
|
100
|
-
const message = "Yay, testing!";
|
|
101
|
-
|
|
102
|
-
describe(greet, () => {
|
|
103
|
-
it("logs to the console once when message is provided as a string", () => {
|
|
104
|
-
const logger = vi.spyOn(console, "log").mockImplementation(() => undefined);
|
|
105
|
-
|
|
106
|
-
greet(message);
|
|
107
|
-
|
|
108
|
-
expect(logger).toHaveBeenCalledWith(message);
|
|
109
|
-
expect(logger).toHaveBeenCalledTimes(1);
|
|
110
|
-
});
|
|
111
|
-
|
|
112
|
-
it("logs to the console once when message is provided as an object", () => {
|
|
113
|
-
const logger = vi.spyOn(console, "log").mockImplementation(() => undefined);
|
|
114
|
-
|
|
115
|
-
greet({ message });
|
|
116
|
-
|
|
117
|
-
expect(logger).toHaveBeenCalledWith(message);
|
|
118
|
-
expect(logger).toHaveBeenCalledTimes(1);
|
|
119
|
-
});
|
|
120
|
-
|
|
121
|
-
it("logs once when times is not provided in an object", () => {
|
|
122
|
-
const logger = vi.fn();
|
|
123
|
-
|
|
124
|
-
greet({ logger, message });
|
|
125
|
-
|
|
126
|
-
expect(logger).toHaveBeenCalledWith(message);
|
|
127
|
-
expect(logger).toHaveBeenCalledTimes(1);
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
it("logs a specified number of times when times is provided", () => {
|
|
131
|
-
const logger = vi.fn();
|
|
132
|
-
const times = 7;
|
|
133
|
-
|
|
134
|
-
greet({ logger, message, times });
|
|
135
|
-
|
|
136
|
-
expect(logger).toHaveBeenCalledWith(message);
|
|
137
|
-
expect(logger).toHaveBeenCalledTimes(7);
|
|
138
|
-
});
|
|
139
|
-
});
|
|
140
|
-
` } }),
|
|
141
|
-
blockGitignore({ ignores: ["/coverage"] }),
|
|
142
|
-
blockGitHubActionsCI({ jobs: [{
|
|
143
|
-
name: "Test",
|
|
144
|
-
steps: [{ run: "pnpm run test --coverage" }, ...actionSteps]
|
|
145
|
-
}] }),
|
|
146
|
-
blockKnip({ entry: ["src/**/*.test.*"] }),
|
|
147
|
-
blockPackageJson({ properties: {
|
|
148
|
-
devDependencies: getPackageDependencies("@vitest/coverage-v8", "@vitest/eslint-plugin", "console-fail-test", "vitest"),
|
|
149
|
-
scripts: { test: `vitest ${addons.flags.join(" ")}`.trim() }
|
|
150
|
-
} }),
|
|
151
|
-
blockPrettier({ ignores: ["/coverage"] }),
|
|
152
|
-
blockTSDown({ entry: ["!src/**/*.test.*"] }),
|
|
153
|
-
blockVSCode({
|
|
154
|
-
debuggers: [{
|
|
155
|
-
args: ["run", "${relativeFile}"],
|
|
156
|
-
autoAttachChildProcesses: true,
|
|
157
|
-
console: "integratedTerminal",
|
|
158
|
-
name: "Debug Current Test File",
|
|
159
|
-
program: "${workspaceRoot}/node_modules/vitest/vitest.mjs",
|
|
160
|
-
request: "launch",
|
|
161
|
-
skipFiles: ["<node_internals>/**", "**/node_modules/**"],
|
|
162
|
-
smartStep: true,
|
|
163
|
-
type: "node"
|
|
164
|
-
}],
|
|
165
|
-
extensions: ["vitest.explorer"]
|
|
166
|
-
})
|
|
167
|
-
],
|
|
168
|
-
files: { "vitest.config.ts": `import { defineConfig } from "vitest/config";
|
|
169
|
-
|
|
170
|
-
export default defineConfig({
|
|
171
|
-
test: {
|
|
172
|
-
clearMocks: true,
|
|
173
|
-
coverage: {
|
|
174
|
-
${coverage.exclude?.length ? `exclude: ${JSON.stringify(coverage.exclude)},
|
|
175
|
-
` : ""}include: ${JSON.stringify(coverage.include)},
|
|
176
|
-
reporter: ["html", "lcov"],
|
|
177
|
-
},${environment ? `
|
|
178
|
-
environment: "${environment}",` : ""}
|
|
179
|
-
exclude: [${excludeText.slice(1, excludeText.length - 1)}],
|
|
180
|
-
setupFiles: ["console-fail-test/setup"],
|
|
181
|
-
},
|
|
182
|
-
});
|
|
183
|
-
` }
|
|
184
|
-
};
|
|
185
|
-
},
|
|
186
|
-
transition() {
|
|
187
|
-
return { addons: [
|
|
188
|
-
blockRemoveDependencies({ dependencies: [
|
|
189
|
-
"@vitest/coverage-istanbul",
|
|
190
|
-
"eslint-plugin-jest",
|
|
191
|
-
"eslint-plugin-mocha",
|
|
192
|
-
"eslint-plugin-vitest",
|
|
193
|
-
"jest mocha"
|
|
194
|
-
] }),
|
|
195
|
-
blockRemoveFiles({ files: [
|
|
196
|
-
".mocha*",
|
|
197
|
-
"jest.config.*",
|
|
198
|
-
"vitest.config.{c,j,m}*"
|
|
199
|
-
] }),
|
|
200
|
-
blockRemoveWorkflows({ workflows: ["test"] })
|
|
201
|
-
] };
|
|
202
|
-
}
|
|
203
|
-
});
|
|
204
|
-
//#endregion
|
|
205
|
-
export { blockVitest };
|
|
206
|
-
|
|
207
|
-
//# sourceMappingURL=blockVitest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockVitest.js","names":[],"sources":["../../src/blocks/blockVitest.ts"],"sourcesContent":["import { IntakeDirectory } from \"bingo-fs\";\nimport { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.js\";\nimport { zActionStep } from \"./actions/steps.js\";\nimport { blockCSpell } from \"./blockCSpell.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockESLint } from \"./blockESLint.js\";\nimport { blockExampleFiles } from \"./blockExampleFiles.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockGitignore } from \"./blockGitignore.js\";\nimport { blockKnip } from \"./blockKnip.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockPrettier } from \"./blockPrettier.js\";\nimport { blockRemoveDependencies } from \"./blockRemoveDependencies.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\nimport { blockTSDown } from \"./blockTSDown.js\";\nimport { blockVSCode } from \"./blockVSCode.js\";\nimport { intakeFileDefineConfig } from \"./intake/intakeFileDefineConfig.js\";\n\nconst zCoverage = z.object({\n\texclude: z.array(z.string()).optional(),\n\tinclude: z.array(z.string()).optional(),\n});\n\nconst zEnvironment = z.string();\n\nconst zExclude = z.array(z.string());\n\nconst zTest = z\n\t.object({\n\t\tcoverage: zCoverage,\n\t\tenvironment: zEnvironment,\n\t\texclude: zExclude,\n\t})\n\t.partial();\n\nfunction intakeFromConfig(files: IntakeDirectory) {\n\tconst rawData = intakeFileDefineConfig(files, [\"vitest.config.ts\"]);\n\tif (typeof rawData?.test !== \"object\") {\n\t\treturn undefined;\n\t}\n\n\tconst parsedData = zTest.safeParse(rawData.test).data;\n\tif (!parsedData) {\n\t\treturn undefined;\n\t}\n\n\treturn {\n\t\tcoverage: parsedData.coverage,\n\t\tenvironment: parsedData.environment,\n\t\texclude: parsedData.exclude,\n\t};\n}\n\nexport const blockVitest = base.createBlock({\n\tabout: {\n\t\tname: \"Vitest\",\n\t},\n\taddons: {\n\t\tactionSteps: z.array(zActionStep).default([]),\n\t\tcoverage: zCoverage.default({}),\n\t\tenvironment: zEnvironment.optional(),\n\t\texclude: zExclude.default([]),\n\t\tflags: z.array(z.string()).default([]),\n\t},\n\tintake({ files, options }) {\n\t\treturn {\n\t\t\t...intakeFromConfig(files),\n\t\t\tflags: options.packageData?.scripts?.test\n\t\t\t\t?.match(/^vitest (.+)/)?.[1]\n\t\t\t\t.split(\" \"),\n\t\t};\n\t},\n\tproduce({ addons }) {\n\t\tconst { actionSteps, coverage, environment, exclude } = addons;\n\t\tconst excludeText = JSON.stringify(\n\t\t\tArray.from(new Set([\"node_modules\", ...exclude])).sort(),\n\t\t);\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockCSpell({\n\t\t\t\t\tignorePaths: [\"coverage\"],\n\t\t\t\t}),\n\t\t\t\tblockDevelopmentDocs({\n\t\t\t\t\tsections: {\n\t\t\t\t\t\tTesting: {\n\t\t\t\t\t\t\tcontents: `\n[Vitest](https://vitest.dev) is used for tests.\nYou can run it locally on the command-line:\n\n\\`\\`\\`shell\npnpm run test\n\\`\\`\\`\n\nAdd the \\`--coverage\\` flag to compute test coverage and place reports in the \\`coverage/\\` directory:\n\n\\`\\`\\`shell\npnpm run test --coverage\n\\`\\`\\`\n\nNote that [console-fail-test](https://github.com/JoshuaKGoldberg/console-fail-test) is enabled for all test runs.\nCalls to \\`console.log\\`, \\`console.warn\\`, and other console methods will cause a test to fail.\n\n\n\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: [\"vitest.configs.recommended\"],\n\t\t\t\t\t\t\tfiles: [\"**/*.test.*\"],\n\t\t\t\t\t\t\trules: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tentries: {\n\t\t\t\t\t\t\t\t\t\t\"@typescript-eslint/no-unsafe-assignment\": \"off\",\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\tsettings: {\n\t\t\t\t\t\t\t\tvitest: { typecheck: true },\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\tignores: [\"coverage\", \"**/*.snap\"],\n\t\t\t\t\timports: [{ source: \"@vitest/eslint-plugin\", specifier: \"vitest\" }],\n\t\t\t\t}),\n\t\t\t\tblockExampleFiles({\n\t\t\t\t\tfiles: {\n\t\t\t\t\t\t\"greet.test.ts\": `import { describe, expect, it, vi } from \"vitest\";\n\nimport { greet } from \"./greet.js\";\n\nconst message = \"Yay, testing!\";\n\ndescribe(greet, () => {\n\tit(\"logs to the console once when message is provided as a string\", () => {\n\t\tconst logger = vi.spyOn(console, \"log\").mockImplementation(() => undefined);\n\n\t\tgreet(message);\n\n\t\texpect(logger).toHaveBeenCalledWith(message);\n\t\texpect(logger).toHaveBeenCalledTimes(1);\n\t});\n\n\tit(\"logs to the console once when message is provided as an object\", () => {\n\t\tconst logger = vi.spyOn(console, \"log\").mockImplementation(() => undefined);\n\n\t\tgreet({ message });\n\n\t\texpect(logger).toHaveBeenCalledWith(message);\n\t\texpect(logger).toHaveBeenCalledTimes(1);\n\t});\n\n\tit(\"logs once when times is not provided in an object\", () => {\n\t\tconst logger = vi.fn();\n\n\t\tgreet({ logger, message });\n\n\t\texpect(logger).toHaveBeenCalledWith(message);\n\t\texpect(logger).toHaveBeenCalledTimes(1);\n\t});\n\n\tit(\"logs a specified number of times when times is provided\", () => {\n\t\tconst logger = vi.fn();\n\t\tconst times = 7;\n\n\t\tgreet({ logger, message, times });\n\n\t\texpect(logger).toHaveBeenCalledWith(message);\n\t\texpect(logger).toHaveBeenCalledTimes(7);\n\t});\n});\n`,\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockGitignore({\n\t\t\t\t\tignores: [\"/coverage\"],\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: \"Test\",\n\t\t\t\t\t\t\tsteps: [{ run: \"pnpm run test --coverage\" }, ...actionSteps],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockKnip({\n\t\t\t\t\tentry: [\"src/**/*.test.*\"],\n\t\t\t\t}),\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tdevDependencies: getPackageDependencies(\n\t\t\t\t\t\t\t\"@vitest/coverage-v8\",\n\t\t\t\t\t\t\t\"@vitest/eslint-plugin\",\n\t\t\t\t\t\t\t\"console-fail-test\",\n\t\t\t\t\t\t\t\"vitest\",\n\t\t\t\t\t\t),\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\ttest: `vitest ${addons.flags.join(\" \")}`.trim(),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockPrettier({\n\t\t\t\t\tignores: [\"/coverage\"],\n\t\t\t\t}),\n\t\t\t\tblockTSDown({\n\t\t\t\t\tentry: [\"!src/**/*.test.*\"],\n\t\t\t\t}),\n\t\t\t\tblockVSCode({\n\t\t\t\t\tdebuggers: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\targs: [\"run\", \"${relativeFile}\"],\n\t\t\t\t\t\t\tautoAttachChildProcesses: true,\n\t\t\t\t\t\t\tconsole: \"integratedTerminal\",\n\t\t\t\t\t\t\tname: \"Debug Current Test File\",\n\t\t\t\t\t\t\tprogram: \"${workspaceRoot}/node_modules/vitest/vitest.mjs\",\n\t\t\t\t\t\t\trequest: \"launch\",\n\t\t\t\t\t\t\tskipFiles: [\"<node_internals>/**\", \"**/node_modules/**\"],\n\t\t\t\t\t\t\tsmartStep: true,\n\t\t\t\t\t\t\ttype: \"node\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t\textensions: [\"vitest.explorer\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t\"vitest.config.ts\": `import { defineConfig } from \"vitest/config\";\n\nexport default defineConfig({\n\ttest: {\n\t\tclearMocks: true,\n\t\tcoverage: {\n\t\t\t${\n\t\t\t\tcoverage.exclude?.length\n\t\t\t\t\t? `exclude: ${JSON.stringify(coverage.exclude)},\n\t\t\t`\n\t\t\t\t\t: \"\"\n\t\t\t}include: ${JSON.stringify(coverage.include)},\n\t\t\treporter: [\"html\", \"lcov\"],\n\t\t},${\n\t\t\tenvironment\n\t\t\t\t? `\n\t\tenvironment: \"${environment}\",`\n\t\t\t\t: \"\"\n\t\t}\n\t\texclude: [${excludeText.slice(1, excludeText.length - 1)}],\n\t\tsetupFiles: [\"console-fail-test/setup\"],\n\t},\n});\n\t`,\n\t\t\t},\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveDependencies({\n\t\t\t\t\tdependencies: [\n\t\t\t\t\t\t\"@vitest/coverage-istanbul\",\n\t\t\t\t\t\t\"eslint-plugin-jest\",\n\t\t\t\t\t\t\"eslint-plugin-mocha\",\n\t\t\t\t\t\t\"eslint-plugin-vitest\",\n\t\t\t\t\t\t\"jest mocha\",\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\".mocha*\", \"jest.config.*\", \"vitest.config.{c,j,m}*\"],\n\t\t\t\t}),\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"test\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAsBA,MAAM,YAAY,EAAE,OAAO;CAC1B,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS;CACtC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS;AACvC,CAAC;AAED,MAAM,eAAe,EAAE,OAAO;AAE9B,MAAM,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC;AAEnC,MAAM,QAAQ,EACZ,OAAO;CACP,UAAU;CACV,aAAa;CACb,SAAS;AACV,CAAC,CAAC,CACD,QAAQ;AAEV,SAAS,iBAAiB,OAAwB;CACjD,MAAM,UAAU,uBAAuB,OAAO,CAAC,kBAAkB,CAAC;CAClE,IAAI,OAAO,SAAS,SAAS,UAC5B;CAGD,MAAM,aAAa,MAAM,UAAU,QAAQ,IAAI,CAAC,CAAC;CACjD,IAAI,CAAC,YACJ;CAGD,OAAO;EACN,UAAU,WAAW;EACrB,aAAa,WAAW;EACxB,SAAS,WAAW;CACrB;AACD;AAEA,MAAa,cAAc,KAAK,YAAY;CAC3C,OAAO,EACN,MAAM,SACP;CACA,QAAQ;EACP,aAAa,EAAE,MAAM,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;EAC5C,UAAU,UAAU,QAAQ,CAAC,CAAC;EAC9B,aAAa,aAAa,SAAS;EACnC,SAAS,SAAS,QAAQ,CAAC,CAAC;EAC5B,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;CACtC;CACA,OAAO,EAAE,OAAO,WAAW;EAC1B,OAAO;GACN,GAAG,iBAAiB,KAAK;GACzB,OAAO,QAAQ,aAAa,SAAS,MAClC,MAAM,cAAc,CAAC,GAAG,EAAE,CAC3B,MAAM,GAAG;EACZ;CACD;CACA,QAAQ,EAAE,UAAU;EACnB,MAAM,EAAE,aAAa,UAAU,aAAa,YAAY;EACxD,MAAM,cAAc,KAAK,UACxB,MAAM,qBAAK,IAAI,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,CACxD;EAEA,OAAO;GACN,QAAQ;IACP,YAAY,EACX,aAAa,CAAC,UAAU,EACzB,CAAC;IACD,qBAAqB,EACpB,UAAU,EACT,SAAS,EACR,UAAU;;;;;;;;;;;;;;;;;;IAmBX,EACD,EACD,CAAC;IACD,YAAY;KACX,YAAY,CACX;MACC,SAAS,CAAC,4BAA4B;MACtC,OAAO,CAAC,aAAa;MACrB,OAAO,CACN,EACC,SAAS,EACR,2CAA2C,MAC5C,EACD,CACD;MACA,UAAU,EACT,QAAQ,EAAE,WAAW,KAAK,EAC3B;KACD,CACD;KACA,SAAS,CAAC,YAAY,WAAW;KACjC,SAAS,CAAC;MAAE,QAAQ;MAAyB,WAAW;KAAS,CAAC;IACnE,CAAC;IACD,kBAAkB,EACjB,OAAO,EACN,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6ClB,EACD,CAAC;IACD,eAAe,EACd,SAAS,CAAC,WAAW,EACtB,CAAC;IACD,qBAAqB,EACpB,MAAM,CACL;KACC,MAAM;KACN,OAAO,CAAC,EAAE,KAAK,2BAA2B,GAAG,GAAG,WAAW;IAC5D,CACD,EACD,CAAC;IACD,UAAU,EACT,OAAO,CAAC,iBAAiB,EAC1B,CAAC;IACD,iBAAiB,EAChB,YAAY;KACX,iBAAiB,uBAChB,uBACA,yBACA,qBACA,QACD;KACA,SAAS,EACR,MAAM,UAAU,OAAO,MAAM,KAAK,GAAG,IAAI,KAAK,EAC/C;IACD,EACD,CAAC;IACD,cAAc,EACb,SAAS,CAAC,WAAW,EACtB,CAAC;IACD,YAAY,EACX,OAAO,CAAC,kBAAkB,EAC3B,CAAC;IACD,YAAY;KACX,WAAW,CACV;MACC,MAAM,CAAC,OAAO,iBAAiB;MAC/B,0BAA0B;MAC1B,SAAS;MACT,MAAM;MACN,SAAS;MACT,SAAS;MACT,WAAW,CAAC,uBAAuB,oBAAoB;MACvD,WAAW;MACX,MAAM;KACP,CACD;KACA,YAAY,CAAC,iBAAiB;IAC/B,CAAC;GACF;GACA,OAAO,EACN,oBAAoB;;;;;;KAOpB,SAAS,SAAS,SACf,YAAY,KAAK,UAAU,SAAS,OAAO,EAAE;OAE7C,GACH,WAAW,KAAK,UAAU,SAAS,OAAO,EAAE;;MAG7C,cACG;kBACY,YAAY,MACxB,GACH;cACW,YAAY,MAAM,GAAG,YAAY,SAAS,CAAC,EAAE;;;;GAKxD;EACD;CACD;CACA,aAAa;EACZ,OAAO,EACN,QAAQ;GACP,wBAAwB,EACvB,cAAc;IACb;IACA;IACA;IACA;IACA;GACD,EACD,CAAC;GACD,iBAAiB,EAChB,OAAO;IAAC;IAAW;IAAiB;GAAwB,EAC7D,CAAC;GACD,qBAAqB,EACpB,WAAW,CAAC,MAAM,EACnB,CAAC;EACF,EACD;CACD;AACD,CAAC"}
|