create-typescript-app 2.65.1 → 2.65.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/base.d.mts +4 -4
- package/dist/base.mjs +1 -0
- package/dist/blocks/actions/resolveUses.d.mts +2 -3
- package/dist/blocks/actions/steps.d.mts +5 -6
- package/dist/blocks/bin/getPrimaryBin.d.mts +2 -3
- package/dist/blocks/blockAllContributors.d.mts +3 -3
- package/dist/blocks/blockAllContributors.mjs +3 -6
- package/dist/blocks/blockAreTheTypesWrong.d.mts +3 -3
- package/dist/blocks/blockBin.d.mts +3 -3
- package/dist/blocks/blockCSpell.d.mts +3 -3
- package/dist/blocks/blockCTATransitions.d.mts +3 -3
- package/dist/blocks/blockCTATransitions.mjs +5 -8
- package/dist/blocks/blockCodecov.d.mts +3 -3
- package/dist/blocks/blockContributingDocs.d.mts +3 -3
- package/dist/blocks/blockContributorCovenant.d.mts +3 -3
- package/dist/blocks/blockDevelopmentDocs.d.mts +3 -3
- package/dist/blocks/blockESLint.d.mts +3 -3
- package/dist/blocks/blockESLint.mjs +5 -4
- package/dist/blocks/blockESLintComments.d.mts +3 -3
- package/dist/blocks/blockESLintJSDoc.d.mts +3 -3
- package/dist/blocks/blockESLintJSONC.d.mts +3 -3
- package/dist/blocks/blockESLintMarkdown.d.mts +3 -3
- package/dist/blocks/blockESLintMarkdownLinks.d.mts +3 -3
- package/dist/blocks/blockESLintMoreStyling.d.mts +4 -4
- package/dist/blocks/blockESLintNode.d.mts +3 -3
- package/dist/blocks/blockESLintPackageJson.d.mts +3 -3
- package/dist/blocks/blockESLintPerfectionist.d.mts +3 -3
- package/dist/blocks/blockESLintPlugin.d.mts +3 -3
- package/dist/blocks/blockESLintRegexp.d.mts +3 -3
- package/dist/blocks/blockESLintYML.d.mts +3 -3
- package/dist/blocks/blockExampleFiles.d.mts +3 -3
- package/dist/blocks/blockExports.d.mts +3 -3
- package/dist/blocks/blockExports.mjs +10 -3
- package/dist/blocks/blockFunding.d.mts +3 -3
- package/dist/blocks/blockFunding.mjs +2 -1
- package/dist/blocks/blockGitHubActionsCI.d.mts +3 -3
- package/dist/blocks/blockGitHubActionsCI.mjs +7 -8
- package/dist/blocks/blockGitHubApps.d.mts +3 -3
- package/dist/blocks/blockGitHubIssueTemplates.d.mts +3 -3
- package/dist/blocks/blockGitHubIssueTemplates.mjs +9 -17
- package/dist/blocks/blockGitHubPRTemplate.d.mts +3 -3
- package/dist/blocks/blockGitignore.d.mts +3 -3
- package/dist/blocks/blockKnip.d.mts +3 -3
- package/dist/blocks/blockKnip.mjs +5 -3
- package/dist/blocks/blockMITLicense.d.mts +3 -3
- package/dist/blocks/blockNcc.d.mts +3 -3
- package/dist/blocks/blockNvmrc.d.mts +3 -3
- package/dist/blocks/blockOctoGuide.d.mts +3 -3
- package/dist/blocks/blockOctoGuide.mjs +4 -7
- package/dist/blocks/blockOctoGuideStrict.d.mts +3 -3
- package/dist/blocks/blockPackageJson.d.mts +3 -3
- package/dist/blocks/blockPnpmDedupe.d.mts +3 -3
- package/dist/blocks/blockPrettier.d.mts +3 -3
- package/dist/blocks/blockPrettier.mjs +4 -7
- package/dist/blocks/blockPrettierPluginCurly.d.mts +3 -3
- package/dist/blocks/blockPrettierPluginPackageJson.d.mts +3 -3
- package/dist/blocks/blockPrettierPluginPaddingLines.d.mts +3 -3
- package/dist/blocks/blockPrettierPluginSentencesPerLine.d.mts +3 -3
- package/dist/blocks/blockPrettierPluginSh.d.mts +3 -3
- package/dist/blocks/blockREADME.d.mts +3 -3
- package/dist/blocks/blockReleaseIt.d.mts +3 -3
- package/dist/blocks/blockReleaseIt.mjs +5 -8
- package/dist/blocks/blockRemoveDependencies.d.mts +3 -3
- package/dist/blocks/blockRemoveFiles.d.mts +3 -3
- package/dist/blocks/blockRemoveWorkflows.d.mts +3 -3
- package/dist/blocks/blockRenovate.d.mts +3 -3
- package/dist/blocks/blockRepositoryBranchRuleset.d.mts +3 -3
- package/dist/blocks/blockRepositoryLabels.d.mts +3 -3
- package/dist/blocks/blockRepositorySecrets.d.mts +3 -3
- package/dist/blocks/blockRepositorySettings.d.mts +3 -3
- package/dist/blocks/blockSecurityDocs.d.mts +3 -3
- package/dist/blocks/blockSideEffects.d.mts +3 -3
- package/dist/blocks/blockTSDown.d.mts +3 -3
- package/dist/blocks/blockTSDown.mjs +3 -2
- package/dist/blocks/blockTemplatedWith.d.mts +3 -3
- package/dist/blocks/blockTypeScript.d.mts +3 -3
- package/dist/blocks/blockVSCode.d.mts +3 -3
- package/dist/blocks/blockVitest.d.mts +3 -3
- package/dist/blocks/blockWebExt.d.mts +3 -3
- package/dist/blocks/codecov/findCodecovStep.d.mts +3 -4
- package/dist/blocks/eslint/blockESLintIntake.d.mts +2 -3
- package/dist/blocks/eslint/blockESLintPluginIntake.d.mts +2 -3
- package/dist/blocks/eslint/getScriptFileExtension.d.mts +3 -4
- package/dist/blocks/eslint/mergeAllExtensions.d.mts +2 -3
- package/dist/blocks/eslint/schemas.d.mts +15 -16
- package/dist/blocks/files/createJobName.d.mts +2 -3
- package/dist/blocks/files/createMultiWorkflowFile.d.mts +5 -6
- package/dist/blocks/files/createSoloWorkflowFile.d.mts +2 -3
- package/dist/blocks/files/formatIgnoreFile.d.mts +2 -3
- package/dist/blocks/files/formatWorkflowYaml.d.mts +2 -3
- package/dist/blocks/files/formatYaml.d.mts +2 -3
- package/dist/blocks/files/removeUsesQuotes.d.mts +2 -3
- package/dist/blocks/files/withPreviously.d.mts +4 -0
- package/dist/blocks/files/withPreviously.mjs +6 -0
- package/dist/blocks/getInstallationSuggestions.d.mts +2 -3
- package/dist/blocks/index.d.mts +53 -2
- package/dist/blocks/intake/intakeFile.d.mts +2 -3
- package/dist/blocks/intake/intakeFileAsJson.d.mts +2 -3
- package/dist/blocks/intake/intakeFileAsYaml.d.mts +3 -4
- package/dist/blocks/intake/intakeFileDefineConfig.d.mts +2 -3
- package/dist/blocks/intake/intakeFileExportObject.d.mts +2 -3
- package/dist/blocks/options.fakes.d.mts +2 -3
- package/dist/blocks/outcomeLabels.d.mts +2 -3
- package/dist/blocks/phases.d.mts +2 -3
- package/dist/constants.d.mts +2 -3
- package/dist/data/contributions.d.mts +2 -3
- package/dist/data/packageData.d.mts +4 -5
- package/dist/index.d.mts +4 -2
- package/dist/inputs/inputFromDirectory.d.mts +2 -3
- package/dist/inputs/inputFromOctokit.d.mts +2 -3
- package/dist/options/readAccess.d.mts +2 -3
- package/dist/options/readAllContributors.d.mts +2 -3
- package/dist/options/readAuthor.d.mts +2 -3
- package/dist/options/readBin.d.mts +2 -3
- package/dist/options/readBundle.d.mts +2 -3
- package/dist/options/readCodecovToken.d.mts +2 -3
- package/dist/options/readDescription.d.mts +2 -3
- package/dist/options/readDescriptionFromReadme.d.mts +2 -3
- package/dist/options/readDevelopmentDocumentation.d.mts +2 -3
- package/dist/options/readDocumentation.d.mts +2 -3
- package/dist/options/readEmailFromCodeOfConduct.d.mts +2 -3
- package/dist/options/readEmailFromGit.d.mts +2 -3
- package/dist/options/readEmailFromNpm.d.mts +2 -3
- package/dist/options/readEmails.d.mts +2 -3
- package/dist/options/readEmoji.d.mts +2 -3
- package/dist/options/readExistingLabels.d.mts +2 -3
- package/dist/options/readFileAsJson.d.mts +2 -3
- package/dist/options/readFileSafe.d.mts +2 -3
- package/dist/options/readFunding.d.mts +2 -3
- package/dist/options/readFunding.mjs +4 -1
- package/dist/options/readGitDefaults.d.mts +2 -3
- package/dist/options/readGuide.d.mts +2 -3
- package/dist/options/readKeywords.d.mts +2 -3
- package/dist/options/readLogo.d.mts +2 -3
- package/dist/options/readLogoSizing.d.mts +3 -4
- package/dist/options/readNode.d.mts +2 -3
- package/dist/options/readNpmDefaults.d.mts +2 -3
- package/dist/options/readOwner.d.mts +2 -3
- package/dist/options/readPackageAuthor.d.mts +3 -4
- package/dist/options/readPackageData.d.mts +2 -3
- package/dist/options/readPnpm.d.mts +2 -3
- package/dist/options/readReadmeAdditional.d.mts +2 -3
- package/dist/options/readReadmeExplainer.d.mts +2 -3
- package/dist/options/readReadmeFootnotes.d.mts +3 -4
- package/dist/options/readReadmeUsage.d.mts +2 -3
- package/dist/options/readRepository.d.mts +2 -3
- package/dist/options/readRulesetId.d.mts +2 -3
- package/dist/options/readTitle.d.mts +2 -3
- package/dist/options/readWords.d.mts +2 -3
- package/dist/options/readWorkflowsVersions.d.mts +2 -3
- package/dist/presets/common.d.mts +3 -3
- package/dist/presets/everything.d.mts +3 -3
- package/dist/presets/index.d.mts +5 -2
- package/dist/presets/minimal.d.mts +3 -3
- package/dist/schemas.d.mts +15 -16
- package/dist/template.d.mts +3 -3
- package/dist/types.d.mts +4 -5
- package/dist/utils/htmlToTextSafe.d.mts +2 -3
- package/dist/utils/parseDefineConfig.d.mts +2 -3
- package/dist/utils/resolveBin.d.mts +2 -3
- package/dist/utils/resolveEmails.d.mts +2 -3
- package/dist/utils/swallowError.d.mts +2 -3
- package/dist/utils/swallowErrorAsync.d.mts +2 -3
- package/dist/utils/trimPrecedingSlash.d.mts +2 -3
- package/dist/utils/tryCatch.d.mts +2 -3
- package/package.json +27 -27
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IntakeDirectory } from "bingo-fs";
|
|
2
2
|
//#region src/blocks/intake/intakeFileAsJson.d.ts
|
|
3
|
-
declare function intakeFileAsJson(files: IntakeDirectory, filePath: string[]): Record<string, unknown> | undefined;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { intakeFileAsJson };
|
|
3
|
+
export declare function intakeFileAsJson(files: IntakeDirectory, filePath: string[]): Record<string, unknown> | undefined;
|
|
4
|
+
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { IntakeDirectory } from "bingo-fs";
|
|
2
2
|
//#region src/blocks/intake/intakeFileAsYaml.d.ts
|
|
3
|
-
declare function intakeFileAsYaml(files: IntakeDirectory, filePath: string[]): unknown;
|
|
4
|
-
declare function loadYamlSafe(contents: string): unknown;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { intakeFileAsYaml, loadYamlSafe };
|
|
3
|
+
export declare function intakeFileAsYaml(files: IntakeDirectory, filePath: string[]): unknown;
|
|
4
|
+
export declare function loadYamlSafe(contents: string): unknown;
|
|
5
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IntakeDirectory } from "bingo-fs";
|
|
2
2
|
//#region src/blocks/intake/intakeFileDefineConfig.d.ts
|
|
3
|
-
declare function intakeFileDefineConfig(files: IntakeDirectory, filePath: (string | string[])[]): Record<string, unknown> | undefined;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { intakeFileDefineConfig };
|
|
3
|
+
export declare function intakeFileDefineConfig(files: IntakeDirectory, filePath: (string | string[])[]): Record<string, unknown> | undefined;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IntakeDirectory } from "bingo-fs";
|
|
2
2
|
//#region src/blocks/intake/intakeFileExportObject.d.ts
|
|
3
|
-
declare function intakeFileExportObject(files: IntakeDirectory, filePath: (string | string[])[]): Record<string, unknown> | undefined;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { intakeFileExportObject };
|
|
3
|
+
export declare function intakeFileExportObject(files: IntakeDirectory, filePath: (string | string[])[]): Record<string, unknown> | undefined;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/options.fakes.d.ts
|
|
2
|
-
declare const optionsBase: {
|
|
2
|
+
export declare const optionsBase: {
|
|
3
3
|
access: "public";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -21,5 +21,4 @@ declare const optionsBase: {
|
|
|
21
21
|
repository: string;
|
|
22
22
|
title: string;
|
|
23
23
|
};
|
|
24
|
-
//#endregion
|
|
25
|
-
export { optionsBase };
|
|
24
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/outcomeLabels.d.ts
|
|
2
|
-
declare const outcomeLabels: ({
|
|
2
|
+
export declare const outcomeLabels: ({
|
|
3
3
|
aliases: string[];
|
|
4
4
|
color: string;
|
|
5
5
|
description: string;
|
|
@@ -10,5 +10,4 @@ declare const outcomeLabels: ({
|
|
|
10
10
|
name: string;
|
|
11
11
|
aliases?: undefined;
|
|
12
12
|
})[];
|
|
13
|
-
//#endregion
|
|
14
|
-
export { outcomeLabels };
|
|
13
|
+
//#endregion
|
package/dist/blocks/phases.d.mts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
//#region src/blocks/phases.d.ts
|
|
2
|
-
declare const CommandPhase: {
|
|
2
|
+
export declare const CommandPhase: {
|
|
3
3
|
readonly Migrations: 0;
|
|
4
4
|
readonly Install: 1;
|
|
5
5
|
readonly Build: 2;
|
|
6
6
|
readonly Process: 3;
|
|
7
7
|
readonly Format: 4;
|
|
8
8
|
};
|
|
9
|
-
//#endregion
|
|
10
|
-
export { CommandPhase };
|
|
9
|
+
//#endregion
|
package/dist/constants.d.mts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { package_json_d_exports } from "../package.json.mjs";
|
|
2
2
|
//#region src/data/packageData.d.ts
|
|
3
|
-
declare const packageData: typeof package_json_d_exports;
|
|
4
|
-
declare function getPackageDependencies(...names: string[]): {
|
|
3
|
+
export declare const packageData: typeof package_json_d_exports;
|
|
4
|
+
export declare function getPackageDependencies(...names: string[]): {
|
|
5
5
|
[k: string]: string;
|
|
6
6
|
};
|
|
7
|
-
declare function getPackageDependency(name: string): string;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { getPackageDependencies, getPackageDependency, packageData };
|
|
7
|
+
export declare function getPackageDependency(name: string): string;
|
|
8
|
+
//#endregion
|
package/dist/index.d.mts
CHANGED
|
@@ -58,7 +58,7 @@ import { presetEverything } from "./presets/everything.mjs";
|
|
|
58
58
|
import { presetMinimal } from "./presets/minimal.mjs";
|
|
59
59
|
import { presets } from "./presets/index.mjs";
|
|
60
60
|
//#region src/index.d.ts
|
|
61
|
-
declare const createConfig: import("bingo").CreateTemplateConfig<import("bingo-stratum/lib/types/templates.js").StratumTemplateOptionsShapeFor<{
|
|
61
|
+
export declare const createConfig: import("bingo").CreateTemplateConfig<import("bingo-stratum/lib/types/templates.js").StratumTemplateOptionsShapeFor<{
|
|
62
62
|
access: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"public">, import("zod").ZodLiteral<"restricted">]>;
|
|
63
63
|
author: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
64
|
bin: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>]>>;
|
|
@@ -112,6 +112,7 @@ declare const createConfig: import("bingo").CreateTemplateConfig<import("bingo-s
|
|
|
112
112
|
packageData: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
113
113
|
dependencies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
114
114
|
devDependencies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
115
|
+
main: import("zod").ZodOptional<import("zod").ZodString>;
|
|
115
116
|
peerDependencies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
116
117
|
peerDependenciesMeta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
117
118
|
scripts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
@@ -183,6 +184,7 @@ declare const createConfig: import("bingo").CreateTemplateConfig<import("bingo-s
|
|
|
183
184
|
packageData?: {
|
|
184
185
|
dependencies?: Record<string, string> | undefined;
|
|
185
186
|
devDependencies?: Record<string, string> | undefined;
|
|
187
|
+
main?: string | undefined;
|
|
186
188
|
peerDependencies?: Record<string, string> | undefined;
|
|
187
189
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
188
190
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -198,4 +200,4 @@ declare const createConfig: import("bingo").CreateTemplateConfig<import("bingo-s
|
|
|
198
200
|
}>> | undefined;
|
|
199
201
|
}>>;
|
|
200
202
|
//#endregion
|
|
201
|
-
export { BaseOptions, base, blockAllContributors, blockAreTheTypesWrong, blockBin, blockCSpell, blockCTATransitions, blockCodecov, blockContributingDocs, blockContributorCovenant, blockDevelopmentDocs, blockESLint, blockESLintComments, blockESLintJSDoc, blockESLintJSONC, blockESLintMarkdown, blockESLintMarkdownLinks, blockESLintMoreStyling, blockESLintNode, blockESLintPackageJson, blockESLintPerfectionist, blockESLintPlugin, blockESLintRegexp, blockESLintYML, blockExports, blockFunding, blockGitHubActionsCI, blockGitHubIssueTemplates, blockGitHubPRTemplate, blockGitignore, blockKnip, blockMITLicense, blockNcc, blockNvmrc, blockOctoGuide, blockOctoGuideStrict, blockPackageJson, blockPnpmDedupe, blockPrettier, blockPrettierPluginCurly, blockPrettierPluginPackageJson, blockPrettierPluginSentencesPerLine, blockPrettierPluginSh, blockREADME, blockReleaseIt, blockRenovate, blockSecurityDocs, blockSideEffects, blockTSDown, blockTemplatedWith, blockTypeScript, blockVSCode, blockVitest, blockWebExt, blocks,
|
|
203
|
+
export { BaseOptions, base, blockAllContributors, blockAreTheTypesWrong, blockBin, blockCSpell, blockCTATransitions, blockCodecov, blockContributingDocs, blockContributorCovenant, blockDevelopmentDocs, blockESLint, blockESLintComments, blockESLintJSDoc, blockESLintJSONC, blockESLintMarkdown, blockESLintMarkdownLinks, blockESLintMoreStyling, blockESLintNode, blockESLintPackageJson, blockESLintPerfectionist, blockESLintPlugin, blockESLintRegexp, blockESLintYML, blockExports, blockFunding, blockGitHubActionsCI, blockGitHubIssueTemplates, blockGitHubPRTemplate, blockGitignore, blockKnip, blockMITLicense, blockNcc, blockNvmrc, blockOctoGuide, blockOctoGuideStrict, blockPackageJson, blockPnpmDedupe, blockPrettier, blockPrettierPluginCurly, blockPrettierPluginPackageJson, blockPrettierPluginSentencesPerLine, blockPrettierPluginSh, blockREADME, blockReleaseIt, blockRenovate, blockSecurityDocs, blockSideEffects, blockTSDown, blockTemplatedWith, blockTypeScript, blockVSCode, blockVitest, blockWebExt, blocks, presetCommon, presetEverything, presetMinimal, presets, template };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/inputs/inputFromDirectory.d.ts
|
|
3
|
-
declare const inputFromDirectory: import("bingo").InputWithArgs<Promise<string[]>, {
|
|
3
|
+
export declare const inputFromDirectory: import("bingo").InputWithArgs<Promise<string[]>, {
|
|
4
4
|
directoryPath: z.ZodString;
|
|
5
5
|
}>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { inputFromDirectory };
|
|
6
|
+
//#endregion
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/inputs/inputFromOctokit.d.ts
|
|
3
|
-
declare const inputFromOctokit: import("bingo").InputWithArgs<Promise<unknown>, {
|
|
3
|
+
export declare const inputFromOctokit: import("bingo").InputWithArgs<Promise<unknown>, {
|
|
4
4
|
endpoint: z.ZodString;
|
|
5
5
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
6
|
}>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { inputFromOctokit };
|
|
7
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PartialPackageData } from "../types.mjs";
|
|
2
2
|
//#region src/options/readAccess.d.ts
|
|
3
|
-
declare function readAccess(getPackageDataFull: () => Promise<PartialPackageData | undefined>): Promise<"public" | "restricted">;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readAccess };
|
|
3
|
+
export declare function readAccess(getPackageDataFull: () => Promise<PartialPackageData | undefined>): Promise<"public" | "restricted">;
|
|
4
|
+
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AllContributorContributor } from "../types.mjs";
|
|
2
2
|
import { TakeInput } from "bingo";
|
|
3
3
|
//#region src/options/readAllContributors.d.ts
|
|
4
|
-
declare function readAllContributors(take: TakeInput): Promise<AllContributorContributor[] | undefined>;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { readAllContributors };
|
|
4
|
+
export declare function readAllContributors(take: TakeInput): Promise<AllContributorContributor[] | undefined>;
|
|
5
|
+
//#endregion
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { PackageAuthor } from "./readPackageAuthor.mjs";
|
|
2
2
|
import { ExecaError, Result } from "execa";
|
|
3
3
|
//#region src/options/readAuthor.d.ts
|
|
4
|
-
declare function readAuthor(getPackageAuthor: () => Promise<PackageAuthor>, getNpmDefaults: () => Promise<undefined | {
|
|
4
|
+
export declare function readAuthor(getPackageAuthor: () => Promise<PackageAuthor>, getNpmDefaults: () => Promise<undefined | {
|
|
5
5
|
name?: string;
|
|
6
6
|
}>, getGitUser: () => Promise<ExecaError | Result | undefined>, owner: string | undefined): Promise<string | undefined>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { readAuthor };
|
|
7
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PartialPackageData } from "../types.mjs";
|
|
2
2
|
//#region src/options/readBin.d.ts
|
|
3
|
-
declare function readBin(getPackageData: () => Promise<PartialPackageData>): Promise<string | Record<string, string> | undefined>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readBin };
|
|
3
|
+
export declare function readBin(getPackageData: () => Promise<PartialPackageData>): Promise<string | Record<string, string> | undefined>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TakeInput } from "bingo";
|
|
2
2
|
//#region src/options/readBundle.d.ts
|
|
3
|
-
declare function readBundle(take: TakeInput): Promise<boolean | undefined>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readBundle };
|
|
3
|
+
export declare function readBundle(take: TakeInput): Promise<boolean | undefined>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TakeInput } from "bingo";
|
|
2
2
|
//#region src/options/readCodecovToken.d.ts
|
|
3
|
-
declare function readCodecovToken(take: TakeInput): Promise<boolean | undefined>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readCodecovToken };
|
|
3
|
+
export declare function readCodecovToken(take: TakeInput): Promise<boolean | undefined>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PartialPackageData } from "../types.mjs";
|
|
2
2
|
//#region src/options/readDescription.d.ts
|
|
3
|
-
declare function readDescription(getPackageData: () => Promise<PartialPackageData>, getReadme: () => Promise<string>, getRepository: () => Promise<string | undefined>): Promise<string | undefined>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readDescription };
|
|
3
|
+
export declare function readDescription(getPackageData: () => Promise<PartialPackageData>, getReadme: () => Promise<string>, getRepository: () => Promise<string | undefined>): Promise<string | undefined>;
|
|
4
|
+
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
//#region src/options/readDescriptionFromReadme.d.ts
|
|
2
|
-
declare function readDescriptionFromReadme(getReadme: () => Promise<string>): Promise<string | undefined>;
|
|
3
|
-
//#endregion
|
|
4
|
-
export { readDescriptionFromReadme };
|
|
2
|
+
export declare function readDescriptionFromReadme(getReadme: () => Promise<string>): Promise<string | undefined>;
|
|
3
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TakeInput } from "bingo";
|
|
2
2
|
//#region src/options/readDevelopmentDocumentation.d.ts
|
|
3
|
-
declare function readDevelopmentDocumentation(take: TakeInput): Promise<string | undefined>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readDevelopmentDocumentation };
|
|
3
|
+
export declare function readDevelopmentDocumentation(take: TakeInput): Promise<string | undefined>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Documentation } from "../schemas.mjs";
|
|
2
2
|
//#region src/options/readDocumentation.d.ts
|
|
3
|
-
declare function readDocumentation(getDevelopmentDocumentation: () => Promise<string | undefined>, getReadmeAdditional: () => Promise<string | undefined>, getReadmeExplainer: () => Promise<string | undefined>, getReadmeFootnotes: () => Promise<string | undefined>, getReadmeUsage: () => Promise<string | undefined>): Promise<Documentation>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readDocumentation };
|
|
3
|
+
export declare function readDocumentation(getDevelopmentDocumentation: () => Promise<string | undefined>, getReadmeAdditional: () => Promise<string | undefined>, getReadmeExplainer: () => Promise<string | undefined>, getReadmeFootnotes: () => Promise<string | undefined>, getReadmeUsage: () => Promise<string | undefined>): Promise<Documentation>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TakeInput } from "bingo";
|
|
2
2
|
//#region src/options/readEmailFromCodeOfConduct.d.ts
|
|
3
|
-
declare function readEmailFromCodeOfConduct(take: TakeInput): Promise<string | undefined>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readEmailFromCodeOfConduct };
|
|
3
|
+
export declare function readEmailFromCodeOfConduct(take: TakeInput): Promise<string | undefined>;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TakeInput } from "bingo";
|
|
2
2
|
//#region src/options/readEmailFromGit.d.ts
|
|
3
|
-
declare function readEmailFromGit(take: TakeInput): Promise<string | undefined>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readEmailFromGit };
|
|
3
|
+
export declare function readEmailFromGit(take: TakeInput): Promise<string | undefined>;
|
|
4
|
+
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PackageAuthor } from "./readPackageAuthor.mjs";
|
|
2
2
|
import { UserInfo } from "npm-user";
|
|
3
3
|
//#region src/options/readEmailFromNpm.d.ts
|
|
4
|
-
declare function readEmailFromNpm(getNpmDefaults: () => Promise<undefined | UserInfo>, getPackageAuthor: () => Promise<PackageAuthor>): Promise<string | undefined>;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { readEmailFromNpm };
|
|
4
|
+
export declare function readEmailFromNpm(getNpmDefaults: () => Promise<undefined | UserInfo>, getPackageAuthor: () => Promise<PackageAuthor>): Promise<string | undefined>;
|
|
5
|
+
//#endregion
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { PackageAuthor } from "./readPackageAuthor.mjs";
|
|
2
2
|
//#region src/options/readEmails.d.ts
|
|
3
|
-
declare function readEmails(getEmailFromCodeOfConduct: () => Promise<string | undefined>, getEmailFromGit: () => Promise<string | undefined>, getEmailFromNpm: () => Promise<string | undefined>, getPackageAuthor: () => Promise<PackageAuthor>): Promise<{
|
|
3
|
+
export declare function readEmails(getEmailFromCodeOfConduct: () => Promise<string | undefined>, getEmailFromGit: () => Promise<string | undefined>, getEmailFromNpm: () => Promise<string | undefined>, getPackageAuthor: () => Promise<PackageAuthor>): Promise<{
|
|
4
4
|
github: string;
|
|
5
5
|
npm: string;
|
|
6
6
|
} | undefined>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { readEmails };
|
|
7
|
+
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
//#region src/options/readEmoji.d.ts
|
|
2
|
-
declare function readEmoji(getDescription: () => Promise<string | undefined>): Promise<string>;
|
|
3
|
-
//#endregion
|
|
4
|
-
export { readEmoji };
|
|
2
|
+
export declare function readEmoji(getDescription: () => Promise<string | undefined>): Promise<string>;
|
|
3
|
+
//#endregion
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { TakeInput } from "bingo";
|
|
2
2
|
//#region src/options/readExistingLabels.d.ts
|
|
3
|
-
declare function readExistingLabels(take: TakeInput, getOwner: () => Promise<string | undefined>, getRepository: () => Promise<string | undefined>): Promise<{
|
|
3
|
+
export declare function readExistingLabels(take: TakeInput, getOwner: () => Promise<string | undefined>, getRepository: () => Promise<string | undefined>): Promise<{
|
|
4
4
|
color: string;
|
|
5
5
|
description: string;
|
|
6
6
|
name: string;
|
|
7
7
|
}[]>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { readExistingLabels };
|
|
8
|
+
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
//#region src/options/readFileSafe.d.ts
|
|
2
|
-
declare function readFileSafe(filePath: string | URL, fallback: string): Promise<string>;
|
|
3
|
-
//#endregion
|
|
4
|
-
export { readFileSafe };
|
|
2
|
+
export declare function readFileSafe(filePath: string | URL, fallback: string): Promise<string>;
|
|
3
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TakeInput } from "bingo";
|
|
2
2
|
//#region src/options/readFunding.d.ts
|
|
3
|
-
declare function readFunding(take: TakeInput): Promise<string | undefined>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readFunding };
|
|
3
|
+
export declare function readFunding(take: TakeInput): Promise<string | undefined>;
|
|
4
|
+
//#endregion
|
|
@@ -2,7 +2,10 @@ import { swallowError } from "../utils/swallowError.mjs";
|
|
|
2
2
|
import { inputFromFile } from "input-from-file";
|
|
3
3
|
//#region src/options/readFunding.ts
|
|
4
4
|
async function readFunding(take) {
|
|
5
|
-
|
|
5
|
+
for (const filePath of [".github/FUNDING.yaml", ".github/FUNDING.yml"]) {
|
|
6
|
+
const funding = swallowError(await take(inputFromFile, { filePath }))?.split(":")[1]?.trim();
|
|
7
|
+
if (funding) return funding;
|
|
8
|
+
}
|
|
6
9
|
}
|
|
7
10
|
//#endregion
|
|
8
11
|
export { readFunding };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TakeInput } from "bingo";
|
|
2
2
|
import gitUrlParse from "git-url-parse";
|
|
3
3
|
//#region src/options/readGitDefaults.d.ts
|
|
4
|
-
declare function readGitDefaults(take: TakeInput): Promise<gitUrlParse.GitUrl | undefined>;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { readGitDefaults };
|
|
4
|
+
export declare function readGitDefaults(take: TakeInput): Promise<gitUrlParse.GitUrl | undefined>;
|
|
5
|
+
//#endregion
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { TakeInput } from "bingo";
|
|
2
2
|
//#region src/options/readGuide.d.ts
|
|
3
|
-
declare function readGuide(take: TakeInput): Promise<{
|
|
3
|
+
export declare function readGuide(take: TakeInput): Promise<{
|
|
4
4
|
href: string;
|
|
5
5
|
title: string;
|
|
6
6
|
} | undefined>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { readGuide };
|
|
7
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PartialPackageData } from "../types.mjs";
|
|
2
2
|
//#region src/options/readKeywords.d.ts
|
|
3
|
-
declare function readKeywords(getPackageData: () => Promise<PartialPackageData>): Promise<string[] | undefined>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readKeywords };
|
|
3
|
+
export declare function readKeywords(getPackageData: () => Promise<PartialPackageData>): Promise<string[] | undefined>;
|
|
4
|
+
//#endregion
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
//#region src/options/readLogo.d.ts
|
|
2
|
-
declare function readLogo(getReadme: () => Promise<string>): Promise<{
|
|
2
|
+
export declare function readLogo(getReadme: () => Promise<string>): Promise<{
|
|
3
3
|
height?: number;
|
|
4
4
|
width?: number;
|
|
5
5
|
alt: string;
|
|
6
6
|
src: string;
|
|
7
7
|
} | undefined>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { readLogo };
|
|
8
|
+
//#endregion
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/options/readLogoSizing.d.ts
|
|
2
|
-
interface OptionsLogoSizing {
|
|
2
|
+
export interface OptionsLogoSizing {
|
|
3
3
|
height?: number;
|
|
4
4
|
width?: number;
|
|
5
5
|
}
|
|
6
|
-
declare function readLogoSizing(src: Uint8Array): OptionsLogoSizing | undefined;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { OptionsLogoSizing, readLogoSizing };
|
|
6
|
+
export declare function readLogoSizing(src: Uint8Array): OptionsLogoSizing | undefined;
|
|
7
|
+
//#endregion
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { PartialPackageData } from "../types.mjs";
|
|
2
2
|
//#region src/options/readNode.d.ts
|
|
3
|
-
declare function readNode(getNvmrc: () => Promise<Error | string>, getPackageDataFull: () => Promise<PartialPackageData>): Promise<{
|
|
3
|
+
export declare function readNode(getNvmrc: () => Promise<Error | string>, getPackageDataFull: () => Promise<PartialPackageData>): Promise<{
|
|
4
4
|
minimum: string;
|
|
5
5
|
pinned: string;
|
|
6
6
|
}>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { readNode };
|
|
7
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ExecaError, Result } from "execa";
|
|
2
2
|
//#region src/options/readNpmDefaults.d.ts
|
|
3
|
-
declare function readNpmDefaults(getNpmWhoami: () => Promise<ExecaError | Result | undefined>): Promise<import("npm-user").UserInfo | undefined>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readNpmDefaults };
|
|
3
|
+
export declare function readNpmDefaults(getNpmWhoami: () => Promise<ExecaError | Result | undefined>): Promise<import("npm-user").UserInfo | undefined>;
|
|
4
|
+
//#endregion
|
|
@@ -2,6 +2,5 @@ import { PackageAuthor } from "./readPackageAuthor.mjs";
|
|
|
2
2
|
import { TakeInput } from "bingo";
|
|
3
3
|
import { GitUrl } from "git-url-parse";
|
|
4
4
|
//#region src/options/readOwner.d.ts
|
|
5
|
-
declare function readOwner(take: TakeInput, getGitDefaults: () => Promise<GitUrl | undefined>, getPackageAuthor: () => Promise<PackageAuthor>): Promise<string | undefined>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { readOwner };
|
|
5
|
+
export declare function readOwner(take: TakeInput, getGitDefaults: () => Promise<GitUrl | undefined>, getPackageAuthor: () => Promise<PackageAuthor>): Promise<string | undefined>;
|
|
6
|
+
//#endregion
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { PartialPackageData } from "../types.mjs";
|
|
2
2
|
//#region src/options/readPackageAuthor.d.ts
|
|
3
|
-
interface PackageAuthor {
|
|
3
|
+
export interface PackageAuthor {
|
|
4
4
|
email?: string | undefined;
|
|
5
5
|
name?: string | undefined;
|
|
6
6
|
}
|
|
7
|
-
declare function readPackageAuthor(getPackageDataFull: () => Promise<PartialPackageData>): Promise<PackageAuthor>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { PackageAuthor, readPackageAuthor };
|
|
7
|
+
export declare function readPackageAuthor(getPackageDataFull: () => Promise<PartialPackageData>): Promise<PackageAuthor>;
|
|
8
|
+
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PartialPackageData } from "../types.mjs";
|
|
2
2
|
import { TakeInput } from "bingo";
|
|
3
3
|
//#region src/options/readPackageData.d.ts
|
|
4
|
-
declare function readPackageData(take: TakeInput): Promise<PartialPackageData>;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { readPackageData };
|
|
4
|
+
export declare function readPackageData(take: TakeInput): Promise<PartialPackageData>;
|
|
5
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PartialPackageData } from "../types.mjs";
|
|
2
2
|
//#region src/options/readPnpm.d.ts
|
|
3
|
-
declare function readPnpm(packageData: () => Promise<PartialPackageData>): Promise<string>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readPnpm };
|
|
3
|
+
export declare function readPnpm(packageData: () => Promise<PartialPackageData>): Promise<string>;
|
|
4
|
+
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
//#region src/options/readReadmeAdditional.d.ts
|
|
2
|
-
declare function readReadmeAdditional(getReadme: () => Promise<string>): Promise<string | undefined>;
|
|
3
|
-
//#endregion
|
|
4
|
-
export { readReadmeAdditional };
|
|
2
|
+
export declare function readReadmeAdditional(getReadme: () => Promise<string>): Promise<string | undefined>;
|
|
3
|
+
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
//#region src/options/readReadmeExplainer.d.ts
|
|
2
|
-
declare function readReadmeExplainer(getReadme: () => Promise<string>): Promise<string | undefined>;
|
|
3
|
-
//#endregion
|
|
4
|
-
export { readReadmeExplainer };
|
|
2
|
+
export declare function readReadmeExplainer(getReadme: () => Promise<string>): Promise<string | undefined>;
|
|
3
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/options/readReadmeFootnotes.d.ts
|
|
2
|
-
declare const indicatorsTemplatedBy: RegExp[];
|
|
3
|
-
declare function readReadmeFootnotes(getReadme: () => Promise<string>): Promise<string | undefined>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { indicatorsTemplatedBy, readReadmeFootnotes };
|
|
2
|
+
export declare const indicatorsTemplatedBy: RegExp[];
|
|
3
|
+
export declare function readReadmeFootnotes(getReadme: () => Promise<string>): Promise<string | undefined>;
|
|
4
|
+
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
//#region src/options/readReadmeUsage.d.ts
|
|
2
|
-
declare function readReadmeUsage(getReadme: () => Promise<string>): Promise<string | undefined>;
|
|
3
|
-
//#endregion
|
|
4
|
-
export { readReadmeUsage };
|
|
2
|
+
export declare function readReadmeUsage(getReadme: () => Promise<string>): Promise<string | undefined>;
|
|
3
|
+
//#endregion
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { PartialPackageData } from "../types.mjs";
|
|
2
2
|
import { GitUrl } from "git-url-parse";
|
|
3
3
|
//#region src/options/readRepository.d.ts
|
|
4
|
-
declare function readRepository(getGitDefaults: () => Promise<GitUrl | undefined>, getPackageDataFull: () => Promise<PartialPackageData>, options: {
|
|
4
|
+
export declare function readRepository(getGitDefaults: () => Promise<GitUrl | undefined>, getPackageDataFull: () => Promise<PartialPackageData>, options: {
|
|
5
5
|
directory?: string;
|
|
6
6
|
repository?: string;
|
|
7
7
|
}): Promise<string | undefined>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { readRepository };
|
|
8
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TakeInput } from "bingo";
|
|
2
2
|
//#region src/options/readRulesetId.d.ts
|
|
3
|
-
declare function readRulesetId(take: TakeInput, getOwner: () => Promise<string | undefined>, getRepository: () => Promise<string | undefined>): Promise<string | undefined>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readRulesetId };
|
|
3
|
+
export declare function readRulesetId(take: TakeInput, getOwner: () => Promise<string | undefined>, getRepository: () => Promise<string | undefined>): Promise<string | undefined>;
|
|
4
|
+
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
//#region src/options/readTitle.d.ts
|
|
2
|
-
declare function readTitle(getReadme: () => Promise<string>, getRepository: () => Promise<string | undefined>): Promise<string | undefined>;
|
|
3
|
-
//#endregion
|
|
4
|
-
export { readTitle };
|
|
2
|
+
export declare function readTitle(getReadme: () => Promise<string>, getRepository: () => Promise<string | undefined>): Promise<string | undefined>;
|
|
3
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TakeInput } from "bingo";
|
|
2
2
|
//#region src/options/readWords.d.ts
|
|
3
|
-
declare function readWords(take: TakeInput): Promise<string[] | undefined>;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { readWords };
|
|
3
|
+
export declare function readWords(take: TakeInput): Promise<string[] | undefined>;
|
|
4
|
+
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { WorkflowsVersions } from "../schemas.mjs";
|
|
2
2
|
import { TakeInput } from "bingo";
|
|
3
3
|
//#region src/options/readWorkflowsVersions.d.ts
|
|
4
|
-
declare function readWorkflowsVersions(take: TakeInput): Promise<WorkflowsVersions>;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { readWorkflowsVersions };
|
|
4
|
+
export declare function readWorkflowsVersions(take: TakeInput): Promise<WorkflowsVersions>;
|
|
5
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/presets/common.d.ts
|
|
2
|
-
declare const presetCommon: import("bingo-stratum").Preset<{
|
|
2
|
+
export declare const presetCommon: import("bingo-stratum").Preset<{
|
|
3
3
|
access: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"public">, import("zod").ZodLiteral<"restricted">]>;
|
|
4
4
|
author: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5
5
|
bin: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>]>>;
|
|
@@ -53,6 +53,7 @@ declare const presetCommon: import("bingo-stratum").Preset<{
|
|
|
53
53
|
packageData: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
54
54
|
dependencies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
55
55
|
devDependencies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
56
|
+
main: import("zod").ZodOptional<import("zod").ZodString>;
|
|
56
57
|
peerDependencies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
57
58
|
peerDependenciesMeta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
58
59
|
scripts: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
@@ -69,5 +70,4 @@ declare const presetCommon: import("bingo-stratum").Preset<{
|
|
|
69
70
|
pinned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
70
71
|
}, import("zod/v4/core").$strip>>>>;
|
|
71
72
|
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { presetCommon };
|
|
73
|
+
//#endregion
|