create-typescript-app 2.63.2 → 2.64.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.
@@ -3,8 +3,8 @@ declare const blockDevelopmentDocs: import("bingo-stratum").BlockWithAddons<{
3
3
  hints: string[];
4
4
  sections: Record<string, {
5
5
  contents?: string | {
6
- after?: string[] | undefined;
7
6
  before?: string | undefined;
7
+ after?: string[] | undefined;
8
8
  items?: string[] | undefined;
9
9
  plural?: string | undefined;
10
10
  } | undefined;
@@ -1,26 +1,26 @@
1
1
  //#region src/blocks/blockESLint.d.ts
2
2
  declare const blockESLint: import("bingo-stratum").BlockWithAddons<{
3
+ imports: {
4
+ source: string | {
5
+ version: string;
6
+ packageName: string;
7
+ };
8
+ specifier: string;
9
+ types?: boolean | undefined;
10
+ }[];
3
11
  ignores: string[];
4
12
  extensions: {
5
13
  files: string[];
6
- plugins?: Record<string, string> | undefined;
7
- settings?: Record<string, unknown> | undefined;
8
14
  rules?: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]> | {
9
15
  entries: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
10
16
  comment?: string | undefined;
11
17
  }[] | undefined;
18
+ plugins?: Record<string, string> | undefined;
19
+ settings?: Record<string, unknown> | undefined;
12
20
  extends?: string[] | undefined;
13
21
  languageOptions?: unknown;
14
22
  linterOptions?: unknown;
15
23
  }[];
16
- imports: {
17
- source: string | {
18
- version: string;
19
- packageName: string;
20
- };
21
- specifier: string;
22
- types?: boolean | undefined;
23
- }[];
24
24
  explanations: string[];
25
25
  beforeLint?: string | undefined;
26
26
  }, {
@@ -40,7 +40,6 @@ declare const blockPackageJson: import("bingo-stratum").BlockWithAddons<{
40
40
  engines?: Record<string, string> | undefined;
41
41
  packageManager?: string | undefined;
42
42
  files?: string[] | undefined;
43
- overrides?: Record<string, unknown> | undefined;
44
43
  license?: string | undefined;
45
44
  config?: Record<string, unknown> | undefined;
46
45
  private?: boolean | undefined;
@@ -61,6 +60,7 @@ declare const blockPackageJson: import("bingo-stratum").BlockWithAddons<{
61
60
  bundleDependencies?: boolean | string[] | undefined;
62
61
  bundledDependencies?: boolean | string[] | undefined;
63
62
  optionalDependencies?: Record<string, string> | undefined;
63
+ overrides?: Record<string, unknown> | undefined;
64
64
  os?: string[] | undefined;
65
65
  cpu?: string[] | undefined;
66
66
  publishConfig?: Record<string, unknown> | undefined;
@@ -1,12 +1,12 @@
1
1
  //#region src/blocks/blockPrettier.d.ts
2
2
  declare const blockPrettier: import("bingo-stratum").BlockWithAddons<{
3
- ignores: string[];
4
3
  overrides: {
5
4
  options: {
6
5
  parser: string;
7
6
  };
8
7
  files: string;
9
8
  }[];
9
+ ignores: string[];
10
10
  plugins: string[];
11
11
  runBefore: string[];
12
12
  }, {
@@ -6,8 +6,8 @@ declare const blockREADME: import("bingo-stratum").BlockWithAddons<{
6
6
  src: string;
7
7
  href?: string | undefined;
8
8
  comments?: {
9
- after: string;
10
9
  before: string;
10
+ after: string;
11
11
  } | undefined;
12
12
  }[];
13
13
  defaultUsage: string[];
@@ -13,6 +13,7 @@ const blockRepositorySettings = base.createBlock({
13
13
  allow_squash_merge: true,
14
14
  delete_branch_on_merge: true,
15
15
  description: htmlToTextSafe(options.description),
16
+ has_projects: false,
16
17
  has_wiki: false,
17
18
  owner: options.owner,
18
19
  repo: options.repository,
@@ -1 +1 @@
1
- {"version":3,"file":"blockRepositorySettings.js","names":[],"sources":["../../src/blocks/blockRepositorySettings.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { htmlToTextSafe } from \"../utils/htmlToTextSafe.js\";\n\nexport const blockRepositorySettings = base.createBlock({\n\tabout: {\n\t\tname: \"Repository Settings\",\n\t},\n\tproduce({ options }) {\n\t\tconst description = htmlToTextSafe(options.description);\n\n\t\treturn {\n\t\t\trequests: [\n\t\t\t\t{\n\t\t\t\t\tendpoint: \"PATCH /repos/{owner}/{repo}\",\n\t\t\t\t\tparameters: {\n\t\t\t\t\t\tallow_auto_merge: true,\n\t\t\t\t\t\tallow_merge_commit: false,\n\t\t\t\t\t\tallow_rebase_merge: false,\n\t\t\t\t\t\tallow_squash_merge: true,\n\t\t\t\t\t\tdelete_branch_on_merge: true,\n\t\t\t\t\t\tdescription,\n\t\t\t\t\t\thas_wiki: false,\n\t\t\t\t\t\towner: options.owner,\n\t\t\t\t\t\trepo: options.repository,\n\t\t\t\t\t\tsecurity_and_analysis: {\n\t\t\t\t\t\t\tsecret_scanning: {\n\t\t\t\t\t\t\t\tstatus: \"enabled\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsecret_scanning_push_protection: {\n\t\t\t\t\t\t\t\tstatus: \"enabled\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tsquash_merge_commit_message: \"PR_BODY\",\n\t\t\t\t\t\tsquash_merge_commit_title: \"PR_TITLE\",\n\t\t\t\t\t},\n\t\t\t\t\ttype: \"octokit\",\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;AAGA,MAAa,0BAA0B,KAAK,YAAY;CACvD,OAAO,EACN,MAAM,sBACP;CACA,QAAQ,EAAE,WAAW;EAGpB,OAAO,EACN,UAAU,CACT;GACC,UAAU;GACV,YAAY;IACX,kBAAkB;IAClB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,wBAAwB;IACxB,aAZgB,eAAe,QAAQ,WAY7B;IACV,UAAU;IACV,OAAO,QAAQ;IACf,MAAM,QAAQ;IACd,uBAAuB;KACtB,iBAAiB,EAChB,QAAQ,UACT;KACA,iCAAiC,EAChC,QAAQ,UACT;IACD;IACA,6BAA6B;IAC7B,2BAA2B;GAC5B;GACA,MAAM;EACP,CACD,EACD;CACD;AACD,CAAC"}
1
+ {"version":3,"file":"blockRepositorySettings.js","names":[],"sources":["../../src/blocks/blockRepositorySettings.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { htmlToTextSafe } from \"../utils/htmlToTextSafe.js\";\n\nexport const blockRepositorySettings = base.createBlock({\n\tabout: {\n\t\tname: \"Repository Settings\",\n\t},\n\tproduce({ options }) {\n\t\tconst description = htmlToTextSafe(options.description);\n\n\t\treturn {\n\t\t\trequests: [\n\t\t\t\t{\n\t\t\t\t\tendpoint: \"PATCH /repos/{owner}/{repo}\",\n\t\t\t\t\tparameters: {\n\t\t\t\t\t\tallow_auto_merge: true,\n\t\t\t\t\t\tallow_merge_commit: false,\n\t\t\t\t\t\tallow_rebase_merge: false,\n\t\t\t\t\t\tallow_squash_merge: true,\n\t\t\t\t\t\tdelete_branch_on_merge: true,\n\t\t\t\t\t\tdescription,\n\t\t\t\t\t\thas_projects: false,\n\t\t\t\t\t\thas_wiki: false,\n\t\t\t\t\t\towner: options.owner,\n\t\t\t\t\t\trepo: options.repository,\n\t\t\t\t\t\tsecurity_and_analysis: {\n\t\t\t\t\t\t\tsecret_scanning: {\n\t\t\t\t\t\t\t\tstatus: \"enabled\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsecret_scanning_push_protection: {\n\t\t\t\t\t\t\t\tstatus: \"enabled\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tsquash_merge_commit_message: \"PR_BODY\",\n\t\t\t\t\t\tsquash_merge_commit_title: \"PR_TITLE\",\n\t\t\t\t\t},\n\t\t\t\t\ttype: \"octokit\",\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;AAGA,MAAa,0BAA0B,KAAK,YAAY;CACvD,OAAO,EACN,MAAM,sBACP;CACA,QAAQ,EAAE,WAAW;EAGpB,OAAO,EACN,UAAU,CACT;GACC,UAAU;GACV,YAAY;IACX,kBAAkB;IAClB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,wBAAwB;IACxB,aAZgB,eAAe,QAAQ,WAY7B;IACV,cAAc;IACd,UAAU;IACV,OAAO,QAAQ;IACf,MAAM,QAAQ;IACd,uBAAuB;KACtB,iBAAiB,EAChB,QAAQ,UACT;KACA,iCAAiC,EAChC,QAAQ,UACT;IACD;IACA,6BAA6B;IAC7B,2BAA2B;GAC5B;GACA,MAAM;EACP,CACD,EACD;CACD;AACD,CAAC"}
@@ -2,12 +2,12 @@ import { Extension } from "./schemas.js";
2
2
  //#region src/blocks/eslint/mergeAllExtensions.d.ts
3
3
  declare function mergeAllExtensions(...extensions: Extension[]): {
4
4
  files: string[];
5
- plugins?: Record<string, string> | undefined;
6
- settings?: Record<string, unknown> | undefined;
7
5
  rules?: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]> | {
8
6
  entries: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
9
7
  comment?: string | undefined;
10
8
  }[] | undefined;
9
+ plugins?: Record<string, string> | undefined;
10
+ settings?: Record<string, unknown> | undefined;
11
11
  extends?: string[] | undefined;
12
12
  languageOptions?: unknown;
13
13
  linterOptions?: unknown;
@@ -57,23 +57,23 @@ declare const zExtension: z.ZodObject<{
57
57
  settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
58
58
  }, "strip", z.ZodTypeAny, {
59
59
  files: string[];
60
- plugins?: Record<string, string> | undefined;
61
- settings?: Record<string, unknown> | undefined;
62
60
  rules?: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]> | {
63
61
  entries: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
64
62
  comment?: string | undefined;
65
63
  }[] | undefined;
64
+ plugins?: Record<string, string> | undefined;
65
+ settings?: Record<string, unknown> | undefined;
66
66
  extends?: string[] | undefined;
67
67
  languageOptions?: unknown;
68
68
  linterOptions?: unknown;
69
69
  }, {
70
70
  files: string[];
71
- plugins?: Record<string, string> | undefined;
72
- settings?: Record<string, unknown> | undefined;
73
71
  rules?: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]> | {
74
72
  entries: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
75
73
  comment?: string | undefined;
76
74
  }[] | undefined;
75
+ plugins?: Record<string, string> | undefined;
76
+ settings?: Record<string, unknown> | undefined;
77
77
  extends?: string[] | undefined;
78
78
  languageOptions?: unknown;
79
79
  linterOptions?: unknown;
@@ -467,8 +467,8 @@ declare const blocks: {
467
467
  hints: string[];
468
468
  sections: Record<string, {
469
469
  contents?: string | {
470
- after?: string[] | undefined;
471
470
  before?: string | undefined;
471
+ after?: string[] | undefined;
472
472
  items?: string[] | undefined;
473
473
  plural?: string | undefined;
474
474
  } | undefined;
@@ -546,27 +546,27 @@ declare const blocks: {
546
546
  }>> | undefined;
547
547
  }>;
548
548
  blockESLint: import("bingo-stratum").BlockWithAddons<{
549
+ imports: {
550
+ source: string | {
551
+ version: string;
552
+ packageName: string;
553
+ };
554
+ specifier: string;
555
+ types?: boolean | undefined;
556
+ }[];
549
557
  ignores: string[];
550
558
  extensions: {
551
559
  files: string[];
552
- plugins?: Record<string, string> | undefined;
553
- settings?: Record<string, unknown> | undefined;
554
560
  rules?: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]> | {
555
561
  entries: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
556
562
  comment?: string | undefined;
557
563
  }[] | undefined;
564
+ plugins?: Record<string, string> | undefined;
565
+ settings?: Record<string, unknown> | undefined;
558
566
  extends?: string[] | undefined;
559
567
  languageOptions?: unknown;
560
568
  linterOptions?: unknown;
561
569
  }[];
562
- imports: {
563
- source: string | {
564
- version: string;
565
- packageName: string;
566
- };
567
- specifier: string;
568
- types?: boolean | undefined;
569
- }[];
570
570
  explanations: string[];
571
571
  beforeLint?: string | undefined;
572
572
  }, {
@@ -2273,7 +2273,6 @@ declare const blocks: {
2273
2273
  engines?: Record<string, string> | undefined;
2274
2274
  packageManager?: string | undefined;
2275
2275
  files?: string[] | undefined;
2276
- overrides?: Record<string, unknown> | undefined;
2277
2276
  license?: string | undefined;
2278
2277
  config?: Record<string, unknown> | undefined;
2279
2278
  private?: boolean | undefined;
@@ -2294,6 +2293,7 @@ declare const blocks: {
2294
2293
  bundleDependencies?: boolean | string[] | undefined;
2295
2294
  bundledDependencies?: boolean | string[] | undefined;
2296
2295
  optionalDependencies?: Record<string, string> | undefined;
2296
+ overrides?: Record<string, unknown> | undefined;
2297
2297
  os?: string[] | undefined;
2298
2298
  cpu?: string[] | undefined;
2299
2299
  publishConfig?: Record<string, unknown> | undefined;
@@ -2446,13 +2446,13 @@ declare const blocks: {
2446
2446
  }>> | undefined;
2447
2447
  }>;
2448
2448
  blockPrettier: import("bingo-stratum").BlockWithAddons<{
2449
- ignores: string[];
2450
2449
  overrides: {
2451
2450
  options: {
2452
2451
  parser: string;
2453
2452
  };
2454
2453
  files: string;
2455
2454
  }[];
2455
+ ignores: string[];
2456
2456
  plugins: string[];
2457
2457
  runBefore: string[];
2458
2458
  }, {
@@ -2802,8 +2802,8 @@ declare const blocks: {
2802
2802
  src: string;
2803
2803
  href?: string | undefined;
2804
2804
  comments?: {
2805
- after: string;
2806
2805
  before: string;
2806
+ after: string;
2807
2807
  } | undefined;
2808
2808
  }[];
2809
2809
  defaultUsage: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-typescript-app",
3
- "version": "2.63.2",
3
+ "version": "2.64.0",
4
4
  "description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
5
5
  "repository": {
6
6
  "type": "git",