create-typescript-app 2.65.2 → 2.66.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/dist/base.d.mts +3 -4
- 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 +2 -3
- package/dist/blocks/blockAllContributors.mjs +3 -6
- package/dist/blocks/blockAreTheTypesWrong.d.mts +2 -3
- package/dist/blocks/blockBin.d.mts +2 -3
- package/dist/blocks/blockCSpell.d.mts +2 -3
- package/dist/blocks/blockCTATransitions.d.mts +2 -3
- package/dist/blocks/blockCTATransitions.mjs +5 -8
- package/dist/blocks/blockCodecov.d.mts +2 -3
- package/dist/blocks/blockContributingDocs.d.mts +2 -3
- package/dist/blocks/blockContributorCovenant.d.mts +2 -3
- package/dist/blocks/blockDevelopmentDocs.d.mts +2 -3
- package/dist/blocks/blockESLint.d.mts +2 -3
- package/dist/blocks/blockESLint.mjs +3 -2
- package/dist/blocks/blockESLintComments.d.mts +2 -3
- package/dist/blocks/blockESLintJSDoc.d.mts +2 -3
- package/dist/blocks/blockESLintJSONC.d.mts +2 -3
- package/dist/blocks/blockESLintMarkdown.d.mts +2 -3
- package/dist/blocks/blockESLintMarkdownLinks.d.mts +2 -3
- package/dist/blocks/blockESLintMoreStyling.d.mts +3 -4
- package/dist/blocks/blockESLintNode.d.mts +2 -3
- package/dist/blocks/blockESLintPackageJson.d.mts +2 -3
- package/dist/blocks/blockESLintPerfectionist.d.mts +2 -3
- package/dist/blocks/blockESLintPlugin.d.mts +2 -3
- package/dist/blocks/blockESLintRegexp.d.mts +2 -3
- package/dist/blocks/blockESLintYML.d.mts +2 -3
- package/dist/blocks/blockExampleFiles.d.mts +2 -3
- package/dist/blocks/blockExports.d.mts +2 -3
- package/dist/blocks/blockFunding.d.mts +2 -3
- package/dist/blocks/blockFunding.mjs +2 -1
- package/dist/blocks/blockGitHubActionsCI.d.mts +2 -3
- package/dist/blocks/blockGitHubActionsCI.mjs +7 -8
- package/dist/blocks/blockGitHubApps.d.mts +2 -3
- package/dist/blocks/blockGitHubIssueTemplates.d.mts +2 -3
- package/dist/blocks/blockGitHubIssueTemplates.mjs +9 -17
- package/dist/blocks/blockGitHubPRTemplate.d.mts +2 -3
- package/dist/blocks/blockGitignore.d.mts +2 -3
- package/dist/blocks/blockKnip.d.mts +2 -3
- package/dist/blocks/blockKnip.mjs +3 -2
- package/dist/blocks/blockMITLicense.d.mts +2 -3
- package/dist/blocks/blockNcc.d.mts +2 -3
- package/dist/blocks/blockNvmrc.d.mts +2 -3
- package/dist/blocks/blockOctoGuide.d.mts +2 -3
- package/dist/blocks/blockOctoGuide.mjs +4 -7
- package/dist/blocks/blockOctoGuideStrict.d.mts +2 -3
- package/dist/blocks/blockPackageJson.d.mts +2 -3
- package/dist/blocks/blockPnpmDedupe.d.mts +2 -3
- package/dist/blocks/blockPrettier.d.mts +2 -3
- package/dist/blocks/blockPrettier.mjs +3 -2
- package/dist/blocks/blockPrettierPluginCurly.d.mts +2 -3
- package/dist/blocks/blockPrettierPluginPackageJson.d.mts +2 -3
- package/dist/blocks/blockPrettierPluginPaddingLines.d.mts +2 -3
- package/dist/blocks/blockPrettierPluginSentencesPerLine.d.mts +2 -3
- package/dist/blocks/blockPrettierPluginSh.d.mts +2 -3
- package/dist/blocks/blockREADME.d.mts +2 -3
- package/dist/blocks/blockReleaseIt.d.mts +2 -3
- package/dist/blocks/blockReleaseIt.mjs +12 -10
- package/dist/blocks/blockRemoveDependencies.d.mts +2 -3
- package/dist/blocks/blockRemoveFiles.d.mts +2 -3
- package/dist/blocks/blockRemoveWorkflows.d.mts +2 -3
- package/dist/blocks/blockRenovate.d.mts +2 -3
- package/dist/blocks/blockRepositoryBranchRuleset.d.mts +2 -3
- package/dist/blocks/blockRepositoryLabels.d.mts +2 -3
- package/dist/blocks/blockRepositorySecrets.d.mts +2 -3
- package/dist/blocks/blockRepositorySettings.d.mts +2 -3
- package/dist/blocks/blockSecurityDocs.d.mts +2 -3
- package/dist/blocks/blockSideEffects.d.mts +2 -3
- package/dist/blocks/blockTSDown.d.mts +2 -3
- package/dist/blocks/blockTSDown.mjs +3 -2
- package/dist/blocks/blockTemplatedWith.d.mts +2 -3
- package/dist/blocks/blockTypeScript.d.mts +2 -3
- package/dist/blocks/blockVSCode.d.mts +2 -3
- package/dist/blocks/blockVitest.d.mts +2 -3
- package/dist/blocks/blockWebExt.d.mts +2 -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 +2 -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 +2 -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/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 +2 -3
- package/dist/presets/everything.d.mts +2 -3
- package/dist/presets/index.d.mts +2 -2
- package/dist/presets/minimal.d.mts +2 -3
- package/dist/schemas.d.mts +15 -16
- package/dist/template.d.mts +2 -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 +26 -26
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockTSDown.d.ts
|
|
2
|
-
declare const blockTSDown: import("bingo-stratum").BlockWithAddons<{
|
|
2
|
+
export declare const blockTSDown: import("bingo-stratum").BlockWithAddons<{
|
|
3
3
|
entry: string[];
|
|
4
4
|
properties: Record<string, unknown>;
|
|
5
5
|
runInCI: string[];
|
|
@@ -74,5 +74,4 @@ declare const blockTSDown: import("bingo-stratum").BlockWithAddons<{
|
|
|
74
74
|
pinned?: boolean | undefined;
|
|
75
75
|
}>> | undefined;
|
|
76
76
|
}>;
|
|
77
|
-
//#endregion
|
|
78
|
-
export { blockTSDown };
|
|
77
|
+
//#endregion
|
|
@@ -2,6 +2,7 @@ import { getPackageDependencies } from "../data/packageData.mjs";
|
|
|
2
2
|
import { base } from "../base.mjs";
|
|
3
3
|
import { CommandPhase } from "./phases.mjs";
|
|
4
4
|
import { blockRemoveFiles } from "./blockRemoveFiles.mjs";
|
|
5
|
+
import { withPreviously } from "./files/withPreviously.mjs";
|
|
5
6
|
import { blockGitHubActionsCI } from "./blockGitHubActionsCI.mjs";
|
|
6
7
|
import { blockPackageJson } from "./blockPackageJson.mjs";
|
|
7
8
|
import { blockDevelopmentDocs } from "./blockDevelopmentDocs.mjs";
|
|
@@ -84,14 +85,14 @@ pnpm build --watch
|
|
|
84
85
|
run: "pnpm build"
|
|
85
86
|
}] })
|
|
86
87
|
],
|
|
87
|
-
files: { "tsdown.config.ts": `import { defineConfig } from "tsdown";
|
|
88
|
+
files: { "tsdown.config.ts": withPreviously(`import { defineConfig } from "tsdown";
|
|
88
89
|
|
|
89
90
|
export default defineConfig(${JSON.stringify({
|
|
90
91
|
entry: Array.from(/* @__PURE__ */ new Set([options.bundle ? "src/index.ts" : "src/**/*.ts", ...entry])),
|
|
91
92
|
...options.bundle ? {} : { unbundle: true },
|
|
92
93
|
...properties
|
|
93
94
|
})});
|
|
94
|
-
|
|
95
|
+
`, ["tsup.config.ts"]) },
|
|
95
96
|
scripts: options.bin ? [{
|
|
96
97
|
commands: ["pnpm build"],
|
|
97
98
|
phase: CommandPhase.Build
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockTemplatedWith.d.ts
|
|
2
|
-
declare const blockTemplatedWith: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockTemplatedWith: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -70,5 +70,4 @@ declare const blockTemplatedWith: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
70
70
|
pinned?: boolean | undefined;
|
|
71
71
|
}>> | undefined;
|
|
72
72
|
}>;
|
|
73
|
-
//#endregion
|
|
74
|
-
export { blockTemplatedWith };
|
|
73
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockTypeScript.d.ts
|
|
2
|
-
declare const blockTypeScript: import("bingo-stratum").BlockWithAddons<{
|
|
2
|
+
export declare const blockTypeScript: import("bingo-stratum").BlockWithAddons<{
|
|
3
3
|
compilerOptions?: {
|
|
4
4
|
allowArbitraryExtensions?: boolean | undefined;
|
|
5
5
|
allowImportingTsExtensions?: boolean | undefined;
|
|
@@ -182,5 +182,4 @@ declare const blockTypeScript: import("bingo-stratum").BlockWithAddons<{
|
|
|
182
182
|
pinned?: boolean | undefined;
|
|
183
183
|
}>> | undefined;
|
|
184
184
|
}>;
|
|
185
|
-
//#endregion
|
|
186
|
-
export { blockTypeScript };
|
|
185
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockVSCode.d.ts
|
|
2
|
-
declare const blockVSCode: import("bingo-stratum").BlockWithAddons<{
|
|
2
|
+
export declare const blockVSCode: import("bingo-stratum").BlockWithAddons<{
|
|
3
3
|
settings: Record<string, unknown>;
|
|
4
4
|
debuggers?: (Record<string, unknown> & {
|
|
5
5
|
name: string;
|
|
@@ -79,5 +79,4 @@ declare const blockVSCode: import("bingo-stratum").BlockWithAddons<{
|
|
|
79
79
|
pinned?: boolean | undefined;
|
|
80
80
|
}>> | undefined;
|
|
81
81
|
}>;
|
|
82
|
-
//#endregion
|
|
83
|
-
export { blockVSCode };
|
|
82
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockVitest.d.ts
|
|
2
|
-
declare const blockVitest: import("bingo-stratum").BlockWithAddons<{
|
|
2
|
+
export declare const blockVitest: import("bingo-stratum").BlockWithAddons<{
|
|
3
3
|
actionSteps: ({
|
|
4
4
|
env?: Record<string, string> | undefined;
|
|
5
5
|
if?: string | undefined;
|
|
@@ -87,5 +87,4 @@ declare const blockVitest: import("bingo-stratum").BlockWithAddons<{
|
|
|
87
87
|
pinned?: boolean | undefined;
|
|
88
88
|
}>> | undefined;
|
|
89
89
|
}>;
|
|
90
|
-
//#endregion
|
|
91
|
-
export { blockVitest };
|
|
90
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockWebExt.d.ts
|
|
2
|
-
declare const blockWebExt: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockWebExt: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -70,5 +70,4 @@ declare const blockWebExt: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
70
70
|
pinned?: boolean | undefined;
|
|
71
71
|
}>> | undefined;
|
|
72
72
|
}>;
|
|
73
|
-
//#endregion
|
|
74
|
-
export { blockWebExt };
|
|
73
|
+
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { JobOrRunStep } from "../actions/steps.mjs";
|
|
2
2
|
//#region src/blocks/codecov/findCodecovStep.d.ts
|
|
3
|
-
declare const codecovTokenSecret = "${{ secrets.CODECOV_TOKEN }}";
|
|
4
|
-
declare function findCodecovStep(steps: JobOrRunStep[]): JobOrRunStep | undefined;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { codecovTokenSecret, findCodecovStep };
|
|
3
|
+
export declare const codecovTokenSecret = "${{ secrets.CODECOV_TOKEN }}";
|
|
4
|
+
export declare function findCodecovStep(steps: JobOrRunStep[]): JobOrRunStep | undefined;
|
|
5
|
+
//#endregion
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
//#region src/blocks/eslint/blockESLintIntake.d.ts
|
|
2
|
-
declare function blockESLintIntake(sourceText: string): {
|
|
2
|
+
export declare function blockESLintIntake(sourceText: string): {
|
|
3
3
|
ignores: (string | (RegExp & string))[];
|
|
4
4
|
rules: {
|
|
5
5
|
entries: Record<string, "error" | "off" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
|
|
6
6
|
comment?: string | undefined;
|
|
7
7
|
}[];
|
|
8
8
|
} | undefined;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { blockESLintIntake };
|
|
9
|
+
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/eslint/blockESLintPluginIntake.d.ts
|
|
2
|
-
declare function blockESLintPluginIntake(sourceText: string): {
|
|
2
|
+
export declare function blockESLintPluginIntake(sourceText: string): {
|
|
3
3
|
configEmoji: [string, string][];
|
|
4
4
|
} | undefined;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { blockESLintPluginIntake };
|
|
5
|
+
//#endregion
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//#region src/blocks/eslint/getScriptFileExtension.d.ts
|
|
2
|
-
interface ScriptFileExtensionOptions {
|
|
2
|
+
export interface ScriptFileExtensionOptions {
|
|
3
3
|
type?: "commonjs" | "module";
|
|
4
4
|
}
|
|
5
|
-
declare function getScriptFileExtension(options: ScriptFileExtensionOptions): "**/*.{js,mjs,ts}" | "**/*.{js,ts}";
|
|
6
|
-
//#endregion
|
|
7
|
-
export { ScriptFileExtensionOptions, getScriptFileExtension };
|
|
5
|
+
export declare function getScriptFileExtension(options: ScriptFileExtensionOptions): "**/*.{js,mjs,ts}" | "**/*.{js,ts}";
|
|
6
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Extension } from "./schemas.mjs";
|
|
2
2
|
//#region src/blocks/eslint/mergeAllExtensions.d.ts
|
|
3
|
-
declare function mergeAllExtensions(...extensions: Extension[]): {
|
|
3
|
+
export declare function mergeAllExtensions(...extensions: Extension[]): {
|
|
4
4
|
files: string[];
|
|
5
5
|
extends?: string[] | undefined;
|
|
6
6
|
languageOptions?: unknown;
|
|
@@ -12,5 +12,4 @@ declare function mergeAllExtensions(...extensions: Extension[]): {
|
|
|
12
12
|
}[] | undefined;
|
|
13
13
|
settings?: Record<string, unknown> | undefined;
|
|
14
14
|
}[];
|
|
15
|
-
//#endregion
|
|
16
|
-
export { mergeAllExtensions };
|
|
15
|
+
//#endregion
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/blocks/eslint/schemas.d.ts
|
|
3
|
-
declare const zConfigEmoji: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
4
|
-
declare const zRuleOptions: z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"off">, z.ZodLiteral<"warn">, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown], null>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown, z.ZodUnknown], null>]>;
|
|
5
|
-
type RuleOptions = z.infer<typeof zRuleOptions>;
|
|
6
|
-
declare const zExtensionRuleGroup: z.ZodObject<{
|
|
3
|
+
export declare const zConfigEmoji: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>;
|
|
4
|
+
export declare const zRuleOptions: z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"off">, z.ZodLiteral<"warn">, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown], null>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown, z.ZodUnknown], null>]>;
|
|
5
|
+
export type RuleOptions = z.infer<typeof zRuleOptions>;
|
|
6
|
+
export declare const zExtensionRuleGroup: z.ZodObject<{
|
|
7
7
|
comment: z.ZodOptional<z.ZodString>;
|
|
8
8
|
entries: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"off">, z.ZodLiteral<"warn">, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown], null>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown, z.ZodUnknown], null>]>>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
|
-
type ExtensionRuleGroup = z.infer<typeof zExtensionRuleGroup>;
|
|
11
|
-
declare const zRulesArray: z.ZodArray<z.ZodObject<{
|
|
10
|
+
export type ExtensionRuleGroup = z.infer<typeof zExtensionRuleGroup>;
|
|
11
|
+
export declare const zRulesArray: z.ZodArray<z.ZodObject<{
|
|
12
12
|
comment: z.ZodOptional<z.ZodString>;
|
|
13
13
|
entries: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"off">, z.ZodLiteral<"warn">, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown], null>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown, z.ZodUnknown], null>]>>;
|
|
14
14
|
}, z.core.$strip>>;
|
|
15
|
-
type RulesArray = z.infer<typeof zRulesArray>;
|
|
16
|
-
declare const zRulesRecord: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"off">, z.ZodLiteral<"warn">, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown], null>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown, z.ZodUnknown], null>]>>;
|
|
17
|
-
type RulesRecord = z.infer<typeof zRulesRecord>;
|
|
18
|
-
declare const zExtensionRules: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
15
|
+
export type RulesArray = z.infer<typeof zRulesArray>;
|
|
16
|
+
export declare const zRulesRecord: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"off">, z.ZodLiteral<"warn">, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown], null>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown, z.ZodUnknown], null>]>>;
|
|
17
|
+
export type RulesRecord = z.infer<typeof zRulesRecord>;
|
|
18
|
+
export declare const zExtensionRules: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
19
19
|
comment: z.ZodOptional<z.ZodString>;
|
|
20
20
|
entries: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"off">, z.ZodLiteral<"warn">, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown], null>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown, z.ZodUnknown], null>]>>;
|
|
21
21
|
}, z.core.$strip>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"off">, z.ZodLiteral<"warn">, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown], null>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown, z.ZodUnknown], null>]>>]>;
|
|
22
|
-
type ExtensionRules = z.infer<typeof zExtensionRules>;
|
|
23
|
-
declare const zExtension: z.ZodObject<{
|
|
22
|
+
export type ExtensionRules = z.infer<typeof zExtensionRules>;
|
|
23
|
+
export declare const zExtension: z.ZodObject<{
|
|
24
24
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25
25
|
files: z.ZodArray<z.ZodString>;
|
|
26
26
|
languageOptions: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -32,8 +32,8 @@ declare const zExtension: z.ZodObject<{
|
|
|
32
32
|
}, z.core.$strip>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"off">, z.ZodLiteral<"warn">, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown], null>, z.ZodTuple<[z.ZodUnion<readonly [z.ZodLiteral<"error">, z.ZodLiteral<"warn">]>, z.ZodUnknown, z.ZodUnknown], null>]>>]>>;
|
|
33
33
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
34
34
|
}, z.core.$strip>;
|
|
35
|
-
type Extension = z.infer<typeof zExtension>;
|
|
36
|
-
declare const zPackageImport: z.ZodObject<{
|
|
35
|
+
export type Extension = z.infer<typeof zExtension>;
|
|
36
|
+
export declare const zPackageImport: z.ZodObject<{
|
|
37
37
|
source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
38
38
|
packageName: z.ZodString;
|
|
39
39
|
version: z.ZodString;
|
|
@@ -41,5 +41,4 @@ declare const zPackageImport: z.ZodObject<{
|
|
|
41
41
|
specifier: z.ZodString;
|
|
42
42
|
types: z.ZodOptional<z.ZodBoolean>;
|
|
43
43
|
}, z.core.$strip>;
|
|
44
|
-
//#endregion
|
|
45
|
-
export { Extension, ExtensionRuleGroup, ExtensionRules, RuleOptions, RulesArray, RulesRecord, zConfigEmoji, zExtension, zExtensionRuleGroup, zExtensionRules, zPackageImport, zRuleOptions, zRulesArray, zRulesRecord };
|
|
44
|
+
//#endregion
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { WorkflowsVersions } from "../../schemas.mjs";
|
|
2
2
|
//#region src/blocks/files/createMultiWorkflowFile.d.ts
|
|
3
|
-
interface MultiWorkflowFileOptions {
|
|
3
|
+
export interface MultiWorkflowFileOptions {
|
|
4
4
|
jobs: MultiWorkflowJobOptions[];
|
|
5
5
|
name: string;
|
|
6
6
|
workflowsVersions: undefined | WorkflowsVersions;
|
|
7
7
|
}
|
|
8
|
-
interface MultiWorkflowJobOptions {
|
|
8
|
+
export interface MultiWorkflowJobOptions {
|
|
9
9
|
checkoutWith?: Record<string, string>;
|
|
10
10
|
if?: string;
|
|
11
11
|
name: string;
|
|
12
12
|
steps: MultiWorkflowJobStep[];
|
|
13
13
|
}
|
|
14
|
-
type MultiWorkflowJobStep = {
|
|
14
|
+
export type MultiWorkflowJobStep = {
|
|
15
15
|
if?: string;
|
|
16
16
|
} & ({
|
|
17
17
|
run: string;
|
|
@@ -19,6 +19,5 @@ type MultiWorkflowJobStep = {
|
|
|
19
19
|
uses: string;
|
|
20
20
|
with?: Record<string, string>;
|
|
21
21
|
});
|
|
22
|
-
declare function createMultiWorkflowFile({ jobs, name, workflowsVersions }: MultiWorkflowFileOptions): string;
|
|
23
|
-
//#endregion
|
|
24
|
-
export { MultiWorkflowFileOptions, MultiWorkflowJobOptions, MultiWorkflowJobStep, createMultiWorkflowFile };
|
|
22
|
+
export declare function createMultiWorkflowFile({ jobs, name, workflowsVersions }: MultiWorkflowFileOptions): string;
|
|
23
|
+
//#endregion
|
|
@@ -59,6 +59,5 @@ interface WorkflowFileStep {
|
|
|
59
59
|
uses?: string;
|
|
60
60
|
with?: Record<string, unknown>;
|
|
61
61
|
}
|
|
62
|
-
declare function createSoloWorkflowFile({ concurrency, jobName, name, on, permissions, ...options }: WorkflowFileOptions): string;
|
|
63
|
-
//#endregion
|
|
64
|
-
export { createSoloWorkflowFile };
|
|
62
|
+
export declare function createSoloWorkflowFile({ concurrency, jobName, name, on, permissions, ...options }: WorkflowFileOptions): string;
|
|
63
|
+
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
//#region src/blocks/getInstallationSuggestions.d.ts
|
|
2
|
-
declare function getInstallationSuggestions(description: string, entries: string[], url: string): string[] | undefined;
|
|
3
|
-
//#endregion
|
|
4
|
-
export { getInstallationSuggestions };
|
|
2
|
+
export declare function getInstallationSuggestions(description: string, entries: string[], url: string): string[] | undefined;
|
|
3
|
+
//#endregion
|
package/dist/blocks/index.d.mts
CHANGED
|
@@ -51,7 +51,7 @@ import { blockVSCode } from "./blockVSCode.mjs";
|
|
|
51
51
|
import { blockVitest } from "./blockVitest.mjs";
|
|
52
52
|
import { blockWebExt } from "./blockWebExt.mjs";
|
|
53
53
|
//#region src/blocks/index.d.ts
|
|
54
|
-
declare const blocks: {
|
|
54
|
+
export declare const blocks: {
|
|
55
55
|
blockAllContributors: import("bingo-stratum").BlockWithoutAddons<{
|
|
56
56
|
access: "public" | "restricted";
|
|
57
57
|
description: string;
|
|
@@ -4048,4 +4048,4 @@ declare const blocks: {
|
|
|
4048
4048
|
}>;
|
|
4049
4049
|
};
|
|
4050
4050
|
//#endregion
|
|
4051
|
-
export { 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
|
|
4051
|
+
export { 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 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IntakeDirectory, IntakeFileEntry } from "bingo-fs";
|
|
2
2
|
//#region src/blocks/intake/intakeFile.d.ts
|
|
3
|
-
declare function intakeFile(files: IntakeDirectory, filePath: (string | string[])[]): IntakeFileEntry | undefined;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { intakeFile };
|
|
3
|
+
export declare function intakeFile(files: IntakeDirectory, filePath: (string | string[])[]): IntakeFileEntry | undefined;
|
|
4
|
+
//#endregion
|
|
@@ -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>]>>;
|
|
@@ -200,4 +200,4 @@ declare const createConfig: import("bingo").CreateTemplateConfig<import("bingo-s
|
|
|
200
200
|
}>> | undefined;
|
|
201
201
|
}>>;
|
|
202
202
|
//#endregion
|
|
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,
|
|
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
|