create-typescript-app 2.35.2 → 2.35.3

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.
@@ -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.2";
3
3
  var description = "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁";
4
4
  var repository = {
5
5
  type: "git",
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.3",
4
4
  "description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
5
5
  "repository": {
6
6
  "type": "git",