create-typescript-app 2.74.2 → 2.74.3
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/dist/_virtual/_rolldown/runtime.mjs +1 -2
- package/dist/base.d.mts +1 -3
- package/dist/base.mjs +2 -3
- package/dist/blocks/actions/resolveUses.d.mts +1 -3
- package/dist/blocks/actions/resolveUses.mjs +1 -2
- package/dist/blocks/actions/steps.d.mts +1 -3
- package/dist/blocks/actions/steps.mjs +1 -2
- package/dist/blocks/bin/getPrimaryBin.d.mts +1 -3
- package/dist/blocks/bin/getPrimaryBin.mjs +1 -2
- package/dist/blocks/blockAllContributors.d.mts +1 -3
- package/dist/blocks/blockAllContributors.mjs +5 -6
- package/dist/blocks/blockAreTheTypesWrong.d.mts +1 -3
- package/dist/blocks/blockAreTheTypesWrong.mjs +1 -2
- package/dist/blocks/blockBin.d.mts +1 -3
- package/dist/blocks/blockBin.mjs +2 -3
- package/dist/blocks/blockCSpell.d.mts +1 -3
- package/dist/blocks/blockCSpell.mjs +6 -7
- package/dist/blocks/blockCTATransitions.d.mts +1 -3
- package/dist/blocks/blockCTATransitions.mjs +6 -7
- package/dist/blocks/blockCodecov.d.mts +1 -3
- package/dist/blocks/blockCodecov.mjs +5 -6
- package/dist/blocks/blockContributingDocs.d.mts +1 -3
- package/dist/blocks/blockContributingDocs.mjs +1 -2
- package/dist/blocks/blockContributorCovenant.d.mts +1 -3
- package/dist/blocks/blockContributorCovenant.mjs +2 -3
- package/dist/blocks/blockDevelopmentDocs.d.mts +1 -3
- package/dist/blocks/blockDevelopmentDocs.mjs +1 -2
- package/dist/blocks/blockESLint.d.mts +1 -3
- package/dist/blocks/blockESLint.mjs +10 -11
- package/dist/blocks/blockESLintComments.d.mts +1 -3
- package/dist/blocks/blockESLintComments.mjs +2 -3
- package/dist/blocks/blockESLintJSDoc.d.mts +1 -3
- package/dist/blocks/blockESLintJSDoc.mjs +2 -3
- package/dist/blocks/blockESLintJSONC.d.mts +1 -3
- package/dist/blocks/blockESLintJSONC.mjs +1 -2
- package/dist/blocks/blockESLintMarkdown.d.mts +1 -3
- package/dist/blocks/blockESLintMarkdown.mjs +3 -4
- package/dist/blocks/blockESLintMarkdownLinks.d.mts +1 -3
- package/dist/blocks/blockESLintMarkdownLinks.mjs +1 -2
- package/dist/blocks/blockESLintMoreStyling.d.mts +1 -3
- package/dist/blocks/blockESLintMoreStyling.mjs +2 -3
- package/dist/blocks/blockESLintNode.d.mts +1 -3
- package/dist/blocks/blockESLintNode.mjs +2 -3
- package/dist/blocks/blockESLintPackageJson.d.mts +1 -3
- package/dist/blocks/blockESLintPackageJson.mjs +4 -5
- package/dist/blocks/blockESLintPerfectionist.d.mts +1 -3
- package/dist/blocks/blockESLintPerfectionist.mjs +2 -3
- package/dist/blocks/blockESLintPlugin.d.mts +1 -3
- package/dist/blocks/blockESLintPlugin.mjs +8 -9
- package/dist/blocks/blockESLintRegexp.d.mts +1 -3
- package/dist/blocks/blockESLintRegexp.mjs +2 -3
- package/dist/blocks/blockESLintYML.d.mts +1 -3
- package/dist/blocks/blockESLintYML.mjs +1 -2
- package/dist/blocks/blockExampleFiles.d.mts +1 -3
- package/dist/blocks/blockExampleFiles.mjs +1 -2
- package/dist/blocks/blockExports.d.mts +1 -3
- package/dist/blocks/blockExports.mjs +2 -3
- package/dist/blocks/blockFunding.d.mts +1 -3
- package/dist/blocks/blockFunding.mjs +2 -3
- package/dist/blocks/blockGitHubActionsCI.d.mts +1 -3
- package/dist/blocks/blockGitHubActionsCI.mjs +3 -4
- package/dist/blocks/blockGitHubApps.d.mts +1 -3
- package/dist/blocks/blockGitHubApps.mjs +1 -2
- package/dist/blocks/blockGitHubIssueTemplates.d.mts +1 -3
- package/dist/blocks/blockGitHubIssueTemplates.mjs +1 -2
- package/dist/blocks/blockGitHubPRTemplate.d.mts +1 -3
- package/dist/blocks/blockGitHubPRTemplate.mjs +1 -2
- package/dist/blocks/blockGitignore.d.mts +1 -3
- package/dist/blocks/blockGitignore.mjs +2 -3
- package/dist/blocks/blockKnip.d.mts +1 -3
- package/dist/blocks/blockKnip.mjs +6 -7
- package/dist/blocks/blockMITLicense.d.mts +1 -3
- package/dist/blocks/blockMITLicense.mjs +1 -2
- package/dist/blocks/blockNcc.d.mts +1 -3
- package/dist/blocks/blockNcc.mjs +6 -7
- package/dist/blocks/blockNvmrc.d.mts +1 -3
- package/dist/blocks/blockNvmrc.mjs +1 -2
- package/dist/blocks/blockOctoGuide.d.mts +1 -3
- package/dist/blocks/blockOctoGuide.mjs +3 -4
- package/dist/blocks/blockOctoGuideStrict.d.mts +1 -3
- package/dist/blocks/blockOctoGuideStrict.mjs +1 -2
- package/dist/blocks/blockPackageJson.d.mts +1 -3
- package/dist/blocks/blockPackageJson.mjs +4 -5
- package/dist/blocks/blockPnpmDedupe.d.mts +1 -3
- package/dist/blocks/blockPnpmDedupe.mjs +1 -2
- package/dist/blocks/blockPrettier.d.mts +1 -3
- package/dist/blocks/blockPrettier.mjs +8 -9
- package/dist/blocks/blockPrettierPluginCurly.d.mts +1 -3
- package/dist/blocks/blockPrettierPluginCurly.mjs +1 -2
- package/dist/blocks/blockPrettierPluginPackageJson.d.mts +1 -3
- package/dist/blocks/blockPrettierPluginPackageJson.mjs +1 -2
- package/dist/blocks/blockPrettierPluginPaddingLines.d.mts +1 -3
- package/dist/blocks/blockPrettierPluginPaddingLines.mjs +1 -2
- package/dist/blocks/blockPrettierPluginSentencesPerLine.d.mts +1 -3
- package/dist/blocks/blockPrettierPluginSentencesPerLine.mjs +1 -2
- package/dist/blocks/blockPrettierPluginSh.d.mts +1 -3
- package/dist/blocks/blockPrettierPluginSh.mjs +1 -2
- package/dist/blocks/blockREADME.d.mts +1 -3
- package/dist/blocks/blockREADME.mjs +1 -2
- package/dist/blocks/blockReleaseIt.d.mts +1 -3
- package/dist/blocks/blockReleaseIt.mjs +7 -8
- package/dist/blocks/blockRemoveDependencies.d.mts +1 -3
- package/dist/blocks/blockRemoveDependencies.mjs +1 -2
- package/dist/blocks/blockRemoveFiles.d.mts +1 -3
- package/dist/blocks/blockRemoveFiles.mjs +1 -2
- package/dist/blocks/blockRemoveWorkflows.d.mts +1 -3
- package/dist/blocks/blockRemoveWorkflows.mjs +1 -2
- package/dist/blocks/blockRenovate.d.mts +1 -3
- package/dist/blocks/blockRenovate.mjs +2 -3
- package/dist/blocks/blockRepositoryBranchRuleset.d.mts +1 -3
- package/dist/blocks/blockRepositoryBranchRuleset.mjs +1 -2
- package/dist/blocks/blockRepositoryLabels.d.mts +1 -3
- package/dist/blocks/blockRepositoryLabels.mjs +1 -2
- package/dist/blocks/blockRepositorySecrets.d.mts +1 -3
- package/dist/blocks/blockRepositorySecrets.mjs +1 -2
- package/dist/blocks/blockRepositorySettings.d.mts +1 -3
- package/dist/blocks/blockRepositorySettings.mjs +2 -3
- package/dist/blocks/blockSecurityDocs.d.mts +1 -3
- package/dist/blocks/blockSecurityDocs.mjs +1 -2
- package/dist/blocks/blockSideEffects.d.mts +1 -3
- package/dist/blocks/blockSideEffects.mjs +1 -2
- package/dist/blocks/blockTSDown.d.mts +1 -3
- package/dist/blocks/blockTSDown.mjs +11 -12
- package/dist/blocks/blockTemplatedWith.d.mts +1 -3
- package/dist/blocks/blockTemplatedWith.mjs +1 -2
- package/dist/blocks/blockTypeScript.d.mts +1 -3
- package/dist/blocks/blockTypeScript.mjs +8 -9
- package/dist/blocks/blockVSCode.d.mts +1 -3
- package/dist/blocks/blockVSCode.mjs +2 -3
- package/dist/blocks/blockVitest.d.mts +1 -3
- package/dist/blocks/blockVitest.mjs +11 -12
- package/dist/blocks/blockWebExt.d.mts +1 -3
- package/dist/blocks/blockWebExt.mjs +5 -6
- package/dist/blocks/codecov/findCodecovStep.d.mts +1 -3
- package/dist/blocks/codecov/findCodecovStep.mjs +1 -2
- package/dist/blocks/eslint/blockESLintIntake.d.mts +1 -3
- package/dist/blocks/eslint/blockESLintIntake.mjs +1 -2
- package/dist/blocks/eslint/blockESLintPluginIntake.d.mts +1 -3
- package/dist/blocks/eslint/blockESLintPluginIntake.mjs +1 -2
- package/dist/blocks/eslint/getScriptFileExtension.d.mts +1 -3
- package/dist/blocks/eslint/getScriptFileExtension.mjs +1 -2
- package/dist/blocks/eslint/mergeAllExtensions.d.mts +1 -3
- package/dist/blocks/eslint/mergeAllExtensions.mjs +1 -2
- package/dist/blocks/eslint/schemas.d.mts +1 -3
- package/dist/blocks/eslint/schemas.mjs +1 -2
- package/dist/blocks/files/createJobName.d.mts +1 -3
- package/dist/blocks/files/createJobName.mjs +1 -2
- package/dist/blocks/files/createMultiWorkflowFile.d.mts +1 -3
- package/dist/blocks/files/createMultiWorkflowFile.mjs +1 -2
- package/dist/blocks/files/createSoloWorkflowFile.d.mts +1 -2
- package/dist/blocks/files/createSoloWorkflowFile.mjs +1 -2
- package/dist/blocks/files/formatIgnoreFile.d.mts +1 -3
- package/dist/blocks/files/formatIgnoreFile.mjs +1 -2
- package/dist/blocks/files/formatWorkflowYaml.d.mts +1 -3
- package/dist/blocks/files/formatWorkflowYaml.mjs +1 -2
- package/dist/blocks/files/formatYaml.d.mts +1 -3
- package/dist/blocks/files/formatYaml.mjs +1 -2
- package/dist/blocks/files/removeUsesQuotes.d.mts +1 -3
- package/dist/blocks/files/removeUsesQuotes.mjs +1 -2
- package/dist/blocks/files/withPreviously.d.mts +1 -3
- package/dist/blocks/files/withPreviously.mjs +1 -2
- package/dist/blocks/getInstallationSuggestions.d.mts +1 -3
- package/dist/blocks/getInstallationSuggestions.mjs +1 -2
- package/dist/blocks/index.d.mts +4 -6
- package/dist/blocks/index.mjs +31 -32
- package/dist/blocks/intake/intakeFile.d.mts +1 -3
- package/dist/blocks/intake/intakeFile.mjs +1 -2
- package/dist/blocks/intake/intakeFileAsJson.d.mts +1 -3
- package/dist/blocks/intake/intakeFileAsJson.mjs +1 -2
- package/dist/blocks/intake/intakeFileAsYaml.d.mts +1 -3
- package/dist/blocks/intake/intakeFileAsYaml.mjs +1 -2
- package/dist/blocks/intake/intakeFileDefineConfig.d.mts +1 -3
- package/dist/blocks/intake/intakeFileDefineConfig.mjs +1 -2
- package/dist/blocks/intake/intakeFileExportObject.d.mts +1 -3
- package/dist/blocks/intake/intakeFileExportObject.mjs +1 -2
- package/dist/blocks/options.fakes.d.mts +1 -3
- package/dist/blocks/options.fakes.mjs +1 -2
- package/dist/blocks/outcomeLabels.d.mts +1 -3
- package/dist/blocks/outcomeLabels.mjs +1 -2
- package/dist/blocks/phases.d.mts +1 -3
- package/dist/blocks/phases.mjs +1 -2
- package/dist/constants.d.mts +1 -3
- package/dist/constants.mjs +1 -2
- package/dist/data/contributions.d.mts +1 -3
- package/dist/data/contributions.mjs +1 -2
- package/dist/data/packageData.d.mts +1 -3
- package/dist/data/packageData.mjs +0 -1
- package/dist/index.d.mts +2 -4
- package/dist/index.mjs +3 -4
- package/dist/inputs/inputFromDirectory.d.mts +1 -3
- package/dist/inputs/inputFromDirectory.mjs +1 -2
- package/dist/inputs/inputFromOctokit.d.mts +1 -3
- package/dist/inputs/inputFromOctokit.mjs +1 -2
- package/dist/options/readAccess.d.mts +1 -3
- package/dist/options/readAccess.mjs +1 -2
- package/dist/options/readAllContributors.d.mts +1 -3
- package/dist/options/readAllContributors.mjs +1 -2
- package/dist/options/readAuthor.d.mts +1 -3
- package/dist/options/readAuthor.mjs +1 -2
- package/dist/options/readBin.d.mts +1 -3
- package/dist/options/readBin.mjs +1 -2
- package/dist/options/readBundle.d.mts +1 -3
- package/dist/options/readBundle.mjs +1 -2
- package/dist/options/readCodecovToken.d.mts +1 -3
- package/dist/options/readCodecovToken.mjs +3 -4
- package/dist/options/readDescription.d.mts +1 -3
- package/dist/options/readDescription.mjs +1 -2
- package/dist/options/readDescriptionFromReadme.d.mts +1 -3
- package/dist/options/readDescriptionFromReadme.mjs +1 -2
- package/dist/options/readDevelopmentDocumentation.d.mts +1 -3
- package/dist/options/readDevelopmentDocumentation.mjs +1 -2
- package/dist/options/readDocumentation.d.mts +1 -3
- package/dist/options/readDocumentation.mjs +1 -2
- package/dist/options/readEmailFromCodeOfConduct.d.mts +1 -3
- package/dist/options/readEmailFromCodeOfConduct.mjs +1 -2
- package/dist/options/readEmailFromGit.d.mts +1 -3
- package/dist/options/readEmailFromGit.mjs +1 -2
- package/dist/options/readEmailFromNpm.d.mts +1 -3
- package/dist/options/readEmailFromNpm.mjs +1 -2
- package/dist/options/readEmails.d.mts +1 -3
- package/dist/options/readEmails.mjs +1 -2
- package/dist/options/readEmoji.d.mts +1 -3
- package/dist/options/readEmoji.mjs +1 -2
- package/dist/options/readExistingLabels.d.mts +1 -3
- package/dist/options/readExistingLabels.mjs +1 -2
- package/dist/options/readFileAsJson.d.mts +1 -3
- package/dist/options/readFileAsJson.mjs +1 -2
- package/dist/options/readFileSafe.d.mts +1 -3
- package/dist/options/readFileSafe.mjs +1 -2
- package/dist/options/readFunding.d.mts +1 -3
- package/dist/options/readFunding.mjs +1 -2
- package/dist/options/readGitDefaults.d.mts +1 -3
- package/dist/options/readGitDefaults.mjs +1 -2
- package/dist/options/readGuide.d.mts +1 -3
- package/dist/options/readGuide.mjs +1 -2
- package/dist/options/readKeywords.d.mts +1 -3
- package/dist/options/readKeywords.mjs +1 -2
- package/dist/options/readLogo.d.mts +1 -3
- package/dist/options/readLogo.mjs +1 -2
- package/dist/options/readLogoSizing.d.mts +1 -3
- package/dist/options/readLogoSizing.mjs +1 -2
- package/dist/options/readNode.d.mts +1 -3
- package/dist/options/readNode.mjs +2 -3
- package/dist/options/readNpmDefaults.d.mts +1 -3
- package/dist/options/readNpmDefaults.mjs +1 -2
- package/dist/options/readOwner.d.mts +1 -3
- package/dist/options/readOwner.mjs +1 -2
- package/dist/options/readPackageAuthor.d.mts +1 -3
- package/dist/options/readPackageAuthor.mjs +1 -2
- package/dist/options/readPackageData.d.mts +1 -3
- package/dist/options/readPackageData.mjs +1 -2
- package/dist/options/readPnpm.d.mts +1 -3
- package/dist/options/readPnpm.mjs +1 -2
- package/dist/options/readReadmeAdditional.d.mts +1 -3
- package/dist/options/readReadmeAdditional.mjs +1 -2
- package/dist/options/readReadmeExplainer.d.mts +1 -3
- package/dist/options/readReadmeExplainer.mjs +1 -2
- package/dist/options/readReadmeFootnotes.d.mts +1 -3
- package/dist/options/readReadmeFootnotes.mjs +1 -2
- package/dist/options/readReadmeUsage.d.mts +1 -3
- package/dist/options/readReadmeUsage.mjs +1 -2
- package/dist/options/readRepository.d.mts +1 -3
- package/dist/options/readRepository.mjs +1 -2
- package/dist/options/readRulesetId.d.mts +1 -3
- package/dist/options/readRulesetId.mjs +1 -2
- package/dist/options/readTitle.d.mts +1 -3
- package/dist/options/readTitle.mjs +1 -2
- package/dist/options/readWords.d.mts +1 -3
- package/dist/options/readWords.mjs +1 -2
- package/dist/options/readWorkflowsVersions.d.mts +1 -3
- package/dist/options/readWorkflowsVersions.mjs +2 -3
- package/dist/package.json.d.mts +0 -1
- package/dist/presets/common.d.mts +1 -3
- package/dist/presets/common.mjs +3 -4
- package/dist/presets/everything.d.mts +1 -3
- package/dist/presets/everything.mjs +5 -6
- package/dist/presets/index.d.mts +0 -2
- package/dist/presets/index.mjs +2 -3
- package/dist/presets/minimal.d.mts +1 -3
- package/dist/presets/minimal.mjs +18 -19
- package/dist/schemas.d.mts +1 -3
- package/dist/schemas.mjs +1 -2
- package/dist/template.d.mts +1 -3
- package/dist/template.mjs +4 -5
- package/dist/types.d.mts +1 -2
- package/dist/utils/formatFile.d.mts +1 -3
- package/dist/utils/formatFile.mjs +1 -2
- package/dist/utils/htmlToTextSafe.d.mts +1 -3
- package/dist/utils/htmlToTextSafe.mjs +1 -2
- package/dist/utils/parseDefineConfig.d.mts +1 -3
- package/dist/utils/parseDefineConfig.mjs +1 -2
- package/dist/utils/resolveBin.d.mts +1 -3
- package/dist/utils/resolveBin.mjs +1 -2
- package/dist/utils/resolveEmails.d.mts +1 -3
- package/dist/utils/resolveEmails.mjs +1 -2
- package/dist/utils/swallowError.d.mts +1 -3
- package/dist/utils/swallowError.mjs +1 -2
- package/dist/utils/swallowErrorAsync.d.mts +1 -3
- package/dist/utils/swallowErrorAsync.mjs +1 -2
- package/dist/utils/trimPrecedingSlash.d.mts +1 -3
- package/dist/utils/trimPrecedingSlash.mjs +1 -2
- package/dist/utils/tryCatch.d.mts +1 -3
- package/dist/utils/tryCatch.mjs +1 -2
- package/package.json +12 -12
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { swallowErrorAsync } from "../utils/swallowErrorAsync.mjs";
|
|
2
1
|
import { inputFromDirectory } from "../inputs/inputFromDirectory.mjs";
|
|
2
|
+
import { swallowErrorAsync } from "../utils/swallowErrorAsync.mjs";
|
|
3
3
|
import { inputFromFile } from "input-from-file";
|
|
4
|
-
|
|
4
|
+
// src/options/readWorkflowsVersions.ts
|
|
5
5
|
async function readWorkflowsVersions(take) {
|
|
6
6
|
const workflowsVersions = {};
|
|
7
7
|
async function collectCompositeUses() {
|
|
@@ -41,5 +41,4 @@ async function readWorkflowsVersions(take) {
|
|
|
41
41
|
await Promise.all([swallowErrorAsync(collectCompositeUses()), swallowErrorAsync(collectWorkflowUses())]);
|
|
42
42
|
return workflowsVersions;
|
|
43
43
|
}
|
|
44
|
-
//#endregion
|
|
45
44
|
export { readWorkflowsVersions };
|
package/dist/package.json.d.mts
CHANGED
|
@@ -135,5 +135,4 @@ declare let _dependencies13: typeof _exports["dependencies"];
|
|
|
135
135
|
declare let _devDependencies14: typeof _exports["devDependencies"];
|
|
136
136
|
declare let _packageManager15: typeof _exports["packageManager"];
|
|
137
137
|
declare let _engines16: typeof _exports["engines"];
|
|
138
|
-
//#endregion
|
|
139
138
|
export { _author5 as author, _bin9 as bin, _exports as default, _dependencies13 as dependencies, _description2 as description, _devDependencies14 as devDependencies, _engines16 as engines, _exports8 as exports, _files10 as files, _license4 as license, _lint_staged12 as "lint-staged", _name0 as name, _packageManager15 as packageManager, package_json_d_exports, _repository3 as repository, _scripts11 as scripts, _sideEffects6 as sideEffects, _type7 as type, _version1 as version };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/presets/common.d.ts
|
|
2
1
|
export declare const presetCommon: import("bingo-stratum").Preset<{
|
|
3
2
|
access: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"public">, import("zod").ZodLiteral<"restricted">]>;
|
|
4
3
|
author: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -69,5 +68,4 @@ export declare const presetCommon: import("bingo-stratum").Preset<{
|
|
|
69
68
|
hash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
70
69
|
pinned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
71
70
|
}, import("zod/v4/core").$strip>>>>;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
71
|
+
}>;
|
package/dist/presets/common.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
|
-
import { blockReleaseIt } from "../blocks/blockReleaseIt.mjs";
|
|
3
|
-
import { blockVitest } from "../blocks/blockVitest.mjs";
|
|
4
2
|
import { blockAllContributors } from "../blocks/blockAllContributors.mjs";
|
|
5
3
|
import { blockCodecov } from "../blocks/blockCodecov.mjs";
|
|
6
4
|
import { blockFunding } from "../blocks/blockFunding.mjs";
|
|
7
5
|
import { blockOctoGuide } from "../blocks/blockOctoGuide.mjs";
|
|
6
|
+
import { blockReleaseIt } from "../blocks/blockReleaseIt.mjs";
|
|
7
|
+
import { blockVitest } from "../blocks/blockVitest.mjs";
|
|
8
8
|
import { presetMinimal } from "./minimal.mjs";
|
|
9
|
-
|
|
9
|
+
// src/presets/common.ts
|
|
10
10
|
const presetCommon = base.createPreset({
|
|
11
11
|
about: {
|
|
12
12
|
description: "Bare starters plus testing and automation for all-contributors and releases.",
|
|
@@ -22,5 +22,4 @@ const presetCommon = base.createPreset({
|
|
|
22
22
|
blockVitest
|
|
23
23
|
]
|
|
24
24
|
});
|
|
25
|
-
//#endregion
|
|
26
25
|
export { presetCommon };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/presets/everything.d.ts
|
|
2
1
|
export declare const presetEverything: import("bingo-stratum").Preset<{
|
|
3
2
|
access: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"public">, import("zod").ZodLiteral<"restricted">]>;
|
|
4
3
|
author: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -69,5 +68,4 @@ export declare const presetEverything: import("bingo-stratum").Preset<{
|
|
|
69
68
|
hash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
70
69
|
pinned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
71
70
|
}, import("zod/v4/core").$strip>>>>;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
71
|
+
}>;
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
|
-
import { blockVSCode } from "../blocks/blockVSCode.mjs";
|
|
3
2
|
import { blockCSpell } from "../blocks/blockCSpell.mjs";
|
|
4
|
-
import { blockESLintMoreStyling } from "../blocks/blockESLintMoreStyling.mjs";
|
|
5
|
-
import { blockKnip } from "../blocks/blockKnip.mjs";
|
|
6
|
-
import { presetCommon } from "./common.mjs";
|
|
7
3
|
import { blockESLintComments } from "../blocks/blockESLintComments.mjs";
|
|
8
4
|
import { blockESLintJSDoc } from "../blocks/blockESLintJSDoc.mjs";
|
|
9
5
|
import { blockESLintJSONC } from "../blocks/blockESLintJSONC.mjs";
|
|
10
6
|
import { blockESLintMarkdown } from "../blocks/blockESLintMarkdown.mjs";
|
|
11
7
|
import { blockESLintMarkdownLinks } from "../blocks/blockESLintMarkdownLinks.mjs";
|
|
8
|
+
import { blockESLintMoreStyling } from "../blocks/blockESLintMoreStyling.mjs";
|
|
12
9
|
import { blockESLintNode } from "../blocks/blockESLintNode.mjs";
|
|
13
10
|
import { blockESLintPackageJson } from "../blocks/blockESLintPackageJson.mjs";
|
|
14
11
|
import { blockESLintPerfectionist } from "../blocks/blockESLintPerfectionist.mjs";
|
|
15
12
|
import { blockESLintRegexp } from "../blocks/blockESLintRegexp.mjs";
|
|
16
13
|
import { blockESLintYML } from "../blocks/blockESLintYML.mjs";
|
|
14
|
+
import { blockKnip } from "../blocks/blockKnip.mjs";
|
|
17
15
|
import { blockNvmrc } from "../blocks/blockNvmrc.mjs";
|
|
18
16
|
import { blockOctoGuideStrict } from "../blocks/blockOctoGuideStrict.mjs";
|
|
19
17
|
import { blockPnpmDedupe } from "../blocks/blockPnpmDedupe.mjs";
|
|
@@ -23,7 +21,9 @@ import { blockPrettierPluginPaddingLines } from "../blocks/blockPrettierPluginPa
|
|
|
23
21
|
import { blockPrettierPluginSentencesPerLine } from "../blocks/blockPrettierPluginSentencesPerLine.mjs";
|
|
24
22
|
import { blockPrettierPluginSh } from "../blocks/blockPrettierPluginSh.mjs";
|
|
25
23
|
import { blockRenovate } from "../blocks/blockRenovate.mjs";
|
|
26
|
-
|
|
24
|
+
import { blockVSCode } from "../blocks/blockVSCode.mjs";
|
|
25
|
+
import { presetCommon } from "./common.mjs";
|
|
26
|
+
// src/presets/everything.ts
|
|
27
27
|
const presetEverything = base.createPreset({
|
|
28
28
|
about: {
|
|
29
29
|
description: "The most comprehensive tooling imaginable: sorting, spellchecking, and more!",
|
|
@@ -56,5 +56,4 @@ const presetEverything = base.createPreset({
|
|
|
56
56
|
blockVSCode
|
|
57
57
|
]
|
|
58
58
|
});
|
|
59
|
-
//#endregion
|
|
60
59
|
export { presetEverything };
|
package/dist/presets/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { presetCommon } from "./common.mjs";
|
|
2
2
|
import { presetEverything } from "./everything.mjs";
|
|
3
3
|
import { presetMinimal } from "./minimal.mjs";
|
|
4
|
-
//#region src/presets/index.d.ts
|
|
5
4
|
export declare const presets: {
|
|
6
5
|
common: import("bingo-stratum").Preset<{
|
|
7
6
|
access: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"public">, import("zod").ZodLiteral<"restricted">]>;
|
|
@@ -217,5 +216,4 @@ export declare const presets: {
|
|
|
217
216
|
}, import("zod/v4/core").$strip>>>>;
|
|
218
217
|
}>;
|
|
219
218
|
};
|
|
220
|
-
//#endregion
|
|
221
219
|
export { presetCommon, presetEverything, presetMinimal };
|
package/dist/presets/index.mjs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { presetMinimal } from "./minimal.mjs";
|
|
2
1
|
import { presetCommon } from "./common.mjs";
|
|
3
2
|
import { presetEverything } from "./everything.mjs";
|
|
4
|
-
|
|
3
|
+
import { presetMinimal } from "./minimal.mjs";
|
|
4
|
+
// src/presets/index.ts
|
|
5
5
|
const presets = {
|
|
6
6
|
common: presetCommon,
|
|
7
7
|
everything: presetEverything,
|
|
8
8
|
minimal: presetMinimal
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { presetCommon, presetEverything, presetMinimal, presets };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/presets/minimal.d.ts
|
|
2
1
|
export declare const presetMinimal: import("bingo-stratum").Preset<{
|
|
3
2
|
access: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"public">, import("zod").ZodLiteral<"restricted">]>;
|
|
4
3
|
author: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -69,5 +68,4 @@ export declare const presetMinimal: import("bingo-stratum").Preset<{
|
|
|
69
68
|
hash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
70
69
|
pinned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
71
70
|
}, import("zod/v4/core").$strip>>>>;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
71
|
+
}>;
|
package/dist/presets/minimal.mjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
|
-
import { blockRemoveFiles } from "../blocks/blockRemoveFiles.mjs";
|
|
3
|
-
import { blockRepositoryBranchRuleset } from "../blocks/blockRepositoryBranchRuleset.mjs";
|
|
4
|
-
import { blockGitHubActionsCI } from "../blocks/blockGitHubActionsCI.mjs";
|
|
5
|
-
import { blockDevelopmentDocs } from "../blocks/blockDevelopmentDocs.mjs";
|
|
6
|
-
import { blockPackageJson } from "../blocks/blockPackageJson.mjs";
|
|
7
|
-
import { blockRemoveWorkflows } from "../blocks/blockRemoveWorkflows.mjs";
|
|
8
|
-
import { blockGitHubIssueTemplates } from "../blocks/blockGitHubIssueTemplates.mjs";
|
|
9
|
-
import { blockRepositorySecrets } from "../blocks/blockRepositorySecrets.mjs";
|
|
10
|
-
import { blockRemoveDependencies } from "../blocks/blockRemoveDependencies.mjs";
|
|
11
|
-
import { blockESLint } from "../blocks/blockESLint.mjs";
|
|
12
|
-
import { blockREADME } from "../blocks/blockREADME.mjs";
|
|
13
|
-
import { blockExampleFiles } from "../blocks/blockExampleFiles.mjs";
|
|
14
|
-
import { blockGitignore } from "../blocks/blockGitignore.mjs";
|
|
15
|
-
import { blockPrettier } from "../blocks/blockPrettier.mjs";
|
|
16
|
-
import { blockTSDown } from "../blocks/blockTSDown.mjs";
|
|
17
|
-
import { blockTypeScript } from "../blocks/blockTypeScript.mjs";
|
|
18
|
-
import { blockGitHubApps } from "../blocks/blockGitHubApps.mjs";
|
|
19
2
|
import { blockBin } from "../blocks/blockBin.mjs";
|
|
20
3
|
import { blockContributingDocs } from "../blocks/blockContributingDocs.mjs";
|
|
21
4
|
import { blockContributorCovenant } from "../blocks/blockContributorCovenant.mjs";
|
|
5
|
+
import { blockDevelopmentDocs } from "../blocks/blockDevelopmentDocs.mjs";
|
|
6
|
+
import { blockESLint } from "../blocks/blockESLint.mjs";
|
|
7
|
+
import { blockExampleFiles } from "../blocks/blockExampleFiles.mjs";
|
|
22
8
|
import { blockExports } from "../blocks/blockExports.mjs";
|
|
9
|
+
import { blockGitHubActionsCI } from "../blocks/blockGitHubActionsCI.mjs";
|
|
10
|
+
import { blockGitHubApps } from "../blocks/blockGitHubApps.mjs";
|
|
11
|
+
import { blockGitHubIssueTemplates } from "../blocks/blockGitHubIssueTemplates.mjs";
|
|
23
12
|
import { blockGitHubPRTemplate } from "../blocks/blockGitHubPRTemplate.mjs";
|
|
13
|
+
import { blockGitignore } from "../blocks/blockGitignore.mjs";
|
|
24
14
|
import { blockMITLicense } from "../blocks/blockMITLicense.mjs";
|
|
15
|
+
import { blockPackageJson } from "../blocks/blockPackageJson.mjs";
|
|
16
|
+
import { blockPrettier } from "../blocks/blockPrettier.mjs";
|
|
17
|
+
import { blockREADME } from "../blocks/blockREADME.mjs";
|
|
18
|
+
import { blockRemoveDependencies } from "../blocks/blockRemoveDependencies.mjs";
|
|
19
|
+
import { blockRemoveFiles } from "../blocks/blockRemoveFiles.mjs";
|
|
20
|
+
import { blockRemoveWorkflows } from "../blocks/blockRemoveWorkflows.mjs";
|
|
21
|
+
import { blockRepositoryBranchRuleset } from "../blocks/blockRepositoryBranchRuleset.mjs";
|
|
25
22
|
import { blockRepositoryLabels } from "../blocks/blockRepositoryLabels.mjs";
|
|
23
|
+
import { blockRepositorySecrets } from "../blocks/blockRepositorySecrets.mjs";
|
|
26
24
|
import { blockRepositorySettings } from "../blocks/blockRepositorySettings.mjs";
|
|
27
25
|
import { blockSecurityDocs } from "../blocks/blockSecurityDocs.mjs";
|
|
28
26
|
import { blockSideEffects } from "../blocks/blockSideEffects.mjs";
|
|
29
27
|
import { blockTemplatedWith } from "../blocks/blockTemplatedWith.mjs";
|
|
30
|
-
|
|
28
|
+
import { blockTSDown } from "../blocks/blockTSDown.mjs";
|
|
29
|
+
import { blockTypeScript } from "../blocks/blockTypeScript.mjs";
|
|
30
|
+
// src/presets/minimal.ts
|
|
31
31
|
const presetMinimal = base.createPreset({
|
|
32
32
|
about: {
|
|
33
33
|
description: "Just bare starter tooling: building, formatting, linting, and type checking.",
|
|
@@ -64,5 +64,4 @@ const presetMinimal = base.createPreset({
|
|
|
64
64
|
blockTypeScript
|
|
65
65
|
]
|
|
66
66
|
});
|
|
67
|
-
//#endregion
|
|
68
67
|
export { presetMinimal };
|
package/dist/schemas.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
//#region src/schemas.d.ts
|
|
3
2
|
export declare const zEmails: z.ZodObject<{
|
|
4
3
|
github: z.ZodString;
|
|
5
4
|
npm: z.ZodString;
|
|
@@ -44,5 +43,4 @@ export declare const zWorkflowsVersions: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
44
43
|
hash: z.ZodOptional<z.ZodString>;
|
|
45
44
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
46
45
|
}, z.core.$strip>>>;
|
|
47
|
-
export type WorkflowsVersions = z.infer<typeof zWorkflowsVersions>;
|
|
48
|
-
//#endregion
|
|
46
|
+
export type WorkflowsVersions = z.infer<typeof zWorkflowsVersions>;
|
package/dist/schemas.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
|
|
2
|
+
// src/schemas.ts
|
|
3
3
|
const zEmails = z.object({
|
|
4
4
|
github: z.string(),
|
|
5
5
|
npm: z.string()
|
|
@@ -27,5 +27,4 @@ const zWorkflowVersion = z.object({
|
|
|
27
27
|
});
|
|
28
28
|
const zWorkflowVersions = z.record(z.string(), zWorkflowVersion);
|
|
29
29
|
const zWorkflowsVersions = z.record(z.string(), zWorkflowVersions);
|
|
30
|
-
//#endregion
|
|
31
30
|
export { zContributor, zDocumentation, zEmails, zReadme, zWorkflowVersion, zWorkflowVersions, zWorkflowsVersions };
|
package/dist/template.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/template.d.ts
|
|
2
1
|
export declare const template: import("bingo-stratum").StratumTemplate<{
|
|
3
2
|
access: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"public">, import("zod").ZodLiteral<"restricted">]>;
|
|
4
3
|
author: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -69,5 +68,4 @@ export declare const template: import("bingo-stratum").StratumTemplate<{
|
|
|
69
68
|
hash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
70
69
|
pinned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
71
70
|
}, import("zod/v4/core").$strip>>>>;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
71
|
+
}>;
|
package/dist/template.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { base } from "./base.mjs";
|
|
2
|
-
import { blockRemoveFiles } from "./blocks/blockRemoveFiles.mjs";
|
|
3
2
|
import { blockAreTheTypesWrong } from "./blocks/blockAreTheTypesWrong.mjs";
|
|
4
3
|
import { blockCTATransitions } from "./blocks/blockCTATransitions.mjs";
|
|
5
|
-
import { blockRemoveDependencies } from "./blocks/blockRemoveDependencies.mjs";
|
|
6
4
|
import { blockESLintPlugin } from "./blocks/blockESLintPlugin.mjs";
|
|
7
5
|
import { blockNcc } from "./blocks/blockNcc.mjs";
|
|
6
|
+
import { blockRemoveDependencies } from "./blocks/blockRemoveDependencies.mjs";
|
|
7
|
+
import { blockRemoveFiles } from "./blocks/blockRemoveFiles.mjs";
|
|
8
8
|
import { blockWebExt } from "./blocks/blockWebExt.mjs";
|
|
9
|
-
import { presetMinimal } from "./presets/minimal.mjs";
|
|
10
9
|
import { presetCommon } from "./presets/common.mjs";
|
|
11
10
|
import { presetEverything } from "./presets/everything.mjs";
|
|
12
|
-
|
|
11
|
+
import { presetMinimal } from "./presets/minimal.mjs";
|
|
12
|
+
// src/template.ts
|
|
13
13
|
const template = base.createStratumTemplate({
|
|
14
14
|
about: {
|
|
15
15
|
name: "Create TypeScript App",
|
|
@@ -34,5 +34,4 @@ const template = base.createStratumTemplate({
|
|
|
34
34
|
],
|
|
35
35
|
suggested: presetCommon
|
|
36
36
|
});
|
|
37
|
-
//#endregion
|
|
38
37
|
export { template };
|
package/dist/types.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/types.d.ts
|
|
2
1
|
export interface AllContributorContributor {
|
|
3
2
|
avatar_url: string;
|
|
4
3
|
contributions: string[];
|
|
@@ -37,4 +36,4 @@ export interface PartialPackageData {
|
|
|
37
36
|
interface PartialPublishConfig {
|
|
38
37
|
access?: "public" | "restricted";
|
|
39
38
|
}
|
|
40
|
-
|
|
39
|
+
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import prettier from "@prettier/sync";
|
|
2
|
-
|
|
2
|
+
// src/utils/formatFile.ts
|
|
3
3
|
function formatFile(filePath, text) {
|
|
4
4
|
return prettier.format(text, {
|
|
5
5
|
filepath: filePath,
|
|
6
6
|
useTabs: true
|
|
7
7
|
});
|
|
8
8
|
}
|
|
9
|
-
//#endregion
|
|
10
9
|
export { formatFile };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { convert } from "html-to-text";
|
|
2
|
-
|
|
2
|
+
// src/utils/htmlToTextSafe.ts
|
|
3
3
|
function htmlToTextSafe(raw) {
|
|
4
4
|
return convert(raw, {
|
|
5
5
|
selectors: [{
|
|
@@ -9,5 +9,4 @@ function htmlToTextSafe(raw) {
|
|
|
9
9
|
wordwrap: false
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
|
-
//#endregion
|
|
13
12
|
export { htmlToTextSafe };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
//#region src/utils/parseDefineConfig.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Parses the object literal passed to `defineConfig(...)` in a config file.
|
|
4
3
|
*/
|
|
5
|
-
export declare function parseDefineConfig(contents: string): Record<string, unknown> | undefined;
|
|
6
|
-
//#endregion
|
|
4
|
+
export declare function parseDefineConfig(contents: string): Record<string, unknown> | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import JSON5 from "json5";
|
|
2
|
-
|
|
2
|
+
// src/utils/parseDefineConfig.ts
|
|
3
3
|
/**
|
|
4
4
|
* Parses the object literal passed to `defineConfig(...)` in a config file.
|
|
5
5
|
*/
|
|
@@ -18,5 +18,4 @@ function tryParseJSON5(text) {
|
|
|
18
18
|
return;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
//#endregion
|
|
22
21
|
export { parseDefineConfig };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/utils/swallowErrorAsync.ts
|
|
2
2
|
async function swallowErrorAsync(task) {
|
|
3
3
|
try {
|
|
4
4
|
return await task;
|
|
@@ -6,5 +6,4 @@ async function swallowErrorAsync(task) {
|
|
|
6
6
|
return;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
//#endregion
|
|
10
9
|
export { swallowErrorAsync };
|
package/dist/utils/tryCatch.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-typescript-app",
|
|
3
|
-
"version": "2.74.
|
|
3
|
+
"version": "2.74.3",
|
|
4
4
|
"description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@prettier/sync": "^0.6.1",
|
|
37
37
|
"@typescript-eslint/typescript-estree": "^8.67.0",
|
|
38
38
|
"all-contributors-types": "^0.1.0",
|
|
39
|
-
"bingo": "^0.
|
|
39
|
+
"bingo": "^0.14.0",
|
|
40
40
|
"bingo-fs": "^0.6.0",
|
|
41
41
|
"bingo-stratum": "^0.8.0",
|
|
42
42
|
"cached-factory": "^0.3.0",
|
|
@@ -88,21 +88,21 @@
|
|
|
88
88
|
"bingo-stratum-testers": "0.5.14",
|
|
89
89
|
"bingo-testers": "0.8.0",
|
|
90
90
|
"console-fail-test": "0.10.0",
|
|
91
|
-
"cspell": "10.
|
|
92
|
-
"eslint": "10.
|
|
93
|
-
"eslint-plugin-jsdoc": "65.
|
|
91
|
+
"cspell": "10.4.0",
|
|
92
|
+
"eslint": "10.14.0",
|
|
93
|
+
"eslint-plugin-jsdoc": "65.4.0",
|
|
94
94
|
"eslint-plugin-jsonc": "3.4.1",
|
|
95
95
|
"eslint-plugin-markdown-links": "0.9.1",
|
|
96
|
-
"eslint-plugin-n": "18.
|
|
97
|
-
"eslint-plugin-package-json": "1.
|
|
98
|
-
"eslint-plugin-perfectionist": "5.
|
|
96
|
+
"eslint-plugin-n": "18.5.0",
|
|
97
|
+
"eslint-plugin-package-json": "1.12.0",
|
|
98
|
+
"eslint-plugin-perfectionist": "5.13.0",
|
|
99
99
|
"eslint-plugin-regexp": "3.3.1",
|
|
100
|
-
"eslint-plugin-yml": "3.
|
|
100
|
+
"eslint-plugin-yml": "3.9.0",
|
|
101
101
|
"husky": "9.1.7",
|
|
102
|
-
"knip": "6.
|
|
102
|
+
"knip": "6.44.0",
|
|
103
103
|
"lint-staged": "17.6.0",
|
|
104
104
|
"prettier-plugin-curly": "0.4.1",
|
|
105
|
-
"prettier-plugin-packagejson": "3.0
|
|
105
|
+
"prettier-plugin-packagejson": "3.1.0",
|
|
106
106
|
"prettier-plugin-padding-lines": "0.1.0",
|
|
107
107
|
"prettier-plugin-sentences-per-line": "0.2.4",
|
|
108
108
|
"prettier-plugin-sh": "0.20.0",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"typescript-eslint": "8.71.0",
|
|
113
113
|
"vitest": "5.0.1"
|
|
114
114
|
},
|
|
115
|
-
"packageManager": "pnpm@12.
|
|
115
|
+
"packageManager": "pnpm@12.16.0",
|
|
116
116
|
"engines": {
|
|
117
117
|
"node": "^22.13.0 || ^24.11.0 || >=26.0.0"
|
|
118
118
|
}
|