@kitschpatrol/create-project 1.2.9 → 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.
Files changed (101) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +15 -14
  3. package/readme.md +1 -2
  4. package/templates/cli/.gitattributes +2 -0
  5. package/templates/cli/.github/workflows/ci.yml +51 -0
  6. package/templates/cli/.github/workflows/github-release.yml +18 -6
  7. package/templates/cli/.github/workflows/set-github-metadata.yml +5 -2
  8. package/templates/cli/.gitignore +3 -1
  9. package/templates/cli/.prettierignore +1 -0
  10. package/templates/cli/.vscode/settings.json +1 -1
  11. package/templates/cli/mdat.config.ts +1 -3
  12. package/templates/cli/package.json +13 -10
  13. package/templates/cli/readme.md +0 -2
  14. package/templates/cli/test/cli.test.ts +2 -1
  15. package/templates/cli/test/index.bench.ts +7 -0
  16. package/templates/cli/tsconfig.json +3 -0
  17. package/templates/cli+library/.gitattributes +2 -0
  18. package/templates/cli+library/.github/workflows/ci.yml +51 -0
  19. package/templates/cli+library/.github/workflows/github-release.yml +18 -6
  20. package/templates/cli+library/.github/workflows/set-github-metadata.yml +5 -2
  21. package/templates/cli+library/.gitignore +3 -1
  22. package/templates/cli+library/.prettierignore +1 -0
  23. package/templates/cli+library/.vscode/settings.json +1 -1
  24. package/templates/cli+library/mdat.config.ts +1 -3
  25. package/templates/cli+library/package.json +13 -10
  26. package/templates/cli+library/readme.md +0 -2
  27. package/templates/cli+library/src/lib/log.ts +6 -4
  28. package/templates/cli+library/test/cli.test.ts +3 -1
  29. package/templates/cli+library/test/index.bench.ts +7 -0
  30. package/templates/cli+library/tsconfig.json +3 -0
  31. package/templates/electron/.gitattributes +2 -0
  32. package/templates/electron/.github/workflows/ci.yml +51 -0
  33. package/templates/electron/.github/workflows/github-release.yml +18 -6
  34. package/templates/electron/.github/workflows/set-github-metadata.yml +5 -2
  35. package/templates/electron/.gitignore +3 -1
  36. package/templates/electron/.prettierignore +1 -0
  37. package/templates/electron/.vscode/settings.json +1 -1
  38. package/templates/electron/knip.config.ts +1 -0
  39. package/templates/electron/package.json +12 -9
  40. package/templates/electron/readme.md +0 -2
  41. package/templates/electron/test/index.bench.ts +7 -0
  42. package/templates/electron/tsconfig.json +1 -1
  43. package/templates/library/.gitattributes +2 -0
  44. package/templates/library/.github/workflows/ci.yml +51 -0
  45. package/templates/library/.github/workflows/github-release.yml +18 -6
  46. package/templates/library/.github/workflows/set-github-metadata.yml +5 -2
  47. package/templates/library/.gitignore +3 -1
  48. package/templates/library/.prettierignore +1 -0
  49. package/templates/library/.vscode/settings.json +1 -1
  50. package/templates/library/package.json +12 -9
  51. package/templates/library/readme.md +0 -2
  52. package/templates/library/src/log.ts +6 -4
  53. package/templates/library/test/index.bench.ts +7 -0
  54. package/templates/library/tsconfig.json +3 -0
  55. package/templates/minimal/.gitattributes +2 -0
  56. package/templates/minimal/.github/workflows/ci.yml +51 -0
  57. package/templates/minimal/.github/workflows/github-release.yml +18 -6
  58. package/templates/minimal/.github/workflows/set-github-metadata.yml +5 -2
  59. package/templates/minimal/.gitignore +3 -1
  60. package/templates/minimal/.vscode/settings.json +1 -1
  61. package/templates/minimal/package.json +12 -5
  62. package/templates/minimal/readme.md +0 -2
  63. package/templates/unplugin/.gitattributes +2 -0
  64. package/templates/unplugin/.github/workflows/ci.yml +51 -0
  65. package/templates/unplugin/.github/workflows/github-release.yml +18 -6
  66. package/templates/unplugin/.github/workflows/set-github-metadata.yml +5 -2
  67. package/templates/unplugin/.gitignore +3 -1
  68. package/templates/unplugin/.prettierignore +1 -0
  69. package/templates/unplugin/.vscode/settings.json +1 -1
  70. package/templates/unplugin/eslint.config.ts +24 -7
  71. package/templates/unplugin/knip.config.ts +13 -1
  72. package/templates/unplugin/package.json +49 -8
  73. package/templates/unplugin/playground/env.d.ts +4 -0
  74. package/templates/unplugin/playground/index.html +23 -0
  75. package/templates/unplugin/playground/main.ts +1 -0
  76. package/templates/unplugin/playground/package.json +16 -0
  77. package/templates/unplugin/playground/readme.md +11 -0
  78. package/templates/unplugin/playground/vite.config.ts +16 -0
  79. package/templates/unplugin/pnpm-workspace.yaml +5 -1
  80. package/templates/unplugin/readme.md +0 -2
  81. package/templates/unplugin/src/core/options.ts +5 -3
  82. package/templates/unplugin/src/index.ts +1 -1
  83. package/templates/unplugin/test/index.bench.ts +7 -0
  84. package/templates/web/.gitattributes +2 -0
  85. package/templates/web/.github/workflows/ci.yml +51 -0
  86. package/templates/web/.github/workflows/github-release.yml +18 -6
  87. package/templates/web/.github/workflows/set-github-metadata.yml +5 -2
  88. package/templates/web/.gitignore +3 -1
  89. package/templates/web/.prettierignore +2 -0
  90. package/templates/web/.vscode/settings.json +1 -1
  91. package/templates/web/package.json +20 -11
  92. package/templates/web/pnpm-workspace.yaml +0 -3
  93. package/templates/web/readme.md +0 -2
  94. package/templates/web/test/index.bench.ts +7 -0
  95. package/templates/cli/.npmrc +0 -2
  96. package/templates/cli+library/.npmrc +0 -2
  97. package/templates/electron/.npmrc +0 -2
  98. package/templates/library/.npmrc +0 -2
  99. package/templates/minimal/.npmrc +0 -2
  100. package/templates/unplugin/.npmrc +0 -2
  101. package/templates/web/.npmrc +0 -2
