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,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
|
|
@@ -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>]>>;
|
|
@@ -70,5 +70,4 @@ declare const presetCommon: import("bingo-stratum").Preset<{
|
|
|
70
70
|
pinned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
71
71
|
}, import("zod/v4/core").$strip>>>>;
|
|
72
72
|
}>;
|
|
73
|
-
//#endregion
|
|
74
|
-
export { presetCommon };
|
|
73
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/presets/everything.d.ts
|
|
2
|
-
declare const presetEverything: import("bingo-stratum").Preset<{
|
|
2
|
+
export declare const presetEverything: 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>]>>;
|
|
@@ -70,5 +70,4 @@ declare const presetEverything: import("bingo-stratum").Preset<{
|
|
|
70
70
|
pinned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
71
71
|
}, import("zod/v4/core").$strip>>>>;
|
|
72
72
|
}>;
|
|
73
|
-
//#endregion
|
|
74
|
-
export { presetEverything };
|
|
73
|
+
//#endregion
|
package/dist/presets/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import { presetCommon } from "./common.mjs";
|
|
|
2
2
|
import { presetEverything } from "./everything.mjs";
|
|
3
3
|
import { presetMinimal } from "./minimal.mjs";
|
|
4
4
|
//#region src/presets/index.d.ts
|
|
5
|
-
declare const presets: {
|
|
5
|
+
export declare const presets: {
|
|
6
6
|
common: import("bingo-stratum").Preset<{
|
|
7
7
|
access: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"public">, import("zod").ZodLiteral<"restricted">]>;
|
|
8
8
|
author: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -218,4 +218,4 @@ declare const presets: {
|
|
|
218
218
|
}>;
|
|
219
219
|
};
|
|
220
220
|
//#endregion
|
|
221
|
-
export { presetCommon, presetEverything, presetMinimal
|
|
221
|
+
export { presetCommon, presetEverything, presetMinimal };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/presets/minimal.d.ts
|
|
2
|
-
declare const presetMinimal: import("bingo-stratum").Preset<{
|
|
2
|
+
export declare const presetMinimal: 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>]>>;
|
|
@@ -70,5 +70,4 @@ declare const presetMinimal: import("bingo-stratum").Preset<{
|
|
|
70
70
|
pinned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
71
71
|
}, import("zod/v4/core").$strip>>>>;
|
|
72
72
|
}>;
|
|
73
|
-
//#endregion
|
|
74
|
-
export { presetMinimal };
|
|
73
|
+
//#endregion
|
package/dist/schemas.d.mts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/schemas.d.ts
|
|
3
|
-
declare const zEmails: z.ZodObject<{
|
|
3
|
+
export declare const zEmails: z.ZodObject<{
|
|
4
4
|
github: z.ZodString;
|
|
5
5
|
npm: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
type Emails = z.infer<typeof zEmails>;
|
|
8
|
-
declare const zContributor: z.ZodObject<{
|
|
7
|
+
export type Emails = z.infer<typeof zEmails>;
|
|
8
|
+
export declare const zContributor: z.ZodObject<{
|
|
9
9
|
avatar_url: z.ZodString;
|
|
10
10
|
contributions: z.ZodArray<z.ZodString>;
|
|
11
11
|
login: z.ZodString;
|
|
12
12
|
name: z.ZodString;
|
|
13
13
|
profile: z.ZodString;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
|
-
type Contributor = z.infer<typeof zContributor>;
|
|
16
|
-
declare const zReadme: z.ZodObject<{
|
|
15
|
+
export type Contributor = z.infer<typeof zContributor>;
|
|
16
|
+
export declare const zReadme: z.ZodObject<{
|
|
17
17
|
additional: z.ZodOptional<z.ZodString>;
|
|
18
18
|
explainer: z.ZodOptional<z.ZodString>;
|
|
19
19
|
footnotes: z.ZodOptional<z.ZodString>;
|
|
20
20
|
usage: z.ZodOptional<z.ZodString>;
|
|
21
21
|
}, z.core.$strip>;
|
|
22
|
-
type Readme = z.infer<typeof zReadme>;
|
|
23
|
-
declare const zDocumentation: z.ZodObject<{
|
|
22
|
+
export type Readme = z.infer<typeof zReadme>;
|
|
23
|
+
export declare const zDocumentation: z.ZodObject<{
|
|
24
24
|
development: z.ZodOptional<z.ZodString>;
|
|
25
25
|
readme: z.ZodObject<{
|
|
26
26
|
additional: z.ZodOptional<z.ZodString>;
|
|
@@ -29,21 +29,20 @@ declare const zDocumentation: z.ZodObject<{
|
|
|
29
29
|
usage: z.ZodOptional<z.ZodString>;
|
|
30
30
|
}, z.core.$strip>;
|
|
31
31
|
}, z.core.$strip>;
|
|
32
|
-
type Documentation = z.infer<typeof zDocumentation>;
|
|
33
|
-
declare const zWorkflowVersion: z.ZodObject<{
|
|
32
|
+
export type Documentation = z.infer<typeof zDocumentation>;
|
|
33
|
+
export declare const zWorkflowVersion: z.ZodObject<{
|
|
34
34
|
hash: z.ZodOptional<z.ZodString>;
|
|
35
35
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
36
36
|
}, z.core.$strip>;
|
|
37
|
-
type WorkflowVersion = z.infer<typeof zWorkflowVersion>;
|
|
38
|
-
declare const zWorkflowVersions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
37
|
+
export type WorkflowVersion = z.infer<typeof zWorkflowVersion>;
|
|
38
|
+
export declare const zWorkflowVersions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
39
39
|
hash: z.ZodOptional<z.ZodString>;
|
|
40
40
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
41
41
|
}, z.core.$strip>>;
|
|
42
|
-
type WorkflowVersions = z.infer<typeof zWorkflowVersions>;
|
|
43
|
-
declare const zWorkflowsVersions: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
42
|
+
export type WorkflowVersions = z.infer<typeof zWorkflowVersions>;
|
|
43
|
+
export declare const zWorkflowsVersions: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
44
44
|
hash: z.ZodOptional<z.ZodString>;
|
|
45
45
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
46
46
|
}, z.core.$strip>>>;
|
|
47
|
-
type WorkflowsVersions = z.infer<typeof zWorkflowsVersions>;
|
|
48
|
-
//#endregion
|
|
49
|
-
export { Contributor, Documentation, Emails, Readme, WorkflowVersion, WorkflowVersions, WorkflowsVersions, zContributor, zDocumentation, zEmails, zReadme, zWorkflowVersion, zWorkflowVersions, zWorkflowsVersions };
|
|
47
|
+
export type WorkflowsVersions = z.infer<typeof zWorkflowsVersions>;
|
|
48
|
+
//#endregion
|
package/dist/template.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/template.d.ts
|
|
2
|
-
declare const template: import("bingo-stratum/lib/types/templates.js").StratumTemplate<{
|
|
2
|
+
export declare const template: import("bingo-stratum/lib/types/templates.js").StratumTemplate<{
|
|
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>]>>;
|
|
@@ -70,5 +70,4 @@ declare const template: import("bingo-stratum/lib/types/templates.js").StratumTe
|
|
|
70
70
|
pinned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
71
71
|
}, import("zod/v4/core").$strip>>>>;
|
|
72
72
|
}>;
|
|
73
|
-
//#endregion
|
|
74
|
-
export { template };
|
|
73
|
+
//#endregion
|
package/dist/types.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
//#region src/types.d.ts
|
|
2
|
-
interface AllContributorContributor {
|
|
2
|
+
export interface AllContributorContributor {
|
|
3
3
|
avatar_url: string;
|
|
4
4
|
contributions: string[];
|
|
5
5
|
login: string;
|
|
6
6
|
name: string;
|
|
7
7
|
profile: string;
|
|
8
8
|
}
|
|
9
|
-
interface AllContributorsData {
|
|
9
|
+
export interface AllContributorsData {
|
|
10
10
|
contributors: AllContributorContributor[];
|
|
11
11
|
}
|
|
12
|
-
interface PartialPackageData {
|
|
12
|
+
export interface PartialPackageData {
|
|
13
13
|
author?: string | {
|
|
14
14
|
email?: string;
|
|
15
15
|
name?: string;
|
|
@@ -37,5 +37,4 @@ interface PartialPackageData {
|
|
|
37
37
|
interface PartialPublishConfig {
|
|
38
38
|
access?: "public" | "restricted";
|
|
39
39
|
}
|
|
40
|
-
//#endregion
|
|
41
|
-
export { AllContributorContributor, AllContributorsData, PartialPackageData };
|
|
40
|
+
//#endregion
|
|
@@ -2,6 +2,5 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Parses the object literal passed to `defineConfig(...)` in a config file.
|
|
4
4
|
*/
|
|
5
|
-
declare function parseDefineConfig(contents: string): Record<string, unknown> | undefined;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { parseDefineConfig };
|
|
5
|
+
export declare function parseDefineConfig(contents: string): Record<string, unknown> | undefined;
|
|
6
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Emails } from "../schemas.mjs";
|
|
2
2
|
//#region src/utils/resolveEmails.d.ts
|
|
3
|
-
declare function resolveEmails(email: Emails | string): Emails;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { resolveEmails };
|
|
3
|
+
export declare function resolveEmails(email: Emails | string): Emails;
|
|
4
|
+
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
//#region src/utils/swallowErrorAsync.d.ts
|
|
2
|
-
declare function swallowErrorAsync<T>(task: Promise<T>): Promise<T | undefined>;
|
|
3
|
-
//#endregion
|
|
4
|
-
export { swallowErrorAsync };
|
|
2
|
+
export declare function swallowErrorAsync<T>(task: Promise<T>): Promise<T | undefined>;
|
|
3
|
+
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
//#region src/utils/trimPrecedingSlash.d.ts
|
|
2
|
-
declare function trimPrecedingSlash(filePath: string | undefined): string | undefined;
|
|
3
|
-
//#endregion
|
|
4
|
-
export { trimPrecedingSlash };
|
|
2
|
+
export declare function trimPrecedingSlash(filePath: string | undefined): string | undefined;
|
|
3
|
+
//#endregion
|