create-typescript-app 2.24.4 → 2.25.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 (79) hide show
  1. package/lib/base.d.ts +11 -6
  2. package/lib/base.js +5 -0
  3. package/lib/blocks/blockAllContributors.d.ts +1 -0
  4. package/lib/blocks/blockAreTheTypesWrong.d.ts +1 -0
  5. package/lib/blocks/blockCSpell.d.ts +1 -0
  6. package/lib/blocks/blockCTATransitions.d.ts +1 -0
  7. package/lib/blocks/blockCodecov.d.ts +1 -0
  8. package/lib/blocks/blockContributingDocs.d.ts +1 -0
  9. package/lib/blocks/blockContributorCovenant.d.ts +1 -0
  10. package/lib/blocks/blockDevelopmentDocs.d.ts +1 -0
  11. package/lib/blocks/blockESLint.d.ts +5 -1
  12. package/lib/blocks/blockESLint.js +25 -12
  13. package/lib/blocks/blockESLintComments.d.ts +1 -0
  14. package/lib/blocks/blockESLintJSDoc.d.ts +1 -0
  15. package/lib/blocks/blockESLintJSONC.d.ts +1 -0
  16. package/lib/blocks/blockESLintMarkdown.d.ts +1 -0
  17. package/lib/blocks/blockESLintMoreStyling.d.ts +1 -0
  18. package/lib/blocks/blockESLintNode.d.ts +1 -0
  19. package/lib/blocks/blockESLintPackageJson.d.ts +1 -0
  20. package/lib/blocks/blockESLintPerfectionist.d.ts +1 -0
  21. package/lib/blocks/blockESLintPlugin.d.ts +72 -0
  22. package/lib/blocks/blockESLintPlugin.js +226 -0
  23. package/lib/blocks/blockESLintRegexp.d.ts +1 -0
  24. package/lib/blocks/blockESLintYML.d.ts +1 -0
  25. package/lib/blocks/blockExampleFiles.d.ts +1 -0
  26. package/lib/blocks/blockFunding.d.ts +1 -0
  27. package/lib/blocks/blockGitHubActionsCI.d.ts +1 -0
  28. package/lib/blocks/blockGitHubApps.d.ts +1 -0
  29. package/lib/blocks/blockGitHubIssueTemplates.d.ts +1 -0
  30. package/lib/blocks/blockGitHubPRTemplate.d.ts +1 -0
  31. package/lib/blocks/blockGitignore.d.ts +1 -0
  32. package/lib/blocks/blockKnip.d.ts +1 -0
  33. package/lib/blocks/blockMITLicense.d.ts +1 -0
  34. package/lib/blocks/blockMain.d.ts +1 -0
  35. package/lib/blocks/blockMarkdownlint.d.ts +1 -0
  36. package/lib/blocks/blockNcc.d.ts +1 -0
  37. package/lib/blocks/blockNvmrc.d.ts +1 -0
  38. package/lib/blocks/blockPRCompliance.d.ts +1 -0
  39. package/lib/blocks/blockPackageJson.d.ts +1 -0
  40. package/lib/blocks/blockPnpmDedupe.d.ts +1 -0
  41. package/lib/blocks/blockPrettier.d.ts +1 -0
  42. package/lib/blocks/blockPrettierPluginCurly.d.ts +1 -0
  43. package/lib/blocks/blockPrettierPluginPackageJson.d.ts +1 -0
  44. package/lib/blocks/blockPrettierPluginSh.d.ts +1 -0
  45. package/lib/blocks/blockREADME.d.ts +1 -0
  46. package/lib/blocks/blockREADME.js +6 -2
  47. package/lib/blocks/blockReleaseIt.d.ts +1 -0
  48. package/lib/blocks/blockRemoveDependencies.d.ts +1 -0
  49. package/lib/blocks/blockRemoveFiles.d.ts +1 -0
  50. package/lib/blocks/blockRemoveWorkflows.d.ts +1 -0
  51. package/lib/blocks/blockRenovate.d.ts +1 -0
  52. package/lib/blocks/blockRepositoryBranchRuleset.d.ts +1 -0
  53. package/lib/blocks/blockRepositoryLabels.d.ts +1 -0
  54. package/lib/blocks/blockRepositorySecrets.d.ts +1 -0
  55. package/lib/blocks/blockRepositorySettings.d.ts +1 -0
  56. package/lib/blocks/blockSecurityDocs.d.ts +1 -0
  57. package/lib/blocks/blockTSup.d.ts +1 -0
  58. package/lib/blocks/blockTemplatedWith.d.ts +1 -0
  59. package/lib/blocks/blockTypeScript.d.ts +1 -0
  60. package/lib/blocks/blockVSCode.d.ts +1 -0
  61. package/lib/blocks/blockVitest.d.ts +1 -0
  62. package/lib/blocks/index.d.ts +118 -1
  63. package/lib/blocks/index.js +4 -0
  64. package/lib/data/packageData.d.ts +1 -1
  65. package/lib/index.d.ts +7 -0
  66. package/lib/options/readDocumentation.d.ts +1 -1
  67. package/lib/options/readDocumentation.js +4 -2
  68. package/lib/options/readReadmeAdditional.js +2 -2
  69. package/lib/options/readReadmeFootnotes.d.ts +4 -0
  70. package/lib/options/readReadmeFootnotes.js +17 -0
  71. package/lib/presets/common.d.ts +5 -0
  72. package/lib/presets/everything.d.ts +5 -0
  73. package/lib/presets/index.d.ts +15 -0
  74. package/lib/presets/minimal.d.ts +5 -0
  75. package/lib/schemas.d.ts +10 -2
  76. package/lib/schemas.js +1 -0
  77. package/lib/template.d.ts +5 -0
  78. package/lib/template.js +2 -0
  79. package/package.json +1 -1
