@kitschpatrol/create-project 1.3.0 → 1.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitschpatrol/create-project",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Kitschpatrol's TypeScript project templates.",
5
5
  "keywords": [
6
6
  "cli",
@@ -35,14 +35,14 @@
35
35
  "zod": "^3.25.76"
36
36
  },
37
37
  "devDependencies": {
38
- "@kitschpatrol/shared-config": "^7.2.0",
38
+ "@kitschpatrol/shared-config": "^7.3.0",
39
39
  "@types/node": "~20.19.39",
40
40
  "bumpp": "^11.0.1",
41
41
  "mdat": "^2.2.1",
42
42
  "shx": "^0.4.0",
43
43
  "taze": "^19.11.0",
44
44
  "tsdown": "^0.21.7",
45
- "typescript": "~5.9.3",
45
+ "typescript": "~6.0.2",
46
46
  "vitest": "^4.1.4"
47
47
  },
48
48
  "engines": {
@@ -61,7 +61,7 @@
61
61
  "build": "tsdown",
62
62
  "clean": "shx rm -f pnpm-lock.yaml && git clean -fdX -e !.claude/",
63
63
  "fix": "ksc fix --skip mdat && mdat readme.md",
64
- "lint": "ksc fix --skip mdat",
64
+ "lint": "ksc lint --skip mdat && mdat check readme.md",
65
65
  "release": "bumpp --commit 'Release: %s' && pnpm build && NPM_AUTH_TOKEN=$(op read 'op://Personal/npm/token') && pnpm publish",
66
66
  "test": "vitest run",
67
67
  "update-templates": "for dir in ./templates/*; do taze -w --cwd \"$dir\"; done",
@@ -2,12 +2,13 @@
2
2
  # Also used by CSpell, Stylelint, and ESLint
3
3
 
4
4
  # @kitschpatrol/repo-config boilerplate
5
+ !.env.example
5
6
  .astro/
6
7
  .DS_Store
7
8
  .env
8
9
  .env.*
9
- !.env.example
10
10
  .eslint-config-inspector
11
+ .pnpm-store/
11
12
  .svelte-kit/
12
13
  {tmp,temp}/
13
14
  **/*.min.js
@@ -20,3 +21,4 @@ node_modules/
20
21
  vendor/
21
22
 
22
23
  # Customizations
24
+ .claude/
@@ -43,13 +43,13 @@
43
43
  "yargs": "^18.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@kitschpatrol/shared-config": "^7.2.0",
46
+ "@kitschpatrol/shared-config": "^7.3.0",
47
47
  "bumpp": "^11.0.1",
48
48
  "mdat-plugin-cli-help": "^2.1.2",
49
49
  "publint": "^0.3.18",
50
50
  "shx": "^0.4.0",
51
51
  "tsdown": "^0.21.7",
52
- "typescript": "~5.9.3",
52
+ "typescript": "~6.0.2",
53
53
  "vitest": "^4.1.4"
54
54
  },
55
55
  "packageManager": "pnpm@10.33.0",
@@ -1,5 +1,8 @@
1
1
  {
2
2
  "extends": "@kitschpatrol/typescript-config",
3
+ "compilerOptions": {
4
+ "types": ["node"]
5
+ },
3
6
 
4
7
  // Includes project dot-files files for typescript-eslint integration
5
8
  "include": ["**/*", "**/**.*"],
@@ -2,12 +2,13 @@
2
2
  # Also used by CSpell, Stylelint, and ESLint
3
3
 
4
4
  # @kitschpatrol/repo-config boilerplate
5
+ !.env.example
5
6
  .astro/
6
7
  .DS_Store
7
8
  .env
8
9
  .env.*
9
- !.env.example
10
10
  .eslint-config-inspector
11
+ .pnpm-store/
11
12
  .svelte-kit/
12
13
  {tmp,temp}/
13
14
  **/*.min.js
@@ -20,3 +21,4 @@ node_modules/
20
21
  vendor/
21
22
 
22
23
  # Customizations
24
+ .claude/
@@ -53,13 +53,13 @@
53
53
  },
54
54
  "devDependencies": {
55
55
  "@arethetypeswrong/core": "^0.18.2",
56
- "@kitschpatrol/shared-config": "^7.2.0",
56
+ "@kitschpatrol/shared-config": "^7.3.0",
57
57
  "bumpp": "^11.0.1",
58
58
  "mdat-plugin-cli-help": "^2.1.2",
59
59
  "publint": "^0.3.18",
60
60
  "shx": "^0.4.0",
61
61
  "tsdown": "^0.21.7",
62
- "typescript": "~5.9.3",
62
+ "typescript": "~6.0.2",
63
63
  "vitest": "^4.1.4"
64
64
  },
65
65
  "packageManager": "pnpm@10.33.0",
@@ -8,10 +8,12 @@ import { name } from '../../package.json' with { type: 'json' }
8
8
  export let log = createLogger(name)
9
9
 
