create-typescript-app 2.30.0 → 2.31.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.
Files changed (69) hide show
  1. package/lib/base.d.ts +3 -3
  2. package/lib/base.js +1 -1
  3. package/lib/blocks/blockAllContributors.d.ts +1 -1
  4. package/lib/blocks/blockAreTheTypesWrong.d.ts +1 -1
  5. package/lib/blocks/blockCSpell.d.ts +1 -1
  6. package/lib/blocks/blockCTATransitions.d.ts +1 -1
  7. package/lib/blocks/blockCodecov.d.ts +1 -1
  8. package/lib/blocks/blockContributingDocs.d.ts +1 -1
  9. package/lib/blocks/blockContributorCovenant.d.ts +1 -1
  10. package/lib/blocks/blockDevelopmentDocs.d.ts +1 -1
  11. package/lib/blocks/blockESLint.d.ts +2 -2
  12. package/lib/blocks/blockESLintComments.d.ts +1 -1
  13. package/lib/blocks/blockESLintJSDoc.d.ts +1 -1
  14. package/lib/blocks/blockESLintJSONC.d.ts +1 -1
  15. package/lib/blocks/blockESLintMarkdown.d.ts +1 -1
  16. package/lib/blocks/blockESLintMoreStyling.d.ts +1 -1
  17. package/lib/blocks/blockESLintNode.d.ts +1 -1
  18. package/lib/blocks/blockESLintPackageJson.d.ts +1 -1
  19. package/lib/blocks/blockESLintPerfectionist.d.ts +1 -1
  20. package/lib/blocks/blockESLintPlugin.d.ts +1 -1
  21. package/lib/blocks/blockESLintRegexp.d.ts +1 -1
  22. package/lib/blocks/blockESLintYML.d.ts +1 -1
  23. package/lib/blocks/blockExampleFiles.d.ts +1 -1
  24. package/lib/blocks/blockFunding.d.ts +1 -1
  25. package/lib/blocks/blockGitHubActionsCI.d.ts +2 -2
  26. package/lib/blocks/blockGitHubApps.d.ts +1 -1
  27. package/lib/blocks/blockGitHubIssueTemplates.d.ts +1 -1
  28. package/lib/blocks/blockGitHubPRTemplate.d.ts +1 -1
  29. package/lib/blocks/blockGitignore.d.ts +1 -1
  30. package/lib/blocks/blockKnip.d.ts +1 -1
  31. package/lib/blocks/blockMITLicense.d.ts +1 -1
  32. package/lib/blocks/blockMain.d.ts +1 -1
  33. package/lib/blocks/blockMarkdownlint.d.ts +1 -1
  34. package/lib/blocks/blockNcc.d.ts +1 -1
  35. package/lib/blocks/blockNvmrc.d.ts +1 -1
  36. package/lib/blocks/blockPRCompliance.d.ts +1 -1
  37. package/lib/blocks/blockPackageJson.d.ts +2 -2
  38. package/lib/blocks/blockPnpmDedupe.d.ts +1 -1
  39. package/lib/blocks/blockPrettier.d.ts +1 -1
  40. package/lib/blocks/blockPrettierPluginCurly.d.ts +1 -1
  41. package/lib/blocks/blockPrettierPluginPackageJson.d.ts +1 -1
  42. package/lib/blocks/blockPrettierPluginSh.d.ts +1 -1
  43. package/lib/blocks/blockREADME.d.ts +1 -1
  44. package/lib/blocks/blockReleaseIt.d.ts +2 -2
  45. package/lib/blocks/blockRemoveDependencies.d.ts +1 -1
  46. package/lib/blocks/blockRemoveFiles.d.ts +1 -1
  47. package/lib/blocks/blockRemoveWorkflows.d.ts +1 -1
  48. package/lib/blocks/blockRenovate.d.ts +1 -1
  49. package/lib/blocks/blockRepositoryBranchRuleset.d.ts +1 -1
  50. package/lib/blocks/blockRepositoryLabels.d.ts +1 -1
  51. package/lib/blocks/blockRepositorySecrets.d.ts +1 -1
  52. package/lib/blocks/blockRepositorySettings.d.ts +1 -1
  53. package/lib/blocks/blockSecurityDocs.d.ts +1 -1
  54. package/lib/blocks/blockTSup.d.ts +1 -1
  55. package/lib/blocks/blockTemplatedWith.d.ts +1 -1
  56. package/lib/blocks/blockTypeScript.d.ts +1 -1
  57. package/lib/blocks/blockVSCode.d.ts +1 -1
  58. package/lib/blocks/blockVitest.d.ts +5 -5
  59. package/lib/blocks/blockVitest.js +31 -22
  60. package/lib/blocks/blockWebExt.d.ts +1 -1
  61. package/lib/blocks/index.d.ts +55 -55
  62. package/lib/data/packageData.d.ts +1 -1
  63. package/lib/index.d.ts +4 -4
  64. package/lib/presets/common.d.ts +3 -3
  65. package/lib/presets/everything.d.ts +3 -3
  66. package/lib/presets/index.d.ts +9 -9
  67. package/lib/presets/minimal.d.ts +3 -3
  68. package/lib/template.d.ts +3 -3
  69. package/package.json +1 -1
