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 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 early stage, opinionated, and not endorsed by the TypeScript team.
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
- 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>',
61
- contributors: options.contributors ?? [],
62
- contributorsSortAlphabetically: true,
63
- projectName: options.repository,
64
- projectOwner: options.owner
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({
@@ -2,7 +2,7 @@ import * as bingo_stratum from 'bingo-stratum';
2
2
 
3
3
  declare const blockCSpell: bingo_stratum.BlockWithAddons<{
4
4
  words: string[];
5
- ignores: string[];
5
+ ignorePaths: string[];
6
6
  }, {
7
7
  access: "public" | "restricted";
8
8
  description: string;
@@ -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
- ignores: z.array(z.string()).default([]),
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 { ignores, words } = addons2;
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
- ".github",
79
- "CHANGELOG.md",
80
- "lib",
81
- "node_modules",
82
- "pnpm-lock.yaml",
83
- ...ignores
84
- ].sort(),
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;
@@ -25,7 +25,7 @@ const blockNcc = base.createBlock({
25
25
  return {
26
26
  addons: [
27
27
  blockCSpell({
28
- ignores: ["dist"]
28
+ ignorePaths: ["dist"]
29
29
  }),
30
30
  blockDevelopmentDocs({
31
31
  sections: {
@@ -7,8 +7,8 @@ declare const blockPrettier: bingo_stratum.BlockWithAddons<{
7
7
  };
8
8
  files: string;
9
9
  }[];
10
- ignores: string[];
11
10
  plugins: string[];
11
+ ignores: string[];
12
12
  runBefore: string[];
13
13
  }, {
14
14
  access: "public" | "restricted";
@@ -33,7 +33,7 @@ const blockPrettier = base.createBlock({
33
33
  return {
34
34
  addons: [
35
35
  blockCSpell({
36
- ignores: [".all-contributorsrc"]
36
+ ignorePaths: [".all-contributorsrc"]
37
37
  }),
38
38
  blockDevelopmentDocs({
39
39
  sections: {
@@ -67,7 +67,7 @@ const blockVitest = base.createBlock({
67
67
  return {
68
68
  addons: [
69
69
  blockCSpell({
70
- ignores: ["coverage"]
70
+ ignorePaths: ["coverage"]
71
71
  }),
72
72
  blockDevelopmentDocs({
73
73
  sections: {
@@ -14,7 +14,7 @@ const blockWebExt = base.createBlock({
14
14
  return {
15
15
  addons: [
16
16
  blockCSpell({
17
- ignores: ["assets"]
17
+ ignorePaths: ["assets"]
18
18
  }),
19
19
  blockDevelopmentDocs({
20
20
  sections: {
@@ -394,7 +394,7 @@ declare const blocks: {
394
394
  }>;
395
395
  blockCSpell: bingo_stratum.BlockWithAddons<{
396
396
  words: string[];
397
- ignores: string[];
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.1";
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.14",
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.2",
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.14",
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",