create-typescript-app 2.57.0 → 2.57.2
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/lib/base.d.ts +2 -2
- package/lib/base.d.ts.map +1 -1
- package/lib/blocks/blockAllContributors.d.ts +2 -2
- package/lib/blocks/blockAllContributors.d.ts.map +1 -1
- package/lib/blocks/blockAreTheTypesWrong.d.ts +2 -2
- package/lib/blocks/blockAreTheTypesWrong.d.ts.map +1 -1
- package/lib/blocks/blockCSpell.d.ts +2 -2
- package/lib/blocks/blockCTATransitions.d.ts +2 -2
- package/lib/blocks/blockCodecov.d.ts +2 -2
- package/lib/blocks/blockContributingDocs.d.ts +2 -2
- package/lib/blocks/blockContributingDocs.d.ts.map +1 -1
- package/lib/blocks/blockContributorCovenant.d.ts +2 -2
- package/lib/blocks/blockDevelopmentDocs.d.ts +3 -3
- package/lib/blocks/blockESLint.d.ts +5 -5
- package/lib/blocks/blockESLint.d.ts.map +1 -1
- package/lib/blocks/blockESLintComments.d.ts +2 -2
- package/lib/blocks/blockESLintJSDoc.d.ts +2 -2
- package/lib/blocks/blockESLintJSDoc.d.ts.map +1 -1
- package/lib/blocks/blockESLintJSONC.d.ts +2 -2
- package/lib/blocks/blockESLintMarkdown.d.ts +2 -2
- package/lib/blocks/blockESLintMoreStyling.d.ts +2 -2
- package/lib/blocks/blockESLintMoreStyling.d.ts.map +1 -1
- package/lib/blocks/blockESLintNode.d.ts +2 -2
- package/lib/blocks/blockESLintNode.d.ts.map +1 -1
- package/lib/blocks/blockESLintPackageJson.d.ts +2 -2
- package/lib/blocks/blockESLintPackageJson.d.ts.map +1 -1
- package/lib/blocks/blockESLintPerfectionist.d.ts +2 -2
- package/lib/blocks/blockESLintPlugin.d.ts +2 -2
- package/lib/blocks/blockESLintRegexp.d.ts +2 -2
- package/lib/blocks/blockESLintYML.d.ts +2 -2
- package/lib/blocks/blockExampleFiles.d.ts +2 -2
- package/lib/blocks/blockFunding.d.ts +2 -2
- package/lib/blocks/blockGitHubActionsCI.d.ts +2 -2
- package/lib/blocks/blockGitHubApps.d.ts +2 -2
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +2 -2
- package/lib/blocks/blockGitHubIssueTemplates.d.ts.map +1 -1
- package/lib/blocks/blockGitHubPRTemplate.d.ts +2 -2
- package/lib/blocks/blockGitignore.d.ts +2 -2
- package/lib/blocks/blockKnip.d.ts +2 -2
- package/lib/blocks/blockMITLicense.d.ts +2 -2
- package/lib/blocks/blockMain.d.ts +2 -2
- package/lib/blocks/blockNcc.d.ts +2 -2
- package/lib/blocks/blockNvmrc.d.ts +2 -2
- package/lib/blocks/blockOctoGuide.d.ts +2 -2
- package/lib/blocks/blockOctoGuideStrict.d.ts +2 -2
- package/lib/blocks/blockPackageJson.d.ts +3 -3
- package/lib/blocks/blockPnpmDedupe.d.ts +2 -2
- package/lib/blocks/blockPrettier.d.ts +3 -3
- package/lib/blocks/blockPrettier.d.ts.map +1 -1
- package/lib/blocks/blockPrettierPluginCurly.d.ts +2 -2
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +2 -2
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +2 -2
- package/lib/blocks/blockPrettierPluginSh.d.ts +2 -2
- package/lib/blocks/blockREADME.d.ts +3 -3
- package/lib/blocks/blockReleaseIt.d.ts +2 -2
- package/lib/blocks/blockRemoveDependencies.d.ts +2 -2
- package/lib/blocks/blockRemoveFiles.d.ts +2 -2
- package/lib/blocks/blockRemoveWorkflows.d.ts +2 -2
- package/lib/blocks/blockRenovate.d.ts +2 -2
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +2 -2
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts.map +1 -1
- package/lib/blocks/blockRepositoryLabels.d.ts +2 -2
- package/lib/blocks/blockRepositoryLabels.d.ts.map +1 -1
- package/lib/blocks/blockRepositorySecrets.d.ts +2 -2
- package/lib/blocks/blockRepositorySecrets.d.ts.map +1 -1
- package/lib/blocks/blockRepositorySettings.d.ts +2 -2
- package/lib/blocks/blockRepositorySettings.d.ts.map +1 -1
- package/lib/blocks/blockSecurityDocs.d.ts +2 -2
- package/lib/blocks/blockSecurityDocs.d.ts.map +1 -1
- package/lib/blocks/blockTSDown.d.ts +2 -2
- package/lib/blocks/blockTSDown.d.ts.map +1 -1
- package/lib/blocks/blockTemplatedWith.d.ts +2 -2
- package/lib/blocks/blockVSCode.d.ts +2 -2
- package/lib/blocks/blockVitest.d.ts +2 -2
- package/lib/blocks/blockWebExt.d.ts +2 -2
- package/lib/blocks/eslint/mergeAllExtensions.d.ts +2 -2
- package/lib/blocks/eslint/mergeAllExtensions.d.ts.map +1 -1
- package/lib/blocks/eslint/schemas.d.ts +4 -4
- package/lib/blocks/eslint/schemas.d.ts.map +1 -1
- package/lib/blocks/index.d.ts +56 -56
- package/lib/index.d.ts +2 -2
- package/lib/options/readOwner.js +1 -1
- package/lib/options/readOwner.js.map +1 -1
- package/lib/presets/common.d.ts +2 -2
- package/lib/presets/common.d.ts.map +1 -1
- package/lib/presets/everything.d.ts +69 -69
- package/lib/presets/index.d.ts +203 -203
- package/lib/presets/minimal.d.ts +69 -69
- package/package.json +1 -1
package/lib/blocks/index.d.ts
CHANGED
|
@@ -47,11 +47,11 @@ import { blockTypeScript } from "./blockTypeScript.js";
|
|
|
47
47
|
import { blockVSCode } from "./blockVSCode.js";
|
|
48
48
|
import { blockVitest } from "./blockVitest.js";
|
|
49
49
|
import { blockWebExt } from "./blockWebExt.js";
|
|
50
|
-
import * as
|
|
50
|
+
import * as bingo_stratum51 from "bingo-stratum";
|
|
51
51
|
|
|
52
52
|
//#region src/blocks/index.d.ts
|
|
53
53
|
declare const blocks: {
|
|
54
|
-
blockAllContributors:
|
|
54
|
+
blockAllContributors: bingo_stratum51.BlockWithoutAddons<{
|
|
55
55
|
access: "public" | "restricted";
|
|
56
56
|
description: string;
|
|
57
57
|
directory: string;
|
|
@@ -119,7 +119,7 @@ declare const blocks: {
|
|
|
119
119
|
hash?: string | undefined;
|
|
120
120
|
}>> | undefined;
|
|
121
121
|
}>;
|
|
122
|
-
blockAreTheTypesWrong:
|
|
122
|
+
blockAreTheTypesWrong: bingo_stratum51.BlockWithoutAddons<{
|
|
123
123
|
access: "public" | "restricted";
|
|
124
124
|
description: string;
|
|
125
125
|
directory: string;
|
|
@@ -187,7 +187,7 @@ declare const blocks: {
|
|
|
187
187
|
hash?: string | undefined;
|
|
188
188
|
}>> | undefined;
|
|
189
189
|
}>;
|
|
190
|
-
blockCodecov:
|
|
190
|
+
blockCodecov: bingo_stratum51.BlockWithAddons<{
|
|
191
191
|
env?: Record<string, string> | undefined;
|
|
192
192
|
}, {
|
|
193
193
|
access: "public" | "restricted";
|
|
@@ -257,7 +257,7 @@ declare const blocks: {
|
|
|
257
257
|
hash?: string | undefined;
|
|
258
258
|
}>> | undefined;
|
|
259
259
|
}>;
|
|
260
|
-
blockContributingDocs:
|
|
260
|
+
blockContributingDocs: bingo_stratum51.BlockWithoutAddons<{
|
|
261
261
|
access: "public" | "restricted";
|
|
262
262
|
description: string;
|
|
263
263
|
directory: string;
|
|
@@ -325,7 +325,7 @@ declare const blocks: {
|
|
|
325
325
|
hash?: string | undefined;
|
|
326
326
|
}>> | undefined;
|
|
327
327
|
}>;
|
|
328
|
-
blockContributorCovenant:
|
|
328
|
+
blockContributorCovenant: bingo_stratum51.BlockWithoutAddons<{
|
|
329
329
|
access: "public" | "restricted";
|
|
330
330
|
description: string;
|
|
331
331
|
directory: string;
|
|
@@ -393,7 +393,7 @@ declare const blocks: {
|
|
|
393
393
|
hash?: string | undefined;
|
|
394
394
|
}>> | undefined;
|
|
395
395
|
}>;
|
|
396
|
-
blockCSpell:
|
|
396
|
+
blockCSpell: bingo_stratum51.BlockWithAddons<{
|
|
397
397
|
words: string[];
|
|
398
398
|
ignorePaths: string[];
|
|
399
399
|
}, {
|
|
@@ -464,12 +464,12 @@ declare const blocks: {
|
|
|
464
464
|
hash?: string | undefined;
|
|
465
465
|
}>> | undefined;
|
|
466
466
|
}>;
|
|
467
|
-
blockDevelopmentDocs:
|
|
467
|
+
blockDevelopmentDocs: bingo_stratum51.BlockWithAddons<{
|
|
468
468
|
hints: string[];
|
|
469
469
|
sections: Record<string, {
|
|
470
470
|
contents?: string | {
|
|
471
|
-
before?: string | undefined;
|
|
472
471
|
after?: string[] | undefined;
|
|
472
|
+
before?: string | undefined;
|
|
473
473
|
items?: string[] | undefined;
|
|
474
474
|
plural?: string | undefined;
|
|
475
475
|
} | undefined;
|
|
@@ -546,19 +546,18 @@ declare const blocks: {
|
|
|
546
546
|
hash?: string | undefined;
|
|
547
547
|
}>> | undefined;
|
|
548
548
|
}>;
|
|
549
|
-
blockESLint:
|
|
550
|
-
ignores: string[];
|
|
549
|
+
blockESLint: bingo_stratum51.BlockWithAddons<{
|
|
551
550
|
extensions: {
|
|
552
551
|
files: string[];
|
|
552
|
+
settings?: Record<string, unknown> | undefined;
|
|
553
553
|
rules?: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]> | {
|
|
554
554
|
entries: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
|
|
555
555
|
comment?: string | undefined;
|
|
556
556
|
}[] | undefined;
|
|
557
|
-
plugins?: Record<string, string> | undefined;
|
|
558
|
-
settings?: Record<string, unknown> | undefined;
|
|
559
557
|
extends?: string[] | undefined;
|
|
560
558
|
languageOptions?: unknown;
|
|
561
559
|
linterOptions?: unknown;
|
|
560
|
+
plugins?: Record<string, string> | undefined;
|
|
562
561
|
}[];
|
|
563
562
|
imports: {
|
|
564
563
|
source: string | {
|
|
@@ -569,6 +568,7 @@ declare const blocks: {
|
|
|
569
568
|
types?: boolean | undefined;
|
|
570
569
|
}[];
|
|
571
570
|
explanations: string[];
|
|
571
|
+
ignores: string[];
|
|
572
572
|
beforeLint?: string | undefined;
|
|
573
573
|
}, {
|
|
574
574
|
access: "public" | "restricted";
|
|
@@ -638,7 +638,7 @@ declare const blocks: {
|
|
|
638
638
|
hash?: string | undefined;
|
|
639
639
|
}>> | undefined;
|
|
640
640
|
}>;
|
|
641
|
-
blockESLintComments:
|
|
641
|
+
blockESLintComments: bingo_stratum51.BlockWithoutAddons<{
|
|
642
642
|
access: "public" | "restricted";
|
|
643
643
|
description: string;
|
|
644
644
|
directory: string;
|
|
@@ -706,7 +706,7 @@ declare const blocks: {
|
|
|
706
706
|
hash?: string | undefined;
|
|
707
707
|
}>> | undefined;
|
|
708
708
|
}>;
|
|
709
|
-
blockESLintJSDoc:
|
|
709
|
+
blockESLintJSDoc: bingo_stratum51.BlockWithoutAddons<{
|
|
710
710
|
access: "public" | "restricted";
|
|
711
711
|
description: string;
|
|
712
712
|
directory: string;
|
|
@@ -774,7 +774,7 @@ declare const blocks: {
|
|
|
774
774
|
hash?: string | undefined;
|
|
775
775
|
}>> | undefined;
|
|
776
776
|
}>;
|
|
777
|
-
blockESLintJSONC:
|
|
777
|
+
blockESLintJSONC: bingo_stratum51.BlockWithoutAddons<{
|
|
778
778
|
access: "public" | "restricted";
|
|
779
779
|
description: string;
|
|
780
780
|
directory: string;
|
|
@@ -842,7 +842,7 @@ declare const blocks: {
|
|
|
842
842
|
hash?: string | undefined;
|
|
843
843
|
}>> | undefined;
|
|
844
844
|
}>;
|
|
845
|
-
blockESLintMarkdown:
|
|
845
|
+
blockESLintMarkdown: bingo_stratum51.BlockWithoutAddons<{
|
|
846
846
|
access: "public" | "restricted";
|
|
847
847
|
description: string;
|
|
848
848
|
directory: string;
|
|
@@ -910,7 +910,7 @@ declare const blocks: {
|
|
|
910
910
|
hash?: string | undefined;
|
|
911
911
|
}>> | undefined;
|
|
912
912
|
}>;
|
|
913
|
-
blockESLintMoreStyling:
|
|
913
|
+
blockESLintMoreStyling: bingo_stratum51.BlockWithoutAddons<{
|
|
914
914
|
access: "public" | "restricted";
|
|
915
915
|
description: string;
|
|
916
916
|
directory: string;
|
|
@@ -978,7 +978,7 @@ declare const blocks: {
|
|
|
978
978
|
hash?: string | undefined;
|
|
979
979
|
}>> | undefined;
|
|
980
980
|
}>;
|
|
981
|
-
blockESLintNode:
|
|
981
|
+
blockESLintNode: bingo_stratum51.BlockWithoutAddons<{
|
|
982
982
|
access: "public" | "restricted";
|
|
983
983
|
description: string;
|
|
984
984
|
directory: string;
|
|
@@ -1046,7 +1046,7 @@ declare const blocks: {
|
|
|
1046
1046
|
hash?: string | undefined;
|
|
1047
1047
|
}>> | undefined;
|
|
1048
1048
|
}>;
|
|
1049
|
-
blockESLintPackageJson:
|
|
1049
|
+
blockESLintPackageJson: bingo_stratum51.BlockWithoutAddons<{
|
|
1050
1050
|
access: "public" | "restricted";
|
|
1051
1051
|
description: string;
|
|
1052
1052
|
directory: string;
|
|
@@ -1114,7 +1114,7 @@ declare const blocks: {
|
|
|
1114
1114
|
hash?: string | undefined;
|
|
1115
1115
|
}>> | undefined;
|
|
1116
1116
|
}>;
|
|
1117
|
-
blockESLintPerfectionist:
|
|
1117
|
+
blockESLintPerfectionist: bingo_stratum51.BlockWithoutAddons<{
|
|
1118
1118
|
access: "public" | "restricted";
|
|
1119
1119
|
description: string;
|
|
1120
1120
|
directory: string;
|
|
@@ -1182,7 +1182,7 @@ declare const blocks: {
|
|
|
1182
1182
|
hash?: string | undefined;
|
|
1183
1183
|
}>> | undefined;
|
|
1184
1184
|
}>;
|
|
1185
|
-
blockESLintPlugin:
|
|
1185
|
+
blockESLintPlugin: bingo_stratum51.BlockWithAddons<{
|
|
1186
1186
|
configEmoji?: [string, string][] | undefined;
|
|
1187
1187
|
}, {
|
|
1188
1188
|
access: "public" | "restricted";
|
|
@@ -1252,7 +1252,7 @@ declare const blocks: {
|
|
|
1252
1252
|
hash?: string | undefined;
|
|
1253
1253
|
}>> | undefined;
|
|
1254
1254
|
}>;
|
|
1255
|
-
blockESLintRegexp:
|
|
1255
|
+
blockESLintRegexp: bingo_stratum51.BlockWithoutAddons<{
|
|
1256
1256
|
access: "public" | "restricted";
|
|
1257
1257
|
description: string;
|
|
1258
1258
|
directory: string;
|
|
@@ -1320,7 +1320,7 @@ declare const blocks: {
|
|
|
1320
1320
|
hash?: string | undefined;
|
|
1321
1321
|
}>> | undefined;
|
|
1322
1322
|
}>;
|
|
1323
|
-
blockESLintYML:
|
|
1323
|
+
blockESLintYML: bingo_stratum51.BlockWithoutAddons<{
|
|
1324
1324
|
access: "public" | "restricted";
|
|
1325
1325
|
description: string;
|
|
1326
1326
|
directory: string;
|
|
@@ -1388,7 +1388,7 @@ declare const blocks: {
|
|
|
1388
1388
|
hash?: string | undefined;
|
|
1389
1389
|
}>> | undefined;
|
|
1390
1390
|
}>;
|
|
1391
|
-
blockFunding:
|
|
1391
|
+
blockFunding: bingo_stratum51.BlockWithoutAddons<{
|
|
1392
1392
|
access: "public" | "restricted";
|
|
1393
1393
|
description: string;
|
|
1394
1394
|
directory: string;
|
|
@@ -1456,7 +1456,7 @@ declare const blocks: {
|
|
|
1456
1456
|
hash?: string | undefined;
|
|
1457
1457
|
}>> | undefined;
|
|
1458
1458
|
}>;
|
|
1459
|
-
blockGitHubActionsCI:
|
|
1459
|
+
blockGitHubActionsCI: bingo_stratum51.BlockWithAddons<{
|
|
1460
1460
|
jobs?: {
|
|
1461
1461
|
name: string;
|
|
1462
1462
|
steps: ({
|
|
@@ -1540,7 +1540,7 @@ declare const blocks: {
|
|
|
1540
1540
|
hash?: string | undefined;
|
|
1541
1541
|
}>> | undefined;
|
|
1542
1542
|
}>;
|
|
1543
|
-
blockGitHubIssueTemplates:
|
|
1543
|
+
blockGitHubIssueTemplates: bingo_stratum51.BlockWithoutAddons<{
|
|
1544
1544
|
access: "public" | "restricted";
|
|
1545
1545
|
description: string;
|
|
1546
1546
|
directory: string;
|
|
@@ -1608,7 +1608,7 @@ declare const blocks: {
|
|
|
1608
1608
|
hash?: string | undefined;
|
|
1609
1609
|
}>> | undefined;
|
|
1610
1610
|
}>;
|
|
1611
|
-
blockGitHubPRTemplate:
|
|
1611
|
+
blockGitHubPRTemplate: bingo_stratum51.BlockWithoutAddons<{
|
|
1612
1612
|
access: "public" | "restricted";
|
|
1613
1613
|
description: string;
|
|
1614
1614
|
directory: string;
|
|
@@ -1676,7 +1676,7 @@ declare const blocks: {
|
|
|
1676
1676
|
hash?: string | undefined;
|
|
1677
1677
|
}>> | undefined;
|
|
1678
1678
|
}>;
|
|
1679
|
-
blockGitignore:
|
|
1679
|
+
blockGitignore: bingo_stratum51.BlockWithAddons<{
|
|
1680
1680
|
ignores: string[];
|
|
1681
1681
|
}, {
|
|
1682
1682
|
access: "public" | "restricted";
|
|
@@ -1746,7 +1746,7 @@ declare const blocks: {
|
|
|
1746
1746
|
hash?: string | undefined;
|
|
1747
1747
|
}>> | undefined;
|
|
1748
1748
|
}>;
|
|
1749
|
-
blockKnip:
|
|
1749
|
+
blockKnip: bingo_stratum51.BlockWithAddons<{
|
|
1750
1750
|
entry?: string[] | undefined;
|
|
1751
1751
|
ignoreDependencies?: string[] | undefined;
|
|
1752
1752
|
project?: string[] | undefined;
|
|
@@ -1818,7 +1818,7 @@ declare const blocks: {
|
|
|
1818
1818
|
hash?: string | undefined;
|
|
1819
1819
|
}>> | undefined;
|
|
1820
1820
|
}>;
|
|
1821
|
-
blockMain:
|
|
1821
|
+
blockMain: bingo_stratum51.BlockWithAddons<{
|
|
1822
1822
|
runArgs: string[];
|
|
1823
1823
|
filePath?: string | undefined;
|
|
1824
1824
|
}, {
|
|
@@ -1889,7 +1889,7 @@ declare const blocks: {
|
|
|
1889
1889
|
hash?: string | undefined;
|
|
1890
1890
|
}>> | undefined;
|
|
1891
1891
|
}>;
|
|
1892
|
-
blockMITLicense:
|
|
1892
|
+
blockMITLicense: bingo_stratum51.BlockWithoutAddons<{
|
|
1893
1893
|
access: "public" | "restricted";
|
|
1894
1894
|
description: string;
|
|
1895
1895
|
directory: string;
|
|
@@ -1957,7 +1957,7 @@ declare const blocks: {
|
|
|
1957
1957
|
hash?: string | undefined;
|
|
1958
1958
|
}>> | undefined;
|
|
1959
1959
|
}>;
|
|
1960
|
-
blockNcc:
|
|
1960
|
+
blockNcc: bingo_stratum51.BlockWithAddons<{
|
|
1961
1961
|
entry?: string | undefined;
|
|
1962
1962
|
}, {
|
|
1963
1963
|
access: "public" | "restricted";
|
|
@@ -2027,7 +2027,7 @@ declare const blocks: {
|
|
|
2027
2027
|
hash?: string | undefined;
|
|
2028
2028
|
}>> | undefined;
|
|
2029
2029
|
}>;
|
|
2030
|
-
blockNvmrc:
|
|
2030
|
+
blockNvmrc: bingo_stratum51.BlockWithoutAddons<{
|
|
2031
2031
|
access: "public" | "restricted";
|
|
2032
2032
|
description: string;
|
|
2033
2033
|
directory: string;
|
|
@@ -2095,7 +2095,7 @@ declare const blocks: {
|
|
|
2095
2095
|
hash?: string | undefined;
|
|
2096
2096
|
}>> | undefined;
|
|
2097
2097
|
}>;
|
|
2098
|
-
blockOctoGuide:
|
|
2098
|
+
blockOctoGuide: bingo_stratum51.BlockWithAddons<{
|
|
2099
2099
|
config?: "strict" | "recommended" | undefined;
|
|
2100
2100
|
}, {
|
|
2101
2101
|
access: "public" | "restricted";
|
|
@@ -2165,7 +2165,7 @@ declare const blocks: {
|
|
|
2165
2165
|
hash?: string | undefined;
|
|
2166
2166
|
}>> | undefined;
|
|
2167
2167
|
}>;
|
|
2168
|
-
blockOctoGuideStrict:
|
|
2168
|
+
blockOctoGuideStrict: bingo_stratum51.BlockWithoutAddons<{
|
|
2169
2169
|
access: "public" | "restricted";
|
|
2170
2170
|
description: string;
|
|
2171
2171
|
directory: string;
|
|
@@ -2233,7 +2233,7 @@ declare const blocks: {
|
|
|
2233
2233
|
hash?: string | undefined;
|
|
2234
2234
|
}>> | undefined;
|
|
2235
2235
|
}>;
|
|
2236
|
-
blockPackageJson:
|
|
2236
|
+
blockPackageJson: bingo_stratum51.BlockWithAddons<{
|
|
2237
2237
|
properties: {
|
|
2238
2238
|
type?: "commonjs" | "module" | undefined;
|
|
2239
2239
|
author?: string | {
|
|
@@ -2284,7 +2284,6 @@ declare const blocks: {
|
|
|
2284
2284
|
email?: string | undefined;
|
|
2285
2285
|
})[] | undefined;
|
|
2286
2286
|
main?: string | undefined;
|
|
2287
|
-
overrides?: Record<string, unknown> | undefined;
|
|
2288
2287
|
bugs?: string | {
|
|
2289
2288
|
url?: string | undefined;
|
|
2290
2289
|
email?: string | undefined;
|
|
@@ -2295,6 +2294,7 @@ declare const blocks: {
|
|
|
2295
2294
|
bundleDependencies?: boolean | string[] | undefined;
|
|
2296
2295
|
bundledDependencies?: boolean | string[] | undefined;
|
|
2297
2296
|
optionalDependencies?: Record<string, string> | undefined;
|
|
2297
|
+
overrides?: Record<string, unknown> | undefined;
|
|
2298
2298
|
os?: string[] | undefined;
|
|
2299
2299
|
cpu?: string[] | undefined;
|
|
2300
2300
|
publishConfig?: Record<string, unknown> | undefined;
|
|
@@ -2378,7 +2378,7 @@ declare const blocks: {
|
|
|
2378
2378
|
hash?: string | undefined;
|
|
2379
2379
|
}>> | undefined;
|
|
2380
2380
|
}>;
|
|
2381
|
-
blockPnpmDedupe:
|
|
2381
|
+
blockPnpmDedupe: bingo_stratum51.BlockWithoutAddons<{
|
|
2382
2382
|
access: "public" | "restricted";
|
|
2383
2383
|
description: string;
|
|
2384
2384
|
directory: string;
|
|
@@ -2446,8 +2446,7 @@ declare const blocks: {
|
|
|
2446
2446
|
hash?: string | undefined;
|
|
2447
2447
|
}>> | undefined;
|
|
2448
2448
|
}>;
|
|
2449
|
-
blockPrettier:
|
|
2450
|
-
ignores: string[];
|
|
2449
|
+
blockPrettier: bingo_stratum51.BlockWithAddons<{
|
|
2451
2450
|
overrides: {
|
|
2452
2451
|
options: {
|
|
2453
2452
|
parser: string;
|
|
@@ -2455,6 +2454,7 @@ declare const blocks: {
|
|
|
2455
2454
|
files: string;
|
|
2456
2455
|
}[];
|
|
2457
2456
|
plugins: string[];
|
|
2457
|
+
ignores: string[];
|
|
2458
2458
|
runBefore: string[];
|
|
2459
2459
|
}, {
|
|
2460
2460
|
access: "public" | "restricted";
|
|
@@ -2524,7 +2524,7 @@ declare const blocks: {
|
|
|
2524
2524
|
hash?: string | undefined;
|
|
2525
2525
|
}>> | undefined;
|
|
2526
2526
|
}>;
|
|
2527
|
-
blockPrettierPluginCurly:
|
|
2527
|
+
blockPrettierPluginCurly: bingo_stratum51.BlockWithoutAddons<{
|
|
2528
2528
|
access: "public" | "restricted";
|
|
2529
2529
|
description: string;
|
|
2530
2530
|
directory: string;
|
|
@@ -2592,7 +2592,7 @@ declare const blocks: {
|
|
|
2592
2592
|
hash?: string | undefined;
|
|
2593
2593
|
}>> | undefined;
|
|
2594
2594
|
}>;
|
|
2595
|
-
blockPrettierPluginPackageJson:
|
|
2595
|
+
blockPrettierPluginPackageJson: bingo_stratum51.BlockWithoutAddons<{
|
|
2596
2596
|
access: "public" | "restricted";
|
|
2597
2597
|
description: string;
|
|
2598
2598
|
directory: string;
|
|
@@ -2660,7 +2660,7 @@ declare const blocks: {
|
|
|
2660
2660
|
hash?: string | undefined;
|
|
2661
2661
|
}>> | undefined;
|
|
2662
2662
|
}>;
|
|
2663
|
-
blockPrettierPluginSentencesPerLine:
|
|
2663
|
+
blockPrettierPluginSentencesPerLine: bingo_stratum51.BlockWithoutAddons<{
|
|
2664
2664
|
access: "public" | "restricted";
|
|
2665
2665
|
description: string;
|
|
2666
2666
|
directory: string;
|
|
@@ -2728,7 +2728,7 @@ declare const blocks: {
|
|
|
2728
2728
|
hash?: string | undefined;
|
|
2729
2729
|
}>> | undefined;
|
|
2730
2730
|
}>;
|
|
2731
|
-
blockPrettierPluginSh:
|
|
2731
|
+
blockPrettierPluginSh: bingo_stratum51.BlockWithoutAddons<{
|
|
2732
2732
|
access: "public" | "restricted";
|
|
2733
2733
|
description: string;
|
|
2734
2734
|
directory: string;
|
|
@@ -2796,15 +2796,15 @@ declare const blocks: {
|
|
|
2796
2796
|
hash?: string | undefined;
|
|
2797
2797
|
}>> | undefined;
|
|
2798
2798
|
}>;
|
|
2799
|
-
blockREADME:
|
|
2799
|
+
blockREADME: bingo_stratum51.BlockWithAddons<{
|
|
2800
2800
|
sections: string[];
|
|
2801
2801
|
badges: {
|
|
2802
2802
|
alt: string;
|
|
2803
2803
|
src: string;
|
|
2804
2804
|
href?: string | undefined;
|
|
2805
2805
|
comments?: {
|
|
2806
|
-
before: string;
|
|
2807
2806
|
after: string;
|
|
2807
|
+
before: string;
|
|
2808
2808
|
} | undefined;
|
|
2809
2809
|
}[];
|
|
2810
2810
|
defaultUsage: string[];
|
|
@@ -2877,7 +2877,7 @@ declare const blocks: {
|
|
|
2877
2877
|
hash?: string | undefined;
|
|
2878
2878
|
}>> | undefined;
|
|
2879
2879
|
}>;
|
|
2880
|
-
blockReleaseIt:
|
|
2880
|
+
blockReleaseIt: bingo_stratum51.BlockWithAddons<{
|
|
2881
2881
|
builders: {
|
|
2882
2882
|
run: string;
|
|
2883
2883
|
order: number;
|
|
@@ -2950,7 +2950,7 @@ declare const blocks: {
|
|
|
2950
2950
|
hash?: string | undefined;
|
|
2951
2951
|
}>> | undefined;
|
|
2952
2952
|
}>;
|
|
2953
|
-
blockRenovate:
|
|
2953
|
+
blockRenovate: bingo_stratum51.BlockWithAddons<{
|
|
2954
2954
|
ignoreDeps: string[];
|
|
2955
2955
|
}, {
|
|
2956
2956
|
access: "public" | "restricted";
|
|
@@ -3020,7 +3020,7 @@ declare const blocks: {
|
|
|
3020
3020
|
hash?: string | undefined;
|
|
3021
3021
|
}>> | undefined;
|
|
3022
3022
|
}>;
|
|
3023
|
-
blockSecurityDocs:
|
|
3023
|
+
blockSecurityDocs: bingo_stratum51.BlockWithoutAddons<{
|
|
3024
3024
|
access: "public" | "restricted";
|
|
3025
3025
|
description: string;
|
|
3026
3026
|
directory: string;
|
|
@@ -3088,7 +3088,7 @@ declare const blocks: {
|
|
|
3088
3088
|
hash?: string | undefined;
|
|
3089
3089
|
}>> | undefined;
|
|
3090
3090
|
}>;
|
|
3091
|
-
blockTemplatedWith:
|
|
3091
|
+
blockTemplatedWith: bingo_stratum51.BlockWithoutAddons<{
|
|
3092
3092
|
access: "public" | "restricted";
|
|
3093
3093
|
description: string;
|
|
3094
3094
|
directory: string;
|
|
@@ -3156,7 +3156,7 @@ declare const blocks: {
|
|
|
3156
3156
|
hash?: string | undefined;
|
|
3157
3157
|
}>> | undefined;
|
|
3158
3158
|
}>;
|
|
3159
|
-
blockTSDown:
|
|
3159
|
+
blockTSDown: bingo_stratum51.BlockWithAddons<{
|
|
3160
3160
|
properties: Record<string, unknown>;
|
|
3161
3161
|
entry: string[];
|
|
3162
3162
|
runInCI: string[];
|
|
@@ -3228,7 +3228,7 @@ declare const blocks: {
|
|
|
3228
3228
|
hash?: string | undefined;
|
|
3229
3229
|
}>> | undefined;
|
|
3230
3230
|
}>;
|
|
3231
|
-
blockTypeScript:
|
|
3231
|
+
blockTypeScript: bingo_stratum51.BlockWithAddons<{
|
|
3232
3232
|
compilerOptions?: {
|
|
3233
3233
|
allowArbitraryExtensions?: boolean | undefined;
|
|
3234
3234
|
allowImportingTsExtensions?: boolean | undefined;
|
|
@@ -3408,7 +3408,7 @@ declare const blocks: {
|
|
|
3408
3408
|
hash?: string | undefined;
|
|
3409
3409
|
}>> | undefined;
|
|
3410
3410
|
}>;
|
|
3411
|
-
blockVitest:
|
|
3411
|
+
blockVitest: bingo_stratum51.BlockWithAddons<{
|
|
3412
3412
|
exclude: string[];
|
|
3413
3413
|
actionSteps: ({
|
|
3414
3414
|
env?: Record<string, string> | undefined;
|
|
@@ -3493,7 +3493,7 @@ declare const blocks: {
|
|
|
3493
3493
|
hash?: string | undefined;
|
|
3494
3494
|
}>> | undefined;
|
|
3495
3495
|
}>;
|
|
3496
|
-
blockVSCode:
|
|
3496
|
+
blockVSCode: bingo_stratum51.BlockWithAddons<{
|
|
3497
3497
|
settings: Record<string, unknown>;
|
|
3498
3498
|
debuggers?: (Record<string, unknown> & {
|
|
3499
3499
|
name: string;
|
|
@@ -3570,7 +3570,7 @@ declare const blocks: {
|
|
|
3570
3570
|
hash?: string | undefined;
|
|
3571
3571
|
}>> | undefined;
|
|
3572
3572
|
}>;
|
|
3573
|
-
blockWebExt:
|
|
3573
|
+
blockWebExt: bingo_stratum51.BlockWithoutAddons<{
|
|
3574
3574
|
access: "public" | "restricted";
|
|
3575
3575
|
description: string;
|
|
3576
3576
|
directory: string;
|
package/lib/index.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ import { presetCommon } from "./presets/common.js";
|
|
|
54
54
|
import { presetEverything } from "./presets/everything.js";
|
|
55
55
|
import { presetMinimal } from "./presets/minimal.js";
|
|
56
56
|
import { presets } from "./presets/index.js";
|
|
57
|
-
import * as
|
|
57
|
+
import * as bingo_stratum1 from "bingo-stratum";
|
|
58
58
|
import * as zod0 from "zod";
|
|
59
59
|
import * as bingo0 from "bingo";
|
|
60
60
|
import * as bingo_stratum_lib_types_templates_js0 from "bingo-stratum/lib/types/templates.js";
|
|
@@ -225,7 +225,7 @@ declare const createConfig: bingo0.CreateTemplateConfig<{
|
|
|
225
225
|
pinned?: boolean | undefined;
|
|
226
226
|
hash?: string | undefined;
|
|
227
227
|
}>>>>;
|
|
228
|
-
} & bingo_stratum_lib_types_templates_js0.StratumTemplateOptionsShape,
|
|
228
|
+
} & bingo_stratum_lib_types_templates_js0.StratumTemplateOptionsShape, bingo_stratum1.StratumRefinements<{
|
|
229
229
|
access: "public" | "restricted";
|
|
230
230
|
description: string;
|
|
231
231
|
directory: string;
|
package/lib/options/readOwner.js
CHANGED
|
@@ -2,7 +2,7 @@ import { inputFromScript } from "input-from-script";
|
|
|
2
2
|
|
|
3
3
|
//#region src/options/readOwner.ts
|
|
4
4
|
async function readOwner(take, getGitDefaults, getPackageAuthor) {
|
|
5
|
-
return (await getGitDefaults())?.organization ?? (await
|
|
5
|
+
return (await getGitDefaults())?.organization ?? (await take(inputFromScript, { command: "gh config get user -h github.com" })).stdout?.toString() ?? (await getPackageAuthor()).name;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readOwner.js","names":[],"sources":["../../src/options/readOwner.ts"],"sourcesContent":["import { TakeInput } from \"bingo\";\nimport { GitUrl } from \"git-url-parse\";\nimport { inputFromScript } from \"input-from-script\";\n\nimport { PackageAuthor } from \"./readPackageAuthor.js\";\n\nexport async function readOwner(\n\ttake: TakeInput,\n\tgetGitDefaults: () => Promise<GitUrl | undefined>,\n\tgetPackageAuthor: () => Promise<PackageAuthor>,\n) {\n\treturn (\n\t\t(await getGitDefaults())?.organization ??\n\t\t(
|
|
1
|
+
{"version":3,"file":"readOwner.js","names":[],"sources":["../../src/options/readOwner.ts"],"sourcesContent":["import { TakeInput } from \"bingo\";\nimport { GitUrl } from \"git-url-parse\";\nimport { inputFromScript } from \"input-from-script\";\n\nimport { PackageAuthor } from \"./readPackageAuthor.js\";\n\nexport async function readOwner(\n\ttake: TakeInput,\n\tgetGitDefaults: () => Promise<GitUrl | undefined>,\n\tgetPackageAuthor: () => Promise<PackageAuthor>,\n) {\n\treturn (\n\t\t(await getGitDefaults())?.organization ??\n\t\t(\n\t\t\tawait take(inputFromScript, {\n\t\t\t\tcommand: \"gh config get user -h github.com\",\n\t\t\t})\n\t\t).stdout?.toString() ??\n\t\t(await getPackageAuthor()).name\n\t);\n}\n"],"mappings":";;;AAMA,eAAsB,UACrB,MACA,gBACA,kBACC;AACD,SACE,MAAM,gBAAgB,GAAG,iBAEzB,MAAM,KAAK,iBAAiB,EAC3B,SAAS,oCACT,CAAC,EACD,QAAQ,UAAU,KACnB,MAAM,kBAAkB,EAAE"}
|
package/lib/presets/common.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum99 from "bingo-stratum";
|
|
2
2
|
import * as zod257 from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/presets/common.d.ts
|
|
5
|
-
declare const presetCommon:
|
|
5
|
+
declare const presetCommon: bingo_stratum99.Preset<{
|
|
6
6
|
access: zod257.ZodUnion<[zod257.ZodLiteral<"public">, zod257.ZodLiteral<"restricted">]>;
|
|
7
7
|
author: zod257.ZodOptional<zod257.ZodString>;
|
|
8
8
|
bin: zod257.ZodOptional<zod257.ZodUnion<[zod257.ZodString, zod257.ZodRecord<zod257.ZodString, zod257.ZodString>]>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","names":[],"sources":["../../src/presets/common.ts"],"sourcesContent":[],"mappings":";;;;cASa
|
|
1
|
+
{"version":3,"file":"common.d.ts","names":[],"sources":["../../src/presets/common.ts"],"sourcesContent":[],"mappings":";;;;cASa,8BAAY;2BAevB,MAAA,CAAA;;;EAfW,YAAA,oBAeX,gBAAA,iBAAA,CAAA;IAAA,UAAA,kBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAfuB,CAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA,GAAA,SAAA;IAAA,oBAAA,CAAA,QAAA,CAAA,MAAA,EAAA,OAAA,CAAA,GAAA,SAAA"}
|