create-typescript-app 2.22.11 → 2.23.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 +1 -0
  2. package/lib/base.js +3 -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 +1 -0
  12. package/lib/blocks/blockESLint.js +15 -4
  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/blockESLintRegexp.d.ts +1 -0
  22. package/lib/blocks/blockESLintYML.d.ts +1 -0
  23. package/lib/blocks/blockExampleFiles.d.ts +1 -0
  24. package/lib/blocks/blockFunding.d.ts +1 -0
  25. package/lib/blocks/blockGitHubActionsCI.d.ts +1 -0
  26. package/lib/blocks/blockGitHubApps.d.ts +1 -0
  27. package/lib/blocks/blockGitHubIssueTemplates.d.ts +1 -0
  28. package/lib/blocks/blockGitHubPRTemplate.d.ts +1 -0
  29. package/lib/blocks/blockGitignore.d.ts +1 -0
  30. package/lib/blocks/blockKnip.d.ts +1 -0
  31. package/lib/blocks/blockMITLicense.d.ts +1 -0
  32. package/lib/blocks/blockMain.d.ts +1 -0
  33. package/lib/blocks/blockMarkdownlint.d.ts +1 -0
  34. package/lib/blocks/blockNcc.d.ts +1 -0
  35. package/lib/blocks/blockNvmrc.d.ts +1 -0
  36. package/lib/blocks/blockPRCompliance.d.ts +1 -0
  37. package/lib/blocks/blockPackageJson.d.ts +3 -2
  38. package/lib/blocks/blockPackageJson.js +1 -1
  39. package/lib/blocks/blockPnpmDedupe.d.ts +1 -0
  40. package/lib/blocks/blockPrettier.d.ts +1 -0
  41. package/lib/blocks/blockPrettierPluginCurly.d.ts +1 -0
  42. package/lib/blocks/blockPrettierPluginPackageJson.d.ts +1 -0
  43. package/lib/blocks/blockPrettierPluginSh.d.ts +1 -0
  44. package/lib/blocks/blockREADME.d.ts +1 -0
  45. package/lib/blocks/blockReleaseIt.d.ts +1 -0
  46. package/lib/blocks/blockRemoveDependencies.d.ts +1 -0
  47. package/lib/blocks/blockRemoveFiles.d.ts +1 -0
  48. package/lib/blocks/blockRemoveWorkflows.d.ts +1 -0
  49. package/lib/blocks/blockRenovate.d.ts +1 -0
  50. package/lib/blocks/blockRepositoryBranchRuleset.d.ts +1 -0
  51. package/lib/blocks/blockRepositoryLabels.d.ts +1 -0
  52. package/lib/blocks/blockRepositorySecrets.d.ts +1 -0
  53. package/lib/blocks/blockRepositorySettings.d.ts +1 -0
  54. package/lib/blocks/blockSecurityDocs.d.ts +1 -0
  55. package/lib/blocks/blockTSup.d.ts +1 -0
  56. package/lib/blocks/blockTemplatedWith.d.ts +1 -0
  57. package/lib/blocks/blockTypeScript.d.ts +1 -0
  58. package/lib/blocks/blockVSCode.d.ts +1 -0
  59. package/lib/blocks/blockVitest.d.ts +1 -0
  60. package/lib/blocks/index.d.ts +47 -2
  61. package/lib/data/packageData.d.ts +1 -1
  62. package/lib/index.d.ts +2 -0
  63. package/lib/presets/common.d.ts +1 -0
  64. package/lib/presets/everything.d.ts +1 -0
  65. package/lib/presets/index.d.ts +3 -0
  66. package/lib/presets/minimal.d.ts +1 -0
  67. package/lib/template.d.ts +1 -0
  68. package/lib/types.d.ts +1 -0
  69. package/package.json +1 -1
package/lib/base.d.ts CHANGED
@@ -145,6 +145,7 @@ declare const base: bingo_stratum.Base<{
145
145
  repository: z.ZodString;
146
146
  rulesetId: z.ZodOptional<z.ZodString>;
147
147
  title: z.ZodString;
148
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"commonjs">, z.ZodLiteral<"module">]>>;
148
149
  version: z.ZodOptional<z.ZodString>;
149
150
  words: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
150
151
  workflowsVersions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
