create-typescript-app 2.61.1 → 2.62.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/lib/base.js +1 -2
- package/lib/blocks/actions/resolveUses.js +1 -2
- package/lib/blocks/actions/steps.js +1 -2
- package/lib/blocks/bin/getPrimaryBin.js +1 -2
- package/lib/blocks/blockAllContributors.js +1 -2
- package/lib/blocks/blockAreTheTypesWrong.js +1 -2
- package/lib/blocks/blockCSpell.js +1 -2
- package/lib/blocks/blockCTATransitions.js +1 -2
- package/lib/blocks/blockCodecov.js +1 -2
- package/lib/blocks/blockContributingDocs.js +1 -2
- package/lib/blocks/blockContributorCovenant.js +1 -2
- package/lib/blocks/blockDevelopmentDocs.js +1 -2
- package/lib/blocks/blockESLint.js +1 -2
- package/lib/blocks/blockESLintComments.js +1 -2
- package/lib/blocks/blockESLintJSDoc.js +1 -2
- package/lib/blocks/blockESLintJSONC.js +1 -2
- package/lib/blocks/blockESLintMarkdown.js +1 -2
- package/lib/blocks/blockESLintMoreStyling.js +1 -2
- package/lib/blocks/blockESLintNode.js +1 -2
- package/lib/blocks/blockESLintPackageJson.js +1 -2
- package/lib/blocks/blockESLintPerfectionist.js +1 -2
- package/lib/blocks/blockESLintPlugin.js +1 -2
- package/lib/blocks/blockESLintRegexp.js +1 -2
- package/lib/blocks/blockESLintYML.js +1 -2
- package/lib/blocks/blockExampleFiles.js +1 -2
- package/lib/blocks/blockExports.js +1 -2
- package/lib/blocks/blockFunding.js +1 -2
- package/lib/blocks/blockGitHubActionsCI.js +1 -2
- package/lib/blocks/blockGitHubApps.js +1 -2
- package/lib/blocks/blockGitHubIssueTemplates.js +1 -2
- package/lib/blocks/blockGitHubPRTemplate.js +1 -2
- package/lib/blocks/blockGitignore.js +1 -2
- package/lib/blocks/blockKnip.js +10 -10
- package/lib/blocks/blockMITLicense.js +1 -2
- package/lib/blocks/blockNcc.js +1 -2
- package/lib/blocks/blockNvmrc.js +1 -2
- package/lib/blocks/blockOctoGuide.js +1 -2
- package/lib/blocks/blockOctoGuideStrict.js +1 -2
- package/lib/blocks/blockPackageJson.js +1 -2
- package/lib/blocks/blockPnpmDedupe.js +1 -2
- package/lib/blocks/blockPrettier.js +1 -2
- package/lib/blocks/blockPrettierPluginCurly.js +1 -2
- package/lib/blocks/blockPrettierPluginPackageJson.js +1 -2
- package/lib/blocks/blockPrettierPluginSentencesPerLine.js +1 -2
- package/lib/blocks/blockPrettierPluginSh.js +1 -2
- package/lib/blocks/blockREADME.js +1 -2
- package/lib/blocks/blockReleaseIt.js +1 -2
- package/lib/blocks/blockRemoveDependencies.js +1 -2
- package/lib/blocks/blockRemoveFiles.js +1 -2
- package/lib/blocks/blockRemoveWorkflows.js +1 -2
- package/lib/blocks/blockRenovate.js +1 -2
- package/lib/blocks/blockRepositoryBranchRuleset.js +1 -2
- package/lib/blocks/blockRepositoryLabels.js +1 -2
- package/lib/blocks/blockRepositorySecrets.js +1 -2
- package/lib/blocks/blockRepositorySettings.js +1 -2
- package/lib/blocks/blockSecurityDocs.js +1 -2
- package/lib/blocks/blockSideEffects.js +1 -2
- package/lib/blocks/blockTSDown.js +1 -3
- package/lib/blocks/blockTemplatedWith.js +1 -2
- package/lib/blocks/blockTypeScript.js +1 -2
- package/lib/blocks/blockVSCode.js +1 -2
- package/lib/blocks/blockVitest.js +1 -2
- package/lib/blocks/blockWebExt.js +1 -2
- package/lib/blocks/eslint/blockESLintIntake.js +1 -2
- package/lib/blocks/eslint/blockESLintPluginIntake.js +1 -2
- package/lib/blocks/eslint/getScriptFileExtension.js +1 -2
- package/lib/blocks/eslint/mergeAllExtensions.js +1 -2
- package/lib/blocks/eslint/schemas.js +1 -2
- package/lib/blocks/files/createJobName.js +1 -2
- package/lib/blocks/files/createMultiWorkflowFile.js +1 -2
- package/lib/blocks/files/createSoloWorkflowFile.js +1 -2
- package/lib/blocks/files/formatIgnoreFile.js +1 -2
- package/lib/blocks/files/formatWorkflowYaml.js +1 -2
- package/lib/blocks/files/formatYaml.js +1 -2
- package/lib/blocks/files/removeUsesQuotes.js +1 -2
- package/lib/blocks/getInstallationSuggestions.js +1 -2
- package/lib/blocks/index.js +1 -2
- package/lib/blocks/intake/intakeFile.js +1 -2
- package/lib/blocks/intake/intakeFileAsJson.js +1 -2
- package/lib/blocks/intake/intakeFileAsYaml.js +1 -2
- package/lib/blocks/intake/intakeFileDefineConfig.js +1 -2
- package/lib/blocks/intake/intakeFileExportObject.js +24 -0
- package/lib/blocks/options.fakes.js +1 -2
- package/lib/blocks/outcomeLabels.js +1 -2
- package/lib/blocks/phases.js +1 -2
- package/lib/constants.js +1 -2
- package/lib/data/contributions.js +1 -2
- package/lib/data/packageData.js +1 -2
- package/lib/index.js +1 -2
- package/lib/inputs/inputFromDirectory.js +1 -2
- package/lib/inputs/inputFromOctokit.js +1 -2
- package/lib/options/readAccess.js +1 -2
- package/lib/options/readAllContributors.js +1 -2
- package/lib/options/readAuthor.js +1 -2
- package/lib/options/readBin.js +1 -2
- package/lib/options/readDescription.js +1 -2
- package/lib/options/readDescriptionFromReadme.js +1 -2
- package/lib/options/readDevelopmentDocumentation.js +1 -2
- package/lib/options/readDocumentation.js +1 -2
- package/lib/options/readEmailFromCodeOfConduct.js +1 -2
- package/lib/options/readEmailFromGit.js +1 -2
- package/lib/options/readEmailFromNpm.js +1 -2
- package/lib/options/readEmails.js +1 -2
- package/lib/options/readEmoji.js +1 -2
- package/lib/options/readExistingLabels.js +1 -2
- package/lib/options/readFileAsJson.js +1 -2
- package/lib/options/readFileSafe.js +1 -2
- package/lib/options/readFunding.js +1 -2
- package/lib/options/readGitDefaults.js +1 -2
- package/lib/options/readGuide.js +1 -2
- package/lib/options/readKeywords.js +1 -2
- package/lib/options/readLogo.js +1 -2
- package/lib/options/readLogoSizing.js +1 -2
- package/lib/options/readNode.js +1 -2
- package/lib/options/readNpmDefaults.js +1 -2
- package/lib/options/readOwner.js +1 -2
- package/lib/options/readPackageAuthor.js +1 -2
- package/lib/options/readPackageData.js +1 -2
- package/lib/options/readPnpm.js +1 -2
- package/lib/options/readReadmeAdditional.js +1 -2
- package/lib/options/readReadmeExplainer.js +1 -2
- package/lib/options/readReadmeFootnotes.js +1 -2
- package/lib/options/readReadmeUsage.js +1 -2
- package/lib/options/readRepository.js +1 -2
- package/lib/options/readRulesetId.js +1 -2
- package/lib/options/readTitle.js +1 -2
- package/lib/options/readWords.js +1 -2
- package/lib/options/readWorkflowsVersions.js +1 -2
- package/lib/presets/common.js +1 -2
- package/lib/presets/everything.js +1 -2
- package/lib/presets/index.js +1 -2
- package/lib/presets/minimal.js +1 -2
- package/lib/schemas.js +1 -2
- package/lib/template.js +1 -2
- package/lib/utils/htmlToTextSafe.js +1 -2
- package/lib/utils/resolveBin.js +1 -2
- package/lib/utils/swallowError.js +1 -2
- package/lib/utils/swallowErrorAsync.js +1 -2
- package/lib/utils/trimPrecedingSlash.js +1 -2
- package/lib/utils/tryCatch.js +1 -2
- package/package.json +1 -1
- package/lib/_virtual/rolldown_runtime.js +0 -20
- package/lib/base.d.ts +0 -177
- package/lib/base.d.ts.map +0 -1
- package/lib/base.js.map +0 -1
- package/lib/blocks/actions/resolveUses.d.ts +0 -7
- package/lib/blocks/actions/resolveUses.d.ts.map +0 -1
- package/lib/blocks/actions/resolveUses.js.map +0 -1
- package/lib/blocks/actions/steps.d.ts +0 -38
- package/lib/blocks/actions/steps.d.ts.map +0 -1
- 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.map +0 -1
- package/lib/blocks/blockAllContributors.d.ts +0 -74
- package/lib/blocks/blockAllContributors.d.ts.map +0 -1
- package/lib/blocks/blockAllContributors.js.map +0 -1
- package/lib/blocks/blockAreTheTypesWrong.d.ts +0 -74
- package/lib/blocks/blockAreTheTypesWrong.d.ts.map +0 -1
- package/lib/blocks/blockAreTheTypesWrong.js.map +0 -1
- package/lib/blocks/blockCSpell.d.ts +0 -77
- package/lib/blocks/blockCSpell.d.ts.map +0 -1
- package/lib/blocks/blockCSpell.js.map +0 -1
- package/lib/blocks/blockCTATransitions.d.ts +0 -74
- package/lib/blocks/blockCTATransitions.d.ts.map +0 -1
- package/lib/blocks/blockCTATransitions.js.map +0 -1
- package/lib/blocks/blockCodecov.d.ts +0 -76
- package/lib/blocks/blockCodecov.d.ts.map +0 -1
- package/lib/blocks/blockCodecov.js.map +0 -1
- package/lib/blocks/blockContributingDocs.d.ts +0 -74
- package/lib/blocks/blockContributingDocs.d.ts.map +0 -1
- package/lib/blocks/blockContributingDocs.js.map +0 -1
- package/lib/blocks/blockContributorCovenant.d.ts +0 -74
- package/lib/blocks/blockContributorCovenant.d.ts.map +0 -1
- package/lib/blocks/blockContributorCovenant.js.map +0 -1
- package/lib/blocks/blockDevelopmentDocs.d.ts +0 -88
- package/lib/blocks/blockDevelopmentDocs.d.ts.map +0 -1
- package/lib/blocks/blockDevelopmentDocs.js.map +0 -1
- package/lib/blocks/blockESLint.d.ts +0 -98
- package/lib/blocks/blockESLint.d.ts.map +0 -1
- package/lib/blocks/blockESLint.js.map +0 -1
- package/lib/blocks/blockESLintComments.d.ts +0 -74
- package/lib/blocks/blockESLintComments.d.ts.map +0 -1
- package/lib/blocks/blockESLintComments.js.map +0 -1
- package/lib/blocks/blockESLintJSDoc.d.ts +0 -74
- package/lib/blocks/blockESLintJSDoc.d.ts.map +0 -1
- package/lib/blocks/blockESLintJSDoc.js.map +0 -1
- package/lib/blocks/blockESLintJSONC.d.ts +0 -74
- package/lib/blocks/blockESLintJSONC.d.ts.map +0 -1
- package/lib/blocks/blockESLintJSONC.js.map +0 -1
- package/lib/blocks/blockESLintMarkdown.d.ts +0 -74
- package/lib/blocks/blockESLintMarkdown.d.ts.map +0 -1
- package/lib/blocks/blockESLintMarkdown.js.map +0 -1
- package/lib/blocks/blockESLintMoreStyling.d.ts +0 -75
- package/lib/blocks/blockESLintMoreStyling.d.ts.map +0 -1
- package/lib/blocks/blockESLintMoreStyling.js.map +0 -1
- package/lib/blocks/blockESLintNode.d.ts +0 -74
- package/lib/blocks/blockESLintNode.d.ts.map +0 -1
- package/lib/blocks/blockESLintNode.js.map +0 -1
- package/lib/blocks/blockESLintPackageJson.d.ts +0 -74
- package/lib/blocks/blockESLintPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockESLintPackageJson.js.map +0 -1
- package/lib/blocks/blockESLintPerfectionist.d.ts +0 -74
- package/lib/blocks/blockESLintPerfectionist.d.ts.map +0 -1
- package/lib/blocks/blockESLintPerfectionist.js.map +0 -1
- package/lib/blocks/blockESLintPlugin.d.ts +0 -76
- package/lib/blocks/blockESLintPlugin.d.ts.map +0 -1
- package/lib/blocks/blockESLintPlugin.js.map +0 -1
- package/lib/blocks/blockESLintRegexp.d.ts +0 -74
- package/lib/blocks/blockESLintRegexp.d.ts.map +0 -1
- package/lib/blocks/blockESLintRegexp.js.map +0 -1
- package/lib/blocks/blockESLintYML.d.ts +0 -74
- package/lib/blocks/blockESLintYML.d.ts.map +0 -1
- package/lib/blocks/blockESLintYML.js.map +0 -1
- package/lib/blocks/blockExampleFiles.d.ts +0 -77
- package/lib/blocks/blockExampleFiles.d.ts.map +0 -1
- package/lib/blocks/blockExampleFiles.js.map +0 -1
- package/lib/blocks/blockExports.d.ts +0 -77
- package/lib/blocks/blockExports.d.ts.map +0 -1
- package/lib/blocks/blockExports.js.map +0 -1
- package/lib/blocks/blockFunding.d.ts +0 -74
- package/lib/blocks/blockFunding.d.ts.map +0 -1
- package/lib/blocks/blockFunding.js.map +0 -1
- package/lib/blocks/blockGitHubActionsCI.d.ts +0 -90
- package/lib/blocks/blockGitHubActionsCI.d.ts.map +0 -1
- package/lib/blocks/blockGitHubActionsCI.js.map +0 -1
- package/lib/blocks/blockGitHubApps.d.ts +0 -79
- package/lib/blocks/blockGitHubApps.d.ts.map +0 -1
- package/lib/blocks/blockGitHubApps.js.map +0 -1
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +0 -74
- package/lib/blocks/blockGitHubIssueTemplates.d.ts.map +0 -1
- package/lib/blocks/blockGitHubIssueTemplates.js.map +0 -1
- package/lib/blocks/blockGitHubPRTemplate.d.ts +0 -74
- package/lib/blocks/blockGitHubPRTemplate.d.ts.map +0 -1
- package/lib/blocks/blockGitHubPRTemplate.js.map +0 -1
- package/lib/blocks/blockGitignore.d.ts +0 -76
- package/lib/blocks/blockGitignore.d.ts.map +0 -1
- package/lib/blocks/blockGitignore.js.map +0 -1
- package/lib/blocks/blockKnip.d.ts +0 -78
- package/lib/blocks/blockKnip.d.ts.map +0 -1
- package/lib/blocks/blockKnip.js.map +0 -1
- package/lib/blocks/blockMITLicense.d.ts +0 -74
- package/lib/blocks/blockMITLicense.d.ts.map +0 -1
- package/lib/blocks/blockMITLicense.js.map +0 -1
- package/lib/blocks/blockNcc.d.ts +0 -76
- package/lib/blocks/blockNcc.d.ts.map +0 -1
- package/lib/blocks/blockNcc.js.map +0 -1
- package/lib/blocks/blockNvmrc.d.ts +0 -74
- package/lib/blocks/blockNvmrc.d.ts.map +0 -1
- package/lib/blocks/blockNvmrc.js.map +0 -1
- package/lib/blocks/blockOctoGuide.d.ts +0 -76
- package/lib/blocks/blockOctoGuide.d.ts.map +0 -1
- package/lib/blocks/blockOctoGuide.js.map +0 -1
- package/lib/blocks/blockOctoGuideStrict.d.ts +0 -74
- package/lib/blocks/blockOctoGuideStrict.d.ts.map +0 -1
- package/lib/blocks/blockOctoGuideStrict.js.map +0 -1
- package/lib/blocks/blockPackageJson.d.ts +0 -151
- package/lib/blocks/blockPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockPackageJson.js.map +0 -1
- package/lib/blocks/blockPnpmDedupe.d.ts +0 -74
- package/lib/blocks/blockPnpmDedupe.d.ts.map +0 -1
- package/lib/blocks/blockPnpmDedupe.js.map +0 -1
- package/lib/blocks/blockPrettier.d.ts +0 -84
- package/lib/blocks/blockPrettier.d.ts.map +0 -1
- package/lib/blocks/blockPrettier.js.map +0 -1
- package/lib/blocks/blockPrettierPluginCurly.d.ts +0 -74
- package/lib/blocks/blockPrettierPluginCurly.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginCurly.js.map +0 -1
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +0 -74
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginPackageJson.js.map +0 -1
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +0 -74
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginSentencesPerLine.js.map +0 -1
- package/lib/blocks/blockPrettierPluginSh.d.ts +0 -74
- package/lib/blocks/blockPrettierPluginSh.d.ts.map +0 -1
- package/lib/blocks/blockPrettierPluginSh.js.map +0 -1
- package/lib/blocks/blockREADME.d.ts +0 -87
- package/lib/blocks/blockREADME.d.ts.map +0 -1
- package/lib/blocks/blockREADME.js.map +0 -1
- package/lib/blocks/blockReleaseIt.d.ts +0 -79
- package/lib/blocks/blockReleaseIt.d.ts.map +0 -1
- package/lib/blocks/blockReleaseIt.js.map +0 -1
- package/lib/blocks/blockRemoveDependencies.d.ts +0 -76
- package/lib/blocks/blockRemoveDependencies.d.ts.map +0 -1
- package/lib/blocks/blockRemoveDependencies.js.map +0 -1
- package/lib/blocks/blockRemoveFiles.d.ts +0 -76
- package/lib/blocks/blockRemoveFiles.d.ts.map +0 -1
- package/lib/blocks/blockRemoveFiles.js.map +0 -1
- package/lib/blocks/blockRemoveWorkflows.d.ts +0 -76
- package/lib/blocks/blockRemoveWorkflows.d.ts.map +0 -1
- package/lib/blocks/blockRemoveWorkflows.js.map +0 -1
- package/lib/blocks/blockRenovate.d.ts +0 -76
- package/lib/blocks/blockRenovate.d.ts.map +0 -1
- package/lib/blocks/blockRenovate.js.map +0 -1
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +0 -76
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts.map +0 -1
- package/lib/blocks/blockRepositoryBranchRuleset.js.map +0 -1
- package/lib/blocks/blockRepositoryLabels.d.ts +0 -74
- package/lib/blocks/blockRepositoryLabels.d.ts.map +0 -1
- package/lib/blocks/blockRepositoryLabels.js.map +0 -1
- package/lib/blocks/blockRepositorySecrets.d.ts +0 -79
- package/lib/blocks/blockRepositorySecrets.d.ts.map +0 -1
- package/lib/blocks/blockRepositorySecrets.js.map +0 -1
- package/lib/blocks/blockRepositorySettings.d.ts +0 -74
- package/lib/blocks/blockRepositorySettings.d.ts.map +0 -1
- package/lib/blocks/blockRepositorySettings.js.map +0 -1
- package/lib/blocks/blockSecurityDocs.d.ts +0 -74
- package/lib/blocks/blockSecurityDocs.d.ts.map +0 -1
- package/lib/blocks/blockSecurityDocs.js.map +0 -1
- package/lib/blocks/blockSideEffects.d.ts +0 -76
- package/lib/blocks/blockSideEffects.d.ts.map +0 -1
- package/lib/blocks/blockSideEffects.js.map +0 -1
- package/lib/blocks/blockTSDown.d.ts +0 -78
- package/lib/blocks/blockTSDown.d.ts.map +0 -1
- package/lib/blocks/blockTSDown.js.map +0 -1
- package/lib/blocks/blockTemplatedWith.d.ts +0 -74
- package/lib/blocks/blockTemplatedWith.d.ts.map +0 -1
- package/lib/blocks/blockTemplatedWith.js.map +0 -1
- package/lib/blocks/blockTypeScript.d.ts +0 -186
- package/lib/blocks/blockTypeScript.d.ts.map +0 -1
- package/lib/blocks/blockTypeScript.js.map +0 -1
- package/lib/blocks/blockVSCode.d.ts +0 -83
- package/lib/blocks/blockVSCode.d.ts.map +0 -1
- package/lib/blocks/blockVSCode.js.map +0 -1
- package/lib/blocks/blockVitest.d.ts +0 -91
- package/lib/blocks/blockVitest.d.ts.map +0 -1
- package/lib/blocks/blockVitest.js.map +0 -1
- package/lib/blocks/blockWebExt.d.ts +0 -74
- package/lib/blocks/blockWebExt.d.ts.map +0 -1
- 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.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.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.map +0 -1
- package/lib/blocks/eslint/mergeAllExtensions.d.ts +0 -18
- package/lib/blocks/eslint/mergeAllExtensions.d.ts.map +0 -1
- package/lib/blocks/eslint/mergeAllExtensions.js.map +0 -1
- package/lib/blocks/eslint/schemas.d.ts +0 -113
- package/lib/blocks/eslint/schemas.d.ts.map +0 -1
- 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.map +0 -1
- package/lib/blocks/files/createMultiWorkflowFile.d.ts +0 -29
- package/lib/blocks/files/createMultiWorkflowFile.d.ts.map +0 -1
- package/lib/blocks/files/createMultiWorkflowFile.js.map +0 -1
- package/lib/blocks/files/createSoloWorkflowFile.d.ts +0 -72
- package/lib/blocks/files/createSoloWorkflowFile.d.ts.map +0 -1
- 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.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.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.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.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.map +0 -1
- package/lib/blocks/index.d.ts +0 -3715
- package/lib/blocks/index.d.ts.map +0 -1
- package/lib/blocks/index.js.map +0 -1
- package/lib/blocks/intake/intakeFile.d.ts +0 -7
- package/lib/blocks/intake/intakeFile.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFile.js.map +0 -1
- package/lib/blocks/intake/intakeFileAsJson.d.ts +0 -7
- package/lib/blocks/intake/intakeFileAsJson.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileAsJson.js.map +0 -1
- package/lib/blocks/intake/intakeFileAsYaml.d.ts +0 -7
- package/lib/blocks/intake/intakeFileAsYaml.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileAsYaml.js.map +0 -1
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts +0 -7
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts.map +0 -1
- package/lib/blocks/intake/intakeFileDefineConfig.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.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.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.map +0 -1
- package/lib/constants.d.ts +0 -10
- package/lib/constants.d.ts.map +0 -1
- 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.map +0 -1
- package/lib/data/packageData.d.ts +0 -11
- package/lib/data/packageData.d.ts.map +0 -1
- package/lib/data/packageData.js.map +0 -1
- package/lib/index.d.ts +0 -299
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/inputs/inputFromDirectory.d.ts +0 -10
- package/lib/inputs/inputFromDirectory.d.ts.map +0 -1
- package/lib/inputs/inputFromDirectory.js.map +0 -1
- package/lib/inputs/inputFromOctokit.d.ts +0 -11
- package/lib/inputs/inputFromOctokit.d.ts.map +0 -1
- package/lib/inputs/inputFromOctokit.js.map +0 -1
- package/lib/options/readAccess.d.ts +0 -7
- package/lib/options/readAccess.d.ts.map +0 -1
- package/lib/options/readAccess.js.map +0 -1
- package/lib/options/readAllContributors.d.ts +0 -8
- package/lib/options/readAllContributors.d.ts.map +0 -1
- package/lib/options/readAllContributors.js.map +0 -1
- package/lib/options/readAuthor.d.ts +0 -10
- package/lib/options/readAuthor.d.ts.map +0 -1
- package/lib/options/readAuthor.js.map +0 -1
- package/lib/options/readBin.d.ts +0 -7
- package/lib/options/readBin.d.ts.map +0 -1
- package/lib/options/readBin.js.map +0 -1
- package/lib/options/readDescription.d.ts +0 -7
- package/lib/options/readDescription.d.ts.map +0 -1
- 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.map +0 -1
- package/lib/options/readDevelopmentDocumentation.d.ts +0 -7
- package/lib/options/readDevelopmentDocumentation.d.ts.map +0 -1
- package/lib/options/readDevelopmentDocumentation.js.map +0 -1
- package/lib/options/readDocumentation.d.ts +0 -7
- package/lib/options/readDocumentation.d.ts.map +0 -1
- package/lib/options/readDocumentation.js.map +0 -1
- package/lib/options/readEmailFromCodeOfConduct.d.ts +0 -7
- package/lib/options/readEmailFromCodeOfConduct.d.ts.map +0 -1
- package/lib/options/readEmailFromCodeOfConduct.js.map +0 -1
- package/lib/options/readEmailFromGit.d.ts +0 -7
- package/lib/options/readEmailFromGit.d.ts.map +0 -1
- package/lib/options/readEmailFromGit.js.map +0 -1
- package/lib/options/readEmailFromNpm.d.ts +0 -8
- package/lib/options/readEmailFromNpm.d.ts.map +0 -1
- package/lib/options/readEmailFromNpm.js.map +0 -1
- package/lib/options/readEmails.d.ts +0 -10
- package/lib/options/readEmails.d.ts.map +0 -1
- 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.map +0 -1
- package/lib/options/readExistingLabels.d.ts +0 -11
- package/lib/options/readExistingLabels.d.ts.map +0 -1
- 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.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.map +0 -1
- package/lib/options/readFunding.d.ts +0 -7
- package/lib/options/readFunding.d.ts.map +0 -1
- package/lib/options/readFunding.js.map +0 -1
- package/lib/options/readGitDefaults.d.ts +0 -8
- package/lib/options/readGitDefaults.d.ts.map +0 -1
- package/lib/options/readGitDefaults.js.map +0 -1
- package/lib/options/readGuide.d.ts +0 -10
- package/lib/options/readGuide.d.ts.map +0 -1
- package/lib/options/readGuide.js.map +0 -1
- package/lib/options/readKeywords.d.ts +0 -7
- package/lib/options/readKeywords.d.ts.map +0 -1
- 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.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.map +0 -1
- package/lib/options/readNode.d.ts +0 -10
- package/lib/options/readNode.d.ts.map +0 -1
- package/lib/options/readNode.js.map +0 -1
- package/lib/options/readNpmDefaults.d.ts +0 -8
- package/lib/options/readNpmDefaults.d.ts.map +0 -1
- package/lib/options/readNpmDefaults.js.map +0 -1
- package/lib/options/readOwner.d.ts +0 -9
- package/lib/options/readOwner.d.ts.map +0 -1
- package/lib/options/readOwner.js.map +0 -1
- package/lib/options/readPackageAuthor.d.ts +0 -11
- package/lib/options/readPackageAuthor.d.ts.map +0 -1
- package/lib/options/readPackageAuthor.js.map +0 -1
- package/lib/options/readPackageData.d.ts +0 -8
- package/lib/options/readPackageData.d.ts.map +0 -1
- package/lib/options/readPackageData.js.map +0 -1
- package/lib/options/readPnpm.d.ts +0 -7
- package/lib/options/readPnpm.d.ts.map +0 -1
- 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.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.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.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.map +0 -1
- package/lib/options/readRepository.d.ts +0 -11
- package/lib/options/readRepository.d.ts.map +0 -1
- package/lib/options/readRepository.js.map +0 -1
- package/lib/options/readRulesetId.d.ts +0 -7
- package/lib/options/readRulesetId.d.ts.map +0 -1
- 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.map +0 -1
- package/lib/options/readWords.d.ts +0 -7
- package/lib/options/readWords.d.ts.map +0 -1
- package/lib/options/readWords.js.map +0 -1
- package/lib/options/readWorkflowsVersions.d.ts +0 -8
- package/lib/options/readWorkflowsVersions.d.ts.map +0 -1
- package/lib/options/readWorkflowsVersions.js.map +0 -1
- package/lib/package.d.ts +0 -138
- package/lib/package.d.ts.map +0 -1
- package/lib/presets/common.d.ts +0 -173
- package/lib/presets/common.d.ts.map +0 -1
- package/lib/presets/common.js.map +0 -1
- package/lib/presets/everything.d.ts +0 -173
- package/lib/presets/everything.d.ts.map +0 -1
- package/lib/presets/everything.js.map +0 -1
- package/lib/presets/index.d.ts +0 -510
- package/lib/presets/index.d.ts.map +0 -1
- package/lib/presets/index.js.map +0 -1
- package/lib/presets/minimal.d.ts +0 -173
- package/lib/presets/minimal.d.ts.map +0 -1
- package/lib/presets/minimal.js.map +0 -1
- package/lib/schemas.d.ts +0 -112
- package/lib/schemas.d.ts.map +0 -1
- package/lib/schemas.js.map +0 -1
- package/lib/template.d.ts +0 -173
- package/lib/template.d.ts.map +0 -1
- 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.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.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.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.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.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.map +0 -1
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum87 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockSideEffects.d.ts
|
|
4
|
-
declare const blockSideEffects: bingo_stratum87.BlockWithAddons<{
|
|
5
|
-
sideEffects?: boolean | string[] | undefined;
|
|
6
|
-
}, {
|
|
7
|
-
access: "public" | "restricted";
|
|
8
|
-
description: string;
|
|
9
|
-
directory: string;
|
|
10
|
-
documentation: {
|
|
11
|
-
readme: {
|
|
12
|
-
additional?: string | undefined;
|
|
13
|
-
explainer?: string | undefined;
|
|
14
|
-
footnotes?: string | undefined;
|
|
15
|
-
usage?: string | undefined;
|
|
16
|
-
};
|
|
17
|
-
development?: string | undefined;
|
|
18
|
-
};
|
|
19
|
-
email: {
|
|
20
|
-
github: string;
|
|
21
|
-
npm: string;
|
|
22
|
-
};
|
|
23
|
-
title: string;
|
|
24
|
-
node: {
|
|
25
|
-
minimum: string;
|
|
26
|
-
pinned?: string | undefined;
|
|
27
|
-
};
|
|
28
|
-
owner: string;
|
|
29
|
-
repository: string;
|
|
30
|
-
type?: "commonjs" | "module" | undefined;
|
|
31
|
-
author?: string | undefined;
|
|
32
|
-
bin?: string | Record<string, string> | undefined;
|
|
33
|
-
contributors?: {
|
|
34
|
-
avatar_url: string;
|
|
35
|
-
contributions: string[];
|
|
36
|
-
login: string;
|
|
37
|
-
name: string;
|
|
38
|
-
profile: string;
|
|
39
|
-
}[] | undefined;
|
|
40
|
-
emoji?: string | undefined;
|
|
41
|
-
existingLabels?: {
|
|
42
|
-
name: string;
|
|
43
|
-
description: string;
|
|
44
|
-
color: string;
|
|
45
|
-
}[] | undefined;
|
|
46
|
-
funding?: string | undefined;
|
|
47
|
-
guide?: {
|
|
48
|
-
href: string;
|
|
49
|
-
title: string;
|
|
50
|
-
} | undefined;
|
|
51
|
-
keywords?: string[] | undefined;
|
|
52
|
-
logo?: {
|
|
53
|
-
alt: string;
|
|
54
|
-
src: string;
|
|
55
|
-
height?: number | undefined;
|
|
56
|
-
width?: number | undefined;
|
|
57
|
-
} | undefined;
|
|
58
|
-
packageData?: {
|
|
59
|
-
dependencies?: Record<string, string> | undefined;
|
|
60
|
-
devDependencies?: Record<string, string> | undefined;
|
|
61
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
62
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
63
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
64
|
-
} | undefined;
|
|
65
|
-
pnpm?: string | undefined;
|
|
66
|
-
rulesetId?: string | undefined;
|
|
67
|
-
version?: string | undefined;
|
|
68
|
-
words?: string[] | undefined;
|
|
69
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
70
|
-
pinned?: boolean | undefined;
|
|
71
|
-
hash?: string | undefined;
|
|
72
|
-
}>> | undefined;
|
|
73
|
-
}>;
|
|
74
|
-
//#endregion
|
|
75
|
-
export { blockSideEffects };
|
|
76
|
-
//# sourceMappingURL=blockSideEffects.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockSideEffects.d.ts","names":[],"sources":["../../src/blocks/blockSideEffects.ts"],"sourcesContent":[],"mappings":";;;cAKa,kCAAgB;;;EAAhB,MAAA,EAAA,QAAA,GAoBX,YAAA;;;;;;;;;;IApB2B,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockSideEffects.js","names":[],"sources":["../../src/blocks/blockSideEffects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\n\nexport const blockSideEffects = base.createBlock({\n\tabout: {\n\t\tname: \"Side Effects\",\n\t},\n\taddons: {\n\t\tsideEffects: z.union([z.boolean(), z.array(z.string())]).optional(),\n\t},\n\tproduce({ addons }) {\n\t\tconst { sideEffects = false } = addons;\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tsideEffects,\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;AAKA,MAAa,mBAAmB,KAAK,YAAY;CAChD,OAAO,EACN,MAAM,gBACN;CACD,QAAQ,EACP,aAAa,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,UAAU,EACnE;CACD,QAAQ,EAAE,UAAU;EACnB,MAAM,EAAE,cAAc,UAAU;AAEhC,SAAO,EACN,QAAQ,CACP,iBAAiB,EAChB,YAAY,EACX,aACA,EACD,CAAC,CACF,EACD;;CAEF,CAAC"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum91 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockTSDown.d.ts
|
|
4
|
-
declare const blockTSDown: bingo_stratum91.BlockWithAddons<{
|
|
5
|
-
properties: Record<string, unknown>;
|
|
6
|
-
entry: string[];
|
|
7
|
-
runInCI: string[];
|
|
8
|
-
}, {
|
|
9
|
-
access: "public" | "restricted";
|
|
10
|
-
description: string;
|
|
11
|
-
directory: string;
|
|
12
|
-
documentation: {
|
|
13
|
-
readme: {
|
|
14
|
-
additional?: string | undefined;
|
|
15
|
-
explainer?: string | undefined;
|
|
16
|
-
footnotes?: string | undefined;
|
|
17
|
-
usage?: string | undefined;
|
|
18
|
-
};
|
|
19
|
-
development?: string | undefined;
|
|
20
|
-
};
|
|
21
|
-
email: {
|
|
22
|
-
github: string;
|
|
23
|
-
npm: string;
|
|
24
|
-
};
|
|
25
|
-
title: string;
|
|
26
|
-
node: {
|
|
27
|
-
minimum: string;
|
|
28
|
-
pinned?: string | undefined;
|
|
29
|
-
};
|
|
30
|
-
owner: string;
|
|
31
|
-
repository: string;
|
|
32
|
-
type?: "commonjs" | "module" | undefined;
|
|
33
|
-
author?: string | undefined;
|
|
34
|
-
bin?: string | Record<string, string> | undefined;
|
|
35
|
-
contributors?: {
|
|
36
|
-
avatar_url: string;
|
|
37
|
-
contributions: string[];
|
|
38
|
-
login: string;
|
|
39
|
-
name: string;
|
|
40
|
-
profile: string;
|
|
41
|
-
}[] | undefined;
|
|
42
|
-
emoji?: string | undefined;
|
|
43
|
-
existingLabels?: {
|
|
44
|
-
name: string;
|
|
45
|
-
description: string;
|
|
46
|
-
color: string;
|
|
47
|
-
}[] | undefined;
|
|
48
|
-
funding?: string | undefined;
|
|
49
|
-
guide?: {
|
|
50
|
-
href: string;
|
|
51
|
-
title: string;
|
|
52
|
-
} | undefined;
|
|
53
|
-
keywords?: string[] | undefined;
|
|
54
|
-
logo?: {
|
|
55
|
-
alt: string;
|
|
56
|
-
src: string;
|
|
57
|
-
height?: number | undefined;
|
|
58
|
-
width?: number | undefined;
|
|
59
|
-
} | undefined;
|
|
60
|
-
packageData?: {
|
|
61
|
-
dependencies?: Record<string, string> | undefined;
|
|
62
|
-
devDependencies?: Record<string, string> | undefined;
|
|
63
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
64
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
65
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
66
|
-
} | undefined;
|
|
67
|
-
pnpm?: string | undefined;
|
|
68
|
-
rulesetId?: string | undefined;
|
|
69
|
-
version?: string | undefined;
|
|
70
|
-
words?: string[] | undefined;
|
|
71
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
72
|
-
pinned?: boolean | undefined;
|
|
73
|
-
hash?: string | undefined;
|
|
74
|
-
}>> | undefined;
|
|
75
|
-
}>;
|
|
76
|
-
//#endregion
|
|
77
|
-
export { blockTSDown };
|
|
78
|
-
//# sourceMappingURL=blockTSDown.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockTSDown.d.ts","names":[],"sources":["../../src/blocks/blockTSDown.ts"],"sourcesContent":[],"mappings":";;;cAoBa,6BAAW;;;EAAX,OAAA,EAAA,MA0IX,EAAA;;;;;;;;;;WA1IsB,CAAA,EAAA,MAAA,GAAA,SAAA;IAAA,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockTSDown.js","names":[],"sources":["../../src/blocks/blockTSDown.ts"],"sourcesContent":["import removeUndefinedObjects from \"remove-undefined-objects\";\nimport { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockESLint } from \"./blockESLint.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockKnip } from \"./blockKnip.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockReleaseIt } from \"./blockReleaseIt.js\";\nimport { blockRemoveDependencies } from \"./blockRemoveDependencies.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\nimport { intakeFileDefineConfig } from \"./intake/intakeFileDefineConfig.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nconst zEntry = z.array(z.string());\nconst zProperties = z.record(z.unknown());\n\nexport const blockTSDown = base.createBlock({\n\tabout: {\n\t\tname: \"TSDown\",\n\t},\n\taddons: {\n\t\tentry: zEntry.default([]),\n\t\tproperties: zProperties.default({}),\n\t\trunInCI: z.array(z.string()).default([]),\n\t},\n\tintake({ files }) {\n\t\tconst rawData =\n\t\t\tintakeFileDefineConfig(files, [\"tsdown.config.ts\"]) ??\n\t\t\tintakeFileDefineConfig(files, [\"tsup.config.ts\"]);\n\t\tif (!rawData) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst { entry: rawEntry, ...rest } = rawData;\n\n\t\treturn {\n\t\t\tentry: zEntry.safeParse(rawEntry).data,\n\t\t\tproperties: removeUndefinedObjects({\n\t\t\t\t...zProperties.safeParse(rest).data,\n\n\t\t\t\t// In case of a tsup.config.ts migrated to tsdown.config.ts\n\t\t\t\tbundle: undefined,\n\t\t\t\tclean: rest.clean === false ? false : undefined,\n\t\t\t\tformat: rest.format === \"esm\" ? undefined : rest.format,\n\t\t\t}),\n\t\t};\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { entry, properties, runInCI } = addons;\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\tBuilding: {\n\t\t\t\t\t\t\tcontents: `\nRun [**tsdown**](https://tsdown.dev) locally to build source files from \\`src/\\` into output files in \\`lib/\\`:\n\n\\`\\`\\`shell\npnpm build\n\\`\\`\\`\n\nAdd \\`--watch\\` to run the builder in a watch mode that continuously cleans and recreates \\`lib/\\` as you save files:\n\n\\`\\`\\`shell\npnpm build --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\tblockESLint({\n\t\t\t\t\tbeforeLint: `Note that you'll need to run \\`pnpm build\\` before \\`pnpm lint\\` so that lint rules which check the file system can pick up on any built files.`,\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: \"Build\",\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t{ run: \"pnpm build\" },\n\t\t\t\t\t\t\t\t...runInCI.map((run) => ({ run })),\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\tblockKnip({\n\t\t\t\t\tentry: [\"src/index.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(\"tsdown\"),\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\tbuild: \"tsdown\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockReleaseIt({\n\t\t\t\t\tbuilders: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\torder: 0,\n\t\t\t\t\t\t\trun: \"pnpm build\",\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\"tsdown.config.ts\": `import { defineConfig } from \"tsdown\";\n\nexport default defineConfig(${JSON.stringify({\n\t\t\t\t\tdts: true,\n\t\t\t\t\tentry: Array.from(new Set([\"src/**/*.ts\", ...entry])),\n\t\t\t\t\tfixedExtension: false,\n\t\t\t\t\toutDir: \"lib\",\n\t\t\t\t\tunbundle: true,\n\t\t\t\t\t...properties,\n\t\t\t\t})});\n`,\n\t\t\t},\n\t\t\tscripts: options.bin\n\t\t\t\t? [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcommands: [\"pnpm build\"],\n\t\t\t\t\t\t\tphase: CommandPhase.Build,\n\t\t\t\t\t\t},\n\t\t\t\t\t]\n\t\t\t\t: undefined,\n\t\t};\n\t},\n\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\"@babel/cli\",\n\t\t\t\t\t\t\"@babel/core\",\n\t\t\t\t\t\t\"@babel/preset-typescript\",\n\t\t\t\t\t\t\"babel\",\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\n\t\t\t\t\t\t\".babelrc*\",\n\t\t\t\t\t\t\"babel.config.*\",\n\t\t\t\t\t\t\"dist\",\n\t\t\t\t\t\t\"lib\",\n\t\t\t\t\t\t\"tsup.config.*\",\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"build\", \"tsup\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;;;;;;;;AAiBA,MAAM,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC;AAClC,MAAM,cAAc,EAAE,OAAO,EAAE,SAAS,CAAC;AAEzC,MAAa,cAAc,KAAK,YAAY;CAC3C,OAAO,EACN,MAAM,UACN;CACD,QAAQ;EACP,OAAO,OAAO,QAAQ,EAAE,CAAC;EACzB,YAAY,YAAY,QAAQ,EAAE,CAAC;EACnC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,EAAE,CAAC;EACxC;CACD,OAAO,EAAE,SAAS;EACjB,MAAM,UACL,uBAAuB,OAAO,CAAC,mBAAmB,CAAC,IACnD,uBAAuB,OAAO,CAAC,iBAAiB,CAAC;AAClD,MAAI,CAAC,QACJ;EAGD,MAAM,EAAE,OAAO,UAAU,GAAG,SAAS;AAErC,SAAO;GACN,OAAO,OAAO,UAAU,SAAS,CAAC;GAClC,YAAY,uBAAuB;IAClC,GAAG,YAAY,UAAU,KAAK,CAAC;IAG/B,QAAQ;IACR,OAAO,KAAK,UAAU,QAAQ,QAAQ;IACtC,QAAQ,KAAK,WAAW,QAAQ,SAAY,KAAK;IACjD,CAAC;GACF;;CAEF,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,OAAO,YAAY,YAAY;AAEvC,SAAO;GACN,QAAQ;IACP,qBAAqB,EACpB,UAAU,EACT,UAAU,EACT,UAAU;;;;;;;;;;;;GAaV,EACD,EACD,CAAC;IACF,YAAY,EACX,YAAY,mJACZ,CAAC;IACF,qBAAqB,EACpB,MAAM,CACL;KACC,MAAM;KACN,OAAO,CACN,EAAE,KAAK,cAAc,EACrB,GAAG,QAAQ,KAAK,SAAS,EAAE,KAAK,EAAE,CAClC;KACD,CACD,EACD,CAAC;IACF,UAAU,EACT,OAAO,CAAC,eAAe,EACvB,CAAC;IACF,iBAAiB,EAChB,YAAY;KACX,iBAAiB,uBAAuB,SAAS;KACjD,SAAS,EACR,OAAO,UACP;KACD,EACD,CAAC;IACF,eAAe,EACd,UAAU,CACT;KACC,OAAO;KACP,KAAK;KACL,CACD,EACD,CAAC;IACF;GACD,OAAO,EACN,oBAAoB;;8BAEM,KAAK,UAAU;IACxC,KAAK;IACL,OAAO,MAAM,KAAK,IAAI,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,CAAC;IACrD,gBAAgB;IAChB,QAAQ;IACR,UAAU;IACV,GAAG;IACH,CAAC,CAAC;GAEH;GACD,SAAS,QAAQ,MACd,CACA;IACC,UAAU,CAAC,aAAa;IACxB,OAAO,aAAa;IACpB,CACD,GACA;GACH;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ;GACP,wBAAwB,EACvB,cAAc;IACb;IACA;IACA;IACA;IACA,EACD,CAAC;GACF,iBAAiB,EAChB,OAAO;IACN;IACA;IACA;IACA;IACA;IACA,EACD,CAAC;GACF,qBAAqB,EACpB,WAAW,CAAC,SAAS,OAAO,EAC5B,CAAC;GACF,EACD;;CAEF,CAAC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum1 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockTemplatedWith.d.ts
|
|
4
|
-
declare const blockTemplatedWith: bingo_stratum1.BlockWithoutAddons<{
|
|
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 { blockTemplatedWith };
|
|
74
|
-
//# sourceMappingURL=blockTemplatedWith.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockTemplatedWith.d.ts","names":[],"sources":["../../src/blocks/blockTemplatedWith.ts"],"sourcesContent":[],"mappings":";;;cAGa,mCAAkB;;;EAAlB,SAAA,EAAA,MAAA;;;;;;;;;;EAAkB,KAAA,EAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockTemplatedWith.js","names":[],"sources":["../../src/blocks/blockTemplatedWith.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockREADME } from \"./blockREADME.js\";\n\nexport const blockTemplatedWith = base.createBlock({\n\tabout: {\n\t\tname: \"Templated With\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockREADME({\n\t\t\t\t\tnotices: [\n\t\t\t\t\t\toptions.owner !== \"JoshuaKGoldberg\" &&\n\t\t\t\t\t\t\t`\n<!-- You can remove this notice if you don't want it 🙂 no worries! -->`,\n\t\t\t\t\t\t`> 💝 This package was templated with [\\`create-typescript-app\\`](https://github.com/JoshuaKGoldberg/create-typescript-app) using the [Bingo framework](https://create.bingo).\n`,\n\t\t\t\t\t].filter((notice) => typeof notice === \"string\"),\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAGA,MAAa,qBAAqB,KAAK,YAAY;CAClD,OAAO,EACN,MAAM,kBACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO,EACN,QAAQ,CACP,YAAY,EACX,SAAS,CACR,QAAQ,UAAU,qBACjB;0EAED;EAEA,CAAC,QAAQ,WAAW,OAAO,WAAW,SAAS,EAChD,CAAC,CACF,EACD;;CAEF,CAAC"}
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum54 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockTypeScript.d.ts
|
|
4
|
-
declare const blockTypeScript: bingo_stratum54.BlockWithAddons<{
|
|
5
|
-
compilerOptions?: {
|
|
6
|
-
allowArbitraryExtensions?: boolean | undefined;
|
|
7
|
-
allowImportingTsExtensions?: boolean | undefined;
|
|
8
|
-
allowJs?: boolean | undefined;
|
|
9
|
-
allowSyntheticDefaultImports?: boolean | undefined;
|
|
10
|
-
allowUmdGlobalAccess?: boolean | undefined;
|
|
11
|
-
allowUnreachableCode?: boolean | undefined;
|
|
12
|
-
allowUnusedLabels?: boolean | undefined;
|
|
13
|
-
alwaysStrict?: boolean | undefined;
|
|
14
|
-
baseUrl?: string | undefined;
|
|
15
|
-
charset?: string | undefined;
|
|
16
|
-
checkJs?: boolean | undefined;
|
|
17
|
-
customConditions?: string[] | undefined;
|
|
18
|
-
declaration?: boolean | undefined;
|
|
19
|
-
declarationDir?: string | undefined;
|
|
20
|
-
declarationMap?: boolean | undefined;
|
|
21
|
-
disableReferencedProjectLoad?: boolean | undefined;
|
|
22
|
-
disableSizeLimit?: boolean | undefined;
|
|
23
|
-
disableSolutionSearching?: boolean | undefined;
|
|
24
|
-
disableSourceOfProjectReferenceRedirect?: boolean | undefined;
|
|
25
|
-
downlevelIteration?: boolean | undefined;
|
|
26
|
-
emitBOM?: boolean | undefined;
|
|
27
|
-
emitDeclarationOnly?: boolean | undefined;
|
|
28
|
-
emitDecoratorMetadata?: boolean | undefined;
|
|
29
|
-
erasableSyntaxOnly?: boolean | undefined;
|
|
30
|
-
esModuleInterop?: boolean | undefined;
|
|
31
|
-
exactOptionalPropertyTypes?: boolean | undefined;
|
|
32
|
-
experimentalDecorators?: boolean | undefined;
|
|
33
|
-
forceConsistentCasingInFileNames?: boolean | undefined;
|
|
34
|
-
ignoreDeprecations?: string | undefined;
|
|
35
|
-
importHelpers?: boolean | undefined;
|
|
36
|
-
importsNotUsedAsValues?: "error" | "preserve" | "remove" | undefined;
|
|
37
|
-
inlineSourceMap?: boolean | undefined;
|
|
38
|
-
inlineSources?: boolean | undefined;
|
|
39
|
-
isolatedDeclarations?: boolean | undefined;
|
|
40
|
-
isolatedModules?: boolean | undefined;
|
|
41
|
-
jsx?: "preserve" | "none" | "react" | "react-jsx" | "react-jsxdev" | "react-native" | undefined;
|
|
42
|
-
keyofStringsOnly?: boolean | undefined;
|
|
43
|
-
lib?: string[] | undefined;
|
|
44
|
-
libReplacement?: boolean | undefined;
|
|
45
|
-
locale?: string | undefined;
|
|
46
|
-
mapRoot?: string | undefined;
|
|
47
|
-
maxNodeModuleJsDepth?: number | undefined;
|
|
48
|
-
module?: "preserve" | "none" | "amd" | "AMD" | "commonjs" | "CommonJS" | "es2015" | "ES2015" | "es2020" | "ES2020" | "es2022" | "ES2022" | "es6" | "ES6" | "esnext" | "ESNext" | "node16" | "Node16" | "node18" | "Node18" | "nodenext" | "NodeNext" | "None" | "Preserve" | "system" | "System" | "umd" | "UMD" | undefined;
|
|
49
|
-
moduleDetection?: "auto" | "force" | "legacy" | undefined;
|
|
50
|
-
moduleResolution?: "node16" | "Node16" | "nodenext" | "NodeNext" | "bundler" | "Bundler" | "classic" | "Classic" | "node" | "Node" | "node10" | "Node10" | "NodeJs" | undefined;
|
|
51
|
-
moduleSuffixes?: string[] | undefined;
|
|
52
|
-
newLine?: "crlf" | "lf" | undefined;
|
|
53
|
-
noCheck?: boolean | undefined;
|
|
54
|
-
noEmit?: boolean | undefined;
|
|
55
|
-
noEmitHelpers?: boolean | undefined;
|
|
56
|
-
noEmitOnError?: boolean | undefined;
|
|
57
|
-
noErrorTruncation?: boolean | undefined;
|
|
58
|
-
noFallthroughCasesInSwitch?: boolean | undefined;
|
|
59
|
-
noImplicitAny?: boolean | undefined;
|
|
60
|
-
noImplicitReturns?: boolean | undefined;
|
|
61
|
-
noImplicitThis?: boolean | undefined;
|
|
62
|
-
noStrictGenericChecks?: boolean | undefined;
|
|
63
|
-
noUnusedLocals?: boolean | undefined;
|
|
64
|
-
noUnusedParameters?: boolean | undefined;
|
|
65
|
-
assumeChangesOnlyAffectDirectDependencies?: boolean | undefined;
|
|
66
|
-
noImplicitUseStrict?: boolean | undefined;
|
|
67
|
-
noLib?: boolean | undefined;
|
|
68
|
-
noPropertyAccessFromIndexSignature?: boolean | undefined;
|
|
69
|
-
noResolve?: boolean | undefined;
|
|
70
|
-
noUncheckedIndexedAccess?: boolean | undefined;
|
|
71
|
-
noImplicitOverride?: boolean | undefined;
|
|
72
|
-
out?: string | undefined;
|
|
73
|
-
outDir?: string | undefined;
|
|
74
|
-
outFile?: string | undefined;
|
|
75
|
-
paths?: Record<string, string> | undefined;
|
|
76
|
-
preserveConstEnums?: boolean | undefined;
|
|
77
|
-
preserveSymlinks?: boolean | undefined;
|
|
78
|
-
composite?: boolean | undefined;
|
|
79
|
-
incremental?: boolean | undefined;
|
|
80
|
-
jsxFactory?: string | undefined;
|
|
81
|
-
jsxFragmentFactory?: string | undefined;
|
|
82
|
-
jsxImportSource?: string | undefined;
|
|
83
|
-
preserveValueImports?: boolean | undefined;
|
|
84
|
-
project?: string | undefined;
|
|
85
|
-
reactNamespace?: string | undefined;
|
|
86
|
-
removeComments?: boolean | undefined;
|
|
87
|
-
resolvePackageJsonExports?: boolean | undefined;
|
|
88
|
-
resolvePackageJsonImports?: boolean | undefined;
|
|
89
|
-
rewriteRelativeImportExtensions?: boolean | undefined;
|
|
90
|
-
rootDir?: string | undefined;
|
|
91
|
-
rootDirs?: string[] | undefined;
|
|
92
|
-
skipDefaultLibCheck?: boolean | undefined;
|
|
93
|
-
skipLibCheck?: boolean | undefined;
|
|
94
|
-
sourceMap?: boolean | undefined;
|
|
95
|
-
sourceRoot?: string | undefined;
|
|
96
|
-
strict?: boolean | undefined;
|
|
97
|
-
strictBindCallApply?: boolean | undefined;
|
|
98
|
-
strictBuiltinIteratorReturn?: boolean | undefined;
|
|
99
|
-
strictFunctionTypes?: boolean | undefined;
|
|
100
|
-
strictNullChecks?: boolean | undefined;
|
|
101
|
-
strictPropertyInitialization?: boolean | undefined;
|
|
102
|
-
stripInternal?: boolean | undefined;
|
|
103
|
-
tsBuildInfoFile?: string | undefined;
|
|
104
|
-
suppressExcessPropertyErrors?: boolean | undefined;
|
|
105
|
-
noUncheckedSideEffectImports?: boolean | undefined;
|
|
106
|
-
resolveJsonModule?: boolean | undefined;
|
|
107
|
-
suppressImplicitAnyIndexErrors?: boolean | undefined;
|
|
108
|
-
target?: "es2015" | "ES2015" | "es2020" | "ES2020" | "es2022" | "ES2022" | "esnext" | "ESNext" | "es2016" | "ES2016" | "es2017" | "ES2017" | "es2018" | "ES2018" | "es2019" | "ES2019" | "es2021" | "ES2021" | "es2023" | "ES2023" | "es2024" | "ES2024" | "es3" | "ES3" | "es5" | "ES5" | "json" | "JSON" | "latest" | "Latest" | undefined;
|
|
109
|
-
traceResolution?: boolean | undefined;
|
|
110
|
-
typeRoots?: string[] | undefined;
|
|
111
|
-
types?: string[] | undefined;
|
|
112
|
-
useDefineForClassFields?: boolean | undefined;
|
|
113
|
-
useUnknownInCatchVariables?: boolean | undefined;
|
|
114
|
-
verbatimModuleSyntax?: boolean | undefined;
|
|
115
|
-
} | undefined;
|
|
116
|
-
}, {
|
|
117
|
-
access: "public" | "restricted";
|
|
118
|
-
description: string;
|
|
119
|
-
directory: string;
|
|
120
|
-
documentation: {
|
|
121
|
-
readme: {
|
|
122
|
-
additional?: string | undefined;
|
|
123
|
-
explainer?: string | undefined;
|
|
124
|
-
footnotes?: string | undefined;
|
|
125
|
-
usage?: string | undefined;
|
|
126
|
-
};
|
|
127
|
-
development?: string | undefined;
|
|
128
|
-
};
|
|
129
|
-
email: {
|
|
130
|
-
github: string;
|
|
131
|
-
npm: string;
|
|
132
|
-
};
|
|
133
|
-
title: string;
|
|
134
|
-
node: {
|
|
135
|
-
minimum: string;
|
|
136
|
-
pinned?: string | undefined;
|
|
137
|
-
};
|
|
138
|
-
owner: string;
|
|
139
|
-
repository: string;
|
|
140
|
-
type?: "commonjs" | "module" | undefined;
|
|
141
|
-
author?: string | undefined;
|
|
142
|
-
bin?: string | Record<string, string> | undefined;
|
|
143
|
-
contributors?: {
|
|
144
|
-
avatar_url: string;
|
|
145
|
-
contributions: string[];
|
|
146
|
-
login: string;
|
|
147
|
-
name: string;
|
|
148
|
-
profile: string;
|
|
149
|
-
}[] | undefined;
|
|
150
|
-
emoji?: string | undefined;
|
|
151
|
-
existingLabels?: {
|
|
152
|
-
name: string;
|
|
153
|
-
description: string;
|
|
154
|
-
color: string;
|
|
155
|
-
}[] | undefined;
|
|
156
|
-
funding?: string | undefined;
|
|
157
|
-
guide?: {
|
|
158
|
-
href: string;
|
|
159
|
-
title: string;
|
|
160
|
-
} | undefined;
|
|
161
|
-
keywords?: string[] | undefined;
|
|
162
|
-
logo?: {
|
|
163
|
-
alt: string;
|
|
164
|
-
src: string;
|
|
165
|
-
height?: number | undefined;
|
|
166
|
-
width?: number | undefined;
|
|
167
|
-
} | undefined;
|
|
168
|
-
packageData?: {
|
|
169
|
-
dependencies?: Record<string, string> | undefined;
|
|
170
|
-
devDependencies?: Record<string, string> | undefined;
|
|
171
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
172
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
173
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
174
|
-
} | undefined;
|
|
175
|
-
pnpm?: string | undefined;
|
|
176
|
-
rulesetId?: string | undefined;
|
|
177
|
-
version?: string | undefined;
|
|
178
|
-
words?: string[] | undefined;
|
|
179
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
180
|
-
pinned?: boolean | undefined;
|
|
181
|
-
hash?: string | undefined;
|
|
182
|
-
}>> | undefined;
|
|
183
|
-
}>;
|
|
184
|
-
//#endregion
|
|
185
|
-
export { blockTypeScript };
|
|
186
|
-
//# sourceMappingURL=blockTypeScript.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockTypeScript.d.ts","names":[],"sources":["../../src/blocks/blockTypeScript.ts"],"sourcesContent":[],"mappings":";;;cAiBa,iCAAe;;;IAAf,0BAyJX,CAAA,EAAA,OAAA,GAAA,SAAA;;;;;;;;;;oBAzJ0B,CAAA,EAAA,MAAA,EAAA,GAAA,SAAA;IAAA,WAAA,CAAA,EAAA,OAAA,GAAA,SAAA"}
|
|
@@ -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: \"ES2022\",\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,cACN;CACD,QAAQ,EACP,iBAAiB,sBAAsB,UAAU,EACjD;CACD,OAAO,EAAE,SAAS;EACjB,MAAM,MAAM,iBAAiB,OAAO,CAAC,gBAAgB,CAAC;EACtD,MAAM,EAAE,SAAS,sBAAsB,UAAU,KAAK,gBAAgB;AACtE,MAAI,CAAC,KACJ;AAGD,SAAO,EACN,iBAAiB,MACjB;;CAEF,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,oBAAoB;EAC5B,MAAM,aAAa,cAAc,QAAQ,KAAK,QAAQ,WAAW;AAEjE,SAAO;GACN,QAAQ;IACP,qBAAqB,EACpB,UAAU,EACT,iBAAiB,EAChB,UAAU;;;;;;;;;;;;;;GAeV,EACD,EACD,CAAC;IACF,kBAAkB;KACjB,OAAO;MACN,YAAY;;;;;;;;;;;;;;MAcZ,YAAY;;;MAGZ,YAAY;;;;;;MAMZ;KACD,OAAO,CACN;QACE,QAAQ,WAAW;;;yBAGF,QAAQ,WAAW;;uBAErB,QAAQ,MAAM;QAE/B;KACD,CAAC;IACF,eAAe,EACd,SAAS,CAAC,OAAO,EACjB,CAAC;IACF,qBAAqB,EACpB,MAAM,CAAC;KAAE,MAAM;KAAc,OAAO,CAAC,EAAE,KAAK,YAAY,CAAC;KAAE,CAAC,EAC5D,CAAC;IACF,UAAU,EACT,SAAS,CAAC,cAAc,EACxB,CAAC;IACF,iBAAiB,EAChB,YAAY;KACX,iBAAiB,uBAAuB,aAAa;KACrD,OAAO,CAAC,OAAO;KACf,EACD,CAAC;IACF,YAAY;KAAE,UAAU,EAAE,SAAS,CAAC,MAAM,EAAE;KAAE,SAAS,CAAC,MAAM;KAAE,CAAC;IACjE,YAAY;KACX,WAAW,aACR,CACA;MACC,MAAM;MACN,eAAe;MACf,SAAS;MACT,SAAS;MACT,WAAW,CAAC,sBAAsB;MAClC,MAAM;MACN,CACD,GACA,EAAE;KACL,UAAU,EACT,mBAAmB,+BACnB;KACD,OAAO,CACN;MACC,QAAQ;MACR,OAAO;MACP,QAAQ;MACR,MAAM;MACN,CACD;KACD,CAAC;IACF;GACD,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;KACH,CAAC;IACF,SAAS,CAAC,MAAM;IAChB,CAAC,EACF;GACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CACP,qBAAqB,EACpB,WAAW,CAAC,MAAM,EAClB,CAAC,CACF,EACD;;CAEF,CAAC"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum61 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockVSCode.d.ts
|
|
4
|
-
declare const blockVSCode: bingo_stratum61.BlockWithAddons<{
|
|
5
|
-
settings: Record<string, unknown>;
|
|
6
|
-
debuggers?: (Record<string, unknown> & {
|
|
7
|
-
name: string;
|
|
8
|
-
})[] | undefined;
|
|
9
|
-
extensions?: string[] | undefined;
|
|
10
|
-
tasks?: ({
|
|
11
|
-
detail: string;
|
|
12
|
-
} & Record<string, unknown>)[] | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
access: "public" | "restricted";
|
|
15
|
-
description: string;
|
|
16
|
-
directory: string;
|
|
17
|
-
documentation: {
|
|
18
|
-
readme: {
|
|
19
|
-
additional?: string | undefined;
|
|
20
|
-
explainer?: string | undefined;
|
|
21
|
-
footnotes?: string | undefined;
|
|
22
|
-
usage?: string | undefined;
|
|
23
|
-
};
|
|
24
|
-
development?: string | undefined;
|
|
25
|
-
};
|
|
26
|
-
email: {
|
|
27
|
-
github: string;
|
|
28
|
-
npm: string;
|
|
29
|
-
};
|
|
30
|
-
title: string;
|
|
31
|
-
node: {
|
|
32
|
-
minimum: string;
|
|
33
|
-
pinned?: string | undefined;
|
|
34
|
-
};
|
|
35
|
-
owner: string;
|
|
36
|
-
repository: string;
|
|
37
|
-
type?: "commonjs" | "module" | undefined;
|
|
38
|
-
author?: string | undefined;
|
|
39
|
-
bin?: string | Record<string, string> | undefined;
|
|
40
|
-
contributors?: {
|
|
41
|
-
avatar_url: string;
|
|
42
|
-
contributions: string[];
|
|
43
|
-
login: string;
|
|
44
|
-
name: string;
|
|
45
|
-
profile: string;
|
|
46
|
-
}[] | undefined;
|
|
47
|
-
emoji?: string | undefined;
|
|
48
|
-
existingLabels?: {
|
|
49
|
-
name: string;
|
|
50
|
-
description: string;
|
|
51
|
-
color: string;
|
|
52
|
-
}[] | undefined;
|
|
53
|
-
funding?: string | undefined;
|
|
54
|
-
guide?: {
|
|
55
|
-
href: string;
|
|
56
|
-
title: string;
|
|
57
|
-
} | undefined;
|
|
58
|
-
keywords?: string[] | undefined;
|
|
59
|
-
logo?: {
|
|
60
|
-
alt: string;
|
|
61
|
-
src: string;
|
|
62
|
-
height?: number | undefined;
|
|
63
|
-
width?: number | undefined;
|
|
64
|
-
} | undefined;
|
|
65
|
-
packageData?: {
|
|
66
|
-
dependencies?: Record<string, string> | undefined;
|
|
67
|
-
devDependencies?: Record<string, string> | undefined;
|
|
68
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
69
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
70
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
71
|
-
} | undefined;
|
|
72
|
-
pnpm?: string | undefined;
|
|
73
|
-
rulesetId?: string | undefined;
|
|
74
|
-
version?: string | undefined;
|
|
75
|
-
words?: string[] | undefined;
|
|
76
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
77
|
-
pinned?: boolean | undefined;
|
|
78
|
-
hash?: string | undefined;
|
|
79
|
-
}>> | undefined;
|
|
80
|
-
}>;
|
|
81
|
-
//#endregion
|
|
82
|
-
export { blockVSCode };
|
|
83
|
-
//# sourceMappingURL=blockVSCode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockVSCode.d.ts","names":[],"sources":["../../src/blocks/blockVSCode.ts"],"sourcesContent":[],"mappings":";;;cAOa,6BAAW;;;IAAX,IAAA,EAAA,MAgGX;;;;;;;;;;;;gBAhGsB,CAAA,EAAA,MAAA,GAAA,SAAA;MAAA,SAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
|
|
@@ -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,WACN;CACD,QAAQ;EACP,WAAW,EACT,MACA,EAAE,aACD,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,CAAC,EACjC,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAC9B,CACD,CACA,UAAU;EACZ,YAAY,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,UAAU;EAC1C,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,CAAC,CAAC,QAAQ,EAAE,CAAC;EACvD,OAAO,EACL,MACA,EAAE,aACD,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,EAChC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,CAAC,CACjC,CACD,CACA,UAAU;EACZ;CACD,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,WAAW,YAAY,UAAU,UAAU;EACnD,MAAM,aAAa,cAAc,QAAQ,KAAK,QAAQ,WAAW;AAEjE,SAAO;GACN,QAAQ,CACP,qBAAqB;IACpB,OAAO,CACN,sEACA,kJACA;IACD,UAAU;KACT,UAAU,EACT,eAAe,aACZ,CACA;MACC,UAAU;;;uFAGkE,WAAW;;MAEvF,SAAS;MACT,CACD,GACA,EAAE,EACL;KACD,SAAS,EACR,eAAe,CACd;MACC,UAAU;;;;MAIV,SAAS;MACT,CACD,EACD;KACD;IACD,CAAC,CACF;GACD,OAAO,EACN,WAAW;IACV,mBAAmB,YAAY,SAC5B,KAAK,UAAU,EACf,iBAAiB,CAAC,GAAG,WAAW,CAAC,MAAM,EACvC,CAAC,GACD;IACH,eAAe,WAAW,SACvB,KAAK,UAAU;KACf,gBAAgB,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,MACvC,EAAE,KAAK,cAAc,EAAE,KAAK,CAC5B;KACD,SAAS;KACT,CAAC,GACD;IACH,iBAAiB,KAAK,UACrB,SAAS;KACR,uBAAuB;KACvB,iBAAiB,CAAC,GAAG;KACrB,GAAG;KACH,CAAC,CACF;IACD,cAAc,OAAO,SAClB,KAAK,UAAU;KACf,OAAO,MAAM,MAAM,GAAG,MAAM,EAAE,OAAO,cAAc,EAAE,OAAO,CAAC;KAC7D,SAAS;KACT,CAAC,GACD;IACH,EACD;GACD;;CAEF,CAAC"}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum3 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockVitest.d.ts
|
|
4
|
-
declare const blockVitest: bingo_stratum3.BlockWithAddons<{
|
|
5
|
-
actionSteps: ({
|
|
6
|
-
env?: Record<string, string> | undefined;
|
|
7
|
-
if?: string | undefined;
|
|
8
|
-
with?: Record<string, string> | undefined;
|
|
9
|
-
} & ({
|
|
10
|
-
run: string;
|
|
11
|
-
} | {
|
|
12
|
-
uses: string;
|
|
13
|
-
}))[];
|
|
14
|
-
exclude: string[];
|
|
15
|
-
coverage: {
|
|
16
|
-
exclude?: string[] | undefined;
|
|
17
|
-
include?: string[] | undefined;
|
|
18
|
-
};
|
|
19
|
-
flags: string[];
|
|
20
|
-
environment?: string | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
access: "public" | "restricted";
|
|
23
|
-
description: string;
|
|
24
|
-
directory: string;
|
|
25
|
-
documentation: {
|
|
26
|
-
readme: {
|
|
27
|
-
additional?: string | undefined;
|
|
28
|
-
explainer?: string | undefined;
|
|
29
|
-
footnotes?: string | undefined;
|
|
30
|
-
usage?: string | undefined;
|
|
31
|
-
};
|
|
32
|
-
development?: string | undefined;
|
|
33
|
-
};
|
|
34
|
-
email: {
|
|
35
|
-
github: string;
|
|
36
|
-
npm: string;
|
|
37
|
-
};
|
|
38
|
-
title: string;
|
|
39
|
-
node: {
|
|
40
|
-
minimum: string;
|
|
41
|
-
pinned?: string | undefined;
|
|
42
|
-
};
|
|
43
|
-
owner: string;
|
|
44
|
-
repository: string;
|
|
45
|
-
type?: "commonjs" | "module" | undefined;
|
|
46
|
-
author?: string | undefined;
|
|
47
|
-
bin?: string | Record<string, string> | undefined;
|
|
48
|
-
contributors?: {
|
|
49
|
-
avatar_url: string;
|
|
50
|
-
contributions: string[];
|
|
51
|
-
login: string;
|
|
52
|
-
name: string;
|
|
53
|
-
profile: string;
|
|
54
|
-
}[] | undefined;
|
|
55
|
-
emoji?: string | undefined;
|
|
56
|
-
existingLabels?: {
|
|
57
|
-
name: string;
|
|
58
|
-
description: string;
|
|
59
|
-
color: string;
|
|
60
|
-
}[] | undefined;
|
|
61
|
-
funding?: string | undefined;
|
|
62
|
-
guide?: {
|
|
63
|
-
href: string;
|
|
64
|
-
title: string;
|
|
65
|
-
} | undefined;
|
|
66
|
-
keywords?: string[] | undefined;
|
|
67
|
-
logo?: {
|
|
68
|
-
alt: string;
|
|
69
|
-
src: string;
|
|
70
|
-
height?: number | undefined;
|
|
71
|
-
width?: number | undefined;
|
|
72
|
-
} | undefined;
|
|
73
|
-
packageData?: {
|
|
74
|
-
dependencies?: Record<string, string> | undefined;
|
|
75
|
-
devDependencies?: Record<string, string> | undefined;
|
|
76
|
-
peerDependencies?: Record<string, string> | undefined;
|
|
77
|
-
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
78
|
-
scripts?: Record<string, string | undefined> | undefined;
|
|
79
|
-
} | undefined;
|
|
80
|
-
pnpm?: string | undefined;
|
|
81
|
-
rulesetId?: string | undefined;
|
|
82
|
-
version?: string | undefined;
|
|
83
|
-
words?: string[] | undefined;
|
|
84
|
-
workflowsVersions?: Record<string, Record<string, {
|
|
85
|
-
pinned?: boolean | undefined;
|
|
86
|
-
hash?: string | undefined;
|
|
87
|
-
}>> | undefined;
|
|
88
|
-
}>;
|
|
89
|
-
//#endregion
|
|
90
|
-
export { blockVitest };
|
|
91
|
-
//# sourceMappingURL=blockVitest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockVitest.d.ts","names":[],"sources":["../../src/blocks/blockVitest.ts"],"sourcesContent":[],"mappings":";;;cAyDa,4BAAW;;;IAAX,EAAA,CAAA,EAAA,MA+NX,GAAA,SAAA;;;;;;;;;;;;EA/NsB,KAAA,EAAA,MAAA,EAAA"}
|