@@ -14,6 +14,7 @@ declare const blockGitHubApps: bingo_stratum.BlockWithAddons<{
14
14
  usage: string;
15
15
  additional?: string | undefined;
16
16
  explainer?: string | undefined;
17
+ footnotes?: string | undefined;
17
18
  };
18
19
  development?: string | undefined;
19
20
  };
@@ -9,6 +9,7 @@ declare const blockGitHubIssueTemplates: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -9,6 +9,7 @@ declare const blockGitHubPRTemplate: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -11,6 +11,7 @@ declare const blockGitignore: bingo_stratum.BlockWithAddons<{
11
11
  usage: string;
12
12
  additional?: string | undefined;
13
13
  explainer?: string | undefined;
14
+ footnotes?: string | undefined;
14
15
  };
15
16
  development?: string | undefined;
16
17
  };
@@ -11,6 +11,7 @@ declare const blockKnip: bingo_stratum.BlockWithAddons<{
11
11
  usage: string;
12
12
  additional?: string | undefined;
13
13
  explainer?: string | undefined;
14
+ footnotes?: string | undefined;
14
15
  };
15
16
  development?: string | undefined;
16
17
  };
@@ -9,6 +9,7 @@ declare const blockMITLicense: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -12,6 +12,7 @@ declare const blockMain: bingo_stratum.BlockWithAddons<{
12
12
  usage: string;
13
13
  additional?: string | undefined;
14
14
  explainer?: string | undefined;
15
+ footnotes?: string | undefined;
15
16
  };
16
17
  development?: string | undefined;
17
18
  };
@@ -11,6 +11,7 @@ declare const blockMarkdownlint: bingo_stratum.BlockWithAddons<{
11
11
  usage: string;
12
12
  additional?: string | undefined;
13
13
  explainer?: string | undefined;
14
+ footnotes?: string | undefined;
14
15
  };
15
16
  development?: string | undefined;
16
17
  };
@@ -9,6 +9,7 @@ declare const blockNcc: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -9,6 +9,7 @@ declare const blockNvmrc: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -9,6 +9,7 @@ declare const blockPRCompliance: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -86,6 +86,7 @@ declare const blockPackageJson: bingo_stratum.BlockWithAddons<{
86
86
  usage: string;
87
87
  additional?: string | undefined;
88
88
  explainer?: string | undefined;
89
+ footnotes?: string | undefined;
89
90
  };
90
91
  development?: string | undefined;
91
92
  };
@@ -9,6 +9,7 @@ declare const blockPnpmDedupe: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -19,6 +19,7 @@ declare const blockPrettier: bingo_stratum.BlockWithAddons<{
19
19
  usage: string;
20
20
  additional?: string | undefined;
21
21
  explainer?: string | undefined;
22
+ footnotes?: string | undefined;
22
23
  };
23
24
  development?: string | undefined;
24
25
  };
@@ -9,6 +9,7 @@ declare const blockPrettierPluginCurly: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -9,6 +9,7 @@ declare const blockPrettierPluginPackageJson: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -9,6 +9,7 @@ declare const blockPrettierPluginSh: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -21,6 +21,7 @@ declare const blockREADME: bingo_stratum.BlockWithAddons<{
21
21
  usage: string;
22
22
  additional?: string | undefined;
23
23
  explainer?: string | undefined;
24
+ footnotes?: string | undefined;
24
25
  };
25
26
  development?: string | undefined;
26
27
  };
@@ -29,6 +29,10 @@ ${options.documentation.readme.explainer}
29
29
  const logo = options.logo && `
30
30
  <img ${printAttributes({ align: "right", ...options.logo })}>
31
31
  `;