@@ -57,7 +57,7 @@ declare const blockTemplatedWith: bingo_stratum.BlockWithoutAddons<{
57
57
  devDependencies?: Record<string, string> | undefined;
58
58
  peerDependencies?: Record<string, string> | undefined;
59
59
  peerDependenciesMeta?: Record<string, unknown> | undefined;
60
- scripts?: Record<string, string> | undefined;
60
+ scripts?: Record<string, string | undefined> | undefined;
61
61
  } | undefined;
62
62
  pnpm?: string | undefined;
63
63
  rulesetId?: string | undefined;
@@ -169,7 +169,7 @@ declare const blockTypeScript: bingo_stratum.BlockWithAddons<{
169
169
  devDependencies?: Record<string, string> | undefined;
170
170
  peerDependencies?: Record<string, string> | undefined;
171
171
  peerDependenciesMeta?: Record<string, unknown> | undefined;
172
- scripts?: Record<string, string> | undefined;
172
+ scripts?: Record<string, string | undefined> | undefined;
173
173
  } | undefined;
174
174
  pnpm?: string | undefined;
175
175
  rulesetId?: string | undefined;
@@ -66,7 +66,7 @@ declare const blockVSCode: bingo_stratum.BlockWithAddons<{
66
66
  devDependencies?: Record<string, string> | undefined;
67
67
  peerDependencies?: Record<string, string> | undefined;
68
68
  peerDependenciesMeta?: Record<string, unknown> | undefined;
69
- scripts?: Record<string, string> | undefined;
69
+ scripts?: Record<string, string | undefined> | undefined;
70
70
  } | undefined;
71
71
  pnpm?: string | undefined;
72
72
  rulesetId?: string | undefined;
@@ -2,10 +2,6 @@ import * as bingo_stratum from 'bingo-stratum';
2
2
 
