create-typescript-app 2.56.3 → 2.57.1

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 (107) hide show
  1. package/lib/base.d.ts +2 -2
  2. package/lib/base.js +1 -1
  3. package/lib/base.js.map +1 -1
  4. package/lib/blocks/blockAllContributors.d.ts +2 -2
  5. package/lib/blocks/blockAllContributors.d.ts.map +1 -1
  6. package/lib/blocks/blockAllContributors.js +1 -1
  7. package/lib/blocks/blockAllContributors.js.map +1 -1
  8. package/lib/blocks/blockAreTheTypesWrong.d.ts +2 -2
  9. package/lib/blocks/blockAreTheTypesWrong.d.ts.map +1 -1
  10. package/lib/blocks/blockCSpell.d.ts +2 -2
  11. package/lib/blocks/blockCTATransitions.d.ts +2 -2
  12. package/lib/blocks/blockCTATransitions.js +3 -3
  13. package/lib/blocks/blockCTATransitions.js.map +1 -1
  14. package/lib/blocks/blockCodecov.d.ts +2 -2
  15. package/lib/blocks/blockCodecov.d.ts.map +1 -1
  16. package/lib/blocks/blockCodecov.js +2 -2
  17. package/lib/blocks/blockCodecov.js.map +1 -1
  18. package/lib/blocks/blockContributingDocs.d.ts +2 -2
  19. package/lib/blocks/blockContributorCovenant.d.ts +2 -2
  20. package/lib/blocks/blockDevelopmentDocs.d.ts +3 -3
  21. package/lib/blocks/blockDevelopmentDocs.d.ts.map +1 -1
  22. package/lib/blocks/blockESLint.d.ts +2 -2
  23. package/lib/blocks/blockESLint.d.ts.map +1 -1
  24. package/lib/blocks/blockESLintComments.d.ts +2 -2
  25. package/lib/blocks/blockESLintJSDoc.d.ts +2 -2
  26. package/lib/blocks/blockESLintJSONC.d.ts +2 -2
  27. package/lib/blocks/blockESLintJSONC.d.ts.map +1 -1
  28. package/lib/blocks/blockESLintMarkdown.d.ts +2 -2
  29. package/lib/blocks/blockESLintMarkdown.d.ts.map +1 -1
  30. package/lib/blocks/blockESLintMoreStyling.d.ts +2 -2
  31. package/lib/blocks/blockESLintMoreStyling.d.ts.map +1 -1
  32. package/lib/blocks/blockESLintNode.d.ts +2 -2
  33. package/lib/blocks/blockESLintPackageJson.d.ts +2 -2
  34. package/lib/blocks/blockESLintPerfectionist.d.ts +2 -2
  35. package/lib/blocks/blockESLintPlugin.d.ts +2 -2
  36. package/lib/blocks/blockESLintRegexp.d.ts +2 -2
  37. package/lib/blocks/blockESLintYML.d.ts +2 -2
  38. package/lib/blocks/blockESLintYML.js +1 -1
  39. package/lib/blocks/blockESLintYML.js.map +1 -1
  40. package/lib/blocks/blockExampleFiles.d.ts +2 -2
  41. package/lib/blocks/blockExampleFiles.d.ts.map +1 -1
  42. package/lib/blocks/blockFunding.d.ts +2 -2
  43. package/lib/blocks/blockFunding.js +1 -1
  44. package/lib/blocks/blockFunding.js.map +1 -1
  45. package/lib/blocks/blockGitHubActionsCI.d.ts +3 -3
  46. package/lib/blocks/blockGitHubActionsCI.js +5 -5
  47. package/lib/blocks/blockGitHubActionsCI.js.map +1 -1
  48. package/lib/blocks/blockGitHubApps.d.ts +2 -2
  49. package/lib/blocks/blockGitHubIssueTemplates.d.ts +2 -2
  50. package/lib/blocks/blockGitHubIssueTemplates.js +4 -4
  51. package/lib/blocks/blockGitHubIssueTemplates.js.map +1 -1
  52. package/lib/blocks/blockGitHubPRTemplate.d.ts +2 -2
  53. package/lib/blocks/blockGitignore.d.ts +2 -2
  54. package/lib/blocks/blockKnip.d.ts +2 -2
  55. package/lib/blocks/blockMITLicense.d.ts +2 -2
  56. package/lib/blocks/blockMain.d.ts +2 -2
  57. package/lib/blocks/blockNcc.d.ts +2 -2
  58. package/lib/blocks/blockNvmrc.d.ts +2 -2
  59. package/lib/blocks/blockOctoGuide.d.ts +2 -2
  60. package/lib/blocks/blockOctoGuide.d.ts.map +1 -1
  61. package/lib/blocks/blockOctoGuide.js +3 -3
  62. package/lib/blocks/blockOctoGuide.js.map +1 -1
  63. package/lib/blocks/blockOctoGuideStrict.d.ts +2 -2
  64. package/lib/blocks/blockPackageJson.d.ts +3 -3
  65. package/lib/blocks/blockPackageJson.d.ts.map +1 -1
  66. package/lib/blocks/blockPnpmDedupe.d.ts +2 -2
  67. package/lib/blocks/blockPnpmDedupe.js +1 -1
  68. package/lib/blocks/blockPnpmDedupe.js.map +1 -1
  69. package/lib/blocks/blockPrettier.d.ts +2 -2
  70. package/lib/blocks/blockPrettierPluginCurly.d.ts +2 -2
  71. package/lib/blocks/blockPrettierPluginPackageJson.d.ts +2 -2
  72. package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +2 -2
  73. package/lib/blocks/blockPrettierPluginSh.d.ts +2 -2
  74. package/lib/blocks/blockREADME.d.ts +3 -3
  75. package/lib/blocks/blockREADME.d.ts.map +1 -1
  76. package/lib/blocks/blockReleaseIt.d.ts +2 -2
  77. package/lib/blocks/blockReleaseIt.js +2 -2
  78. package/lib/blocks/blockReleaseIt.js.map +1 -1
  79. package/lib/blocks/blockRemoveDependencies.d.ts +2 -2
  80. package/lib/blocks/blockRemoveFiles.d.ts +2 -2
  81. package/lib/blocks/blockRemoveWorkflows.d.ts +2 -2
  82. package/lib/blocks/blockRemoveWorkflows.js +1 -1
  83. package/lib/blocks/blockRemoveWorkflows.js.map +1 -1
  84. package/lib/blocks/blockRenovate.d.ts +2 -2
  85. package/lib/blocks/blockRenovate.d.ts.map +1 -1
  86. package/lib/blocks/blockRepositoryBranchRuleset.d.ts +2 -2
  87. package/lib/blocks/blockRepositoryLabels.d.ts +2 -2
  88. package/lib/blocks/blockRepositorySecrets.d.ts +2 -2
  89. package/lib/blocks/blockRepositorySettings.d.ts +2 -2
  90. package/lib/blocks/blockSecurityDocs.d.ts +2 -2
  91. package/lib/blocks/blockTSDown.d.ts +2 -2
  92. package/lib/blocks/blockTemplatedWith.d.ts +2 -2
  93. package/lib/blocks/blockTemplatedWith.d.ts.map +1 -1
  94. package/lib/blocks/blockTypeScript.d.ts +2 -2
  95. package/lib/blocks/blockVSCode.d.ts +2 -2
  96. package/lib/blocks/blockVSCode.d.ts.map +1 -1
  97. package/lib/blocks/blockWebExt.d.ts +2 -2
  98. package/lib/blocks/blockWebExt.d.ts.map +1 -1
  99. package/lib/blocks/index.d.ts +53 -53
  100. package/lib/blocks/intake/intakeFileAsYaml.js +1 -1
  101. package/lib/blocks/intake/intakeFileAsYaml.js.map +1 -1
  102. package/lib/index.d.ts +2 -2
  103. package/lib/options/readFunding.js +1 -1
  104. package/lib/options/readFunding.js.map +1 -1
  105. package/lib/options/readOwner.js +1 -1
  106. package/lib/options/readOwner.js.map +1 -1
  107. package/package.json +1 -1
