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.
- package/lib/base.d.ts +11 -6
- package/lib/base.js +5 -0
- package/lib/blocks/blockAllContributors.d.ts +1 -0
- package/lib/blocks/blockAreTheTypesWrong.d.ts +1 -0
- package/lib/blocks/blockCSpell.d.ts +1 -0
- package/lib/blocks/blockCTATransitions.d.ts +1 -0
- package/lib/blocks/blockCodecov.d.ts +1 -0
- package/lib/blocks/blockContributingDocs.d.ts +1 -0
- package/lib/blocks/blockContributorCovenant.d.ts +1 -0
- package/lib/blocks/blockDevelopmentDocs.d.ts +1 -0
- package/lib/blocks/blockESLint.d.ts +5 -1
- package/lib/blocks/blockESLint.js +25 -12
- package/lib/blocks/blockESLintComments.d.ts +1 -0
- package/lib/blocks/blockESLintJSDoc.d.ts +1 -0
- package/lib/blocks/blockESLintJSONC.d.ts +1 -0
- package/lib/blocks/blockESLintMarkdown.d.ts +1 -0
- package/lib/blocks/blockESLintMoreStyling.d.ts +1 -0
- package/lib/blocks/blockESLintNode.d.ts +1 -0
- package/lib/blocks/blockESLintPackageJson.d.ts +1 -0
- package/lib/blocks/blockESLintPerfectionist.d.ts +1 -0
- package/lib/blocks/blockESLintPlugin.d.ts +72 -0
- package/lib/blocks/blockESLintPlugin.js +226 -0
- package/lib/blocks/blockESLintRegexp.d.ts +1 -0
- package/lib/blocks/blockESLintYML.d.ts +1 -0
- package/lib/blocks/blockExampleFiles.d.ts +1 -0
- package/lib/blocks/blockFunding.d.ts +1 -0
- package/lib/blocks/blockGitHubActionsCI.d.ts +1 -0
- package/lib/blocks/blockGitHubApps.d.ts +1 -0
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +1 -0
- package/lib/blocks/blockGitHubPRTemplate.d.ts +1 -0
- package/lib/blocks/blockGitignore.d.ts +1 -0
- package/lib/blocks/blockKnip.d.ts +1 -0
- package/lib/blocks/blockMITLicense.d.ts +1 -0
- package/lib/blocks/blockMain.d.ts +1 -0
- package/lib/blocks/blockMarkdownlint.d.ts +1 -0
- package/lib/blocks/blockNcc.d.ts +1 -0
- package/lib/blocks/blockNvmrc.d.ts +1 -0
- package/lib/blocks/blockPRCompliance.d.ts +1 -0
- package/lib/blocks/blockPackageJson.d.ts +1 -0
- package/lib/blocks/blockPnpmDedupe.d.ts +1 -0
- package/lib/blocks/blockPrettier.d.ts +1 -0
- package/lib/blocks/blockPrettierPluginCurly.d.ts +1 -0
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +1 -0
- package/lib/blocks/blockPrettierPluginSh.d.ts +1 -0
- package/lib/blocks/blockREADME.d.ts +1 -0
- package/lib/blocks/blockREADME.js +6 -2
- package/lib/blocks/blockReleaseIt.d.ts +1 -0
- package/lib/blocks/blockRemoveDependencies.d.ts +1 -0
- package/lib/blocks/blockRemoveFiles.d.ts +1 -0
- package/lib/blocks/blockRemoveWorkflows.d.ts +1 -0
- package/lib/blocks/blockRenovate.d.ts +1 -0
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +1 -0
- package/lib/blocks/blockRepositoryLabels.d.ts +1 -0
- package/lib/blocks/blockRepositorySecrets.d.ts +1 -0
- package/lib/blocks/blockRepositorySettings.d.ts +1 -0
- package/lib/blocks/blockSecurityDocs.d.ts +1 -0
- package/lib/blocks/blockTSup.d.ts +1 -0
- package/lib/blocks/blockTemplatedWith.d.ts +1 -0
- package/lib/blocks/blockTypeScript.d.ts +1 -0
- package/lib/blocks/blockVSCode.d.ts +1 -0
- package/lib/blocks/blockVitest.d.ts +1 -0
- package/lib/blocks/index.d.ts +118 -1
- package/lib/blocks/index.js +4 -0
- package/lib/data/packageData.d.ts +1 -1
- package/lib/index.d.ts +7 -0
- package/lib/options/readDocumentation.d.ts +1 -1
- package/lib/options/readDocumentation.js +4 -2
- package/lib/options/readReadmeAdditional.js +2 -2
- package/lib/options/readReadmeFootnotes.d.ts +4 -0
- package/lib/options/readReadmeFootnotes.js +17 -0
- package/lib/presets/common.d.ts +5 -0
- package/lib/presets/everything.d.ts +5 -0
- package/lib/presets/index.d.ts +15 -0
- package/lib/presets/minimal.d.ts +5 -0
- package/lib/schemas.d.ts +10 -2
- package/lib/schemas.js +1 -0
- package/lib/template.d.ts +5 -0
- package/lib/template.js +2 -0
- package/package.json +1 -1
package/lib/presets/index.d.ts
CHANGED
|
@@ -35,21 +35,25 @@ declare const presets: {
|
|
|
35
35
|
readme: zod.ZodObject<{
|
|
36
36
|
additional: zod.ZodOptional<zod.ZodString>;
|
|
37
37
|
explainer: zod.ZodOptional<zod.ZodString>;
|
|
38
|
+
footnotes: zod.ZodOptional<zod.ZodString>;
|
|
38
39
|
usage: zod.ZodString;
|
|
39
40
|
}, "strip", zod.ZodTypeAny, {
|
|
40
41
|
usage: string;
|
|
41
42
|
additional?: string | undefined;
|
|
42
43
|
explainer?: string | undefined;
|
|
44
|
+
footnotes?: string | undefined;
|
|
43
45
|
}, {
|
|
44
46
|
usage: string;
|
|
45
47
|
additional?: string | undefined;
|
|
46
48
|
explainer?: string | undefined;
|
|
49
|
+
footnotes?: string | undefined;
|
|
47
50
|
}>;
|
|
48
51
|
}, "strip", zod.ZodTypeAny, {
|
|
49
52
|
readme: {
|
|
50
53
|
usage: string;
|
|
51
54
|
additional?: string | undefined;
|
|
52
55
|
explainer?: string | undefined;
|
|
56
|
+
footnotes?: string | undefined;
|
|
53
57
|
};
|
|
54
58
|
development?: string | undefined;
|
|
55
59
|
}, {
|
|
@@ -57,6 +61,7 @@ declare const presets: {
|
|
|
57
61
|
usage: string;
|
|
58
62
|
additional?: string | undefined;
|
|
59
63
|
explainer?: string | undefined;
|
|
64
|
+
footnotes?: string | undefined;
|
|
60
65
|
};
|
|
61
66
|
development?: string | undefined;
|
|
62
67
|
}>;
|
|
@@ -196,21 +201,25 @@ declare const presets: {
|
|
|
196
201
|
readme: zod.ZodObject<{
|
|
197
202
|
additional: zod.ZodOptional<zod.ZodString>;
|
|
198
203
|
explainer: zod.ZodOptional<zod.ZodString>;
|
|
204
|
+
footnotes: zod.ZodOptional<zod.ZodString>;
|
|
199
205
|
usage: zod.ZodString;
|
|
200
206
|
}, "strip", zod.ZodTypeAny, {
|
|
201
207
|
usage: string;
|
|
202
208
|
additional?: string | undefined;
|
|
203
209
|
explainer?: string | undefined;
|
|
210
|
+
footnotes?: string | undefined;
|
|
204
211
|
}, {
|
|
205
212
|
usage: string;
|
|
206
213
|
additional?: string | undefined;
|
|
207
214
|
explainer?: string | undefined;
|
|
215
|
+
footnotes?: string | undefined;
|
|
208
216
|
}>;
|
|
209
217
|
}, "strip", zod.ZodTypeAny, {
|
|
210
218
|
readme: {
|
|
211
219
|
usage: string;
|
|
212
220
|
additional?: string | undefined;
|
|
213
221
|
explainer?: string | undefined;
|
|
222
|
+
footnotes?: string | undefined;
|
|
214
223
|
};
|
|
215
224
|
development?: string | undefined;
|
|
216
225
|
}, {
|
|
@@ -218,6 +227,7 @@ declare const presets: {
|
|
|
218
227
|
usage: string;
|
|
219
228
|
additional?: string | undefined;
|
|
220
229
|
explainer?: string | undefined;
|
|
230
|
+
footnotes?: string | undefined;
|
|
221
231
|
};
|
|
222
232
|
development?: string | undefined;
|
|
223
233
|
}>;
|
|
@@ -357,21 +367,25 @@ declare const presets: {
|
|
|
357
367
|
readme: zod.ZodObject<{
|
|
358
368
|
additional: zod.ZodOptional<zod.ZodString>;
|
|
359
369
|
explainer: zod.ZodOptional<zod.ZodString>;
|
|
370
|
+
footnotes: zod.ZodOptional<zod.ZodString>;
|
|
360
371
|
usage: zod.ZodString;
|
|
361
372
|
}, "strip", zod.ZodTypeAny, {
|
|
362
373
|
usage: string;
|
|
363
374
|
additional?: string | undefined;
|
|
364
375
|
explainer?: string | undefined;
|
|
376
|
+
footnotes?: string | undefined;
|
|
365
377
|
}, {
|
|
366
378
|
usage: string;
|
|
367
379
|
additional?: string | undefined;
|
|
368
380
|
explainer?: string | undefined;
|
|
381
|
+
footnotes?: string | undefined;
|
|
369
382
|
}>;
|
|
370
383
|
}, "strip", zod.ZodTypeAny, {
|
|
371
384
|
readme: {
|
|
372
385
|
usage: string;
|
|
373
386
|
additional?: string | undefined;
|
|
374
387
|
explainer?: string | undefined;
|
|
388
|
+
footnotes?: string | undefined;
|
|
375
389
|
};
|
|
376
390
|
development?: string | undefined;
|
|
377
391
|
}, {
|
|
@@ -379,6 +393,7 @@ declare const presets: {
|
|
|
379
393
|
usage: string;
|
|
380
394
|
additional?: string | undefined;
|
|
381
395
|
explainer?: string | undefined;
|
|
396
|
+
footnotes?: string | undefined;
|
|
382
397
|
};
|
|
383
398
|
development?: string | undefined;
|
|
384
399
|
}>;
|
package/lib/presets/minimal.d.ts
CHANGED
|
@@ -31,21 +31,25 @@ declare const presetMinimal: bingo_stratum.Preset<{
|
|
|
31
31
|
readme: zod.ZodObject<{
|
|
32
32
|
additional: zod.ZodOptional<zod.ZodString>;
|
|
33
33
|
explainer: zod.ZodOptional<zod.ZodString>;
|
|
34
|
+
footnotes: zod.ZodOptional<zod.ZodString>;
|
|
34
35
|
usage: zod.ZodString;
|
|
35
36
|
}, "strip", zod.ZodTypeAny, {
|
|
36
37
|
usage: string;
|
|
37
38
|
additional?: string | undefined;
|
|
38
39
|
explainer?: string | undefined;
|
|
40
|
+
footnotes?: string | undefined;
|
|
39
41
|
}, {
|
|
40
42
|
usage: string;
|
|
41
43
|
additional?: string | undefined;
|
|
42
44
|
explainer?: string | undefined;
|
|
45
|
+
footnotes?: string | undefined;
|
|
43
46
|
}>;
|
|
44
47
|
}, "strip", zod.ZodTypeAny, {
|
|
45
48
|
readme: {
|
|
46
49
|
usage: string;
|
|
47
50
|
additional?: string | undefined;
|
|
48
51
|
explainer?: string | undefined;
|
|
52
|
+
footnotes?: string | undefined;
|
|
49
53
|
};
|
|
50
54
|
development?: string | undefined;
|
|
51
55
|
}, {
|
|
@@ -53,6 +57,7 @@ declare const presetMinimal: bingo_stratum.Preset<{
|
|
|
53
57
|
usage: string;
|
|
54
58
|
additional?: string | undefined;
|
|
55
59
|
explainer?: string | undefined;
|
|
60
|
+
footnotes?: string | undefined;
|
|
56
61
|
};
|
|
57
62
|
development?: string | undefined;
|
|
58
63
|
}>;
|
package/lib/schemas.d.ts
CHANGED
|
@@ -7,31 +7,34 @@ declare const zContributor: z.ZodObject<{
|
|
|
7
7
|
name: z.ZodString;
|
|
8
8
|
profile: z.ZodString;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
name: string;
|
|
10
11
|
avatar_url: string;
|
|
11
12
|
contributions: string[];
|
|
12
13
|
login: string;
|
|
13
|
-
name: string;
|
|
14
14
|
profile: string;
|
|
15
15
|
}, {
|
|
16
|
+
name: string;
|
|
16
17
|
avatar_url: string;
|
|
17
18
|
contributions: string[];
|
|
18
19
|
login: string;
|
|
19
|
-
name: string;
|
|
20
20
|
profile: string;
|
|
21
21
|
}>;
|
|
22
22
|
type Contributor = z.infer<typeof zContributor>;
|
|
23
23
|
declare const zReadme: z.ZodObject<{
|
|
24
24
|
additional: z.ZodOptional<z.ZodString>;
|
|
25
25
|
explainer: z.ZodOptional<z.ZodString>;
|
|
26
|
+
footnotes: z.ZodOptional<z.ZodString>;
|
|
26
27
|
usage: z.ZodString;
|
|
27
28
|
}, "strip", z.ZodTypeAny, {
|
|
28
29
|
usage: string;
|
|
29
30
|
additional?: string | undefined;
|
|
30
31
|
explainer?: string | undefined;
|
|
32
|
+
footnotes?: string | undefined;
|
|
31
33
|
}, {
|
|
32
34
|
usage: string;
|
|
33
35
|
additional?: string | undefined;
|
|
34
36
|
explainer?: string | undefined;
|
|
37
|
+
footnotes?: string | undefined;
|
|
35
38
|
}>;
|
|
36
39
|
type Readme = z.infer<typeof zReadme>;
|
|
37
40
|
declare const zDocumentation: z.ZodObject<{
|
|
@@ -39,21 +42,25 @@ declare const zDocumentation: z.ZodObject<{
|
|
|
39
42
|
readme: z.ZodObject<{
|
|
40
43
|
additional: z.ZodOptional<z.ZodString>;
|
|
41
44
|
explainer: z.ZodOptional<z.ZodString>;
|
|
45
|
+
footnotes: z.ZodOptional<z.ZodString>;
|
|
42
46
|
usage: z.ZodString;
|
|
43
47
|
}, "strip", z.ZodTypeAny, {
|
|
44
48
|
usage: string;
|
|
45
49
|
additional?: string | undefined;
|
|
46
50
|
explainer?: string | undefined;
|
|
51
|
+
footnotes?: string | undefined;
|
|
47
52
|
}, {
|
|
48
53
|
usage: string;
|
|
49
54
|
additional?: string | undefined;
|
|
50
55
|
explainer?: string | undefined;
|
|
56
|
+
footnotes?: string | undefined;
|
|
51
57
|
}>;
|
|
52
58
|
}, "strip", z.ZodTypeAny, {
|
|
53
59
|
readme: {
|
|
54
60
|
usage: string;
|
|
55
61
|
additional?: string | undefined;
|
|
56
62
|
explainer?: string | undefined;
|
|
63
|
+
footnotes?: string | undefined;
|
|
57
64
|
};
|
|
58
65
|
development?: string | undefined;
|
|
59
66
|
}, {
|
|
@@ -61,6 +68,7 @@ declare const zDocumentation: z.ZodObject<{
|
|
|
61
68
|
usage: string;
|
|
62
69
|
additional?: string | undefined;
|
|
63
70
|
explainer?: string | undefined;
|
|
71
|
+
footnotes?: string | undefined;
|
|
64
72
|
};
|
|
65
73
|
development?: string | undefined;
|
|
66
74
|
}>;
|
package/lib/schemas.js
CHANGED
package/lib/template.d.ts
CHANGED
|
@@ -31,21 +31,25 @@ declare const template: bingo_stratum_lib_types_templates_js.StratumTemplate<{
|
|
|
31
31
|
readme: zod.ZodObject<{
|
|
32
32
|
additional: zod.ZodOptional<zod.ZodString>;
|
|
33
33
|
explainer: zod.ZodOptional<zod.ZodString>;
|
|
34
|
+
footnotes: zod.ZodOptional<zod.ZodString>;
|
|
34
35
|
usage: zod.ZodString;
|
|
35
36
|
}, "strip", zod.ZodTypeAny, {
|
|
36
37
|
usage: string;
|
|
37
38
|
additional?: string | undefined;
|
|
38
39
|
explainer?: string | undefined;
|
|
40
|
+
footnotes?: string | undefined;
|
|
39
41
|
}, {
|
|
40
42
|
usage: string;
|
|
41
43
|
additional?: string | undefined;
|
|
42
44
|
explainer?: string | undefined;
|
|
45
|
+
footnotes?: string | undefined;
|
|
43
46
|
}>;
|
|
44
47
|
}, "strip", zod.ZodTypeAny, {
|
|
45
48
|
readme: {
|
|
46
49
|
usage: string;
|
|
47
50
|
additional?: string | undefined;
|
|
48
51
|
explainer?: string | undefined;
|
|
52
|
+
footnotes?: string | undefined;
|
|
49
53
|
};
|
|
50
54
|
development?: string | undefined;
|
|
51
55
|
}, {
|
|
@@ -53,6 +57,7 @@ declare const template: bingo_stratum_lib_types_templates_js.StratumTemplate<{
|
|
|
53
57
|
usage: string;
|
|
54
58
|
additional?: string | undefined;
|
|
55
59
|
explainer?: string | undefined;
|
|
60
|
+
footnotes?: string | undefined;
|
|
56
61
|
};
|
|
57
62
|
development?: string | undefined;
|
|
58
63
|
}>;
|
package/lib/template.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { base } from "./base.js";
|
|
2
2
|
import { blockAreTheTypesWrong } from "./blocks/blockAreTheTypesWrong.js";
|
|
3
3
|
import { blockCTATransitions } from "./blocks/blockCTATransitions.js";
|
|
4
|
+
import { blockESLintPlugin } from "./blocks/blockESLintPlugin.js";
|
|
4
5
|
import { blockNcc } from "./blocks/blockNcc.js";
|
|
5
6
|
import { blockRemoveDependencies } from "./blocks/blockRemoveDependencies.js";
|
|
6
7
|
import { blockRemoveFiles } from "./blocks/blockRemoveFiles.js";
|
|
@@ -18,6 +19,7 @@ const template = base.createStratumTemplate({
|
|
|
18
19
|
blocks: [
|
|
19
20
|
blockAreTheTypesWrong,
|
|
20
21
|
blockCTATransitions,
|
|
22
|
+
blockESLintPlugin,
|
|
21
23
|
blockNcc,
|
|
22
24
|
blockRemoveDependencies,
|
|
23
25
|
blockRemoveFiles
|