3
3
  declare const blockVitest: bingo_stratum.BlockWithAddons<{
4
4
  exclude: string[];
5
- coverage: {
6
- exclude?: string[] | undefined;
7
- include?: string[] | undefined;
8
- };
9
5
  actionSteps: ({
10
6
  with?: Record<string, string> | undefined;
11
7
  env?: Record<string, string> | undefined;
@@ -15,6 +11,10 @@ declare const blockVitest: bingo_stratum.BlockWithAddons<{
15
11
  } | {
16
12
  uses: string;
17
13
  }))[];
14
+ coverage: {
15
+ exclude?: string[] | undefined;
16
+ include?: string[] | undefined;
17
+ };
18
18
  flags: string[];
19
19
  environment?: string | undefined;
20
20
  }, {
@@ -74,7 +74,7 @@ declare const blockVitest: bingo_stratum.BlockWithAddons<{
74
74
  devDependencies?: Record<string, string> | undefined;
75
75
  peerDependencies?: Record<string, string> | undefined;
76
76
  peerDependenciesMeta?: Record<string, unknown> | undefined;
77
- scripts?: Record<string, string> | undefined;
77
+ scripts?: Record<string, string | undefined> | undefined;
78
78
  } | undefined;
79
79
  pnpm?: string | undefined;
80
80
  rulesetId?: string | undefined;
@@ -28,11 +28,37 @@ const zCoverage = z.object({
28
28
  exclude: z.array(z.string()).optional(),
29
29
  include: z.array(z.string()).optional()
30
30
  });
31
+ const zEnvironment = z.string();
31
32
  const zExclude = z.array(z.string());
32
33
  const zTest = z.object({
33
34
  coverage: zCoverage,
35
+ environment: zEnvironment,
34
36
  exclude: zExclude
35
- });
37
+ }).partial();
38
+ function intakeFromConfig(files) {
39
+ const file = intakeFile(files, ["vitest.config.ts"]);
40
+ if (!file) {
41
+ return void 0;
42
+ }
43
+ const normalized = file[0].replaceAll(/[\n\r]/g, "");
44
+ const matched = /defineConfig\(\{(.+)\}\)\s*(?:;\s*)?$/u.exec(normalized);
45
+ if (!matched) {
46
+ return void 0;
47
+ }
48
+ const rawData = tryParseJSON5(`{${matched[1]}}`);
49
+ if (typeof rawData !== "object" || typeof rawData.test !== "object") {
50
+ return void 0;
51
+ }
52
+ const parsedData = zTest.safeParse(rawData.test).data;
53
+ if (!parsedData) {
54
+ return void 0;
55
+ }
56
+ return {
57
+ coverage: parsedData.coverage,
58
+ environment: parsedData.environment,
59
+ exclude: parsedData.exclude
60
+ };
61
+ }
36
62
  const blockVitest = base.createBlock({
37
63
  about: {
38
64
  name: "Vitest"
@@ -40,31 +66,14 @@ const blockVitest = base.createBlock({
40
66
  addons: {
41
67
  actionSteps: z.array(zActionStep).default([]),
42
68
  coverage: zCoverage.default({}),
43
- environment: z.string().optional(),
69
+ environment: zEnvironment.optional(),
44
70
  exclude: zExclude.default([]),
45
71
  flags: z.array(z.string()).default([])
46
72
  },
47
- intake({ files }) {
48
- const file = intakeFile(files, ["vitest.config.ts"]);
49
- if (!file) {
50
- return void 0;
51
- }
52
- const normalized = file[0].replaceAll(/[\n\r]/g, "");
53
- const matched = /defineConfig\(\{(.+)\}\)\s*(?:;\s*)?$/u.exec(normalized);
54
- if (!matched) {
55
- return void 0;
56
- }
57
- const rawData = tryParseJSON5(`{${matched[1]}}`);
58
- if (typeof rawData !== "object" || typeof rawData.test !== "object") {
59
- return void 0;
60
- }
61
- const parsedData = zTest.safeParse(rawData.test).data;
62
- if (!parsedData) {
63
- return void 0;
64
- }
73
+ intake({ files, options }) {
65
74
  return {
66
- coverage: parsedData.coverage,
67
- exclude: parsedData.exclude
75
+ ...intakeFromConfig(files),
76
+ flags: options.packageData?.scripts?.test?.match(/^vitest (.+)/)?.[1].split(" ")
68
77
  };
69
78
  },
70
79
  produce({ addons }) {
@@ -57,7 +57,7 @@ declare const blockWebExt: bingo_stratum.BlockWithoutAddons<{
57
57
  devDependencies?: Record<string, string> | undefined;
58
58
  peerDependencies?: Record<string, string> | undefined;
59
59
  peerDependenciesMeta?: Record<string, unknown> | undefined;
60
- scripts?: Record<string, string> | undefined;
60
+ scripts?: Record<string, string | undefined> | undefined;
61
61
  } | undefined;
62
62
  pnpm?: string | undefined;
63
63
  rulesetId?: string | undefined;
@@ -107,7 +107,7 @@ declare const blocks: {
107
107
  devDependencies?: Record<string, string> | undefined;
108
108
  peerDependencies?: Record<string, string> | undefined;
109
109
  peerDependenciesMeta?: Record<string, unknown> | undefined;
110
- scripts?: Record<string, string> | undefined;
110
+ scripts?: Record<string, string | undefined> | undefined;
111
111
  } | undefined;
112
112
  pnpm?: string | undefined;
113
113
  rulesetId?: string | undefined;
@@ -175,7 +175,7 @@ declare const blocks: {
175
175
  devDependencies?: Record<string, string> | undefined;
176
176
  peerDependencies?: Record<string, string> | undefined;
177
177
  peerDependenciesMeta?: Record<string, unknown> | undefined;
178
- scripts?: Record<string, string> | undefined;
178
+ scripts?: Record<string, string | undefined> | undefined;
179
179
  } | undefined;
180
180
  pnpm?: string | undefined;
181
181
  rulesetId?: string | undefined;
@@ -245,7 +245,7 @@ declare const blocks: {
245
245
  devDependencies?: Record<string, string> | undefined;
246
246
  peerDependencies?: Record<string, string> | undefined;
247
247
  peerDependenciesMeta?: Record<string, unknown> | undefined;
248
- scripts?: Record<string, string> | undefined;
248
+ scripts?: Record<string, string | undefined> | undefined;
249
249
  } | undefined;
250
250
  pnpm?: string | undefined;
251
251
  rulesetId?: string | undefined;
@@ -313,7 +313,7 @@ declare const blocks: {
313
313
  devDependencies?: Record<string, string> | undefined;
314
314
  peerDependencies?: Record<string, string> | undefined;
315
315
  peerDependenciesMeta?: Record<string, unknown> | undefined;
316
- scripts?: Record<string, string> | undefined;
316
+ scripts?: Record<string, string | undefined> | undefined;
317
317
  } | undefined;
318
318
  pnpm?: string | undefined;
319
319
  rulesetId?: string | undefined;
@@ -381,7 +381,7 @@ declare const blocks: {
381
381
  devDependencies?: Record<string, string> | undefined;
382
382
  peerDependencies?: Record<string, string> | undefined;
383
383
  peerDependenciesMeta?: Record<string, unknown> | undefined;
384
- scripts?: Record<string, string> | undefined;
384
+ scripts?: Record<string, string | undefined> | undefined;
385
385
  } | undefined;
386
386
  pnpm?: string | undefined;
387
387
  rulesetId?: string | undefined;
@@ -452,7 +452,7 @@ declare const blocks: {
452
452
  devDependencies?: Record<string, string> | undefined;
453
453
  peerDependencies?: Record<string, string> | undefined;
454
454
  peerDependenciesMeta?: Record<string, unknown> | undefined;
455
- scripts?: Record<string, string> | undefined;
455
+ scripts?: Record<string, string | undefined> | undefined;
456
456
  } | undefined;
457
457
  pnpm?: string | undefined;
458
458
  rulesetId?: string | undefined;
@@ -534,7 +534,7 @@ declare const blocks: {
534
534
  devDependencies?: Record<string, string> | undefined;
535
535
  peerDependencies?: Record<string, string> | undefined;
536
536
  peerDependenciesMeta?: Record<string, unknown> | undefined;
537
- scripts?: Record<string, string> | undefined;
537
+ scripts?: Record<string, string | undefined> | undefined;
538
538
  } | undefined;
539
539
  pnpm?: string | undefined;
540
540
  rulesetId?: string | undefined;
@@ -554,6 +554,7 @@ declare const blocks: {
554
554
  specifier: string;
555
555
  types?: boolean | undefined;
556
556
  }[];
557
+ ignores: string[];
557
558
  extensions: (string | {
558
559
  files?: string[] | undefined;
559
560
  rules?: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]> | {
@@ -566,7 +567,6 @@ declare const blocks: {
566
567
  linterOptions?: unknown;
567
568
  plugins?: Record<string, string> | undefined;
568
569
  })[];
569
- ignores: string[];
570
570
  explanations: string[];
571
571
  rules?: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]> | {
572
572
  entries: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
@@ -631,7 +631,7 @@ declare const blocks: {
631
631
  devDependencies?: Record<string, string> | undefined;
632
632
  peerDependencies?: Record<string, string> | undefined;
633
633
  peerDependenciesMeta?: Record<string, unknown> | undefined;
634
- scripts?: Record<string, string> | undefined;
634
+ scripts?: Record<string, string | undefined> | undefined;
635
635
  } | undefined;
636
636
  pnpm?: string | undefined;
637
637
  rulesetId?: string | undefined;
@@ -699,7 +699,7 @@ declare const blocks: {
699
699
  devDependencies?: Record<string, string> | undefined;
700
700
  peerDependencies?: Record<string, string> | undefined;
701
701
  peerDependenciesMeta?: Record<string, unknown> | undefined;
702
- scripts?: Record<string, string> | undefined;
702
+ scripts?: Record<string, string | undefined> | undefined;
703
703
  } | undefined;
704
704
  pnpm?: string | undefined;
705
705
  rulesetId?: string | undefined;
@@ -767,7 +767,7 @@ declare const blocks: {
767
767
  devDependencies?: Record<string, string> | undefined;
768
768
  peerDependencies?: Record<string, string> | undefined;
769
769
  peerDependenciesMeta?: Record<string, unknown> | undefined;
770
- scripts?: Record<string, string> | undefined;
770
+ scripts?: Record<string, string | undefined> | undefined;
771
771
  } | undefined;
772
772
  pnpm?: string | undefined;
773
773
  rulesetId?: string | undefined;
@@ -835,7 +835,7 @@ declare const blocks: {
835
835
  devDependencies?: Record<string, string> | undefined;
836
836
  peerDependencies?: Record<string, string> | undefined;
837
837
  peerDependenciesMeta?: Record<string, unknown> | undefined;
838
- scripts?: Record<string, string> | undefined;
838
+ scripts?: Record<string, string | undefined> | undefined;
839
839
  } | undefined;
840
840
  pnpm?: string | undefined;
841
841
  rulesetId?: string | undefined;
@@ -903,7 +903,7 @@ declare const blocks: {
903
903
  devDependencies?: Record<string, string> | undefined;
904
904
  peerDependencies?: Record<string, string> | undefined;
905
905
  peerDependenciesMeta?: Record<string, unknown> | undefined;
906
- scripts?: Record<string, string> | undefined;
906
+ scripts?: Record<string, string | undefined> | undefined;
907
907
  } | undefined;
908
908
  pnpm?: string | undefined;
909
909
  rulesetId?: string | undefined;
@@ -971,7 +971,7 @@ declare const blocks: {
971
971
  devDependencies?: Record<string, string> | undefined;
972
972
  peerDependencies?: Record<string, string> | undefined;
973
973
  peerDependenciesMeta?: Record<string, unknown> | undefined;
974
- scripts?: Record<string, string> | undefined;
974
+ scripts?: Record<string, string | undefined> | undefined;
975
975
  } | undefined;
976
976
  pnpm?: string | undefined;
977
977
  rulesetId?: string | undefined;
@@ -1039,7 +1039,7 @@ declare const blocks: {
1039
1039
  devDependencies?: Record<string, string> | undefined;
1040
1040
  peerDependencies?: Record<string, string> | undefined;
1041
1041
  peerDependenciesMeta?: Record<string, unknown> | undefined;
1042
- scripts?: Record<string, string> | undefined;
1042
+ scripts?: Record<string, string | undefined> | undefined;
1043
1043
  } | undefined;
1044
1044
  pnpm?: string | undefined;
1045
1045
  rulesetId?: string | undefined;
@@ -1107,7 +1107,7 @@ declare const blocks: {
1107
1107
  devDependencies?: Record<string, string> | undefined;
1108
1108
  peerDependencies?: Record<string, string> | undefined;
1109
1109
  peerDependenciesMeta?: Record<string, unknown> | undefined;
1110
- scripts?: Record<string, string> | undefined;
1110
+ scripts?: Record<string, string | undefined> | undefined;
1111
1111
  } | undefined;
1112
1112
  pnpm?: string | undefined;
1113
1113
  rulesetId?: string | undefined;
@@ -1175,7 +1175,7 @@ declare const blocks: {
1175
1175
  devDependencies?: Record<string, string> | undefined;
1176
1176
  peerDependencies?: Record<string, string> | undefined;
1177
1177
  peerDependenciesMeta?: Record<string, unknown> | undefined;
1178
- scripts?: Record<string, string> | undefined;
1178
+ scripts?: Record<string, string | undefined> | undefined;
1179
1179
  } | undefined;
1180
1180
  pnpm?: string | undefined;
1181
1181
  rulesetId?: string | undefined;
@@ -1243,7 +1243,7 @@ declare const blocks: {
1243
1243
  devDependencies?: Record<string, string> | undefined;
1244
1244
  peerDependencies?: Record<string, string> | undefined;
1245
1245
  peerDependenciesMeta?: Record<string, unknown> | undefined;
1246
- scripts?: Record<string, string> | undefined;
1246
+ scripts?: Record<string, string | undefined> | undefined;
1247
1247
  } | undefined;
1248
1248
  pnpm?: string | undefined;
1249
1249
  rulesetId?: string | undefined;
@@ -1311,7 +1311,7 @@ declare const blocks: {
1311
1311
  devDependencies?: Record<string, string> | undefined;
1312
1312
  peerDependencies?: Record<string, string> | undefined;
1313
1313
  peerDependenciesMeta?: Record<string, unknown> | undefined;
1314
- scripts?: Record<string, string> | undefined;
1314
+ scripts?: Record<string, string | undefined> | undefined;
1315
1315
  } | undefined;
1316
1316
  pnpm?: string | undefined;
1317
1317
  rulesetId?: string | undefined;
@@ -1379,7 +1379,7 @@ declare const blocks: {
1379
1379
  devDependencies?: Record<string, string> | undefined;
1380
1380
  peerDependencies?: Record<string, string> | undefined;
1381
1381
  peerDependenciesMeta?: Record<string, unknown> | undefined;
1382
- scripts?: Record<string, string> | undefined;
1382
+ scripts?: Record<string, string | undefined> | undefined;
1383
1383
  } | undefined;
1384
1384
  pnpm?: string | undefined;
1385
1385
  rulesetId?: string | undefined;
@@ -1447,7 +1447,7 @@ declare const blocks: {
1447
1447
  devDependencies?: Record<string, string> | undefined;
1448
1448
  peerDependencies?: Record<string, string> | undefined;
1449
1449
  peerDependenciesMeta?: Record<string, unknown> | undefined;
1450
- scripts?: Record<string, string> | undefined;
1450
+ scripts?: Record<string, string | undefined> | undefined;
1451
1451
  } | undefined;
1452
1452
  pnpm?: string | undefined;
1453
1453
  rulesetId?: string | undefined;
@@ -1470,8 +1470,8 @@ declare const blocks: {
1470
1470
  } | {
1471
1471
  uses: string;
1472
1472
  }))[];
1473
- if?: string | undefined;
1474
1473
  checkoutWith?: Record<string, string> | undefined;
1474
+ if?: string | undefined;
1475
1475
  }[] | undefined;
1476
1476
  }, {
1477
1477
  access: "public" | "restricted";
@@ -1530,7 +1530,7 @@ declare const blocks: {
1530
1530
  devDependencies?: Record<string, string> | undefined;
1531
1531
  peerDependencies?: Record<string, string> | undefined;
1532
1532
  peerDependenciesMeta?: Record<string, unknown> | undefined;
1533
- scripts?: Record<string, string> | undefined;
1533
+ scripts?: Record<string, string | undefined> | undefined;
1534
1534
  } | undefined;
1535
1535
  pnpm?: string | undefined;
1536
1536
  rulesetId?: string | undefined;
@@ -1598,7 +1598,7 @@ declare const blocks: {
1598
1598
  devDependencies?: Record<string, string> | undefined;
1599
1599
  peerDependencies?: Record<string, string> | undefined;
1600
1600
  peerDependenciesMeta?: Record<string, unknown> | undefined;
1601
- scripts?: Record<string, string> | undefined;
1601
+ scripts?: Record<string, string | undefined> | undefined;
1602
1602
  } | undefined;
1603
1603
  pnpm?: string | undefined;
1604
1604
  rulesetId?: string | undefined;
@@ -1666,7 +1666,7 @@ declare const blocks: {
1666
1666
  devDependencies?: Record<string, string> | undefined;
1667
1667
  peerDependencies?: Record<string, string> | undefined;
1668
1668
  peerDependenciesMeta?: Record<string, unknown> | undefined;
1669
- scripts?: Record<string, string> | undefined;
1669
+ scripts?: Record<string, string | undefined> | undefined;
1670
1670
  } | undefined;
1671
1671
  pnpm?: string | undefined;
1672
1672
  rulesetId?: string | undefined;
@@ -1736,7 +1736,7 @@ declare const blocks: {
1736
1736
  devDependencies?: Record<string, string> | undefined;
1737
1737
  peerDependencies?: Record<string, string> | undefined;
1738
1738
  peerDependenciesMeta?: Record<string, unknown> | undefined;
1739
- scripts?: Record<string, string> | undefined;
1739
+ scripts?: Record<string, string | undefined> | undefined;
1740
1740
  } | undefined;
1741
1741
  pnpm?: string | undefined;
1742
1742
  rulesetId?: string | undefined;
@@ -1808,7 +1808,7 @@ declare const blocks: {
1808
1808
  devDependencies?: Record<string, string> | undefined;
1809
1809
  peerDependencies?: Record<string, string> | undefined;
1810
1810
  peerDependenciesMeta?: Record<string, unknown> | undefined;
1811
- scripts?: Record<string, string> | undefined;
1811
+ scripts?: Record<string, string | undefined> | undefined;
1812
1812
  } | undefined;
1813
1813
  pnpm?: string | undefined;
1814
1814
  rulesetId?: string | undefined;
@@ -1879,7 +1879,7 @@ declare const blocks: {
1879
1879
  devDependencies?: Record<string, string> | undefined;
1880
1880
  peerDependencies?: Record<string, string> | undefined;
1881
1881
  peerDependenciesMeta?: Record<string, unknown> | undefined;
1882
- scripts?: Record<string, string> | undefined;
1882
+ scripts?: Record<string, string | undefined> | undefined;
1883
1883
  } | undefined;
1884
1884
  pnpm?: string | undefined;
1885
1885
  rulesetId?: string | undefined;
@@ -1949,7 +1949,7 @@ declare const blocks: {
1949
1949
  devDependencies?: Record<string, string> | undefined;
1950
1950
  peerDependencies?: Record<string, string> | undefined;
1951
1951
  peerDependenciesMeta?: Record<string, unknown> | undefined;
1952
- scripts?: Record<string, string> | undefined;
1952
+ scripts?: Record<string, string | undefined> | undefined;
1953
1953
  } | undefined;
1954
1954
  pnpm?: string | undefined;
1955
1955
  rulesetId?: string | undefined;
@@ -2017,7 +2017,7 @@ declare const blocks: {
2017
2017
  devDependencies?: Record<string, string> | undefined;
2018
2018
  peerDependencies?: Record<string, string> | undefined;
2019
2019
  peerDependenciesMeta?: Record<string, unknown> | undefined;
2020
- scripts?: Record<string, string> | undefined;
2020
+ scripts?: Record<string, string | undefined> | undefined;
2021
2021
  } | undefined;
2022
2022
  pnpm?: string | undefined;
2023
2023
  rulesetId?: string | undefined;
@@ -2087,7 +2087,7 @@ declare const blocks: {
2087
2087
  devDependencies?: Record<string, string> | undefined;
2088
2088
  peerDependencies?: Record<string, string> | undefined;
2089
2089
  peerDependenciesMeta?: Record<string, unknown> | undefined;
2090
- scripts?: Record<string, string> | undefined;
2090
+ scripts?: Record<string, string | undefined> | undefined;
2091
2091
  } | undefined;
2092
2092
  pnpm?: string | undefined;
2093
2093
  rulesetId?: string | undefined;
@@ -2155,7 +2155,7 @@ declare const blocks: {
2155
2155
  devDependencies?: Record<string, string> | undefined;
2156
2156
  peerDependencies?: Record<string, string> | undefined;
2157
2157
  peerDependenciesMeta?: Record<string, unknown> | undefined;
2158
- scripts?: Record<string, string> | undefined;
2158
+ scripts?: Record<string, string | undefined> | undefined;
2159
2159
  } | undefined;
2160
2160
  pnpm?: string | undefined;
2161
2161
  rulesetId?: string | undefined;
@@ -2216,7 +2216,6 @@ declare const blocks: {
2216
2216
  url?: string | undefined;
2217
2217
  email?: string | undefined;
2218
2218
  })[] | undefined;
2219
- publishConfig?: Record<string, unknown> | undefined;
2220
2219
  main?: string | undefined;
2221
2220
  types?: string | undefined;
2222
2221
  bugs?: string | {
@@ -2232,6 +2231,7 @@ declare const blocks: {
2232
2231
  overrides?: Record<string, unknown> | undefined;
2233
2232
  os?: string[] | undefined;
2234
2233
  cpu?: string[] | undefined;
2234
+ publishConfig?: Record<string, unknown> | undefined;
2235
2235
  workspaces?: string[] | undefined;
2236
2236
  deprecated?: string | undefined;
2237
2237
  typings?: string | undefined;
@@ -2300,7 +2300,7 @@ declare const blocks: {
2300
2300
  devDependencies?: Record<string, string> | undefined;
2301
2301
  peerDependencies?: Record<string, string> | undefined;
2302
2302
  peerDependenciesMeta?: Record<string, unknown> | undefined;
2303
- scripts?: Record<string, string> | undefined;
2303
+ scripts?: Record<string, string | undefined> | undefined;
2304
2304
  } | undefined;
2305
2305
  pnpm?: string | undefined;
2306
2306
  rulesetId?: string | undefined;
@@ -2368,7 +2368,7 @@ declare const blocks: {
2368
2368
  devDependencies?: Record<string, string> | undefined;
2369
2369
  peerDependencies?: Record<string, string> | undefined;
2370
2370
  peerDependenciesMeta?: Record<string, unknown> | undefined;
2371
- scripts?: Record<string, string> | undefined;
2371
+ scripts?: Record<string, string | undefined> | undefined;
2372
2372
  } | undefined;
2373
2373
  pnpm?: string | undefined;
2374
2374
  rulesetId?: string | undefined;
@@ -2436,7 +2436,7 @@ declare const blocks: {
2436
2436
  devDependencies?: Record<string, string> | undefined;
2437
2437
  peerDependencies?: Record<string, string> | undefined;
2438
2438
  peerDependenciesMeta?: Record<string, unknown> | undefined;
2439
- scripts?: Record<string, string> | undefined;
2439
+ scripts?: Record<string, string | undefined> | undefined;
2440
2440
  } | undefined;
2441
2441
  pnpm?: string | undefined;
2442
2442
  rulesetId?: string | undefined;
@@ -2514,7 +2514,7 @@ declare const blocks: {
2514
2514
  devDependencies?: Record<string, string> | undefined;
2515
2515
  peerDependencies?: Record<string, string> | undefined;
2516
2516
  peerDependenciesMeta?: Record<string, unknown> | undefined;
2517
- scripts?: Record<string, string> | undefined;
2517
+ scripts?: Record<string, string | undefined> | undefined;
2518
2518
  } | undefined;
2519
2519
  pnpm?: string | undefined;
2520
2520
  rulesetId?: string | undefined;
@@ -2582,7 +2582,7 @@ declare const blocks: {
2582
2582
  devDependencies?: Record<string, string> | undefined;
2583
2583
  peerDependencies?: Record<string, string> | undefined;
2584
2584
  peerDependenciesMeta?: Record<string, unknown> | undefined;
2585
- scripts?: Record<string, string> | undefined;
2585
+ scripts?: Record<string, string | undefined> | undefined;
2586
2586
  } | undefined;
2587
2587
  pnpm?: string | undefined;
2588
2588
  rulesetId?: string | undefined;
@@ -2650,7 +2650,7 @@ declare const blocks: {
2650
2650
  devDependencies?: Record<string, string> | undefined;
2651
2651
  peerDependencies?: Record<string, string> | undefined;
2652
2652
  peerDependenciesMeta?: Record<string, unknown> | undefined;
2653
- scripts?: Record<string, string> | undefined;
2653
+ scripts?: Record<string, string | undefined> | undefined;
2654
2654
  } | undefined;
2655
2655
  pnpm?: string | undefined;
2656
2656
  rulesetId?: string | undefined;
@@ -2718,7 +2718,7 @@ declare const blocks: {
2718
2718
  devDependencies?: Record<string, string> | undefined;
2719
2719
  peerDependencies?: Record<string, string> | undefined;
2720
2720
  peerDependenciesMeta?: Record<string, unknown> | undefined;
2721
- scripts?: Record<string, string> | undefined;
2721
+ scripts?: Record<string, string | undefined> | undefined;
2722
2722
  } | undefined;
2723
2723
  pnpm?: string | undefined;
2724
2724
  rulesetId?: string | undefined;
@@ -2798,7 +2798,7 @@ declare const blocks: {
2798
2798
  devDependencies?: Record<string, string> | undefined;
2799
2799
  peerDependencies?: Record<string, string> | undefined;
2800
2800
  peerDependenciesMeta?: Record<string, unknown> | undefined;
2801
- scripts?: Record<string, string> | undefined;
2801
+ scripts?: Record<string, string | undefined> | undefined;
2802
2802
  } | undefined;
2803
2803
  pnpm?: string | undefined;
2804
2804
  rulesetId?: string | undefined;
@@ -2811,8 +2811,8 @@ declare const blocks: {
2811
2811
  }>;
2812
2812
  blockReleaseIt: bingo_stratum.BlockWithAddons<{
2813
2813
  builders: {
2814
- order: number;
2815
2814
  run: string;
2815
+ order: number;
2816
2816
  }[];
2817
2817
  }, {
2818
2818
  access: "public" | "restricted";
@@ -2871,7 +2871,7 @@ declare const blocks: {
2871
2871
  devDependencies?: Record<string, string> | undefined;
2872
2872
  peerDependencies?: Record<string, string> | undefined;
2873
2873
  peerDependenciesMeta?: Record<string, unknown> | undefined;
2874
- scripts?: Record<string, string> | undefined;
2874
+ scripts?: Record<string, string | undefined> | undefined;
2875
2875
  } | undefined;
2876
2876
  pnpm?: string | undefined;
2877
2877
  rulesetId?: string | undefined;
@@ -2939,7 +2939,7 @@ declare const blocks: {
2939
2939
  devDependencies?: Record<string, string> | undefined;
2940
2940
  peerDependencies?: Record<string, string> | undefined;
2941
2941
  peerDependenciesMeta?: Record<string, unknown> | undefined;
2942
- scripts?: Record<string, string> | undefined;
2942
+ scripts?: Record<string, string | undefined> | undefined;
2943
2943
  } | undefined;
2944
2944
  pnpm?: string | undefined;
2945
2945
  rulesetId?: string | undefined;
@@ -3007,7 +3007,7 @@ declare const blocks: {
3007
3007
  devDependencies?: Record<string, string> | undefined;
3008
3008
  peerDependencies?: Record<string, string> | undefined;
3009
3009
  peerDependenciesMeta?: Record<string, unknown> | undefined;
3010
- scripts?: Record<string, string> | undefined;
3010
+ scripts?: Record<string, string | undefined> | undefined;
3011
3011
  } | undefined;
3012
3012
  pnpm?: string | undefined;
3013
3013
  rulesetId?: string | undefined;
@@ -3075,7 +3075,7 @@ declare const blocks: {
3075
3075
  devDependencies?: Record<string, string> | undefined;
3076
3076
  peerDependencies?: Record<string, string> | undefined;
3077
3077
  peerDependenciesMeta?: Record<string, unknown> | undefined;
3078
- scripts?: Record<string, string> | undefined;
3078
+ scripts?: Record<string, string | undefined> | undefined;
3079
3079
  } | undefined;
3080
3080
  pnpm?: string | undefined;
3081
3081
  rulesetId?: string | undefined;
@@ -3147,7 +3147,7 @@ declare const blocks: {
3147
3147
  devDependencies?: Record<string, string> | undefined;
3148
3148
  peerDependencies?: Record<string, string> | undefined;
3149
3149
  peerDependenciesMeta?: Record<string, unknown> | undefined;
3150
- scripts?: Record<string, string> | undefined;
3150
+ scripts?: Record<string, string | undefined> | undefined;
3151
3151
  } | undefined;
3152
3152
  pnpm?: string | undefined;
3153
3153
  rulesetId?: string | undefined;
@@ -3327,7 +3327,7 @@ declare const blocks: {
3327
3327
  devDependencies?: Record<string, string> | undefined;
3328
3328
  peerDependencies?: Record<string, string> | undefined;
3329
3329
  peerDependenciesMeta?: Record<string, unknown> | undefined;
3330
- scripts?: Record<string, string> | undefined;
3330
+ scripts?: Record<string, string | undefined> | undefined;
3331
3331
  } | undefined;
3332
3332
  pnpm?: string | undefined;
3333
3333
  rulesetId?: string | undefined;
@@ -3340,10 +3340,6 @@ declare const blocks: {
3340
3340
  }>;
3341
3341
  blockVitest: bingo_stratum.BlockWithAddons<{
3342
3342
  exclude: string[];
3343
- coverage: {
3344
- exclude?: string[] | undefined;
3345
- include?: string[] | undefined;
3346
- };
3347
3343
  actionSteps: ({
3348
3344
  with?: Record<string, string> | undefined;
3349
3345
  env?: Record<string, string> | undefined;
@@ -3353,6 +3349,10 @@ declare const blocks: {
3353
3349
  } | {
3354
3350
  uses: string;
3355
3351
  }))[];
3352
+ coverage: {
3353
+ exclude?: string[] | undefined;
3354
+ include?: string[] | undefined;
3355
+ };
3356
3356
  flags: string[];
3357
3357
  environment?: string | undefined;
3358
3358
  }, {
@@ -3412,7 +3412,7 @@ declare const blocks: {
3412
3412
  devDependencies?: Record<string, string> | undefined;
3413
3413
  peerDependencies?: Record<string, string> | undefined;
3414
3414
  peerDependenciesMeta?: Record<string, unknown> | undefined;
3415
- scripts?: Record<string, string> | undefined;
3415
+ scripts?: Record<string, string | undefined> | undefined;
3416
3416
  } | undefined;
3417
3417
  pnpm?: string | undefined;
3418
3418
  rulesetId?: string | undefined;
@@ -3489,7 +3489,7 @@ declare const blocks: {
3489
3489
  devDependencies?: Record<string, string> | undefined;
3490
3490
  peerDependencies?: Record<string, string> | undefined;
3491
3491
  peerDependenciesMeta?: Record<string, unknown> | undefined;
3492
- scripts?: Record<string, string> | undefined;
3492
+ scripts?: Record<string, string | undefined> | undefined;
3493
3493
  } | undefined;
3494
3494
  pnpm?: string | undefined;
3495
3495
  rulesetId?: string | undefined;
@@ -3557,7 +3557,7 @@ declare const blocks: {
3557
3557
  devDependencies?: Record<string, string> | undefined;
3558
3558
  peerDependencies?: Record<string, string> | undefined;
3559
3559
  peerDependenciesMeta?: Record<string, unknown> | undefined;
3560
- scripts?: Record<string, string> | undefined;
3560
+ scripts?: Record<string, string | undefined> | undefined;
3561
3561
  } | undefined;
3562
3562
  pnpm?: string | undefined;
3563
3563
  rulesetId?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  var name = "create-typescript-app";
2
- var version = "2.29.3";
2
+ var version = "2.30.0";
3
3
  var description = "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁";
4
4
  var repository = {
5
5
  type: "git",
package/lib/index.d.ts CHANGED
@@ -192,19 +192,19 @@ declare const createConfig: bingo.CreateTemplateConfig<{
192
192
  devDependencies: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
193
193
  peerDependencies: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
194
194
  peerDependenciesMeta: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
195
- scripts: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
195
+ scripts: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodString>>>;
196
196
  }, "strip", zod.ZodTypeAny, {
197
197
  dependencies?: Record<string, string> | undefined;
198
198
  devDependencies?: Record<string, string> | undefined;
199
199
  peerDependencies?: Record<string, string> | undefined;
200
200
  peerDependenciesMeta?: Record<string, unknown> | undefined;
201
- scripts?: Record<string, string> | undefined;
201
+ scripts?: Record<string, string | undefined> | undefined;
202
202
  }, {
203
203
  dependencies?: Record<string, string> | undefined;
204
204
  devDependencies?: Record<string, string> | undefined;
205
205
  peerDependencies?: Record<string, string> | undefined;
206
206
  peerDependenciesMeta?: Record<string, unknown> | undefined;
207
- scripts?: Record<string, string> | undefined;
207
+ scripts?: Record<string, string | undefined> | undefined;
208
208
  }>>;
209
209
  pnpm: zod.ZodOptional<zod.ZodString>;
210
210
  repository: zod.ZodString;
@@ -280,7 +280,7 @@ declare const createConfig: bingo.CreateTemplateConfig<{
280
280
  devDependencies?: Record<string, string> | undefined;
281
281
  peerDependencies?: Record<string, string> | undefined;
282
282
  peerDependenciesMeta?: Record<string, unknown> | undefined;
283
- scripts?: Record<string, string> | undefined;
283
+ scripts?: Record<string, string | undefined> | undefined;
284
284
  } | undefined;
285
285
  pnpm?: string | undefined;
286
286
  rulesetId?: string | undefined;