create-typescript-app 2.7.1 → 2.7.2

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 CHANGED
@@ -9,16 +9,16 @@ declare const zContributor: z.ZodObject<{
9
9
  name: z.ZodString;
10
10
  profile: z.ZodString;
11
11
  }, "strip", z.ZodTypeAny, {
12
- name: string;
13
12
  avatar_url: string;
14
13
  contributions: string[];
15
14
  login: string;
15
+ name: string;
16
16
  profile: string;
17
17
  }, {
18
- name: string;
19
18
  avatar_url: string;
20
19
  contributions: string[];
21
20
  login: string;
21
+ name: string;
22
22
  profile: string;
23
23
  }>;
24
24
  type Contributor = z.infer<typeof zContributor>;
@@ -33,16 +33,16 @@ declare const base: bingo_stratum.Base<{
33
33
  name: z.ZodString;
34
34
  profile: z.ZodString;
35
35
  }, "strip", z.ZodTypeAny, {
36
- name: string;
37
36
  avatar_url: string;
38
37
  contributions: string[];
39
38
  login: string;
39
+ name: string;
40
40
  profile: string;
41
41
  }, {
42
- name: string;
43
42
  avatar_url: string;
44
43
  contributions: string[];
45
44
  login: string;
45
+ name: string;
46
46
  profile: string;
47
47
  }>, "many">>;
48
48
  description: z.ZodDefault<z.ZodString>;
@@ -84,11 +84,11 @@ declare const base: bingo_stratum.Base<{
84
84
  href: z.ZodString;
85
85
  title: z.ZodString;
86
86
  }, "strip", z.ZodTypeAny, {
87
- title: string;
88
87
  href: string;
89
- }, {
90
88
  title: string;
89
+ }, {
91
90
  href: string;
91
+ title: string;
92
92
  }>>;
93
93
  keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