10
10
  /**
11
- * Set the logger instance for the module.
12
- * Export this for library consumers to inject their own logger.
13
- * @param logger - Accepts either a LogLayer instance or a Console- or Stream-like log target
11
+ * Set the logger instance for the module. Export this for library consumers to
12
+ * inject their own logger.
13
+ *
14
+ * @param logger - Accepts either a LogLayer instance or a Console- or
15
+ * Stream-like log target
14
16
  */
15
- export function setLogger(logger?: ILogBasic | ILogLayer) {
17
+ export function setLogger(logger?: ILogBasic | ILogLayer<unknown>) {
16
18
  log = injectionHelper(logger)
17
19
  }
@@ -1,5 +1,8 @@
1
1
  {
2
2
  "extends": "@kitschpatrol/typescript-config",
3
+ "compilerOptions": {
4
+ "types": ["node"]
5
+ },
3
6
 
4
7
  // Includes project dot-files files for typescript-eslint integration
5
8
  "include": ["**/*", "**/**.*"],
@@ -2,12 +2,13 @@
2
2
  # Also used by CSpell, Stylelint, and ESLint
3
3
 
4
4
  # @kitschpatrol/repo-config boilerplate
5
+ !.env.example
5
6
  .astro/
6
7
  .DS_Store
7
8
  .env
8
9
  .env.*
9
- !.env.example
10
10
  .eslint-config-inspector
11
+ .pnpm-store/
11
12
  .svelte-kit/
12
13
  {tmp,temp}/
13
14
  **/*.min.js
@@ -20,5 +21,6 @@ node_modules/
20
21
  vendor/
21
22
 
22
23
  # Customizations
24
+ .claude/
23
25
  dist-electron/
24
26
  release/
@@ -37,7 +37,7 @@
37
37
  "lognow": "^0.6.1"
38
38
  },
39
39
  "devDependencies": {
40
- "@kitschpatrol/shared-config": "^7.2.0",
40
+ "@kitschpatrol/shared-config": "^7.3.0",
41
41
  "bumpp": "^11.0.1",
42
42
  "electron": "^41.2.0",
43
43
  "electron-builder": "^26.8.1",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "extends": "@kitschpatrol/typescript-config",
3
3
  "compilerOptions": {
4
- "types": ["vite/client", "vite-plugin-electron/electron-env.d.ts"]
4
+ "types": ["node", "vite/client", "vite-plugin-electron/electron-env.d.ts"]
5
5
  },
6
6
  // Includes project dot-files files for typescript-eslint integration
7
7
  "include": ["**/*", "**/**.*"],
@@ -2,12 +2,13 @@
2
2
  # Also used by CSpell, Stylelint, and ESLint
3
3
 
4
4
  # @kitschpatrol/repo-config boilerplate
5
+ !.env.example
5
6
  .astro/
6
7
  .DS_Store
7
8
  .env
8
9
  .env.*
9
- !.env.example
10
10
  .eslint-config-inspector
11
+ .pnpm-store/
11
12
  .svelte-kit/
12
13
  {tmp,temp}/
13
14
  **/*.min.js
@@ -20,3 +21,4 @@ node_modules/
20
21
  vendor/
21
22
 
22
23
  # Customizations
24
+ .claude/
@@ -46,12 +46,12 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@arethetypeswrong/core": "^0.18.2",
49
- "@kitschpatrol/shared-config": "^7.2.0",
49
+ "@kitschpatrol/shared-config": "^7.3.0",
50
50
  "bumpp": "^11.0.1",
51
51
  "publint": "^0.3.18",
52
52
  "shx": "^0.4.0",
53
53
  "tsdown": "^0.21.7",
54
- "typescript": "~5.9.3",
54
+ "typescript": "~6.0.2",
55
55
  "vitest": "^4.1.4"
56
56
  },
57
57
  "packageManager": "pnpm@10.33.0",
@@ -8,10 +8,12 @@ import { name } from '../package.json' with { type: 'json' }
8
8
  export let log = createLogger(name)
9
9
 
10
10
  /**
11
- * Set the logger instance for the module.
12
- * Export this for library consumers to inject their own logger.
13
- * @param logger - Accepts either a LogLayer instance or a Console- or Stream-like log target
11
+ * Set the logger instance for the module. Export this for library consumers to
12
+ * inject their own logger.
13
+ *
14
+ * @param logger - Accepts either a LogLayer instance or a Console- or
15
+ * Stream-like log target
14
16
  */
15
- export function setLogger(logger?: ILogBasic | ILogLayer) {
17
+ export function setLogger(logger?: ILogBasic | ILogLayer<unknown>) {
16
18
  log = injectionHelper(logger)
17
19
  }
@@ -1,5 +1,8 @@
1
1
  {
2
2
  "extends": "@kitschpatrol/typescript-config",
3
+ "compilerOptions": {
4
+ "types": ["node"]
5
+ },
3
6
 
4
7
  // Includes project dot-files files for typescript-eslint integration
5
8
  "include": ["**/*", "**/**.*"],
@@ -2,12 +2,13 @@
2
2
  # Also used by CSpell, Stylelint, and ESLint
3
3
 
4
4
  # @kitschpatrol/repo-config boilerplate
5
+ !.env.example
5
6
  .astro/
6
7
  .DS_Store
7
8
  .env
8
9
  .env.*
9
- !.env.example
10
10
  .eslint-config-inspector
11
+ .pnpm-store/
11
12
  .svelte-kit/
12
13
  {tmp,temp}/
13
14
  **/*.min.js
@@ -20,3 +21,4 @@ node_modules/
20
21
  vendor/
21
22
 
22
23
  # Customizations
24
+ .claude/
@@ -33,11 +33,11 @@
33
33
  "@types/node": "~20.19.39"
34
34
  },
35
35
  "devDependencies": {
36
- "@kitschpatrol/shared-config": "^7.2.0",
36
+ "@kitschpatrol/shared-config": "^7.3.0",
37
37
  "bumpp": "^11.0.1",
38
38
  "shx": "^0.4.0",
39
39
  "tsx": "^4.21.0",
40
- "typescript": "~5.9.3"
40
+ "typescript": "~6.0.2"
41
41
  },
42
42
  "packageManager": "pnpm@10.33.0",
43
43
  "engines": {
@@ -2,12 +2,13 @@
2
2
  # Also used by CSpell, Stylelint, and ESLint
3
3
 
4
4
  # @kitschpatrol/repo-config boilerplate
5
+ !.env.example
5
6
  .astro/
6
7
  .DS_Store
7
8
  .env
8
9
  .env.*
9
- !.env.example
10
10
  .eslint-config-inspector
11
+ .pnpm-store/
11
12
  .svelte-kit/
12
13
  {tmp,temp}/
13
14
  **/*.min.js
@@ -20,3 +21,4 @@ node_modules/
20
21
  vendor/
21
22
 
22
23
  # Customizations
24
+ .claude/
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@farmfe/core": ">=1.7.11",
77
- "@kitschpatrol/shared-config": "^7.2.0",
77
+ "@kitschpatrol/shared-config": "^7.3.0",
78
78
  "@sxzz/test-utils": "^0.5.16",
79
79
  "@vitest/browser-playwright": "^4.1.4",
80
80
  "bumpp": "^11.0.1",
@@ -86,7 +86,7 @@
86
86
  "typescript": "~5.9.3",
87
87
  "vite": "^7.3.2",
88
88
  "vitest": "^4.1.4",
89
- "webpack": "^5.106.0"
89
+ "webpack": "^5.106.1"
90
90
  },
91
91
  "peerDependencies": {
92
92
  "@farmfe/core": ">=1",
@@ -11,6 +11,6 @@
11
11
  "nodemon": "^3.1.14",
12
12
  "vite": "^7.3.1",
13
13
  "vite-plugin-inspect": "^11.3.3",
14
- "vite-plugin-mkcert": "^1.17.12"
14
+ "vite-plugin-mkcert": "~1.17.12"
15
15
  }
16
16
  }
@@ -2,12 +2,13 @@
2
2
  # Also used by CSpell, Stylelint, and ESLint
3
3
 
4
4
  # @kitschpatrol/repo-config boilerplate
5
+ !.env.example
5
6
  .astro/
6
7
  .DS_Store
7
8
  .env
8
9
  .env.*
9
- !.env.example
10
10
  .eslint-config-inspector
11
+ .pnpm-store/
11
12
  .svelte-kit/
12
13
  {tmp,temp}/
13
14
  **/*.min.js
@@ -20,3 +21,4 @@ node_modules/
20
21
  vendor/
21
22
 
22
23
  # Customizations
24
+ .claude/
@@ -36,13 +36,13 @@
36
36
  "@types/node": "~20.19.39"
37
37
  },
38
38
  "devDependencies": {
39
- "@kitschpatrol/shared-config": "^7.2.0",
39
+ "@kitschpatrol/shared-config": "^7.3.0",
40
40
  "bumpp": "^11.0.1",
41
41
  "poptab": "^1.1.0",
42
42
  "shx": "^0.4.0",
43
- "typescript": "~5.9.3",
44
- "vite": "^7.3.2",
45
- "vite-plugin-mkcert": "^1.17.12",
43
+ "typescript": "~6.0.2",
44
+ "vite": "^8.0.8",
45
+ "vite-plugin-mkcert": "~1.17.12",
46
46
  "vitest": "^4.1.4"
47
47
  },
48
48
  "packageManager": "pnpm@10.33.0",
@@ -2,9 +2,6 @@ onlyBuiltDependencies:
2
2
  - esbuild
3
3
  - unrs-resolver
4
4
 
5
- overrides:
6
- 'vite': 'npm:rolldown-vite@7.3.0'
7
-
8
5
  publicHoistPattern:
9
6
  - '@kitschpatrol/repo-config'
10
7
  - '@kitschpatrol/typescript-config'