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,74 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum109 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockGitHubIssueTemplates.d.ts
|
|
4
|
-
declare const blockGitHubIssueTemplates: bingo_stratum109.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 { blockGitHubIssueTemplates };
|
|
74
|
-
//# sourceMappingURL=blockGitHubIssueTemplates.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockGitHubIssueTemplates.d.ts","names":[],"sources":["../../src/blocks/blockGitHubIssueTemplates.ts"],"sourcesContent":[],"mappings":";;;cAGa,4CAAyB;;;EAAzB,SAAA,EAAA,MAAA;;;;;;;;;;EAAyB,KAAA,EAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockGitHubIssueTemplates.js","names":[],"sources":["../../src/blocks/blockGitHubIssueTemplates.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { formatYaml } from \"./files/formatYaml.js\";\n\nexport const blockGitHubIssueTemplates = base.createBlock({\n\tabout: {\n\t\tname: \"GitHub Issue Templates\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\tISSUE_TEMPLATE: {\n\t\t\t\t\t\t\"01-bug.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Bug Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have tried restarting my IDE and the issue persists.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have pulled in the newest version of the project.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to happen?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Expected\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What happened instead?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Actual\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription: \"Report a bug trying to run the code\",\n\t\t\t\t\t\t\tlabels: [\"type: bug\"],\n\t\t\t\t\t\t\tname: \"🐛 Bug\",\n\t\t\t\t\t\t\ttitle: \"🐛 Bug: <short description of the bug>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"02-documentation.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Documentation Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have looked at the latest `main` branch of the repository.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What would you like to report?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription: \"Report a typo or missing area of documentation\",\n\t\t\t\t\t\t\tlabels: [\"area: documentation\"],\n\t\t\t\t\t\t\tname: \"📝 Documentation\",\n\t\t\t\t\t\t\ttitle: \"📝 Documentation: <short description of the request>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"03-feature.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Feature Request Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have looked at the latest version of the project.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to be able to do?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\"Request that a new feature be added or an existing feature improved\",\n\t\t\t\t\t\t\tlabels: [\"type: feature\"],\n\t\t\t\t\t\t\tname: \"🚀 Feature\",\n\t\t\t\t\t\t\ttitle: \"🚀 Feature: <short description of the feature>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"04-tooling.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Tooling Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have tried restarting my IDE and the issue persists.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have pulled in the newest version of the project.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to be able to do?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\"Report a bug or request an enhancement in repository tooling\",\n\t\t\t\t\t\t\tlabels: [\"area: tooling\"],\n\t\t\t\t\t\t\tname: \"🛠 Tooling\",\n\t\t\t\t\t\t\ttitle: \"🛠 Tooling: <short description of the change>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t\t\"ISSUE_TEMPLATE.md\": `<!-- Note: Please must use one of our issue templates to file an issue! 🛑 -->\n<!-- 👉 https://github.com/${options.owner}/${options.repository}/issues/new/choose 👈 -->\n<!-- **Issues that should have been filed with a template will be closed without action, and we will ask you to use a template.** -->\n\n<!-- This blank issue template is only for issues that don't fit any of the templates. -->\n\n## Overview\n\n...\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAGA,MAAa,4BAA4B,KAAK,YAAY;CACzD,OAAO,EACN,MAAM,0BACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO,EACN,OAAO,EACN,WAAW;GACV,gBAAgB;IACf,eAAe,WAAW;KACzB,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS;SACR;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;UACtG,UAAU;UACV;SACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aAAa;KACb,QAAQ,CAAC,YAAY;KACrB,MAAM;KACN,OAAO;KACP,CAAC;IACF,yBAAyB,WAAW;KACnC,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS,CACR;SACC,OACC;SACD,UAAU;SACV,EACD;SACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;SACtG,UAAU;SACV,CACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aAAa;KACb,QAAQ,CAAC,sBAAsB;KAC/B,MAAM;KACN,OAAO;KACP,CAAC;IACF,mBAAmB,WAAW;KAC7B,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS,CACR;SACC,OACC;SACD,UAAU;SACV,EACD;SACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;SACtG,UAAU;SACV,CACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aACC;KACD,QAAQ,CAAC,gBAAgB;KACzB,MAAM;KACN,OAAO;KACP,CAAC;IACF,mBAAmB,WAAW;KAC7B,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS;SACR;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;UACtG,UAAU;UACV;SACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aACC;KACD,QAAQ,CAAC,gBAAgB;KACzB,MAAM;KACN,OAAO;KACP,CAAC;IACF;GACD,qBAAqB;6BACG,QAAQ,MAAM,GAAG,QAAQ,WAAW;;;;;;;;;GAS5D,EACD,EACD;;CAEF,CAAC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum111 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockGitHubPRTemplate.d.ts
|
|
4
|
-
declare const blockGitHubPRTemplate: bingo_stratum111.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 { blockGitHubPRTemplate };
|
|
74
|
-
//# sourceMappingURL=blockGitHubPRTemplate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockGitHubPRTemplate.d.ts","names":[],"sources":["../../src/blocks/blockGitHubPRTemplate.ts"],"sourcesContent":[],"mappings":";;;cAEa,wCAAqB;;;EAArB,SAAA,EAAA,MAAA;;;;;;;;;;EAAqB,KAAA,EAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockGitHubPRTemplate.js","names":[],"sources":["../../src/blocks/blockGitHubPRTemplate.ts"],"sourcesContent":["import { base } from \"../base.js\";\n\nexport const blockGitHubPRTemplate = base.createBlock({\n\tabout: {\n\t\tname: \"GitHub Issue Templates\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\t\"PULL_REQUEST_TEMPLATE.md\": `<!-- 👋 Hi, thanks for sending a PR to ${options.repository}! ${options.emoji}\nPlease fill out all fields below and make sure each item is true and [x] checked.\nOtherwise we may not be able to review your PR. -->\n\n## PR Checklist\n\n- [ ] Addresses an existing open issue: fixes #000\n- [ ] That issue was marked as [\\`status: accepting prs\\`](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22)\n- [ ] Steps in [CONTRIBUTING.md](https://github.com/${options.owner}/${options.repository}/blob/main/.github/CONTRIBUTING.md) were taken\n\n## Overview\n\n<!-- Description of what is changed and how the code change does that. -->\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;AAEA,MAAa,wBAAwB,KAAK,YAAY;CACrD,OAAO,EACN,MAAM,0BACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO,EACN,OAAO,EACN,WAAW,EACV,4BAA4B,0CAA0C,QAAQ,WAAW,IAAI,QAAQ,MAAM;;;;;;;gFAOhC,QAAQ,MAAM,GAAG,QAAQ,WAAW;sDAC9D,QAAQ,MAAM,GAAG,QAAQ,WAAW;;;;;GAMrF,EACD,EACD;;CAEF,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum112 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockGitignore.d.ts
|
|
4
|
-
declare const blockGitignore: bingo_stratum112.BlockWithAddons<{
|
|
5
|
-
ignores: string[];
|
|
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 { blockGitignore };
|
|
76
|
-
//# sourceMappingURL=blockGitignore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockGitignore.d.ts","names":[],"sources":["../../src/blocks/blockGitignore.ts"],"sourcesContent":[],"mappings":";;;cAKa,iCAAc;;;EAAd,MAAA,EAAA,QAAA,GAgBX,YAAA;;;;;;;;;;IAhByB,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockGitignore.js","names":[],"sources":["../../src/blocks/blockGitignore.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { formatIgnoreFile } from \"./files/formatIgnoreFile.js\";\n\nexport const blockGitignore = base.createBlock({\n\tabout: {\n\t\tname: \"Gitignore\",\n\t},\n\taddons: {\n\t\tignores: z.array(z.string()).default([]),\n\t},\n\tproduce({ addons }) {\n\t\tconst { ignores } = addons;\n\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".gitignore\": formatIgnoreFile([\"/node_modules\", ...ignores].sort()),\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;;AAKA,MAAa,iBAAiB,KAAK,YAAY;CAC9C,OAAO,EACN,MAAM,aACN;CACD,QAAQ,EACP,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,EAAE,CAAC,EACxC;CACD,QAAQ,EAAE,UAAU;EACnB,MAAM,EAAE,YAAY;AAEpB,SAAO,EACN,OAAO,EACN,cAAc,iBAAiB,CAAC,iBAAiB,GAAG,QAAQ,CAAC,MAAM,CAAC,EACpE,EACD;;CAEF,CAAC"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum113 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockKnip.d.ts
|
|
4
|
-
declare const blockKnip: bingo_stratum113.BlockWithAddons<{
|
|
5
|
-
entry?: string[] | undefined;
|
|
6
|
-
ignoreDependencies?: string[] | undefined;
|
|
7
|
-
project?: string[] | undefined;
|
|
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 { blockKnip };
|
|
78
|
-
//# sourceMappingURL=blockKnip.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockKnip.d.ts","names":[],"sources":["../../src/blocks/blockKnip.ts"],"sourcesContent":[],"mappings":";;;cAiBa,4BAAS;;;EAAT,OAAA,CAAA,EAAA,MAoFX,EAAA,GAAA,SAAA;;;;;;;;;eApFoB,CAAA,EAAA,MAAA,GAAA,SAAA;MAAA,KAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockKnip.js","names":[],"sources":["../../src/blocks/blockKnip.ts"],"sourcesContent":["import removeUndefinedObjects from \"remove-undefined-objects\";\nimport { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport {\n\tgetPackageDependencies,\n\tgetPackageDependency,\n} from \"../data/packageData.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\nimport { intakeFileAsJson } from \"./intake/intakeFileAsJson.js\";\n\nconst zStringArray = z.array(z.string());\n\nexport const blockKnip = base.createBlock({\n\tabout: {\n\t\tname: \"Knip\",\n\t},\n\taddons: {\n\t\tentry: zStringArray.optional(),\n\t\tignoreDependencies: zStringArray.optional(),\n\t\tproject: zStringArray.optional(),\n\t},\n\tintake({ files }) {\n\t\tconst knipJson = intakeFileAsJson(files, [\"knip.json\"]);\n\t\tif (!knipJson) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn removeUndefinedObjects({\n\t\t\tentry: zStringArray.safeParse(knipJson.entry).data,\n\t\t\tignoreDependencies: zStringArray.safeParse(knipJson.ignoreDependencies)\n\t\t\t\t.data,\n\t\t\tproject: zStringArray.safeParse(knipJson.project).data,\n\t\t});\n\t},\n\tproduce({ addons }) {\n\t\tconst { entry, ignoreDependencies, project } = addons;\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockDevelopmentDocs({\n\t\t\t\t\tsections: {\n\t\t\t\t\t\tLinting: {\n\t\t\t\t\t\t\tcontents: {\n\t\t\t\t\t\t\t\titems: [\n\t\t\t\t\t\t\t\t\t`- \\`pnpm lint:knip\\` ([knip](https://github.com/webpro/knip)): Detects unused files, dependencies, and code exports`,\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockGitHubActionsCI({\n\t\t\t\t\tjobs: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Lint Knip\",\n\t\t\t\t\t\t\tsteps: [{ run: \"pnpm lint:knip\" }],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tdevDependencies: getPackageDependencies(\"knip\"),\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\t\"lint:knip\": \"knip\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\".ts-prunerc*\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t\"knip.json\": JSON.stringify({\n\t\t\t\t\t$schema: `https://unpkg.com/knip@${getPackageDependency(\"knip\")}/schema.json`,\n\t\t\t\t\tentry: entry?.sort(),\n\t\t\t\t\tignoreDependencies,\n\t\t\t\t\tignoreExportsUsedInFile: {\n\t\t\t\t\t\tinterface: true,\n\t\t\t\t\t\ttype: true,\n\t\t\t\t\t},\n\t\t\t\t\tproject: project?.sort(),\n\t\t\t\t\ttreatConfigHintsAsErrors: true,\n\t\t\t\t}),\n\t\t\t},\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\".knip*\", \"knip.{c,m,t}*\", \"knip.js\", \"knip.jsonc\"],\n\t\t\t\t}),\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"knip\", \"lint-knip\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;;;AAeA,MAAM,eAAe,EAAE,MAAM,EAAE,QAAQ,CAAC;AAExC,MAAa,YAAY,KAAK,YAAY;CACzC,OAAO,EACN,MAAM,QACN;CACD,QAAQ;EACP,OAAO,aAAa,UAAU;EAC9B,oBAAoB,aAAa,UAAU;EAC3C,SAAS,aAAa,UAAU;EAChC;CACD,OAAO,EAAE,SAAS;EACjB,MAAM,WAAW,iBAAiB,OAAO,CAAC,YAAY,CAAC;AACvD,MAAI,CAAC,SACJ;AAGD,SAAO,uBAAuB;GAC7B,OAAO,aAAa,UAAU,SAAS,MAAM,CAAC;GAC9C,oBAAoB,aAAa,UAAU,SAAS,mBAAmB,CACrE;GACF,SAAS,aAAa,UAAU,SAAS,QAAQ,CAAC;GAClD,CAAC;;CAEH,QAAQ,EAAE,UAAU;EACnB,MAAM,EAAE,OAAO,oBAAoB,YAAY;AAC/C,SAAO;GACN,QAAQ;IACP,qBAAqB,EACpB,UAAU,EACT,SAAS,EACR,UAAU,EACT,OAAO,CACN,sHACA,EACD,EACD,EACD,EACD,CAAC;IACF,qBAAqB,EACpB,MAAM,CACL;KACC,MAAM;KACN,OAAO,CAAC,EAAE,KAAK,kBAAkB,CAAC;KAClC,CACD,EACD,CAAC;IACF,iBAAiB,EAChB,YAAY;KACX,iBAAiB,uBAAuB,OAAO;KAC/C,SAAS,EACR,aAAa,QACb;KACD,EACD,CAAC;IACF,iBAAiB,EAChB,OAAO,CAAC,eAAe,EACvB,CAAC;IACF;GACD,OAAO,EACN,aAAa,KAAK,UAAU;IAC3B,SAAS,0BAA0B,qBAAqB,OAAO,CAAC;IAChE,OAAO,OAAO,MAAM;IACpB;IACA,yBAAyB;KACxB,WAAW;KACX,MAAM;KACN;IACD,SAAS,SAAS,MAAM;IACxB,0BAA0B;IAC1B,CAAC,EACF;GACD;;CAEF,aAAa;AACZ,SAAO,EACN,QAAQ,CACP,iBAAiB,EAChB,OAAO;GAAC;GAAU;GAAiB;GAAW;GAAa,EAC3D,CAAC,EACF,qBAAqB,EACpB,WAAW,CAAC,QAAQ,YAAY,EAChC,CAAC,CACF,EACD;;CAEF,CAAC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum71 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockMITLicense.d.ts
|
|
4
|
-
declare const blockMITLicense: bingo_stratum71.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 { blockMITLicense };
|
|
74
|
-
//# sourceMappingURL=blockMITLicense.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockMITLicense.d.ts","names":[],"sources":["../../src/blocks/blockMITLicense.ts"],"sourcesContent":[],"mappings":";;;cAIa,iCAAe;;;EAAf,SAAA,EAAA,MAAA;;;;;;;;;;EAAe,KAAA,EAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockMITLicense.js","names":[],"sources":["../../src/blocks/blockMITLicense.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockREADME } from \"./blockREADME.js\";\n\nexport const blockMITLicense = base.createBlock({\n\tabout: {\n\t\tname: \"MIT License\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockREADME({\n\t\t\t\t\tbadges: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\talt: \"📝 License: MIT\",\n\t\t\t\t\t\t\thref: `https://github.com/${options.owner}/${options.repository}/blob/main/LICENSE.md`,\n\t\t\t\t\t\t\tsrc: \"https://img.shields.io/badge/%F0%9F%93%9D_license-MIT-21bb42.svg\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tlicense: \"MIT\",\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t\"LICENSE.md\": `# MIT License\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n`,\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;;AAIA,MAAa,kBAAkB,KAAK,YAAY;CAC/C,OAAO,EACN,MAAM,eACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO;GACN,QAAQ,CACP,YAAY,EACX,QAAQ,CACP;IACC,KAAK;IACL,MAAM,sBAAsB,QAAQ,MAAM,GAAG,QAAQ,WAAW;IAChE,KAAK;IACL,CACD,EACD,CAAC,EACF,iBAAiB,EAChB,YAAY,EACX,SAAS,OACT,EACD,CAAC,CACF;GACD,OAAO,EACN,cAAc;;;;;;;;;;;;;;;;;;;;GAqBd;GACD;;CAEF,CAAC"}
|
package/lib/blocks/blockNcc.d.ts
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum81 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockNcc.d.ts
|
|
4
|
-
declare const blockNcc: bingo_stratum81.BlockWithAddons<{
|
|
5
|
-
entry?: 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 { blockNcc };
|
|
76
|
-
//# sourceMappingURL=blockNcc.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockNcc.d.ts","names":[],"sources":["../../src/blocks/blockNcc.ts"],"sourcesContent":[],"mappings":";;;cAUa,0BAAQ;;;EAAR,MAAA,EAAA,QAqFX,GAAA,YAAA;;;;;;;;;;IArFmB,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockNcc.js","names":[],"sources":["../../src/blocks/blockNcc.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { blockCSpell } from \"./blockCSpell.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockESLint } from \"./blockESLint.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockPrettier } from \"./blockPrettier.js\";\n\nexport const blockNcc = base.createBlock({\n\tabout: {\n\t\tname: \"ncc\",\n\t},\n\taddons: {\n\t\tentry: z.string().optional(),\n\t},\n\tintake({ options }) {\n\t\treturn {\n\t\t\tentry: options.packageData?.scripts?.[\"build:release\"]?.match(\n\t\t\t\t/ncc build (.+) -o dist/,\n\t\t\t)?.[1],\n\t\t};\n\t},\n\tproduce({ addons }) {\n\t\tconst { entry = \"src/index.ts\" } = addons;\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockCSpell({\n\t\t\t\t\tignorePaths: [\"dist\"],\n\t\t\t\t}),\n\t\t\t\tblockDevelopmentDocs({\n\t\t\t\t\tsections: {\n\t\t\t\t\t\tBuilding: {\n\t\t\t\t\t\t\tcontents: `\nRun [TypeScript](https://typescriptlang.org) locally to type check and 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\tinnerSections: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tcontents: `\nRun [\\`@vercel/ncc\\`](https://github.com/vercel/ncc) to create an output \\`dist/\\` to be used in production.\n\n\\`\\`\\`shell\npnpm build:release\n\\`\\`\\`\n\t\t`,\n\t\t\t\t\t\t\t\t\theading: \"Building for Release\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockESLint({\n\t\t\t\t\tignores: [\"dist\"],\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: [{ run: \"pnpm build\" }],\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Build (Release)\",\n\t\t\t\t\t\t\tsteps: [{ run: \"pnpm build:release\" }],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tdevDependencies: {\n\t\t\t\t\t\t\t\"@vercel/ncc\": \"^0.38.3\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\tbuild: \"tsc\",\n\t\t\t\t\t\t\t\"build:release\": `ncc build ${entry} -o dist`,\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: [\"/dist\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;AAUA,MAAa,WAAW,KAAK,YAAY;CACxC,OAAO,EACN,MAAM,OACN;CACD,QAAQ,EACP,OAAO,EAAE,QAAQ,CAAC,UAAU,EAC5B;CACD,OAAO,EAAE,WAAW;AACnB,SAAO,EACN,OAAO,QAAQ,aAAa,UAAU,kBAAkB,MACvD,yBACA,GAAG,IACJ;;CAEF,QAAQ,EAAE,UAAU;EACnB,MAAM,EAAE,QAAQ,mBAAmB;AAEnC,SAAO,EACN,QAAQ;GACP,YAAY,EACX,aAAa,CAAC,OAAO,EACrB,CAAC;GACF,qBAAqB,EACpB,UAAU,EACT,UAAU;IACT,UAAU;;;;;;;;;;;;;IAaV,eAAe,CACd;KACC,UAAU;;;;;;;KAOV,SAAS;KACT,CACD;IACD,EACD,EACD,CAAC;GACF,YAAY,EACX,SAAS,CAAC,OAAO,EACjB,CAAC;GACF,qBAAqB,EACpB,MAAM,CACL;IACC,MAAM;IACN,OAAO,CAAC,EAAE,KAAK,cAAc,CAAC;IAC9B,EACD;IACC,MAAM;IACN,OAAO,CAAC,EAAE,KAAK,sBAAsB,CAAC;IACtC,CACD,EACD,CAAC;GACF,iBAAiB,EAChB,YAAY;IACX,iBAAiB,EAChB,eAAe,WACf;IACD,SAAS;KACR,OAAO;KACP,iBAAiB,aAAa,MAAM;KACpC;IACD,EACD,CAAC;GACF,cAAc,EACb,SAAS,CAAC,QAAQ,EAClB,CAAC;GACF,EACD;;CAEF,CAAC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import * as bingo_stratum68 from "bingo-stratum";
|
|
2
|
-
|
|
3
|
-
//#region src/blocks/blockNvmrc.d.ts
|
|
4
|
-
declare const blockNvmrc: bingo_stratum68.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 { blockNvmrc };
|
|
74
|
-
//# sourceMappingURL=blockNvmrc.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockNvmrc.d.ts","names":[],"sources":["../../src/blocks/blockNvmrc.ts"],"sourcesContent":[],"mappings":";;;cAGa,4BAAU;;;EAAV,SAAA,EAAA,MAkBX;;;;;;;;;;EAlBqB,KAAA,EAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockNvmrc.js","names":[],"sources":["../../src/blocks/blockNvmrc.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockPrettier } from \"./blockPrettier.js\";\n\nexport const blockNvmrc = base.createBlock({\n\tabout: {\n\t\tname: \"Nvmrc\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockPrettier({\n\t\t\t\t\toverrides: [{ files: \".nvmrc\", options: { parser: \"yaml\" } }],\n\t\t\t\t}),\n\t\t\t],\n\t\t\t...(options.node.pinned && {\n\t\t\t\tfiles: {\n\t\t\t\t\t\".nvmrc\": `${options.node.pinned}\\n`,\n\t\t\t\t},\n\t\t\t}),\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAGA,MAAa,aAAa,KAAK,YAAY;CAC1C,OAAO,EACN,MAAM,SACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO;GACN,QAAQ,CACP,cAAc,EACb,WAAW,CAAC;IAAE,OAAO;IAAU,SAAS,EAAE,QAAQ,QAAQ;IAAE,CAAC,EAC7D,CAAC,CACF;GACD,GAAI,QAAQ,KAAK,UAAU,EAC1B,OAAO,EACN,UAAU,GAAG,QAAQ,KAAK,OAAO,KACjC,EACD;GACD;;CAEF,CAAC"}
|