@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.
- package/dist/index.js +1 -1
- package/package.json +15 -14
- package/readme.md +1 -2
- package/templates/cli/.gitattributes +2 -0
- package/templates/cli/.github/workflows/ci.yml +51 -0
- package/templates/cli/.github/workflows/github-release.yml +18 -6
- package/templates/cli/.github/workflows/set-github-metadata.yml +5 -2
- package/templates/cli/.gitignore +3 -1
- package/templates/cli/.prettierignore +1 -0
- package/templates/cli/.vscode/settings.json +1 -1
- package/templates/cli/mdat.config.ts +1 -3
- package/templates/cli/package.json +13 -10
- package/templates/cli/readme.md +0 -2
- package/templates/cli/test/cli.test.ts +2 -1
- package/templates/cli/test/index.bench.ts +7 -0
- package/templates/cli/tsconfig.json +3 -0
- package/templates/cli+library/.gitattributes +2 -0
- package/templates/cli+library/.github/workflows/ci.yml +51 -0
- package/templates/cli+library/.github/workflows/github-release.yml +18 -6
- package/templates/cli+library/.github/workflows/set-github-metadata.yml +5 -2
- package/templates/cli+library/.gitignore +3 -1
- package/templates/cli+library/.prettierignore +1 -0
- package/templates/cli+library/.vscode/settings.json +1 -1
- package/templates/cli+library/mdat.config.ts +1 -3
- package/templates/cli+library/package.json +13 -10
- package/templates/cli+library/readme.md +0 -2
- package/templates/cli+library/src/lib/log.ts +6 -4
- package/templates/cli+library/test/cli.test.ts +3 -1
- package/templates/cli+library/test/index.bench.ts +7 -0
- package/templates/cli+library/tsconfig.json +3 -0
- package/templates/electron/.gitattributes +2 -0
- package/templates/electron/.github/workflows/ci.yml +51 -0
- package/templates/electron/.github/workflows/github-release.yml +18 -6
- package/templates/electron/.github/workflows/set-github-metadata.yml +5 -2
- package/templates/electron/.gitignore +3 -1
- package/templates/electron/.prettierignore +1 -0
- package/templates/electron/.vscode/settings.json +1 -1
- package/templates/electron/knip.config.ts +1 -0
- package/templates/electron/package.json +12 -9
- package/templates/electron/readme.md +0 -2
- package/templates/electron/test/index.bench.ts +7 -0
- package/templates/electron/tsconfig.json +1 -1
- package/templates/library/.gitattributes +2 -0
- package/templates/library/.github/workflows/ci.yml +51 -0
- package/templates/library/.github/workflows/github-release.yml +18 -6
- package/templates/library/.github/workflows/set-github-metadata.yml +5 -2
- package/templates/library/.gitignore +3 -1
- package/templates/library/.prettierignore +1 -0
- package/templates/library/.vscode/settings.json +1 -1
- package/templates/library/package.json +12 -9
- package/templates/library/readme.md +0 -2
- package/templates/library/src/log.ts +6 -4
- package/templates/library/test/index.bench.ts +7 -0
- package/templates/library/tsconfig.json +3 -0
- package/templates/minimal/.gitattributes +2 -0
- package/templates/minimal/.github/workflows/ci.yml +51 -0
- package/templates/minimal/.github/workflows/github-release.yml +18 -6
- package/templates/minimal/.github/workflows/set-github-metadata.yml +5 -2
- package/templates/minimal/.gitignore +3 -1
- package/templates/minimal/.vscode/settings.json +1 -1
- package/templates/minimal/package.json +12 -5
- package/templates/minimal/readme.md +0 -2
- package/templates/unplugin/.gitattributes +2 -0
- package/templates/unplugin/.github/workflows/ci.yml +51 -0
- package/templates/unplugin/.github/workflows/github-release.yml +18 -6
- package/templates/unplugin/.github/workflows/set-github-metadata.yml +5 -2
- package/templates/unplugin/.gitignore +3 -1
- package/templates/unplugin/.prettierignore +1 -0
- package/templates/unplugin/.vscode/settings.json +1 -1
- package/templates/unplugin/eslint.config.ts +24 -7
- package/templates/unplugin/knip.config.ts +13 -1
- package/templates/unplugin/package.json +49 -8
- package/templates/unplugin/playground/env.d.ts +4 -0
- package/templates/unplugin/playground/index.html +23 -0
- package/templates/unplugin/playground/main.ts +1 -0
- package/templates/unplugin/playground/package.json +16 -0
- package/templates/unplugin/playground/readme.md +11 -0
- package/templates/unplugin/playground/vite.config.ts +16 -0
- package/templates/unplugin/pnpm-workspace.yaml +5 -1
- package/templates/unplugin/readme.md +0 -2
- package/templates/unplugin/src/core/options.ts +5 -3
- package/templates/unplugin/src/index.ts +1 -1
- package/templates/unplugin/test/index.bench.ts +7 -0
- package/templates/web/.gitattributes +2 -0
- package/templates/web/.github/workflows/ci.yml +51 -0
- package/templates/web/.github/workflows/github-release.yml +18 -6
- package/templates/web/.github/workflows/set-github-metadata.yml +5 -2
- package/templates/web/.gitignore +3 -1
- package/templates/web/.prettierignore +2 -0
- package/templates/web/.vscode/settings.json +1 -1
- package/templates/web/package.json +20 -11
- package/templates/web/pnpm-workspace.yaml +0 -3
- package/templates/web/readme.md +0 -2
- package/templates/web/test/index.bench.ts +7 -0
- package/templates/cli/.npmrc +0 -2
- package/templates/cli+library/.npmrc +0 -2
- package/templates/electron/.npmrc +0 -2
- package/templates/library/.npmrc +0 -2
- package/templates/minimal/.npmrc +0 -2
- package/templates/unplugin/.npmrc +0 -2
- 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": "
|
|
26
|
-
"dev": "poptab
|
|
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
|
|
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.
|
|
36
|
+
"@types/node": "~20.19.39"
|
|
35
37
|
},
|
|
36
38
|
"devDependencies": {
|
|
37
|
-
"@kitschpatrol/shared-config": "^
|
|
39
|
+
"@kitschpatrol/shared-config": "^7.3.0",
|
|
38
40
|
"bumpp": "^11.0.1",
|
|
39
|
-
"poptab": "^1.0
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"vite
|
|
43
|
-
"
|
|
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.
|
|
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
|
}
|
package/templates/web/readme.md
CHANGED
package/templates/cli/.npmrc
DELETED
package/templates/library/.npmrc
DELETED
package/templates/minimal/.npmrc
DELETED
package/templates/web/.npmrc
DELETED