create-typescript-app 2.29.3 → 2.30.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.
- package/lib/base.d.ts +6 -6
- package/lib/blocks/blockNcc.d.ts +3 -1
- package/lib/blocks/blockNcc.js +15 -3
- package/lib/blocks/index.d.ts +3 -1
- package/lib/data/packageData.d.ts +3 -3
- package/lib/schemas.d.ts +2 -2
- package/package.json +3 -3
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>;
|
|
@@ -97,11 +97,11 @@ declare const base: bingo_stratum.Base<{
|
|
|
97
97
|
href: z.ZodString;
|
|
98
98
|
title: z.ZodString;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
title: string;
|
|
101
100
|
href: string;
|
|
102
|
-
}, {
|
|
103
101
|
title: string;
|
|
102
|
+
}, {
|
|
104
103
|
href: string;
|
|
104
|
+
title: string;
|
|
105
105
|
}>>;
|
|
106
106
|
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
107
107
|
logo: z.ZodOptional<z.ZodObject<{
|
|
@@ -140,15 +140,15 @@ declare const base: bingo_stratum.Base<{
|
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
141
|
dependencies?: Record<string, string> | undefined;
|
|
142
142
|
devDependencies?: Record<string, string> | undefined;
|
|
143
|
-
scripts?: Record<string, string> | undefined;
|
|
144
143
|
peerDependencies?: Record<string, string> | undefined;
|
|
145
144
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
145
|
+
scripts?: Record<string, string> | undefined;
|
|
146
146
|
}, {
|
|
147
147
|
dependencies?: Record<string, string> | undefined;
|
|
148
148
|
devDependencies?: Record<string, string> | undefined;
|
|
149
|
-
scripts?: Record<string, string> | undefined;
|
|
150
149
|
peerDependencies?: Record<string, string> | undefined;
|
|
151
150
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
151
|
+
scripts?: Record<string, string> | undefined;
|
|
152
152
|
}>>;
|
|
153
153
|
pnpm: z.ZodOptional<z.ZodString>;
|
|
154
154
|
repository: z.ZodString;
|
package/lib/blocks/blockNcc.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as bingo_stratum from 'bingo-stratum';
|
|
2
2
|
|
|
3
|
-
declare const blockNcc: bingo_stratum.
|
|
3
|
+
declare const blockNcc: bingo_stratum.BlockWithAddons<{
|
|
4
|
+
entry?: string | undefined;
|
|
5
|
+
}, {
|
|
4
6
|
access: "public" | "restricted";
|
|
5
7
|
description: string;
|
|
6
8
|
directory: string;
|
package/lib/blocks/blockNcc.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
1
2
|
import { base } from "../base.js";
|
|
2
3
|
import { blockCSpell } from "./blockCSpell.js";
|
|
3
4
|
import { blockDevelopmentDocs } from "./blockDevelopmentDocs.js";
|
|
@@ -9,7 +10,18 @@ const blockNcc = base.createBlock({
|
|
|
9
10
|
about: {
|
|
10
11
|
name: "ncc"
|
|
11
12
|
},
|
|
12
|
-
|
|
13
|
+
addons: {
|
|
14
|
+
entry: z.string().optional()
|
|
15
|
+
},
|
|
16
|
+
intake({ options }) {
|
|
17
|
+
return {
|
|
18
|
+
entry: options.packageData?.scripts?.["build:release"]?.match(
|
|
19
|
+
/ncc build (.+) -o dist/
|
|
20
|
+
)?.[1]
|
|
21
|
+
};
|
|
22
|
+
},
|
|
23
|
+
produce({ addons }) {
|
|
24
|
+
const { entry = "src/index.ts" } = addons;
|
|
13
25
|
return {
|
|
14
26
|
addons: [
|
|
15
27
|
blockCSpell({
|
|
@@ -68,12 +80,12 @@ pnpm build:release
|
|
|
68
80
|
},
|
|
69
81
|
scripts: {
|
|
70
82
|
build: "tsc",
|
|
71
|
-
"build:release":
|
|
83
|
+
"build:release": `ncc build ${entry} -o dist`
|
|
72
84
|
}
|
|
73
85
|
}
|
|
74
86
|
}),
|
|
75
87
|
blockPrettier({
|
|
76
|
-
ignores: ["dist"]
|
|
88
|
+
ignores: ["/dist"]
|
|
77
89
|
})
|
|
78
90
|
]
|
|
79
91
|
};
|
package/lib/blocks/index.d.ts
CHANGED
|
@@ -2028,7 +2028,9 @@ declare const blocks: {
|
|
|
2028
2028
|
hash?: string | undefined;
|
|
2029
2029
|
}>> | undefined;
|
|
2030
2030
|
}>;
|
|
2031
|
-
blockNcc: bingo_stratum.
|
|
2031
|
+
blockNcc: bingo_stratum.BlockWithAddons<{
|
|
2032
|
+
entry?: string | undefined;
|
|
2033
|
+
}, {
|
|
2032
2034
|
access: "public" | "restricted";
|
|
2033
2035
|
description: string;
|
|
2034
2036
|
directory: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "create-typescript-app";
|
|
2
|
-
var version = "2.29.
|
|
2
|
+
var version = "2.29.3";
|
|
3
3
|
var description = "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁";
|
|
4
4
|
var repository = {
|
|
5
5
|
type: "git",
|
|
@@ -35,7 +35,7 @@ var scripts = {
|
|
|
35
35
|
var dependencies = {
|
|
36
36
|
bingo: "^0.5.14",
|
|
37
37
|
"bingo-fs": "^0.5.5",
|
|
38
|
-
"bingo-stratum": "^0.5.
|
|
38
|
+
"bingo-stratum": "^0.5.11",
|
|
39
39
|
"cached-factory": "^0.1.0",
|
|
40
40
|
"cspell-populate-words": "^0.3.0",
|
|
41
41
|
execa: "^9.5.2",
|
|
@@ -84,7 +84,7 @@ var devDependencies = {
|
|
|
84
84
|
"@vitest/eslint-plugin": "1.1.38",
|
|
85
85
|
"all-contributors-cli": "6.26.1",
|
|
86
86
|
"bingo-requests": "0.5.5",
|
|
87
|
-
"bingo-stratum-testers": "0.5.
|
|
87
|
+
"bingo-stratum-testers": "0.5.9",
|
|
88
88
|
"bingo-testers": "0.5.7",
|
|
89
89
|
"console-fail-test": "0.5.0",
|
|
90
90
|
cspell: "8.17.5",
|
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.
|
|
3
|
+
"version": "2.30.0",
|
|
4
4
|
"description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"bingo": "^0.5.14",
|
|
41
41
|
"bingo-fs": "^0.5.5",
|
|
42
|
-
"bingo-stratum": "^0.5.
|
|
42
|
+
"bingo-stratum": "^0.5.11",
|
|
43
43
|
"cached-factory": "^0.1.0",
|
|
44
44
|
"cspell-populate-words": "^0.3.0",
|
|
45
45
|
"execa": "^9.5.2",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@vitest/eslint-plugin": "1.1.38",
|
|
89
89
|
"all-contributors-cli": "6.26.1",
|
|
90
90
|
"bingo-requests": "0.5.5",
|
|
91
|
-
"bingo-stratum-testers": "0.5.
|
|
91
|
+
"bingo-stratum-testers": "0.5.9",
|
|
92
92
|
"bingo-testers": "0.5.7",
|
|
93
93
|
"console-fail-test": "0.5.0",
|
|
94
94
|
"cspell": "8.17.5",
|