32
+ const suffixes = [
33
+ ...notices,
34
+ options.documentation.readme.footnotes
35
+ ].filter((suffix) => typeof suffix === "string");
32
36
  return {
33
37
  files: {
34
38
  "README.md": `<h1 align="center">${options.title}</h1>
@@ -49,8 +53,8 @@ See [\`.github/CONTRIBUTING.md\`](./.github/CONTRIBUTING.md), then [\`.github/DE
49
53
  Thanks! ${options.emoji}
50
54
  ${[...sections, options.documentation.readme.additional].filter(Boolean).map((section) => `
51
55
  ${section}`).join("")}
52
- ${notices.length ? `
53
- ${notices.map((notice) => notice.trim()).join("\n\n")}` : ""}`
56
+ ${suffixes.length ? `
57
+ ${suffixes.map((suffix) => suffix.trim()).join("\n\n")}` : ""}`
54
58
  }
55
59
  };
56
60
  }
@@ -14,6 +14,7 @@ declare const blockReleaseIt: bingo_stratum.BlockWithAddons<{
14
14
  usage: string;
15
15
  additional?: string | undefined;
16
16
  explainer?: string | undefined;
17
+ footnotes?: string | undefined;
17
18
  };
18
19
  development?: string | undefined;
19
20
  };
@@ -11,6 +11,7 @@ declare const blockRemoveDependencies: bingo_stratum.BlockWithAddons<{
11
11
  usage: string;
12
12
  additional?: string | undefined;
13
13
  explainer?: string | undefined;
14
+ footnotes?: string | undefined;
14
15
  };
15
16
  development?: string | undefined;
16
17
  };
@@ -11,6 +11,7 @@ declare const blockRemoveFiles: bingo_stratum.BlockWithAddons<{
11
11
  usage: string;
12
12
  additional?: string | undefined;
13
13
  explainer?: string | undefined;
14
+ footnotes?: string | undefined;
14
15
  };
15
16
  development?: string | undefined;
16
17
  };
@@ -11,6 +11,7 @@ declare const blockRemoveWorkflows: bingo_stratum.BlockWithAddons<{
11
11
  usage: string;
12
12
  additional?: string | undefined;
13
13
  explainer?: string | undefined;
14
+ footnotes?: string | undefined;
14
15
  };
15
16
  development?: string | undefined;
16
17
  };
@@ -9,6 +9,7 @@ declare const blockRenovate: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -11,6 +11,7 @@ declare const blockRepositoryBranchRuleset: bingo_stratum.BlockWithAddons<{
11
11
  usage: string;
12
12
  additional?: string | undefined;
13
13
  explainer?: string | undefined;
14
+ footnotes?: string | undefined;
14
15
  };
15
16
  development?: string | undefined;
16
17
  };
@@ -9,6 +9,7 @@ declare const blockRepositoryLabels: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -14,6 +14,7 @@ declare const blockRepositorySecrets: bingo_stratum.BlockWithAddons<{
14
14
  usage: string;
15
15
  additional?: string | undefined;
16
16
  explainer?: string | undefined;
17
+ footnotes?: string | undefined;
17
18
  };
18
19
  development?: string | undefined;
19
20
  };
@@ -9,6 +9,7 @@ declare const blockRepositorySettings: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -9,6 +9,7 @@ declare const blockSecurityDocs: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -13,6 +13,7 @@ declare const blockTSup: bingo_stratum.BlockWithAddons<{
13
13
  usage: string;
14
14
  additional?: string | undefined;
15
15
  explainer?: string | undefined;
16
+ footnotes?: string | undefined;
16
17
  };
17
18
  development?: string | undefined;
18
19
  };
@@ -9,6 +9,7 @@ declare const blockTemplatedWith: bingo_stratum.BlockWithoutAddons<{
9
9
  usage: string;
10
10
  additional?: string | undefined;
11
11
  explainer?: string | undefined;
12
+ footnotes?: string | undefined;
12
13
  };
13
14
  development?: string | undefined;
14
15
  };
@@ -121,6 +121,7 @@ declare const blockTypeScript: bingo_stratum.BlockWithAddons<{
121
121
  usage: string;
122
122
  additional?: string | undefined;
123
123
  explainer?: string | undefined;
124
+ footnotes?: string | undefined;
124
125
  };
125
126
  development?: string | undefined;
126
127
  };
@@ -18,6 +18,7 @@ declare const blockVSCode: bingo_stratum.BlockWithAddons<{
18
18
  usage: string;
19
19
  additional?: string | undefined;
20
20
  explainer?: string | undefined;
21
+ footnotes?: string | undefined;
21
22
  };
22
23
  development?: string | undefined;
23
24
  };
@@ -25,6 +25,7 @@ declare const blockVitest: bingo_stratum.BlockWithAddons<{
25
25
  usage: string;
26
26
  additional?: string | undefined;
27
27
  explainer?: string | undefined;
28
+ footnotes?: string | undefined;
28
29
  };
29
30
  development?: string | undefined;
30
31
  };