@@ -50,7 +50,7 @@
50
50
  ".env": ".env.*, .template.env",
51
51
  "*.js": "${basename}.ts.map, ${basename}.js.map, ${basename}.d.ts, ${basename}.d.ts.map, ${basename}.d.js.map",
52
52
  "*.ts": "${basename}.ts.map, ${basename}.d.ts, ${basename}.d.ts.map",
53
- "package.json": ".*.cjs, .*.cts, .*.js, .*.json, .*.json5, .*.jsonc, .*.mjs, .*.mts, .*.toml, .*.ts, .*.yaml, .*.yml, .*ignore, .*rc, .node-version, *config.cjs, *config.cts, *config.js, *config.json, *config.json5, *config.jsonc, *config.mjs, *config.mts, *config.toml, *config.ts, *config.yaml, *config.yml, tsconfig.*.json, lerna.json, netlify.toml, package-lock.json, pnpm*, skills-lock.json, turbo.json, vercel.json, workspace*, wrangler.toml, wrangler.json, wrangler.jsonc, yarn.lock, yarn*",
53
+ "package.json": ".*.cjs, .*.cts, .*.js, .*.json, .*.json5, .*.jsonc, .*.mjs, .*.mts, .*.toml, .*.ts, .*.yaml, .*.yml, .*attributes, .*ignore, .*rc, .node-version, *config.cjs, *config.cts, *config.js, *config.json, *config.json5, *config.jsonc, *config.mjs, *config.mts, *config.toml, *config.ts, *config.yaml, *config.yml, tsconfig.*.json, lerna.json, netlify.toml, package-lock.json, pnpm*, skills-lock.json, turbo.json, vercel.json, workspace*, wrangler.toml, wrangler.json, wrangler.jsonc, yarn.lock, yarn*",
54
54
  "readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"
