create-typescript-app 2.22.5 → 2.22.7

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.
package/lib/base.d.ts CHANGED
@@ -13,16 +13,16 @@ declare const base: bingo_stratum.Base<{
13
13
  name: z.ZodString;
14
14
  profile: z.ZodString;
15
15
  }, "strip", z.ZodTypeAny, {
16
- name: string;
17
16
  avatar_url: string;
18
17
  contributions: string[];
19
18
  login: string;
19
+ name: string;
20
20
  profile: string;
21
21
  }, {
22
- name: string;
23
22
  avatar_url: string;
24
23
  contributions: string[];
25
24
  login: string;
25
+ name: string;
26
26
  profile: string;
27
27
  }>, "many">>;
28
28
  description: z.ZodDefault<z.ZodString>;
@@ -88,11 +88,11 @@ declare const base: bingo_stratum.Base<{
88
88
  href: z.ZodString;
89
89
  title: z.ZodString;
90
90
  }, "strip", z.ZodTypeAny, {
91
- title: string;
92
91
  href: string;
93
- }, {
94
92
  title: string;
93
+ }, {
95
94
  href: string;
95
+ title: string;
96
96
  }>>;
97
97
  keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
98
98
  logo: z.ZodOptional<z.ZodObject<{
@@ -131,15 +131,15 @@ declare const base: bingo_stratum.Base<{
131
131
  }, "strip", z.ZodTypeAny, {
132
132
  dependencies?: Record<string, string> | undefined;
133
133
  devDependencies?: Record<string, string> | undefined;
134
- scripts?: Record<string, string> | undefined;
135
134
  peerDependencies?: Record<string, string> | undefined;
136
135
  peerDependenciesMeta?: Record<string, unknown> | undefined;
136
+ scripts?: Record<string, string> | undefined;
137
137
  }, {
138
138
  dependencies?: Record<string, string> | undefined;
139
139
  devDependencies?: Record<string, string> | undefined;
140
- scripts?: Record<string, string> | undefined;
141
140
  peerDependencies?: Record<string, string> | undefined;
142
141
  peerDependenciesMeta?: Record<string, unknown> | undefined;
142
+ scripts?: Record<string, string> | undefined;
143
143
  }>>;
144
144
  pnpm: z.ZodOptional<z.ZodString>;
145
145
  repository: z.ZodString;
@@ -1,3 +1,4 @@
1
+ import sortKeys from "sort-keys";
1
2
  import { CompilerOptionsSchema } from "zod-tsconfig";
2
3
  import { base } from "../base.js";
3
4
  import { getPackageDependencies } from "../data/packageData.js";
@@ -116,7 +117,7 @@ export * from "./types.js";
116
117
  ],
117
118
  files: {
118
119
  "tsconfig.json": JSON.stringify({
119
- compilerOptions: {
120
+ compilerOptions: sortKeys({
120
121
  declaration: true,
121
122
  declarationMap: true,
122
123
  esModuleInterop: true,
@@ -128,7 +129,7 @@ export * from "./types.js";
128
129
  strict: true,
129
130
  target: "ES2022",
130
131
  ...compilerOptions
131
- },
132
+ }),
132
133
  include: ["src"]
133
134
  })
134
135
  }
@@ -1,5 +1,5 @@
1
1
  var name = "create-typescript-app";
2
- var version = "2.22.4";
2
+ var version = "2.22.6";
3
3
  var description = "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁";
4
4
  var repository = {
5
5
  type: "git",
@@ -1,11 +1,12 @@
1
- const indicatorAfterContributors = /<!--\s*spellchecker:\s*enable\s*-->/;
1
+ const indicatorAfterAllContributors = /<!--\s*ALL-CONTRIBUTORS-LIST:END\s*-->/;
2
+ const indicatorAfterAllContributorsSpellCheck = /<!--\s*spellchecker:\s*enable\s*-->/;
2
3
  const indicatorBeforeTemplatedBy = /> .* This package was templated with |<!-- You can remove this notice/;
3
4
  async function readReadmeAdditional(getReadme) {
4
5
  const readme = await getReadme();
5
6
  if (!readme) {
6
7
  return void 0;
7
8
  }
8
- const indexAfterContributors = indicatorAfterContributors.exec(readme);
9
+ const indexAfterContributors = indicatorAfterAllContributorsSpellCheck.exec(readme) ?? indicatorAfterAllContributors.exec(readme);
9
10
  if (!indexAfterContributors) {
10
11
  return void 0;
11
12
  }
package/lib/schemas.d.ts CHANGED
@@ -7,16 +7,16 @@ declare const zContributor: z.ZodObject<{
7
7
  name: z.ZodString;
8
8
  profile: z.ZodString;
9
9
  }, "strip", z.ZodTypeAny, {
10
- name: string;
11
10
  avatar_url: string;
12
11
  contributions: string[];
13
12
  login: string;
13
+ name: string;
14
14
  profile: string;
15
15
  }, {
16
- name: string;
17
16
  avatar_url: string;
18
17
  contributions: string[];
19
18
  login: string;
19
+ name: string;
20
20
  profile: string;
21
21
  }>;
22
22
  type Contributor = z.infer<typeof zContributor>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-typescript-app",
3
- "version": "2.22.5",
3
+ "version": "2.22.7",
4
4
  "description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
5
5
  "repository": {
6
6
  "type": "git",