@@ -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 bingo_stratum57 from "bingo-stratum";
50
+ import * as bingo_stratum58 from "bingo-stratum";
51
51
 
52
52
  //#region src/blocks/index.d.ts
53
53
  declare const blocks: {
54
- blockAllContributors: bingo_stratum57.BlockWithoutAddons<{
54
+ blockAllContributors: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
122
+ blockAreTheTypesWrong: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
190
+ blockCodecov: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
260
+ blockContributingDocs: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
328
+ blockContributorCovenant: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
396
+ blockCSpell: bingo_stratum58.BlockWithAddons<{
397
397
  words: string[];
398
398
  ignorePaths: string[];
399
399
  }, {
@@ -464,8 +464,7 @@ declare const blocks: {
464
464
  hash?: string | undefined;
465
465
  }>> | undefined;
466
466
  }>;
467
- blockDevelopmentDocs: bingo_stratum57.BlockWithAddons<{
468
- hints: string[];
467
+ blockDevelopmentDocs: bingo_stratum58.BlockWithAddons<{
469
468
  sections: Record<string, {
470
469
  contents?: string | {
471
470
  after?: string[] | undefined;
@@ -478,6 +477,7 @@ declare const blocks: {
478
477
  heading: string;
479
478
  }[] | undefined;
480
479
  }>;
480
+ hints: string[];
481
481
  }, {
482
482
  access: "public" | "restricted";
483
483
  description: string;
@@ -546,7 +546,7 @@ declare const blocks: {
546
546
  hash?: string | undefined;
547
547
  }>> | undefined;
548
548
  }>;
549
- blockESLint: bingo_stratum57.BlockWithAddons<{
549
+ blockESLint: bingo_stratum58.BlockWithAddons<{
550
550
  explanations: string[];
551
551
  extensions: {
552
552
  files: string[];
@@ -638,7 +638,7 @@ declare const blocks: {
638
638
  hash?: string | undefined;
639
639
  }>> | undefined;
640
640
  }>;
641
- blockESLintComments: bingo_stratum57.BlockWithoutAddons<{
641
+ blockESLintComments: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
709
+ blockESLintJSDoc: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
777
+ blockESLintJSONC: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
845
+ blockESLintMarkdown: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
913
+ blockESLintMoreStyling: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
981
+ blockESLintNode: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
1049
+ blockESLintPackageJson: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
1117
+ blockESLintPerfectionist: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
1185
+ blockESLintPlugin: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
1255
+ blockESLintRegexp: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
1323
+ blockESLintYML: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
1391
+ blockFunding: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
1459
+ blockGitHubActionsCI: bingo_stratum58.BlockWithAddons<{
1460
1460
  jobs?: {
1461
1461
  name: string;
1462
1462
  steps: ({
@@ -1468,8 +1468,8 @@ declare const blocks: {
1468
1468
  } | {
1469
1469
  uses: string;
1470
1470
  }))[];
1471
- checkoutWith?: Record<string, string> | undefined;
1472
1471
  if?: string | undefined;
1472
+ checkoutWith?: Record<string, string> | undefined;
1473
1473
  }[] | undefined;
1474
1474
  nodeVersion?: string | number | undefined;
1475
1475
  }, {
@@ -1540,7 +1540,7 @@ declare const blocks: {
1540
1540
  hash?: string | undefined;
1541
1541
  }>> | undefined;
1542
1542
  }>;
1543
- blockGitHubIssueTemplates: bingo_stratum57.BlockWithoutAddons<{
1543
+ blockGitHubIssueTemplates: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
1611
+ blockGitHubPRTemplate: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
1679
+ blockGitignore: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
1749
+ blockKnip: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
1821
+ blockMain: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
1892
+ blockMITLicense: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
1960
+ blockNcc: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
2030
+ blockNvmrc: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
2098
+ blockOctoGuide: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
2168
+ blockOctoGuideStrict: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
2236
+ blockPackageJson: bingo_stratum58.BlockWithAddons<{
2237
2237
  properties: {
2238
2238
  type?: "commonjs" | "module" | undefined;
2239
2239
  author?: string | {
@@ -2274,10 +2274,10 @@ declare const blocks: {
2274
2274
  engines?: Record<string, string> | undefined;
2275
2275
  packageManager?: string | undefined;
2276
2276
  files?: string[] | undefined;
2277
+ config?: Record<string, unknown> | undefined;
2277
2278
  types?: string | undefined;
2278
2279
  imports?: Record<string, unknown> | undefined;
2279
2280
  license?: string | undefined;
2280
- config?: Record<string, unknown> | undefined;
2281
2281
  private?: boolean | undefined;
2282
2282
  homepage?: string | undefined;
2283
2283
  maintainers?: (string | {
@@ -2378,7 +2378,7 @@ declare const blocks: {
2378
2378
  hash?: string | undefined;
2379
2379
  }>> | undefined;
2380
2380
  }>;
2381
- blockPnpmDedupe: bingo_stratum57.BlockWithoutAddons<{
2381
+ blockPnpmDedupe: bingo_stratum58.BlockWithoutAddons<{
2382
2382
  access: "public" | "restricted";
2383
2383
  description: string;
2384
2384
  directory: string;
@@ -2446,7 +2446,7 @@ declare const blocks: {
2446
2446
  hash?: string | undefined;
2447
2447
  }>> | undefined;
2448
2448
  }>;
2449
- blockPrettier: bingo_stratum57.BlockWithAddons<{
2449
+ blockPrettier: bingo_stratum58.BlockWithAddons<{
2450
2450
  plugins: string[];
2451
2451
  ignores: string[];
2452
2452
  overrides: {
@@ -2524,7 +2524,7 @@ declare const blocks: {
2524
2524
  hash?: string | undefined;
2525
2525
  }>> | undefined;
2526
2526
  }>;
2527
- blockPrettierPluginCurly: bingo_stratum57.BlockWithoutAddons<{
2527
+ blockPrettierPluginCurly: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
2595
+ blockPrettierPluginPackageJson: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
2663
+ blockPrettierPluginSentencesPerLine: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
2731
+ blockPrettierPluginSh: bingo_stratum58.BlockWithoutAddons<{
2732
2732
  access: "public" | "restricted";
2733
2733
  description: string;
2734
2734
  directory: string;
@@ -2796,8 +2796,7 @@ declare const blocks: {
2796
2796
  hash?: string | undefined;
2797
2797
  }>> | undefined;
2798
2798
  }>;
2799
- blockREADME: bingo_stratum57.BlockWithAddons<{
2800
- sections: string[];
2799
+ blockREADME: bingo_stratum58.BlockWithAddons<{
2801
2800
  badges: {
2802
2801
  alt: string;
2803
2802
  src: string;
@@ -2809,6 +2808,7 @@ declare const blocks: {
2809
2808
  }[];
2810
2809
  defaultUsage: string[];
2811
2810
  notices: string[];
2811
+ sections: string[];
2812
2812
  }, {
2813
2813
  access: "public" | "restricted";
2814
2814
  description: string;
@@ -2877,7 +2877,7 @@ declare const blocks: {
2877
2877
  hash?: string | undefined;
2878
2878
  }>> | undefined;
2879
2879
  }>;
2880
- blockReleaseIt: bingo_stratum57.BlockWithAddons<{
2880
+ blockReleaseIt: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
2953
+ blockRenovate: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
3023
+ blockSecurityDocs: bingo_stratum58.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: bingo_stratum57.BlockWithoutAddons<{
3091
+ blockTemplatedWith: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
3159
+ blockTSDown: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
3231
+ blockTypeScript: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
3411
+ blockVitest: bingo_stratum58.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: bingo_stratum57.BlockWithAddons<{
3496
+ blockVSCode: bingo_stratum58.BlockWithAddons<{
3497
3497
  settings: Record<string, unknown>;
3498
3498
  extensions?: string[] | undefined;
3499
3499
  debuggers?: (Record<string, unknown> & {
@@ -3570,7 +3570,7 @@ declare const blocks: {
3570
3570
  hash?: string | undefined;
3571
3571
  }>> | undefined;
3572
3572
  }>;
3573
- blockWebExt: bingo_stratum57.BlockWithoutAddons<{
3573
+ blockWebExt: bingo_stratum58.BlockWithoutAddons<{
3574
3574
  access: "public" | "restricted";
3575
3575
  description: string;
3576
3576
  directory: string;
@@ -3,7 +3,7 @@ import jsYaml from "js-yaml";
3
3
 
4
4
  //#region src/blocks/intake/intakeFileAsYaml.ts
5
5
  function intakeFileAsYaml(files, filePath) {
6
- const file = intakeFile(files, filePath);
6
+ const file = intakeFile(files, filePath) ?? intakeFile(files, [...filePath.slice(0, filePath.length - 1), filePath[filePath.length - 1].replace(/\.yaml$/i, ".yml")]);
7
7
  try {
8
8
  return file && jsYaml.load(file[0]);
9
9
  } catch {
@@ -1 +1 @@
1
- {"version":3,"file":"intakeFileAsYaml.js","names":[],"sources":["../../../src/blocks/intake/intakeFileAsYaml.ts"],"sourcesContent":["import { IntakeDirectory } from \"bingo-fs\";\nimport jsYaml from \"js-yaml\";\n\nimport { intakeFile } from \"./intakeFile.js\";\n\nexport function intakeFileAsYaml(files: IntakeDirectory, filePath: string[]) {\n\tconst file = intakeFile(files, filePath);\n\n\ttry {\n\t\treturn file && jsYaml.load(file[0]);\n\t} catch {\n\t\treturn undefined;\n\t}\n}\n"],"mappings":";;;;AAKA,SAAgB,iBAAiB,OAAwB,UAAoB;CAC5E,MAAM,OAAO,WAAW,OAAO,SAAS;AAExC,KAAI;AACH,SAAO,QAAQ,OAAO,KAAK,KAAK,GAAG;SAC5B;AACP"}
1
+ {"version":3,"file":"intakeFileAsYaml.js","names":[],"sources":["../../../src/blocks/intake/intakeFileAsYaml.ts"],"sourcesContent":["import { IntakeDirectory } from \"bingo-fs\";\nimport jsYaml from \"js-yaml\";\n\nimport { intakeFile } from \"./intakeFile.js\";\n\nexport function intakeFileAsYaml(files: IntakeDirectory, filePath: string[]) {\n\tconst file =\n\t\tintakeFile(files, filePath) ??\n\t\tintakeFile(files, [\n\t\t\t...filePath.slice(0, filePath.length - 1),\n\t\t\tfilePath[filePath.length - 1].replace(/\\.yaml$/i, \".yml\"),\n\t\t]);\n\n\ttry {\n\t\treturn file && jsYaml.load(file[0]);\n\t} catch {\n\t\treturn undefined;\n\t}\n}\n"],"mappings":";;;;AAKA,SAAgB,iBAAiB,OAAwB,UAAoB;CAC5E,MAAM,OACL,WAAW,OAAO,SAAS,IAC3B,WAAW,OAAO,CACjB,GAAG,SAAS,MAAM,GAAG,SAAS,SAAS,EAAE,EACzC,SAAS,SAAS,SAAS,GAAG,QAAQ,YAAY,OAAO,CACzD,CAAC;AAEH,KAAI;AACH,SAAO,QAAQ,OAAO,KAAK,KAAK,GAAG;SAC5B;AACP"}
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 bingo_stratum1 from "bingo-stratum";
57
+ import * as bingo_stratum6 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, bingo_stratum1.StratumRefinements<{
228
+ } & bingo_stratum_lib_types_templates_js0.StratumTemplateOptionsShape, bingo_stratum6.StratumRefinements<{
229
229
  access: "public" | "restricted";
230
230
  description: string;
231
231
  directory: string;
@@ -3,7 +3,7 @@ import { inputFromFile } from "input-from-file";
3
3
 
4
4
  //#region src/options/readFunding.ts
5
5
  async function readFunding(take) {
6
- return swallowError(await take(inputFromFile, { filePath: ".github/FUNDING.yml" }))?.split(":")[1]?.trim();
6
+ return swallowError(await take(inputFromFile, { filePath: ".github/FUNDING.yaml" }))?.split(":")[1]?.trim();
7
7
  }
8
8
 
9
9
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"readFunding.js","names":[],"sources":["../../src/options/readFunding.ts"],"sourcesContent":["import { TakeInput } from \"bingo\";\nimport { inputFromFile } from \"input-from-file\";\n\nimport { swallowError } from \"../utils/swallowError.js\";\n\nexport async function readFunding(take: TakeInput) {\n\treturn swallowError(\n\t\tawait take(inputFromFile, { filePath: \".github/FUNDING.yml\" }),\n\t)\n\t\t?.split(\":\")[1]\n\t\t?.trim();\n}\n"],"mappings":";;;;AAKA,eAAsB,YAAY,MAAiB;AAClD,QAAO,aACN,MAAM,KAAK,eAAe,EAAE,UAAU,uBAAuB,CAAC,CAC9D,EACE,MAAM,IAAI,CAAC,IACX,MAAM"}
1
+ {"version":3,"file":"readFunding.js","names":[],"sources":["../../src/options/readFunding.ts"],"sourcesContent":["import { TakeInput } from \"bingo\";\nimport { inputFromFile } from \"input-from-file\";\n\nimport { swallowError } from \"../utils/swallowError.js\";\n\nexport async function readFunding(take: TakeInput) {\n\treturn swallowError(\n\t\tawait take(inputFromFile, { filePath: \".github/FUNDING.yaml\" }),\n\t)\n\t\t?.split(\":\")[1]\n\t\t?.trim();\n}\n"],"mappings":";;;;AAKA,eAAsB,YAAY,MAAiB;AAClD,QAAO,aACN,MAAM,KAAK,eAAe,EAAE,UAAU,wBAAwB,CAAC,CAC/D,EACE,MAAM,IAAI,CAAC,IACX,MAAM"}
@@ -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 getPackageAuthor()).name ?? (await take(inputFromScript, { command: "gh config get user -h github.com" })).stdout?.toString();
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(await getPackageAuthor()).name ??\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);\n}\n"],"mappings":";;;AAMA,eAAsB,UACrB,MACA,gBACA,kBACC;AACD,SACE,MAAM,gBAAgB,GAAG,iBACzB,MAAM,kBAAkB,EAAE,SAE1B,MAAM,KAAK,iBAAiB,EAC3B,SAAS,oCACT,CAAC,EACD,QAAQ,UAAU"}
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-typescript-app",
3
- "version": "2.56.3",
3
+ "version": "2.57.1",
4
4
  "description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
5
5
  "repository": {
6
6
  "type": "git",