create-typescript-app 2.35.2 → 2.35.4
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/README.md +1 -1
- package/lib/blocks/blockAllContributors.js +11 -7
- package/lib/blocks/blockCSpell.d.ts +1 -1
- package/lib/blocks/blockCSpell.js +12 -10
- package/lib/blocks/blockESLint.d.ts +1 -1
- package/lib/blocks/blockNcc.js +1 -1
- package/lib/blocks/blockPrettier.d.ts +1 -1
- package/lib/blocks/blockPrettier.js +1 -1
- package/lib/blocks/blockVitest.js +1 -1
- package/lib/blocks/blockWebExt.js +1 -1
- package/lib/blocks/index.d.ts +3 -3
- package/lib/data/packageData.d.ts +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ You can read more about `create-typescript-app` and the tooling it supports:
|
|
|
52
52
|
3. [**FAQs**](./docs/FAQs.md): frequently asked questions and troubleshooting
|
|
53
53
|
|
|
54
54
|
> [!NOTE]
|
|
55
|
-
> This template is
|
|
55
|
+
> This template is opinionated and not endorsed by the TypeScript team.
|
|
56
56
|
> It can be configured to set up a _lot_ of tooling out of the box.
|
|
57
57
|
> If you don't want to use any particular tool, you can always remove it manually.
|
|
58
58
|
|
|
@@ -56,13 +56,17 @@ const blockAllContributors = base.createBlock({
|
|
|
56
56
|
})
|
|
57
57
|
],
|
|
58
58
|
files: {
|
|
59
|
-
".all-contributorsrc": JSON.stringify(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
59
|
+
".all-contributorsrc": JSON.stringify(
|
|
60
|
+
{
|
|
61
|
+
badgeTemplate: ' <a href="#contributors" target="_blank"><img alt="\u{1F46A} All Contributors: <%= contributors.length %>" src="https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-<%= contributors.length %>-21bb42.svg" /></a>',
|
|
62
|
+
contributors: options.contributors ?? [],
|
|
63
|
+
contributorsSortAlphabetically: true,
|
|
64
|
+
projectName: options.repository,
|
|
65
|
+
projectOwner: options.owner
|
|
66
|
+
},
|
|
67
|
+
null,
|
|
68
|
+
2
|
|
69
|
+
),
|
|
66
70
|
".github": {
|
|
67
71
|
workflows: {
|
|
68
72
|
"contributors.yml": createSoloWorkflowFile({
|
|
@@ -13,7 +13,7 @@ import { intakeFile } from "./intake/intakeFile.js";
|
|
|
13
13
|
import { CommandPhase } from "./phases.js";
|
|
14
14
|
const filesGlob = `"**" ".github/**/*"`;
|
|
15
15
|
const addons = {
|
|
16
|
-
|
|
16
|
+
ignorePaths: z.array(z.string()).default([]),
|
|
17
17
|
words: z.array(z.string()).default([])
|
|
18
18
|
};
|
|
19
19
|
const zAddons = z.object(addons);
|
|
@@ -34,7 +34,7 @@ const blockCSpell = base.createBlock({
|
|
|
34
34
|
return data;
|
|
35
35
|
},
|
|
36
36
|
produce({ addons: addons2, options }) {
|
|
37
|
-
const {
|
|
37
|
+
const { ignorePaths, words } = addons2;
|
|
38
38
|
const allWords = Array.from(
|
|
39
39
|
/* @__PURE__ */ new Set([...options.words ?? [], ...words])
|
|
40
40
|
).sort();
|
|
@@ -74,14 +74,16 @@ const blockCSpell = base.createBlock({
|
|
|
74
74
|
files: {
|
|
75
75
|
"cspell.json": JSON.stringify({
|
|
76
76
|
dictionaries: ["npm", "node", "typescript"],
|
|
77
|
-
ignorePaths:
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
77
|
+
ignorePaths: Array.from(
|
|
78
|
+
/* @__PURE__ */ new Set([
|
|
79
|
+
".github",
|
|
80
|
+
"CHANGELOG.md",
|
|
81
|
+
"lib",
|
|
82
|
+
"node_modules",
|
|
83
|
+
"pnpm-lock.yaml",
|
|
84
|
+
...ignorePaths
|
|
85
|
+
])
|
|
86
|
+
).sort(),
|
|
85
87
|
...allWords.length && { words: allWords }
|
|
86
88
|
})
|
|
87
89
|
}
|
|
@@ -21,8 +21,8 @@ declare const blockESLint: bingo_stratum.BlockWithAddons<{
|
|
|
21
21
|
linterOptions?: unknown;
|
|
22
22
|
plugins?: Record<string, string> | undefined;
|
|
23
23
|
})[];
|
|
24
|
-
ignores: string[];
|
|
25
24
|
explanations: string[];
|
|
25
|
+
ignores: string[];
|
|
26
26
|
rules?: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]> | {
|
|
27
27
|
entries: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
|
|
28
28
|
comment?: string | undefined;
|
package/lib/blocks/blockNcc.js
CHANGED
package/lib/blocks/index.d.ts
CHANGED
|
@@ -394,7 +394,7 @@ declare const blocks: {
|
|
|
394
394
|
}>;
|
|
395
395
|
blockCSpell: bingo_stratum.BlockWithAddons<{
|
|
396
396
|
words: string[];
|
|
397
|
-
|
|
397
|
+
ignorePaths: string[];
|
|
398
398
|
}, {
|
|
399
399
|
access: "public" | "restricted";
|
|
400
400
|
description: string;
|
|
@@ -566,8 +566,8 @@ declare const blocks: {
|
|
|
566
566
|
linterOptions?: unknown;
|
|
567
567
|
plugins?: Record<string, string> | undefined;
|
|
568
568
|
})[];
|
|
569
|
-
ignores: string[];
|
|
570
569
|
explanations: string[];
|
|
570
|
+
ignores: string[];
|
|
571
571
|
rules?: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]> | {
|
|
572
572
|
entries: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
|
|
573
573
|
comment?: string | undefined;
|
|
@@ -2454,8 +2454,8 @@ declare const blocks: {
|
|
|
2454
2454
|
};
|
|
2455
2455
|
files: string;
|
|
2456
2456
|
}[];
|
|
2457
|
-
ignores: string[];
|
|
2458
2457
|
plugins: string[];
|
|
2458
|
+
ignores: string[];
|
|
2459
2459
|
runBefore: string[];
|
|
2460
2460
|
}, {
|
|
2461
2461
|
access: "public" | "restricted";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "create-typescript-app";
|
|
2
|
-
var version = "2.35.
|
|
2
|
+
var version = "2.35.3";
|
|
3
3
|
var description = "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁";
|
|
4
4
|
var repository = {
|
|
5
5
|
type: "git",
|
|
@@ -34,7 +34,7 @@ var scripts = {
|
|
|
34
34
|
};
|
|
35
35
|
var dependencies = {
|
|
36
36
|
"@typescript-eslint/typescript-estree": "^8.29.1",
|
|
37
|
-
bingo: "^0.5.
|
|
37
|
+
bingo: "^0.5.15",
|
|
38
38
|
"bingo-fs": "^0.5.5",
|
|
39
39
|
"bingo-stratum": "^0.5.11",
|
|
40
40
|
"cached-factory": "^0.1.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-typescript-app",
|
|
3
|
-
"version": "2.35.
|
|
3
|
+
"version": "2.35.4",
|
|
4
4
|
"description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@typescript-eslint/typescript-estree": "^8.29.1",
|
|
41
|
-
"bingo": "^0.5.
|
|
41
|
+
"bingo": "^0.5.15",
|
|
42
42
|
"bingo-fs": "^0.5.5",
|
|
43
43
|
"bingo-stratum": "^0.5.11",
|
|
44
44
|
"cached-factory": "^0.1.0",
|