package/lib/base.js CHANGED
@@ -100,6 +100,7 @@ const base = createBase({
100
100
  repository: z.string().describe("'kebab-case' or 'PascalCase' title of the repository"),
101
101
  rulesetId: z.string().optional().describe("GitHub branch ruleset ID for main branch protections"),
102
102
  title: z.string().describe("'Title Case' title for the repository"),
103
+ type: z.union([z.literal("commonjs"), z.literal("module")]).optional().describe("package.json modules type"),
103
104
  version: z.string().optional().describe("package version to publish as and store in `package.json`"),
104
105
  words: z.array(z.string()).optional().describe("additional words to add to the CSpell dictionary"),
105
106
  workflowsVersions: zWorkflowsVersions.optional().describe("existing versions of GitHub Actions workflows used")
@@ -193,6 +194,7 @@ const base = createBase({
193
194
  const getTitle = lazyValue(
194
195
  async () => await readTitle(getReadme, getRepository)
195
196
  );
197
+ const getType = lazyValue(async () => (await getPackageData()).type);
196
198
  const getVersion = lazyValue(async () => (await getPackageData()).version);
197
199
  const getWords = lazyValue(async () => await readWords(take));
198
200
  const getWorkflowData = lazyValue(
@@ -220,6 +222,7 @@ const base = createBase({
220
222
  repository: getRepository,
221
223
  rulesetId: getRulesetId,
222
224
  title: getTitle,
225
+ type: getType,
223
226
  version: getVersion,
224
227
  words: getWords,
225
228
  workflowsVersions: getWorkflowData
@@ -22,6 +22,7 @@ declare const blockAllContributors: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockAreTheTypesWrong: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -25,6 +25,7 @@ declare const blockCSpell: bingo_stratum.BlockWithAddons<{
25
25
  };
26
26
  owner: string;
27
27
  repository: string;
28
+ type?: "commonjs" | "module" | undefined;
28
29
  author?: string | undefined;
29
30
  bin?: string | Record<string, string> | undefined;
30
31
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockCTATransitions: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -24,6 +24,7 @@ declare const blockCodecov: bingo_stratum.BlockWithAddons<{
24
24
  };
25
25
  owner: string;
26
26
  repository: string;
27
+ type?: "commonjs" | "module" | undefined;
27
28
  author?: string | undefined;
28
29
  bin?: string | Record<string, string> | undefined;
29
30
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockContributingDocs: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockContributorCovenant: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -36,6 +36,7 @@ declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
36
36
  };
37
37
  owner: string;
38
38
  repository: string;
39
+ type?: "commonjs" | "module" | undefined;
39
40
  author?: string | undefined;
40
41
  bin?: string | Record<string, string> | undefined;
41
42
  contributors?: {
@@ -48,6 +48,7 @@ declare const blockESLint: bingo_stratum.BlockWithAddons<{
48
48
  };
49
49
  owner: string;
50
50
  repository: string;
51
+ type?: "commonjs" | "module" | undefined;
51
52
  author?: string | undefined;
52
53
  bin?: string | Record<string, string> | undefined;
53
54
  contributors?: {
@@ -62,6 +62,7 @@ const blockESLint = base.createBlock({
62
62
  },
63
63
  produce({ addons, options }) {
64
64
  const { explanations, extensions, ignores, imports, rules, settings } = addons;
65
+ const [configFileName, fileExtensions] = options.type === "commonjs" ? ["eslint.config.mjs", "js,mjs,ts"] : ["eslint.config.js", "js,ts"];
65
66
  const explanation = explanations.length > 0 ? `${explanations.map((explanation2) => `/*
66
67
  ${explanation2}
67
68
  */
@@ -83,7 +84,7 @@ ${explanation2}
83
84
  "tseslint.configs.strictTypeChecked",
84
85
  "tseslint.configs.stylisticTypeChecked"
85
86
  ],
86
- files: ["**/*.js", "**/*.ts"],
87
+ files: [`**/*.{${fileExtensions}}`],
87
88
  languageOptions: {
88
89
  parserOptions: {
89
90
  projectService: {
@@ -102,6 +103,12 @@ ${explanation2}
102
103
  ...rules && { rules },
103
104
  ...settings && { settings }
104
105
  }),
106
+ ...options.type === "commonjs" ? [
107
+ printExtension({
108
+ files: ["*.mjs"],
109
+ languageOptions: { sourceType: "module" }
110
+ })
111
+ ] : [],
105
112
  ...extensions.map(
106
113
  (extension) => typeof extension === "string" ? extension : printExtension(extension)
107
114
  )
@@ -183,7 +190,7 @@ Each should be shown in VS Code, and can be run manually on the command-line:
183
190
  })
184
191
  ],
185
192
  files: {
186
- "eslint.config.js": `${explanation}${importLines.join("\n")}
193
+ [configFileName]: `${explanation}${importLines.join("\n")}
187
194
 
188
195
  export default tseslint.config(
189
196
  { ignores: [${ignoreLines.join(", ")}] },
@@ -202,7 +209,7 @@ export default tseslint.config(
202
209
  ]
203
210
  };
204
211
  },
205
- transition() {
212
+ transition({ options }) {
206
213
  return {
207
214
  addons: [
208
215
  blockRemoveDependencies({
@@ -218,7 +225,11 @@ export default tseslint.config(
218
225
  ]
219
226
  }),
220
227
  blockRemoveFiles({
221
- files: [".eslintrc*", ".eslintignore", "eslint.config.{cjs,mjs}"]
228
+ files: [
229
+ ".eslintrc*",
230
+ ".eslintignore",
231
+ options.type === "commonjs" ? "eslint.config.{cjs,js}" : "eslint.config.{cjs,mjs}"
232
+ ]
222
233
  }),
223
234
  blockRemoveWorkflows({
224
235
  workflows: ["eslint", "lint"]
@@ -22,6 +22,7 @@ declare const blockESLintComments: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockESLintJSDoc: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockESLintJSONC: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockESLintMarkdown: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockESLintMoreStyling: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockESLintNode: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockESLintPackageJson: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockESLintPerfectionist: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockESLintRegexp: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockESLintYML: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -24,6 +24,7 @@ declare const blockExampleFiles: bingo_stratum.BlockWithAddons<{
24
24
  };
25
25
  owner: string;
26
26
  repository: string;
27
+ type?: "commonjs" | "module" | undefined;
27
28
  author?: string | undefined;
28
29
  bin?: string | Record<string, string> | undefined;
29
30
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockFunding: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -63,6 +63,7 @@ declare const blockGitHubActionsCI: bingo_stratum.BlockWithAddons<{
63
63
  };
64
64
  owner: string;
65
65
  repository: string;
66
+ type?: "commonjs" | "module" | undefined;
66
67
  author?: string | undefined;
67
68
  bin?: string | Record<string, string> | undefined;
68
69
  contributors?: {
@@ -27,6 +27,7 @@ declare const blockGitHubApps: bingo_stratum.BlockWithAddons<{
27
27
  };
28
28
  owner: string;
29
29
  repository: string;
30
+ type?: "commonjs" | "module" | undefined;
30
31
  author?: string | undefined;
31
32
  bin?: string | Record<string, string> | undefined;
32
33
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockGitHubIssueTemplates: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockGitHubPRTemplate: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -24,6 +24,7 @@ declare const blockGitignore: bingo_stratum.BlockWithAddons<{
24
24
  };
25
25
  owner: string;
26
26
  repository: string;
27
+ type?: "commonjs" | "module" | undefined;
27
28
  author?: string | undefined;
28
29
  bin?: string | Record<string, string> | undefined;
29
30
  contributors?: {
@@ -24,6 +24,7 @@ declare const blockKnip: bingo_stratum.BlockWithAddons<{
24
24
  };
25
25
  owner: string;
26
26
  repository: string;
27
+ type?: "commonjs" | "module" | undefined;
27
28
  author?: string | undefined;
28
29
  bin?: string | Record<string, string> | undefined;
29
30
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockMITLicense: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -25,6 +25,7 @@ declare const blockMain: bingo_stratum.BlockWithAddons<{
25
25
  };
26
26
  owner: string;
27
27
  repository: string;
28
+ type?: "commonjs" | "module" | undefined;
28
29
  author?: string | undefined;
29
30
  bin?: string | Record<string, string> | undefined;
30
31
  contributors?: {
@@ -24,6 +24,7 @@ declare const blockMarkdownlint: bingo_stratum.BlockWithAddons<{
24
24
  };
25
25
  owner: string;
26
26
  repository: string;
27
+ type?: "commonjs" | "module" | undefined;
27
28
  author?: string | undefined;
28
29
  bin?: string | Record<string, string> | undefined;
29
30
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockNcc: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockNvmrc: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockPRCompliance: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -2,7 +2,7 @@ import * as bingo_stratum from 'bingo-stratum';
2
2
 
3
3
  declare const blockPackageJson: bingo_stratum.BlockWithAddons<{
4
4
  properties: {
5
- type?: "module" | "commonjs" | undefined;
5
+ type?: "commonjs" | "module" | undefined;
6
6
  author?: string | {
7
7
  name: string;
8
8
  url?: string | undefined;
@@ -36,8 +36,8 @@ declare const blockPackageJson: bingo_stratum.BlockWithAddons<{
36
36
  url: string;
37
37
  directory?: string | undefined;
38
38
  } | undefined;
39
- version?: string | undefined;
40
39
  module?: string | undefined;
40
+ version?: string | undefined;
41
41
  engines?: Record<string, string> | undefined;
42
42
  packageManager?: string | undefined;
43
43
  files?: string[] | undefined;
@@ -99,6 +99,7 @@ declare const blockPackageJson: bingo_stratum.BlockWithAddons<{
99
99
  };
100
100
  owner: string;
101
101
  repository: string;
102
+ type?: "commonjs" | "module" | undefined;
102
103
  author?: string | undefined;
103
104
  bin?: string | Record<string, string> | undefined;
104
105
  contributors?: {
@@ -36,7 +36,6 @@ const blockPackageJson = base.createBlock({
36
36
  "package.json": sortPackageJson(
37
37
  JSON.stringify(
38
38
  removeUndefinedObjects({
39
- type: "module",
40
39
  ...options.packageData,
41
40
  ...addons.properties,
42
41
  author: { email: options.email.npm, name: options.author },
@@ -66,6 +65,7 @@ const blockPackageJson = base.createBlock({
66
65
  ...options.packageData?.scripts,
67
66
  ...addons.properties.scripts
68
67
  },
68
+ type: options.type ?? "module",
69
69
  version: options.version ?? "0.0.0"
70
70
  })
71
71
  )
@@ -22,6 +22,7 @@ declare const blockPnpmDedupe: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -31,6 +31,7 @@ declare const blockPrettier: bingo_stratum.BlockWithAddons<{
31
31
  };
32
32
  owner: string;
33
33
  repository: string;
34
+ type?: "commonjs" | "module" | undefined;
34
35
  author?: string | undefined;
35
36
  bin?: string | Record<string, string> | undefined;
36
37
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockPrettierPluginCurly: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockPrettierPluginPackageJson: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockPrettierPluginSh: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -34,6 +34,7 @@ declare const blockREADME: bingo_stratum.BlockWithAddons<{
34
34
  };
35
35
  owner: string;
36
36
  repository: string;
37
+ type?: "commonjs" | "module" | undefined;
37
38
  author?: string | undefined;
38
39
  bin?: string | Record<string, string> | undefined;
39
40
  contributors?: {
@@ -27,6 +27,7 @@ declare const blockReleaseIt: bingo_stratum.BlockWithAddons<{
27
27
  };
28
28
  owner: string;
29
29
  repository: string;
30
+ type?: "commonjs" | "module" | undefined;
30
31
  author?: string | undefined;
31
32
  bin?: string | Record<string, string> | undefined;
32
33
  contributors?: {
@@ -24,6 +24,7 @@ declare const blockRemoveDependencies: bingo_stratum.BlockWithAddons<{
24
24
  };
25
25
  owner: string;
26
26
  repository: string;
27
+ type?: "commonjs" | "module" | undefined;
27
28
  author?: string | undefined;
28
29
  bin?: string | Record<string, string> | undefined;
29
30
  contributors?: {
@@ -24,6 +24,7 @@ declare const blockRemoveFiles: bingo_stratum.BlockWithAddons<{
24
24
  };
25
25
  owner: string;
26
26
  repository: string;
27
+ type?: "commonjs" | "module" | undefined;
27
28
  author?: string | undefined;
28
29
  bin?: string | Record<string, string> | undefined;
29
30
  contributors?: {
@@ -24,6 +24,7 @@ declare const blockRemoveWorkflows: bingo_stratum.BlockWithAddons<{
24
24
  };
25
25
  owner: string;
26
26
  repository: string;
27
+ type?: "commonjs" | "module" | undefined;
27
28
  author?: string | undefined;
28
29
  bin?: string | Record<string, string> | undefined;
29
30
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockRenovate: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -24,6 +24,7 @@ declare const blockRepositoryBranchRuleset: bingo_stratum.BlockWithAddons<{
24
24
  };
25
25
  owner: string;
26
26
  repository: string;
27
+ type?: "commonjs" | "module" | undefined;
27
28
  author?: string | undefined;
28
29
  bin?: string | Record<string, string> | undefined;
29
30
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockRepositoryLabels: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -27,6 +27,7 @@ declare const blockRepositorySecrets: bingo_stratum.BlockWithAddons<{
27
27
  };
28
28
  owner: string;
29
29
  repository: string;
30
+ type?: "commonjs" | "module" | undefined;
30
31
  author?: string | undefined;
31
32
  bin?: string | Record<string, string> | undefined;
32
33
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockRepositorySettings: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockSecurityDocs: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -26,6 +26,7 @@ declare const blockTSup: bingo_stratum.BlockWithAddons<{
26
26
  };
27
27
  owner: string;
28
28
  repository: string;
29
+ type?: "commonjs" | "module" | undefined;
29
30
  author?: string | undefined;
30
31
  bin?: string | Record<string, string> | undefined;
31
32
  contributors?: {
@@ -22,6 +22,7 @@ declare const blockTemplatedWith: bingo_stratum.BlockWithoutAddons<{
22
22
  };
23
23
  owner: string;
24
24
  repository: string;
25
+ type?: "commonjs" | "module" | undefined;
25
26
  author?: string | undefined;
26
27
  bin?: string | Record<string, string> | undefined;
27
28
  contributors?: {
@@ -134,6 +134,7 @@ declare const blockTypeScript: bingo_stratum.BlockWithAddons<{
134
134
  };
135
135
  owner: string;
136
136
  repository: string;
137
+ type?: "commonjs" | "module" | undefined;
137
138
  author?: string | undefined;
138
139
  bin?: string | Record<string, string> | undefined;
139
140
  contributors?: {
@@ -31,6 +31,7 @@ declare const blockVSCode: bingo_stratum.BlockWithAddons<{
31
31
  };
32
32
  owner: string;
33
33
  repository: string;
34
+ type?: "commonjs" | "module" | undefined;
34
35
  author?: string | undefined;
35
36
  bin?: string | Record<string, string> | undefined;
36
37
  contributors?: {
@@ -38,6 +38,7 @@ declare const blockVitest: bingo_stratum.BlockWithAddons<{
38
38
  };
39
39
  owner: string;
40
40
  repository: string;
41
+ type?: "commonjs" | "module" | undefined;
41
42
  author?: string | undefined;
42
43
  bin?: string | Record<string, string> | undefined;
43
44
  contributors?: {
@@ -70,6 +70,7 @@ declare const blocks: {
70
70
  };
71
71
  owner: string;
72
72
  repository: string;
73
+ type?: "commonjs" | "module" | undefined;
73
74
  author?: string | undefined;
74
75
  bin?: string | Record<string, string> | undefined;
75
76
  contributors?: {
@@ -136,6 +137,7 @@ declare const blocks: {
136
137
  };
137
138
  owner: string;
138
139
  repository: string;
140
+ type?: "commonjs" | "module" | undefined;
139
141
  author?: string | undefined;
140
142
  bin?: string | Record<string, string> | undefined;
141
143
  contributors?: {
@@ -204,6 +206,7 @@ declare const blocks: {
204
206
  };
205
207
  owner: string;
206
208
  repository: string;
209
+ type?: "commonjs" | "module" | undefined;
207
210
  author?: string | undefined;
208
211
  bin?: string | Record<string, string> | undefined;
209
212
  contributors?: {
@@ -270,6 +273,7 @@ declare const blocks: {
270
273
  };
271
274
  owner: string;
272
275
  repository: string;
276
+ type?: "commonjs" | "module" | undefined;
273
277
  author?: string | undefined;
274
278
  bin?: string | Record<string, string> | undefined;
275
279
  contributors?: {
@@ -336,6 +340,7 @@ declare const blocks: {
336
340
  };
337
341
  owner: string;
338
342
  repository: string;
343
+ type?: "commonjs" | "module" | undefined;
339
344
  author?: string | undefined;
340
345
  bin?: string | Record<string, string> | undefined;
341
346
  contributors?: {
@@ -405,6 +410,7 @@ declare const blocks: {
405
410
  };
406
411
  owner: string;
407
412
  repository: string;
413
+ type?: "commonjs" | "module" | undefined;
408
414
  author?: string | undefined;
409
415
  bin?: string | Record<string, string> | undefined;
410
416
  contributors?: {
@@ -485,6 +491,7 @@ declare const blocks: {
485
491
  };
486
492
  owner: string;
487
493
  repository: string;
494
+ type?: "commonjs" | "module" | undefined;
488
495
  author?: string | undefined;
489
496
  bin?: string | Record<string, string> | undefined;
490
497
  contributors?: {
@@ -577,6 +584,7 @@ declare const blocks: {
577
584
  };
578
585
  owner: string;
579
586
  repository: string;
587
+ type?: "commonjs" | "module" | undefined;
580
588
  author?: string | undefined;
581
589
  bin?: string | Record<string, string> | undefined;
582
590
  contributors?: {
@@ -643,6 +651,7 @@ declare const blocks: {
643
651
  };
644
652
  owner: string;
645
653
  repository: string;
654
+ type?: "commonjs" | "module" | undefined;
646
655
  author?: string | undefined;
647
656
  bin?: string | Record<string, string> | undefined;
648
657
  contributors?: {
@@ -709,6 +718,7 @@ declare const blocks: {
709
718
  };
710
719
  owner: string;
711
720
  repository: string;
721
+ type?: "commonjs" | "module" | undefined;
712
722
  author?: string | undefined;
713
723
  bin?: string | Record<string, string> | undefined;
714
724
  contributors?: {
@@ -775,6 +785,7 @@ declare const blocks: {
775
785
  };
776
786
  owner: string;
777
787
  repository: string;
788
+ type?: "commonjs" | "module" | undefined;
778
789
  author?: string | undefined;
779
790
  bin?: string | Record<string, string> | undefined;
780
791
  contributors?: {
@@ -841,6 +852,7 @@ declare const blocks: {
841
852
  };
842
853
  owner: string;
843
854
  repository: string;
855
+ type?: "commonjs" | "module" | undefined;
844
856
  author?: string | undefined;
845
857
  bin?: string | Record<string, string> | undefined;
846
858
  contributors?: {
@@ -907,6 +919,7 @@ declare const blocks: {
907
919
  };
908
920
  owner: string;
909
921
  repository: string;
922
+ type?: "commonjs" | "module" | undefined;
910
923
  author?: string | undefined;
911
924
  bin?: string | Record<string, string> | undefined;
912
925
  contributors?: {
@@ -973,6 +986,7 @@ declare const blocks: {
973
986
  };
974
987
  owner: string;
975
988
  repository: string;
989
+ type?: "commonjs" | "module" | undefined;
976
990
  author?: string | undefined;
977
991
  bin?: string | Record<string, string> | undefined;
978
992
  contributors?: {
@@ -1039,6 +1053,7 @@ declare const blocks: {
1039
1053
  };
1040
1054
  owner: string;
1041
1055
  repository: string;
1056
+ type?: "commonjs" | "module" | undefined;
1042
1057
  author?: string | undefined;
1043
1058
  bin?: string | Record<string, string> | undefined;
1044
1059
  contributors?: {
@@ -1105,6 +1120,7 @@ declare const blocks: {
1105
1120
  };
1106
1121
  owner: string;
1107
1122
  repository: string;
1123
+ type?: "commonjs" | "module" | undefined;
1108
1124
  author?: string | undefined;
1109
1125
  bin?: string | Record<string, string> | undefined;
1110
1126
  contributors?: {
@@ -1171,6 +1187,7 @@ declare const blocks: {
1171
1187
  };
1172
1188
  owner: string;
1173
1189
  repository: string;
1190
+ type?: "commonjs" | "module" | undefined;
1174
1191
  author?: string | undefined;
1175
1192
  bin?: string | Record<string, string> | undefined;
1176
1193
  contributors?: {
@@ -1237,6 +1254,7 @@ declare const blocks: {
1237
1254
  };
1238
1255
  owner: string;
1239
1256
  repository: string;
1257
+ type?: "commonjs" | "module" | undefined;
1240
1258
  author?: string | undefined;
1241
1259
  bin?: string | Record<string, string> | undefined;
1242
1260
  contributors?: {
@@ -1303,6 +1321,7 @@ declare const blocks: {
1303
1321
  };
1304
1322
  owner: string;
1305
1323
  repository: string;
1324
+ type?: "commonjs" | "module" | undefined;
1306
1325
  author?: string | undefined;
1307
1326
  bin?: string | Record<string, string> | undefined;
1308
1327
  contributors?: {
@@ -1384,6 +1403,7 @@ declare const blocks: {
1384
1403
  };
1385
1404
  owner: string;
1386
1405
  repository: string;
1406
+ type?: "commonjs" | "module" | undefined;
1387
1407
  author?: string | undefined;
1388
1408
  bin?: string | Record<string, string> | undefined;
1389
1409
  contributors?: {
@@ -1450,6 +1470,7 @@ declare const blocks: {
1450
1470
  };
1451
1471
  owner: string;
1452
1472
  repository: string;
1473
+ type?: "commonjs" | "module" | undefined;
1453
1474
  author?: string | undefined;
1454
1475
  bin?: string | Record<string, string> | undefined;
1455
1476
  contributors?: {
@@ -1516,6 +1537,7 @@ declare const blocks: {
1516
1537
  };
1517
1538
  owner: string;
1518
1539
  repository: string;
1540
+ type?: "commonjs" | "module" | undefined;
1519
1541
  author?: string | undefined;
1520
1542
  bin?: string | Record<string, string> | undefined;
1521
1543
  contributors?: {
@@ -1584,6 +1606,7 @@ declare const blocks: {
1584
1606
  };
1585
1607
  owner: string;
1586
1608
  repository: string;
1609
+ type?: "commonjs" | "module" | undefined;
1587
1610
  author?: string | undefined;
1588
1611
  bin?: string | Record<string, string> | undefined;
1589
1612
  contributors?: {
@@ -1652,6 +1675,7 @@ declare const blocks: {
1652
1675
  };
1653
1676
  owner: string;
1654
1677
  repository: string;
1678
+ type?: "commonjs" | "module" | undefined;
1655
1679
  author?: string | undefined;
1656
1680
  bin?: string | Record<string, string> | undefined;
1657
1681
  contributors?: {
@@ -1721,6 +1745,7 @@ declare const blocks: {
1721
1745
  };
1722
1746
  owner: string;
1723
1747
  repository: string;
1748
+ type?: "commonjs" | "module" | undefined;
1724
1749
  author?: string | undefined;
1725
1750
  bin?: string | Record<string, string> | undefined;
1726
1751
  contributors?: {
@@ -1789,6 +1814,7 @@ declare const blocks: {
1789
1814
  };
1790
1815
  owner: string;
1791
1816
  repository: string;
1817
+ type?: "commonjs" | "module" | undefined;
1792
1818
  author?: string | undefined;
1793
1819
  bin?: string | Record<string, string> | undefined;
1794
1820
  contributors?: {
@@ -1855,6 +1881,7 @@ declare const blocks: {
1855
1881
  };
1856
1882
  owner: string;
1857
1883
  repository: string;
1884
+ type?: "commonjs" | "module" | undefined;
1858
1885
  author?: string | undefined;
1859
1886
  bin?: string | Record<string, string> | undefined;
1860
1887
  contributors?: {
@@ -1921,6 +1948,7 @@ declare const blocks: {
1921
1948
  };
1922
1949
  owner: string;
1923
1950
  repository: string;
1951
+ type?: "commonjs" | "module" | undefined;
1924
1952
  author?: string | undefined;
1925
1953
  bin?: string | Record<string, string> | undefined;
1926
1954
  contributors?: {
@@ -1987,6 +2015,7 @@ declare const blocks: {
1987
2015
  };
1988
2016
  owner: string;
1989
2017
  repository: string;
2018
+ type?: "commonjs" | "module" | undefined;
1990
2019
  author?: string | undefined;
1991
2020
  bin?: string | Record<string, string> | undefined;
1992
2021
  contributors?: {
@@ -2033,7 +2062,7 @@ declare const blocks: {
2033
2062
  }>;
2034
2063
  blockPackageJson: bingo_stratum.BlockWithAddons<{
2035
2064
  properties: {
2036
- type?: "module" | "commonjs" | undefined;
2065
+ type?: "commonjs" | "module" | undefined;
2037
2066
  author?: string | {
2038
2067
  name: string;
2039
2068
  url?: string | undefined;
@@ -2067,8 +2096,8 @@ declare const blocks: {
2067
2096
  url: string;
2068
2097
  directory?: string | undefined;
2069
2098
  } | undefined;
2070
- version?: string | undefined;
2071
2099
  module?: string | undefined;
2100
+ version?: string | undefined;
2072
2101
  engines?: Record<string, string> | undefined;
2073
2102
  packageManager?: string | undefined;
2074
2103
  files?: string[] | undefined;
@@ -2130,6 +2159,7 @@ declare const blocks: {
2130
2159
  };
2131
2160
  owner: string;
2132
2161
  repository: string;
2162
+ type?: "commonjs" | "module" | undefined;
2133
2163
  author?: string | undefined;
2134
2164
  bin?: string | Record<string, string> | undefined;
2135
2165
  contributors?: {
@@ -2196,6 +2226,7 @@ declare const blocks: {
2196
2226
  };
2197
2227
  owner: string;
2198
2228
  repository: string;
2229
+ type?: "commonjs" | "module" | undefined;
2199
2230
  author?: string | undefined;
2200
2231
  bin?: string | Record<string, string> | undefined;
2201
2232
  contributors?: {
@@ -2262,6 +2293,7 @@ declare const blocks: {
2262
2293
  };
2263
2294
  owner: string;
2264
2295
  repository: string;
2296
+ type?: "commonjs" | "module" | undefined;
2265
2297
  author?: string | undefined;
2266
2298
  bin?: string | Record<string, string> | undefined;
2267
2299
  contributors?: {
@@ -2337,6 +2369,7 @@ declare const blocks: {
2337
2369
  };
2338
2370
  owner: string;
2339
2371
  repository: string;
2372
+ type?: "commonjs" | "module" | undefined;
2340
2373
  author?: string | undefined;
2341
2374
  bin?: string | Record<string, string> | undefined;
2342
2375
  contributors?: {
@@ -2403,6 +2436,7 @@ declare const blocks: {
2403
2436
  };
2404
2437
  owner: string;
2405
2438
  repository: string;
2439
+ type?: "commonjs" | "module" | undefined;
2406
2440
  author?: string | undefined;
2407
2441
  bin?: string | Record<string, string> | undefined;
2408
2442
  contributors?: {
@@ -2469,6 +2503,7 @@ declare const blocks: {
2469
2503
  };
2470
2504
  owner: string;
2471
2505
  repository: string;
2506
+ type?: "commonjs" | "module" | undefined;
2472
2507
  author?: string | undefined;
2473
2508
  bin?: string | Record<string, string> | undefined;
2474
2509
  contributors?: {
@@ -2535,6 +2570,7 @@ declare const blocks: {
2535
2570
  };
2536
2571
  owner: string;
2537
2572
  repository: string;
2573
+ type?: "commonjs" | "module" | undefined;
2538
2574
  author?: string | undefined;
2539
2575
  bin?: string | Record<string, string> | undefined;
2540
2576
  contributors?: {
@@ -2613,6 +2649,7 @@ declare const blocks: {
2613
2649
  };
2614
2650
  owner: string;
2615
2651
  repository: string;
2652
+ type?: "commonjs" | "module" | undefined;
2616
2653
  author?: string | undefined;
2617
2654
  bin?: string | Record<string, string> | undefined;
2618
2655
  contributors?: {
@@ -2684,6 +2721,7 @@ declare const blocks: {
2684
2721
  };
2685
2722
  owner: string;
2686
2723
  repository: string;
2724
+ type?: "commonjs" | "module" | undefined;
2687
2725
  author?: string | undefined;
2688
2726
  bin?: string | Record<string, string> | undefined;
2689
2727
  contributors?: {
@@ -2750,6 +2788,7 @@ declare const blocks: {
2750
2788
  };
2751
2789
  owner: string;
2752
2790
  repository: string;
2791
+ type?: "commonjs" | "module" | undefined;
2753
2792
  author?: string | undefined;
2754
2793
  bin?: string | Record<string, string> | undefined;
2755
2794
  contributors?: {
@@ -2816,6 +2855,7 @@ declare const blocks: {
2816
2855
  };
2817
2856
  owner: string;
2818
2857
  repository: string;
2858
+ type?: "commonjs" | "module" | undefined;
2819
2859
  author?: string | undefined;
2820
2860
  bin?: string | Record<string, string> | undefined;
2821
2861
  contributors?: {
@@ -2882,6 +2922,7 @@ declare const blocks: {
2882
2922
  };
2883
2923
  owner: string;
2884
2924
  repository: string;
2925
+ type?: "commonjs" | "module" | undefined;
2885
2926
  author?: string | undefined;
2886
2927
  bin?: string | Record<string, string> | undefined;
2887
2928
  contributors?: {
@@ -2952,6 +2993,7 @@ declare const blocks: {
2952
2993
  };
2953
2994
  owner: string;
2954
2995
  repository: string;
2996
+ type?: "commonjs" | "module" | undefined;
2955
2997
  author?: string | undefined;
2956
2998
  bin?: string | Record<string, string> | undefined;
2957
2999
  contributors?: {
@@ -3130,6 +3172,7 @@ declare const blocks: {
3130
3172
  };
3131
3173
  owner: string;
3132
3174
  repository: string;
3175
+ type?: "commonjs" | "module" | undefined;
3133
3176
  author?: string | undefined;
3134
3177
  bin?: string | Record<string, string> | undefined;
3135
3178
  contributors?: {
@@ -3212,6 +3255,7 @@ declare const blocks: {
3212
3255
  };
3213
3256
  owner: string;
3214
3257
  repository: string;
3258
+ type?: "commonjs" | "module" | undefined;
3215
3259
  author?: string | undefined;
3216
3260
  bin?: string | Record<string, string> | undefined;
3217
3261
  contributors?: {
@@ -3287,6 +3331,7 @@ declare const blocks: {
3287
3331
  };
3288
3332
  owner: string;
3289
3333
  repository: string;
3334
+ type?: "commonjs" | "module" | undefined;
3290
3335
  author?: string | undefined;
3291
3336
  bin?: string | Record<string, string> | undefined;
3292
3337
  contributors?: {
@@ -1,5 +1,5 @@
1
1
  var name = "create-typescript-app";
2
- var version = "2.22.10";
2
+ var version = "2.22.11";
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
@@ -199,6 +199,7 @@ declare const createConfig: bingo.CreateTemplateConfig<{
199
199
  repository: zod.ZodString;
200
200
  rulesetId: zod.ZodOptional<zod.ZodString>;
201
201
  title: zod.ZodString;
202
+ type: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"commonjs">, zod.ZodLiteral<"module">]>>;
202
203
  version: zod.ZodOptional<zod.ZodString>;
203
204
  words: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
204
205
  workflowsVersions: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -233,6 +234,7 @@ declare const createConfig: bingo.CreateTemplateConfig<{
233
234
  };
234
235
  owner: string;
235
236
  repository: string;
237
+ type?: "commonjs" | "module" | undefined;
236
238
  author?: string | undefined;
237
239
  bin?: string | Record<string, string> | undefined;
238
240
  contributors?: {
@@ -144,6 +144,7 @@ declare const presetCommon: bingo_stratum.Preset<{
144
144
  repository: zod.ZodString;
145
145
  rulesetId: zod.ZodOptional<zod.ZodString>;
146
146
  title: zod.ZodString;
147
+ type: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"commonjs">, zod.ZodLiteral<"module">]>>;
147
148
  version: zod.ZodOptional<zod.ZodString>;
148
149
  words: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
149
150
  workflowsVersions: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -144,6 +144,7 @@ declare const presetEverything: bingo_stratum.Preset<{
144
144
  repository: zod.ZodString;
145
145
  rulesetId: zod.ZodOptional<zod.ZodString>;
146
146
  title: zod.ZodString;
147
+ type: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"commonjs">, zod.ZodLiteral<"module">]>>;
147
148
  version: zod.ZodOptional<zod.ZodString>;
148
149
  words: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
149
150
  workflowsVersions: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -148,6 +148,7 @@ declare const presets: {
148
148
  repository: zod.ZodString;
149
149
  rulesetId: zod.ZodOptional<zod.ZodString>;
150
150
  title: zod.ZodString;
151
+ type: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"commonjs">, zod.ZodLiteral<"module">]>>;
151
152
  version: zod.ZodOptional<zod.ZodString>;
152
153
  words: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
153
154
  workflowsVersions: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -304,6 +305,7 @@ declare const presets: {
304
305
  repository: zod.ZodString;
305
306
  rulesetId: zod.ZodOptional<zod.ZodString>;
306
307
  title: zod.ZodString;
308
+ type: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"commonjs">, zod.ZodLiteral<"module">]>>;
307
309
  version: zod.ZodOptional<zod.ZodString>;
308
310
  words: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
309
311
  workflowsVersions: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -460,6 +462,7 @@ declare const presets: {
460
462
  repository: zod.ZodString;
461
463
  rulesetId: zod.ZodOptional<zod.ZodString>;
462
464
  title: zod.ZodString;
465
+ type: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"commonjs">, zod.ZodLiteral<"module">]>>;
463
466
  version: zod.ZodOptional<zod.ZodString>;
464
467
  words: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
465
468
  workflowsVersions: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -144,6 +144,7 @@ declare const presetMinimal: bingo_stratum.Preset<{
144
144
  repository: zod.ZodString;
145
145
  rulesetId: zod.ZodOptional<zod.ZodString>;
146
146
  title: zod.ZodString;
147
+ type: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"commonjs">, zod.ZodLiteral<"module">]>>;
147
148
  version: zod.ZodOptional<zod.ZodString>;
148
149
  words: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
149
150
  workflowsVersions: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodObject<{
package/lib/template.d.ts CHANGED
@@ -144,6 +144,7 @@ declare const template: bingo_stratum_lib_types_templates_js.StratumTemplate<{
144
144
  repository: zod.ZodString;
145
145
  rulesetId: zod.ZodOptional<zod.ZodString>;
146
146
  title: zod.ZodString;
147
+ type: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"commonjs">, zod.ZodLiteral<"module">]>>;
147
148
  version: zod.ZodOptional<zod.ZodString>;
148
149
  words: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
149
150
  workflowsVersions: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodObject<{
package/lib/types.d.ts CHANGED
@@ -30,6 +30,7 @@ interface PartialPackageData {
30
30
  url: string;
31
31
  };
32
32
  scripts?: Record<string, string>;
33
+ type?: "commonjs" | "module";
33
34
  version?: string;
34
35
  }
35
36
  interface PartialPublishConfig {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-typescript-app",
3
- "version": "2.22.11",
3
+ "version": "2.23.0",
4
4
  "description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
5
5
  "repository": {
6
6
  "type": "git",