94
94
  logo: z.ZodOptional<z.ZodObject<{
@@ -8,10 +8,10 @@ const blockESLintPackageJson = base.createBlock({
8
8
  return {
9
9
  addons: [
10
10
  blockESLint({
11
- extensions: ["packageJson"],
11
+ extensions: ["packageJson.configs.recommended"],
12
12
  imports: [
13
13
  {
14
- source: "eslint-plugin-package-json/configs/recommended",
14
+ source: "eslint-plugin-package-json",
15
15
  specifier: "packageJson"
16
16
  }
17
17
  ]
@@ -1,5 +1,5 @@
1
1
  var name = "create-typescript-app";
2
- var version = "2.7.0";
2
+ var version = "2.7.1";
3
3
  var description = "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁";
4
4
  var repository = {
5
5
  type: "git",
@@ -63,7 +63,7 @@ var dependencies = {
63
63
  };
64
64
  var devDependencies = {
65
65
  "@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
66
- "@eslint/js": "9.21.0",
66
+ "@eslint/js": "9.22.0",
67
67
  "@prettier/sync": "^0.5.2",
68
68
  "@release-it/conventional-changelog": "10.0.0",
69
69
  "@types/eslint-plugin-markdown": "2.0.2",
@@ -71,9 +71,9 @@ var devDependencies = {
71
71
  "@types/html-to-text": "9.0.4",
72
72
  "@types/js-yaml": "4.0.9",
73
73
  "@types/lodash": "4.17.16",
74
- "@types/node": "22.13.9",
74
+ "@types/node": "22.13.10",
75
75
  "@types/parse-author": "2.0.3",
76
- "@vitest/coverage-v8": "3.0.7",
76
+ "@vitest/coverage-v8": "3.0.9",
77
77
  "@vitest/eslint-plugin": "1.1.38",
78
78
  "all-contributors-cli": "6.26.1",
79
79
  "bingo-requests": "^0.5.4",
@@ -81,18 +81,18 @@ var devDependencies = {
81
81
  "bingo-testers": "^0.5.6",
82
82
  "console-fail-test": "0.5.0",
83
83
  cspell: "8.17.5",
84
- eslint: "9.21.0",
85
- "eslint-plugin-jsdoc": "50.6.3",
84
+ eslint: "9.22.0",
85
+ "eslint-plugin-jsdoc": "50.6.8",
86
86
  "eslint-plugin-jsonc": "2.19.1",
87
87
  "eslint-plugin-markdown": "5.1.0",
88
88
  "eslint-plugin-n": "17.16.2",
89
- "eslint-plugin-package-json": "0.26.2",
90
- "eslint-plugin-perfectionist": "4.10.0",
89
+ "eslint-plugin-package-json": "0.29.0",
90
+ "eslint-plugin-perfectionist": "4.10.1",
91
91
  "eslint-plugin-regexp": "2.7.0",
92
92
  "eslint-plugin-yml": "1.17.0",
93
93
  husky: "9.1.7",
94
- knip: "5.45.0",
95
- "lint-staged": "15.4.3",
94
+ knip: "5.46.0",
95
+ "lint-staged": "15.5.0",
96
96
  lodash: "^4.17.21",
97
97
  markdownlint: "0.37.4",
98
98
  "markdownlint-cli": "0.44.0",
@@ -104,10 +104,10 @@ var devDependencies = {
104
104
  "sentences-per-line": "0.3.0",
105
105
  tsup: "8.4.0",
106
106
  typescript: "5.8.2",
107
- "typescript-eslint": "8.26.0",
108
- vitest: "3.0.7"
107
+ "typescript-eslint": "8.26.1",
108
+ vitest: "3.0.9"
109
109
  };
110
- var packageManager = "pnpm@10.6.0";
110
+ var packageManager = "pnpm@10.6.4";
111
111
  var engines = {
112
112
  node: ">=18.3.0"
113
113
  };
@@ -1,8 +1,11 @@
1
1
  import { inputFromFileJSON } from "input-from-file-json";
2
+ import { swallowError } from "../utils/swallowError.js";
2
3
  async function readPackageDataFull(take) {
3
- return await take(inputFromFileJSON, {
4
- filePath: "./package.json"
5
- }) ?? {};
4
+ return swallowError(
5
+ await take(inputFromFileJSON, {
6
+ filePath: "./package.json"
7
+ })
8
+ ) || {};
6
9
  }
7
10
  export {
8
11
  readPackageDataFull
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-typescript-app",
3
- "version": "2.7.1",
3
+ "version": "2.7.2",
4
4
  "description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
5
5
  "repository": {
6
6
  "type": "git",
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "devDependencies": {
69
69
  "@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
70
- "@eslint/js": "9.21.0",
70
+ "@eslint/js": "9.22.0",
71
71
  "@prettier/sync": "^0.5.2",
72
72
  "@release-it/conventional-changelog": "10.0.0",
73
73
  "@types/eslint-plugin-markdown": "2.0.2",
@@ -75,9 +75,9 @@
75
75
  "@types/html-to-text": "9.0.4",
76
76
  "@types/js-yaml": "4.0.9",
77
77
  "@types/lodash": "4.17.16",
78
- "@types/node": "22.13.9",
78
+ "@types/node": "22.13.10",
79
79
  "@types/parse-author": "2.0.3",
80
- "@vitest/coverage-v8": "3.0.7",
80
+ "@vitest/coverage-v8": "3.0.9",
81
81
  "@vitest/eslint-plugin": "1.1.38",
82
82
  "all-contributors-cli": "6.26.1",
83
83
  "bingo-requests": "^0.5.4",
@@ -85,18 +85,18 @@
85
85
  "bingo-testers": "^0.5.6",
86
86
  "console-fail-test": "0.5.0",
87
87
  "cspell": "8.17.5",
88
- "eslint": "9.21.0",
89
- "eslint-plugin-jsdoc": "50.6.3",
88
+ "eslint": "9.22.0",
89
+ "eslint-plugin-jsdoc": "50.6.8",
90
90
  "eslint-plugin-jsonc": "2.19.1",
91
91
  "eslint-plugin-markdown": "5.1.0",
92
92
  "eslint-plugin-n": "17.16.2",
93
- "eslint-plugin-package-json": "0.26.2",
94
- "eslint-plugin-perfectionist": "4.10.0",
93
+ "eslint-plugin-package-json": "0.29.0",
94
+ "eslint-plugin-perfectionist": "4.10.1",
95
95
  "eslint-plugin-regexp": "2.7.0",
96
96
  "eslint-plugin-yml": "1.17.0",
97
97
  "husky": "9.1.7",
98
- "knip": "5.45.0",
99
- "lint-staged": "15.4.3",
98
+ "knip": "5.46.0",
99
+ "lint-staged": "15.5.0",
100
100
  "lodash": "^4.17.21",
101
101
  "markdownlint": "0.37.4",
102
102
  "markdownlint-cli": "0.44.0",
@@ -108,10 +108,10 @@
108
108
  "sentences-per-line": "0.3.0",
109
109
  "tsup": "8.4.0",
110
110
  "typescript": "5.8.2",
111
- "typescript-eslint": "8.26.0",
112
- "vitest": "3.0.7"
111
+ "typescript-eslint": "8.26.1",
112
+ "vitest": "3.0.9"
113
113
  },
114
- "packageManager": "pnpm@10.6.0",
114
+ "packageManager": "pnpm@10.6.4",
115
115
  "engines": {
116
116
  "node": ">=18.3.0"
117
117
  },