55
55
  },
56
56
  "prettier.documentSelectors": [
@@ -21,29 +21,38 @@
21
21
  "sideEffects": false,
22
22
  "type": "module",
23
23
  "scripts": {
24
+ "bench": "vitest bench --run --compare test/benchmarks/baseline.json",
25
+ "bench:baseline": "vitest bench --run --outputJson test/benchmarks/baseline.json",
24
26
  "build": "vite build",
25
- "clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
26
- "dev": "poptab ; vite",
27
+ "clean": "shx rm -f pnpm-lock.yaml && git clean -fdX -e !.claude/",
28
+ "dev": "poptab && vite",
27
29
  "fix": "ksc fix",
28
30
  "lint": "ksc lint",
29
- "preview": "poptab ; vite preview",
31
+ "preview": "poptab && vite preview",
30
32
  "release": "bumpp --commit 'Release: %s'",
31
33
  "test": "vitest run"
32
34
  },
33
35
  "dependencies": {
34
- "@types/node": "~20.19.37"
36
+ "@types/node": "~20.19.39"
35
37
  },
36
38
  "devDependencies": {
37
- "@kitschpatrol/shared-config": "^6.0.3",
39
+ "@kitschpatrol/shared-config": "^7.3.0",
38
40
  "bumpp": "^11.0.1",
39
- "poptab": "^1.0.4",
40
- "typescript": "~5.9.3",
41
- "vite": "^8.0.1",
42
- "vite-plugin-mkcert": "^1.17.10",
43
- "vitest": "^4.1.0"
41
+ "poptab": "^1.1.0",
42
+ "shx": "^0.4.0",
43
+ "typescript": "~6.0.2",
44
+ "vite": "^8.0.8",
45
+ "vite-plugin-mkcert": "~1.17.12",
46
+ "vitest": "^4.1.4"
44
47
  },
45
- "packageManager": "pnpm@10.32.1",
48
+ "packageManager": "pnpm@10.33.0",
46
49
  "engines": {
47
50
  "node": ">=20.19.0"
51
+ },
52
+ "devEngines": {
53
+ "runtime": {
54
+ "name": "node",
55
+ "version": ">=22.18.0"
56
+ }
48
57
  }
49
58
  }
@@ -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'
@@ -1,5 +1,3 @@
1
- <!--+ Warning: Content inside HTML comment blocks was generated by mdat and may be overwritten. +-->
2
-
3
1
  <!-- title -->
4
2
 
5
3
  <!-- badges -->
@@ -0,0 +1,7 @@
1
+ import { bench, describe } from 'vitest'
2
+
3
+ describe('placeholder', () => {
4
+ bench('should pass', () => {
5
+ // Placeholder
6
+ })
7
+ })
@@ -1,2 +0,0 @@
1
- # Required for automated local publishing
2
- //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
@@ -1,2 +0,0 @@
1
- # Required for automated local publishing
2
- //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
@@ -1,2 +0,0 @@
1
- # Required for automated local publishing
2
- //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
@@ -1,2 +0,0 @@
1
- # Required for automated local publishing
2
- //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
@@ -1,2 +0,0 @@
1
- # Required for automated local publishing
2
- //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
@@ -1,2 +0,0 @@
1
- # Required for automated local publishing
2
- //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
@@ -1,2 +0,0 @@
1
- # Required for automated local publishing
2
- //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}