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
package/dist/base.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseOptionsFor } from "bingo-stratum";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/base.d.ts
|
|
4
|
-
declare const base: import("bingo-stratum").Base<{
|
|
4
|
+
export declare const base: import("bingo-stratum").Base<{
|
|
5
5
|
access: z.ZodUnion<readonly [z.ZodLiteral<"public">, z.ZodLiteral<"restricted">]>;
|
|
6
6
|
author: z.ZodOptional<z.ZodString>;
|
|
7
7
|
bin: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
@@ -55,6 +55,7 @@ declare const base: import("bingo-stratum").Base<{
|
|
|
55
55
|
packageData: z.ZodOptional<z.ZodObject<{
|
|
56
56
|
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
57
57
|
devDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
58
|
+
main: z.ZodOptional<z.ZodString>;
|
|
58
59
|
peerDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
59
60
|
peerDependenciesMeta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
60
61
|
scripts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
@@ -71,8 +72,7 @@ declare const base: import("bingo-stratum").Base<{
|
|
|
71
72
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
72
73
|
}, z.core.$strip>>>>;
|
|
73
74
|
}>;
|
|
74
|
-
type BaseOptions = BaseOptionsFor<typeof base> & {
|
|
75
|
+
export type BaseOptions = BaseOptionsFor<typeof base> & {
|
|
75
76
|
preset?: string;
|
|
76
77
|
};
|
|
77
|
-
//#endregion
|
|
78
|
-
export { BaseOptions, base };
|
|
78
|
+
//#endregion
|
package/dist/base.mjs
CHANGED
|
@@ -79,6 +79,7 @@ const base = createBase({
|
|
|
79
79
|
packageData: z.object({
|
|
80
80
|
dependencies: z.record(z.string(), z.string()).optional(),
|
|
81
81
|
devDependencies: z.record(z.string(), z.string()).optional(),
|
|
82
|
+
main: z.string().optional(),
|
|
82
83
|
peerDependencies: z.record(z.string(), z.string()).optional(),
|
|
83
84
|
peerDependenciesMeta: z.record(z.string(), z.unknown()).optional(),
|
|
84
85
|
scripts: z.record(z.string(), z.string().optional()).optional()
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { WorkflowsVersions } from "../../schemas.mjs";
|
|
2
2
|
//#region src/blocks/actions/resolveUses.d.ts
|
|
3
|
-
declare function resolveUses(action: string, version: string, workflowsVersions?: WorkflowsVersions): string;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { resolveUses };
|
|
3
|
+
export declare function resolveUses(action: string, version: string, workflowsVersions?: WorkflowsVersions): string;
|
|
4
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { IntakeDirectory } from "bingo-fs";
|
|
3
3
|
//#region src/blocks/actions/steps.d.ts
|
|
4
|
-
declare const zActionStep: z.ZodIntersection<z.ZodObject<{
|
|
4
|
+
export declare const zActionStep: z.ZodIntersection<z.ZodObject<{
|
|
5
5
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6
6
|
if: z.ZodOptional<z.ZodString>;
|
|
7
7
|
with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -10,12 +10,11 @@ declare const zActionStep: z.ZodIntersection<z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>, z.ZodObject<{
|
|
11
11
|
uses: z.ZodString;
|
|
12
12
|
}, z.core.$strip>]>>;
|
|
13
|
-
interface JobOrRunStep {
|
|
13
|
+
export interface JobOrRunStep {
|
|
14
14
|
env?: Record<string, string>;
|
|
15
15
|
uses?: unknown;
|
|
16
16
|
with?: Record<string, string>;
|
|
17
17
|
}
|
|
18
|
-
declare function getYamlSteps(yaml: unknown, ymlPath: string[]): JobOrRunStep[] | undefined;
|
|
19
|
-
declare function intakeFileYamlSteps(files: IntakeDirectory, filePath: string[], ymlPath: string[]): JobOrRunStep[] | undefined;
|
|
20
|
-
//#endregion
|
|
21
|
-
export { JobOrRunStep, getYamlSteps, intakeFileYamlSteps, zActionStep };
|
|
18
|
+
export declare function getYamlSteps(yaml: unknown, ymlPath: string[]): JobOrRunStep[] | undefined;
|
|
19
|
+
export declare function intakeFileYamlSteps(files: IntakeDirectory, filePath: string[], ymlPath: string[]): JobOrRunStep[] | undefined;
|
|
20
|
+
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
//#region src/blocks/bin/getPrimaryBin.d.ts
|
|
2
|
-
declare function getPrimaryBin(bin: Record<string, string | undefined> | string | undefined, repository: string): string | undefined;
|
|
3
|
-
//#endregion
|
|
4
|
-
export { getPrimaryBin };
|
|
2
|
+
export declare function getPrimaryBin(bin: Record<string, string | undefined> | string | undefined, repository: string): string | undefined;
|
|
3
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockAllContributors.d.ts
|
|
2
|
-
declare const blockAllContributors: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockAllContributors: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -55,6 +55,7 @@ declare const blockAllContributors: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -69,5 +70,4 @@ declare const blockAllContributors: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
69
70
|
pinned?: boolean | undefined;
|
|
70
71
|
}>> | undefined;
|
|
71
72
|
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockAllContributors };
|
|
73
|
+
//#endregion
|
|
@@ -2,8 +2,8 @@ import { startingOwnerContributions } from "../data/contributions.mjs";
|
|
|
2
2
|
import { base } from "../base.mjs";
|
|
3
3
|
import { resolveUses } from "./actions/resolveUses.mjs";
|
|
4
4
|
import { CommandPhase } from "./phases.mjs";
|
|
5
|
-
import { blockRemoveFiles } from "./blockRemoveFiles.mjs";
|
|
6
5
|
import { createSoloWorkflowFile } from "./files/createSoloWorkflowFile.mjs";
|
|
6
|
+
import { withPreviously } from "./files/withPreviously.mjs";
|
|
7
7
|
import { blockREADME } from "./blockREADME.mjs";
|
|
8
8
|
import { blockPrettier } from "./blockPrettier.mjs";
|
|
9
9
|
import { blockRepositorySecrets } from "./blockRepositorySecrets.mjs";
|
|
@@ -50,7 +50,7 @@ const blockAllContributors = base.createBlock({
|
|
|
50
50
|
projectOwner: options.owner,
|
|
51
51
|
repoType: "github"
|
|
52
52
|
}, null, 2),
|
|
53
|
-
".github": { workflows: { "contributors.yaml": createSoloWorkflowFile({
|
|
53
|
+
".github": { workflows: { "contributors.yaml": withPreviously(createSoloWorkflowFile({
|
|
54
54
|
name: "Contributors",
|
|
55
55
|
on: { push: { branches: ["main"] } },
|
|
56
56
|
steps: [
|
|
@@ -64,16 +64,13 @@ const blockAllContributors = base.createBlock({
|
|
|
64
64
|
uses: resolveUses("JoshuaKGoldberg/all-contributors-auto-action", "v0.5.0", options.workflowsVersions)
|
|
65
65
|
}
|
|
66
66
|
]
|
|
67
|
-
}) } }
|
|
67
|
+
}), ["contributors.yml"]) } }
|
|
68
68
|
},
|
|
69
69
|
scripts: [{
|
|
70
70
|
commands: [`pnpx all-contributors-cli@6.23.1 add ${options.owner} ${ownerContributions.join(",")}`],
|
|
71
71
|
phase: CommandPhase.Process
|
|
72
72
|
}]
|
|
73
73
|
};
|
|
74
|
-
},
|
|
75
|
-
transition() {
|
|
76
|
-
return { addons: [blockRemoveFiles({ files: [".github/workflows/contributors.yml"] })] };
|
|
77
74
|
}
|
|
78
75
|
});
|
|
79
76
|
function printAllContributorsTable(contributors) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockAreTheTypesWrong.d.ts
|
|
2
|
-
declare const blockAreTheTypesWrong: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockAreTheTypesWrong: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -55,6 +55,7 @@ declare const blockAreTheTypesWrong: import("bingo-stratum").BlockWithoutAddons<
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -69,5 +70,4 @@ declare const blockAreTheTypesWrong: import("bingo-stratum").BlockWithoutAddons<
|
|
|
69
70
|
pinned?: boolean | undefined;
|
|
70
71
|
}>> | undefined;
|
|
71
72
|
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockAreTheTypesWrong };
|
|
73
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockBin.d.ts
|
|
2
|
-
declare const blockBin: import("bingo-stratum").BlockWithAddons<{
|
|
2
|
+
export declare const blockBin: import("bingo-stratum").BlockWithAddons<{
|
|
3
3
|
contents?: string | undefined;
|
|
4
4
|
}, {
|
|
5
5
|
access: "public" | "restricted";
|
|
@@ -57,6 +57,7 @@ declare const blockBin: import("bingo-stratum").BlockWithAddons<{
|
|
|
57
57
|
packageData?: {
|
|
58
58
|
dependencies?: Record<string, string> | undefined;
|
|
59
59
|
devDependencies?: Record<string, string> | undefined;
|
|
60
|
+
main?: string | undefined;
|
|
60
61
|
peerDependencies?: Record<string, string> | undefined;
|
|
61
62
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
63
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -71,5 +72,4 @@ declare const blockBin: import("bingo-stratum").BlockWithAddons<{
|
|
|
71
72
|
pinned?: boolean | undefined;
|
|
72
73
|
}>> | undefined;
|
|
73
74
|
}>;
|
|
74
|
-
//#endregion
|
|
75
|
-
export { blockBin };
|
|
75
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockCSpell.d.ts
|
|
2
|
-
declare const blockCSpell: import("bingo-stratum").BlockWithAddons<{
|
|
2
|
+
export declare const blockCSpell: import("bingo-stratum").BlockWithAddons<{
|
|
3
3
|
ignorePaths: string[];
|
|
4
4
|
words: string[];
|
|
5
5
|
}, {
|
|
@@ -58,6 +58,7 @@ declare const blockCSpell: import("bingo-stratum").BlockWithAddons<{
|
|
|
58
58
|
packageData?: {
|
|
59
59
|
dependencies?: Record<string, string> | undefined;
|
|
60
60
|
devDependencies?: Record<string, string> | undefined;
|
|
61
|
+
main?: string | undefined;
|
|
61
62
|
peerDependencies?: Record<string, string> | undefined;
|
|
62
63
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
63
64
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -72,5 +73,4 @@ declare const blockCSpell: import("bingo-stratum").BlockWithAddons<{
|
|
|
72
73
|
pinned?: boolean | undefined;
|
|
73
74
|
}>> | undefined;
|
|
74
75
|
}>;
|
|
75
|
-
//#endregion
|
|
76
|
-
export { blockCSpell };
|
|
76
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockCTATransitions.d.ts
|
|
2
|
-
declare const blockCTATransitions: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockCTATransitions: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -55,6 +55,7 @@ declare const blockCTATransitions: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -69,5 +70,4 @@ declare const blockCTATransitions: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
69
70
|
pinned?: boolean | undefined;
|
|
70
71
|
}>> | undefined;
|
|
71
72
|
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockCTATransitions };
|
|
73
|
+
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { packageData } from "../data/packageData.mjs";
|
|
2
2
|
import { base } from "../base.mjs";
|
|
3
3
|
import { resolveUses } from "./actions/resolveUses.mjs";
|
|
4
|
-
import { blockRemoveFiles } from "./blockRemoveFiles.mjs";
|
|
5
4
|
import { blockRepositoryBranchRuleset } from "./blockRepositoryBranchRuleset.mjs";
|
|
6
5
|
import { formatYaml } from "./files/formatYaml.mjs";
|
|
7
6
|
import { createSoloWorkflowFile } from "./files/createSoloWorkflowFile.mjs";
|
|
7
|
+
import { withPreviously } from "./files/withPreviously.mjs";
|
|
8
8
|
import { blockPackageJson } from "./blockPackageJson.mjs";
|
|
9
9
|
//#region src/blocks/blockCTATransitions.ts
|
|
10
10
|
const blockCTATransitions = base.createBlock({
|
|
@@ -13,7 +13,7 @@ const blockCTATransitions = base.createBlock({
|
|
|
13
13
|
return {
|
|
14
14
|
addons: [blockPackageJson({ properties: { devDependencies: { "create-typescript-app": packageData.version } } }), blockRepositoryBranchRuleset({ requiredStatusChecks: ["Transition"] })],
|
|
15
15
|
files: { ".github": {
|
|
16
|
-
actions: { transition: { "action.yaml": formatYaml({
|
|
16
|
+
actions: { transition: { "action.yaml": withPreviously(formatYaml({
|
|
17
17
|
description: "Runs create-typescript-app in transition mode",
|
|
18
18
|
inputs: { token: {
|
|
19
19
|
description: "GitHub personal access token with repo, workflow, and read:org permissions.",
|
|
@@ -75,8 +75,8 @@ const blockCTATransitions = base.createBlock({
|
|
|
75
75
|
],
|
|
76
76
|
using: "composite"
|
|
77
77
|
}
|
|
78
|
-
}) } },
|
|
79
|
-
workflows: { "cta.yaml": createSoloWorkflowFile({
|
|
78
|
+
}), ["action.yml"]) } },
|
|
79
|
+
workflows: { "cta.yaml": withPreviously(createSoloWorkflowFile({
|
|
80
80
|
jobName: "Transition",
|
|
81
81
|
name: "CTA",
|
|
82
82
|
on: { pull_request: { branches: ["main"] } },
|
|
@@ -103,12 +103,9 @@ const blockCTATransitions = base.createBlock({
|
|
|
103
103
|
run: "echo 'Skipping transition mode because the PR does not appear to be an automated or owner-created update to create-typescript-app.'"
|
|
104
104
|
}
|
|
105
105
|
]
|
|
106
|
-
}) }
|
|
106
|
+
}), ["cta.yml"]) }
|
|
107
107
|
} }
|
|
108
108
|
};
|
|
109
|
-
},
|
|
110
|
-
transition() {
|
|
111
|
-
return { addons: [blockRemoveFiles({ files: [".github/actions/transition/action.yml", ".github/workflows/cta.yml"] })] };
|
|
112
109
|
}
|
|
113
110
|
});
|
|
114
111
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockCodecov.d.ts
|
|
2
|
-
declare const blockCodecov: import("bingo-stratum").BlockWithAddons<{
|
|
2
|
+
export declare const blockCodecov: import("bingo-stratum").BlockWithAddons<{
|
|
3
3
|
env?: Record<string, string> | undefined;
|
|
4
4
|
}, {
|
|
5
5
|
access: "public" | "restricted";
|
|
@@ -57,6 +57,7 @@ declare const blockCodecov: import("bingo-stratum").BlockWithAddons<{
|
|
|
57
57
|
packageData?: {
|
|
58
58
|
dependencies?: Record<string, string> | undefined;
|
|
59
59
|
devDependencies?: Record<string, string> | undefined;
|
|
60
|
+
main?: string | undefined;
|
|
60
61
|
peerDependencies?: Record<string, string> | undefined;
|
|
61
62
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
63
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -71,5 +72,4 @@ declare const blockCodecov: import("bingo-stratum").BlockWithAddons<{
|
|
|
71
72
|
pinned?: boolean | undefined;
|
|
72
73
|
}>> | undefined;
|
|
73
74
|
}>;
|
|
74
|
-
//#endregion
|
|
75
|
-
export { blockCodecov };
|
|
75
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockContributingDocs.d.ts
|
|
2
|
-
declare const blockContributingDocs: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockContributingDocs: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -55,6 +55,7 @@ declare const blockContributingDocs: import("bingo-stratum").BlockWithoutAddons<
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -69,5 +70,4 @@ declare const blockContributingDocs: import("bingo-stratum").BlockWithoutAddons<
|
|
|
69
70
|
pinned?: boolean | undefined;
|
|
70
71
|
}>> | undefined;
|
|
71
72
|
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockContributingDocs };
|
|
73
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockContributorCovenant.d.ts
|
|
2
|
-
declare const blockContributorCovenant: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockContributorCovenant: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -55,6 +55,7 @@ declare const blockContributorCovenant: import("bingo-stratum").BlockWithoutAddo
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -69,5 +70,4 @@ declare const blockContributorCovenant: import("bingo-stratum").BlockWithoutAddo
|
|
|
69
70
|
pinned?: boolean | undefined;
|
|
70
71
|
}>> | undefined;
|
|
71
72
|
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockContributorCovenant };
|
|
73
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockDevelopmentDocs.d.ts
|
|
2
|
-
declare const blockDevelopmentDocs: import("bingo-stratum").BlockWithAddons<{
|
|
2
|
+
export declare const blockDevelopmentDocs: import("bingo-stratum").BlockWithAddons<{
|
|
3
3
|
hints: string[];
|
|
4
4
|
sections: Record<string, {
|
|
5
5
|
contents?: string | {
|
|
@@ -69,6 +69,7 @@ declare const blockDevelopmentDocs: import("bingo-stratum").BlockWithAddons<{
|
|
|
69
69
|
packageData?: {
|
|
70
70
|
dependencies?: Record<string, string> | undefined;
|
|
71
71
|
devDependencies?: Record<string, string> | undefined;
|
|
72
|
+
main?: string | undefined;
|
|
72
73
|
peerDependencies?: Record<string, string> | undefined;
|
|
73
74
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
74
75
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -83,5 +84,4 @@ declare const blockDevelopmentDocs: import("bingo-stratum").BlockWithAddons<{
|
|
|
83
84
|
pinned?: boolean | undefined;
|
|
84
85
|
}>> | undefined;
|
|
85
86
|
}>;
|
|
86
|
-
//#endregion
|
|
87
|
-
export { blockDevelopmentDocs };
|
|
87
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockESLint.d.ts
|
|
2
|
-
declare const blockESLint: import("bingo-stratum").BlockWithAddons<{
|
|
2
|
+
export declare const blockESLint: import("bingo-stratum").BlockWithAddons<{
|
|
3
3
|
explanations: string[];
|
|
4
4
|
extensions: {
|
|
5
5
|
files: string[];
|
|
@@ -79,6 +79,7 @@ declare const blockESLint: import("bingo-stratum").BlockWithAddons<{
|
|
|
79
79
|
packageData?: {
|
|
80
80
|
dependencies?: Record<string, string> | undefined;
|
|
81
81
|
devDependencies?: Record<string, string> | undefined;
|
|
82
|
+
main?: string | undefined;
|
|
82
83
|
peerDependencies?: Record<string, string> | undefined;
|
|
83
84
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
84
85
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -93,5 +94,4 @@ declare const blockESLint: import("bingo-stratum").BlockWithAddons<{
|
|
|
93
94
|
pinned?: boolean | undefined;
|
|
94
95
|
}>> | undefined;
|
|
95
96
|
}>;
|
|
96
|
-
//#endregion
|
|
97
|
-
export { blockESLint };
|
|
97
|
+
//#endregion
|
|
@@ -3,6 +3,7 @@ import { getPackageDependencies } from "../data/packageData.mjs";
|
|
|
3
3
|
import { base } from "../base.mjs";
|
|
4
4
|
import { CommandPhase } from "./phases.mjs";
|
|
5
5
|
import { blockRemoveFiles } from "./blockRemoveFiles.mjs";
|
|
6
|
+
import { withPreviously } from "./files/withPreviously.mjs";
|
|
6
7
|
import { blockGitHubActionsCI } from "./blockGitHubActionsCI.mjs";
|
|
7
8
|
import { blockPackageJson } from "./blockPackageJson.mjs";
|
|
8
9
|
import { blockDevelopmentDocs } from "./blockDevelopmentDocs.mjs";
|
|
@@ -115,20 +116,20 @@ Each should be shown in VS Code, and can be run manually on the command-line:
|
|
|
115
116
|
}
|
|
116
117
|
})
|
|
117
118
|
],
|
|
118
|
-
files: { [configFileName]: `${explanation}${importLines.join("\n")}
|
|
119
|
+
files: { [configFileName]: withPreviously(`${explanation}${importLines.join("\n")}
|
|
119
120
|
|
|
120
121
|
export default defineConfig(
|
|
121
122
|
globalIgnores( [${ignoreLines.join(", ")}], "Global Ignores" ),
|
|
122
123
|
{ linterOptions: { reportUnusedDisableDirectives: "error" } },
|
|
123
124
|
${extensionLines.join(",")}
|
|
124
|
-
)
|
|
125
|
+
);`, ["eslint.config.js", "eslint.config.mjs"]) },
|
|
125
126
|
scripts: [{
|
|
126
127
|
commands: ["pnpm lint --fix"],
|
|
127
128
|
phase: CommandPhase.Process
|
|
128
129
|
}]
|
|
129
130
|
};
|
|
130
131
|
},
|
|
131
|
-
transition(
|
|
132
|
+
transition() {
|
|
132
133
|
return { addons: [
|
|
133
134
|
blockRemoveDependencies({ dependencies: [
|
|
134
135
|
"@types/eslint",
|
|
@@ -142,7 +143,7 @@ export default defineConfig(
|
|
|
142
143
|
blockRemoveFiles({ files: [
|
|
143
144
|
".eslintrc*",
|
|
144
145
|
".eslintignore",
|
|
145
|
-
|
|
146
|
+
"eslint.config.{cjs,js,mjs}"
|
|
146
147
|
] }),
|
|
147
148
|
blockRemoveWorkflows({ workflows: ["eslint", "lint"] })
|
|
148
149
|
] };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockESLintComments.d.ts
|
|
2
|
-
declare const blockESLintComments: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockESLintComments: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintComments: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -69,5 +70,4 @@ declare const blockESLintComments: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
69
70
|
pinned?: boolean | undefined;
|
|
70
71
|
}>> | undefined;
|
|
71
72
|
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockESLintComments };
|
|
73
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockESLintJSDoc.d.ts
|
|
2
|
-
declare const blockESLintJSDoc: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockESLintJSDoc: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintJSDoc: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -69,5 +70,4 @@ declare const blockESLintJSDoc: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
69
70
|
pinned?: boolean | undefined;
|
|
70
71
|
}>> | undefined;
|
|
71
72
|
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockESLintJSDoc };
|
|
73
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockESLintJSONC.d.ts
|
|
2
|
-
declare const blockESLintJSONC: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockESLintJSONC: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintJSONC: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -69,5 +70,4 @@ declare const blockESLintJSONC: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
69
70
|
pinned?: boolean | undefined;
|
|
70
71
|
}>> | undefined;
|
|
71
72
|
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockESLintJSONC };
|
|
73
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockESLintMarkdown.d.ts
|
|
2
|
-
declare const blockESLintMarkdown: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockESLintMarkdown: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintMarkdown: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -69,5 +70,4 @@ declare const blockESLintMarkdown: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
69
70
|
pinned?: boolean | undefined;
|
|
70
71
|
}>> | undefined;
|
|
71
72
|
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockESLintMarkdown };
|
|
73
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockESLintMarkdownLinks.d.ts
|
|
2
|
-
declare const blockESLintMarkdownLinks: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockESLintMarkdownLinks: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintMarkdownLinks: import("bingo-stratum").BlockWithoutAddo
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -69,5 +70,4 @@ declare const blockESLintMarkdownLinks: import("bingo-stratum").BlockWithoutAddo
|
|
|
69
70
|
pinned?: boolean | undefined;
|
|
70
71
|
}>> | undefined;
|
|
71
72
|
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockESLintMarkdownLinks };
|
|
73
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/blocks/blockESLintMoreStyling.d.ts
|
|
2
|
-
declare const stylisticComment = "Stylistic concerns that don't interfere with Prettier";
|
|
3
|
-
declare const blockESLintMoreStyling: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const stylisticComment = "Stylistic concerns that don't interfere with Prettier";
|
|
3
|
+
export declare const blockESLintMoreStyling: import("bingo-stratum").BlockWithoutAddons<{
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
@@ -56,6 +56,7 @@ declare const blockESLintMoreStyling: import("bingo-stratum").BlockWithoutAddons
|
|
|
56
56
|
packageData?: {
|
|
57
57
|
dependencies?: Record<string, string> | undefined;
|
|
58
58
|
devDependencies?: Record<string, string> | undefined;
|
|
59
|
+
main?: string | undefined;
|
|
59
60
|
peerDependencies?: Record<string, string> | undefined;
|
|
60
61
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
61
62
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -70,5 +71,4 @@ declare const blockESLintMoreStyling: import("bingo-stratum").BlockWithoutAddons
|
|
|
70
71
|
pinned?: boolean | undefined;
|
|
71
72
|
}>> | undefined;
|
|
72
73
|
}>;
|
|
73
|
-
//#endregion
|
|
74
|
-
export { blockESLintMoreStyling, stylisticComment };
|
|
74
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockESLintNode.d.ts
|
|
2
|
-
declare const blockESLintNode: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockESLintNode: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintNode: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -69,5 +70,4 @@ declare const blockESLintNode: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
69
70
|
pinned?: boolean | undefined;
|
|
70
71
|
}>> | undefined;
|
|
71
72
|
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockESLintNode };
|
|
73
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockESLintPackageJson.d.ts
|
|
2
|
-
declare const blockESLintPackageJson: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockESLintPackageJson: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintPackageJson: import("bingo-stratum").BlockWithoutAddons
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -69,5 +70,4 @@ declare const blockESLintPackageJson: import("bingo-stratum").BlockWithoutAddons
|
|
|
69
70
|
pinned?: boolean | undefined;
|
|
70
71
|
}>> | undefined;
|
|
71
72
|
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockESLintPackageJson };
|
|
73
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/blocks/blockESLintPerfectionist.d.ts
|
|
2
|
-
declare const blockESLintPerfectionist: import("bingo-stratum").BlockWithoutAddons<{
|
|
2
|
+
export declare const blockESLintPerfectionist: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
3
|
access: "public" | "restricted";
|
|
4
4
|
description: string;
|
|
5
5
|
directory: string;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintPerfectionist: import("bingo-stratum").BlockWithoutAddo
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -69,5 +70,4 @@ declare const blockESLintPerfectionist: import("bingo-stratum").BlockWithoutAddo
|
|
|
69
70
|
pinned?: boolean | undefined;
|
|
70
71
|
}>> | undefined;
|
|
71
72
|
}>;
|
|
72
|
-
//#endregion
|
|
73
|
-
export { blockESLintPerfectionist };
|
|
73
|
+
//#endregion
|