@kitschpatrol/create-project 1.1.3 → 1.2.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 (74) hide show
  1. package/dist/index.js +26 -8
  2. package/package.json +11 -10
  3. package/readme.md +11 -10
  4. package/templates/cli/.npmrc +0 -12
  5. package/templates/cli/.vscode/settings.json +30 -30
  6. package/templates/cli/license.txt +1 -1
  7. package/templates/cli/package.json +19 -22
  8. package/templates/cli/pnpm-workspace.yaml +14 -0
  9. package/templates/cli+library/.npmrc +0 -12
  10. package/templates/cli+library/.vscode/settings.json +30 -30
  11. package/templates/cli+library/license.txt +1 -1
  12. package/templates/cli+library/package.json +19 -22
  13. package/templates/cli+library/pnpm-workspace.yaml +14 -0
  14. package/templates/electron/.npmrc +0 -12
  15. package/templates/electron/.vscode/settings.json +30 -30
  16. package/templates/electron/cspell.config.js +1 -1
  17. package/templates/electron/electron-builder.ts +2 -0
  18. package/templates/electron/eslint.config.ts +1 -0
  19. package/templates/electron/knip.config.ts +3 -1
  20. package/templates/electron/license.txt +1 -1
  21. package/templates/electron/package.json +17 -17
  22. package/templates/electron/pnpm-workspace.yaml +14 -0
  23. package/templates/electron/src/style.css +3 -4
  24. package/templates/electron/tsconfig.json +1 -1
  25. package/templates/library/.npmrc +0 -12
  26. package/templates/library/.vscode/settings.json +30 -30
  27. package/templates/library/license.txt +1 -1
  28. package/templates/library/package.json +14 -17
  29. package/templates/library/pnpm-workspace.yaml +14 -0
  30. package/templates/minimal/.npmrc +0 -12
  31. package/templates/minimal/.vscode/settings.json +30 -30
  32. package/templates/minimal/license.txt +1 -1
  33. package/templates/minimal/package.json +14 -14
  34. package/templates/minimal/pnpm-workspace.yaml +14 -0
  35. package/templates/unplugin/.github/workflows/github-release.yml +81 -0
  36. package/templates/unplugin/.github/workflows/set-github-metadata.yml +21 -0
  37. package/templates/unplugin/.gitignore +22 -0
  38. package/templates/unplugin/.npmrc +4 -0
  39. package/templates/unplugin/.prettierignore +8 -0
  40. package/templates/unplugin/.remarkrc.js +8 -0
  41. package/templates/unplugin/.vscode/extensions.json +9 -0
  42. package/templates/unplugin/.vscode/settings.json +68 -0
  43. package/templates/unplugin/cspell.config.js +3 -0
  44. package/templates/unplugin/eslint.config.ts +11 -0
  45. package/templates/unplugin/knip.config.ts +5 -0
  46. package/templates/unplugin/license.txt +21 -0
  47. package/templates/unplugin/mdat.config.ts +3 -0
  48. package/templates/unplugin/package.json +82 -0
  49. package/templates/unplugin/pnpm-workspace.yaml +17 -0
  50. package/templates/unplugin/prettier.config.js +3 -0
  51. package/templates/unplugin/readme.md +27 -0
  52. package/templates/unplugin/src/api.ts +2 -0
  53. package/templates/unplugin/src/core/options.ts +28 -0
  54. package/templates/unplugin/src/esbuild.ts +22 -0
  55. package/templates/unplugin/src/farm.ts +22 -0
  56. package/templates/unplugin/src/index.ts +27 -0
  57. package/templates/unplugin/src/rolldown.ts +22 -0
  58. package/templates/unplugin/src/rollup.ts +22 -0
  59. package/templates/unplugin/src/rspack.ts +22 -0
  60. package/templates/unplugin/src/vite.ts +22 -0
  61. package/templates/unplugin/src/webpack.ts +24 -0
  62. package/templates/unplugin/stylelint.config.js +3 -0
  63. package/templates/unplugin/tests/__snapshots__/rollup.test.ts.snap +10 -0
  64. package/templates/unplugin/tests/fixtures/basic.js +1 -0
  65. package/templates/unplugin/tests/rollup.test.ts +16 -0
  66. package/templates/unplugin/tsconfig.build.json +5 -0
  67. package/templates/unplugin/tsconfig.json +7 -0
  68. package/templates/unplugin/tsdown.config.ts +7 -0
  69. package/templates/web/.npmrc +0 -12
  70. package/templates/web/.vscode/settings.json +30 -30
  71. package/templates/web/license.txt +1 -1
  72. package/templates/web/package.json +14 -14
  73. package/templates/web/pnpm-workspace.yaml +14 -0
  74. package/templates/web/src/style.css +3 -4
@@ -1,21 +1,30 @@
1
1
  {
2
- "explorer.fileNesting.enabled": true,
3
- "explorer.fileNesting.expand": false,
4
- "explorer.fileNesting.patterns": {
5
- "*.js": "${basename}.ts.map, ${basename}.js.map, ${basename}.d.ts, ${basename}.d.ts.map, ${basename}.d.js.map",
6
- "*.ts": "${basename}.ts.map, ${basename}.d.ts, ${basename}.d.ts.map",
7
- ".env": ".env.*",
8
- "package.json": ".*ignore, .*rc, .*.js, .*.mjs, .*.cjs, .*.ts, .*.mts, .*.cts, .*.json, .*.jsonc, .*.json5, .*.yml, .*.yaml, *config.js, *config.mjs, *config.cjs, *config.ts, *config.mts, *config.cts, *config.json, *config.jsonc, *config.json5, *config.yml, *config.yaml, pnpm*, workspace*, yarn*, lerna.json, netlify.toml, package-lock.json, turbo.json, vercel.json, wrangler.toml, yarn.lock",
9
- "readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"
2
+ "[astro]": {
3
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
10
4
  },
11
- "typescript.enablePromptUseWorkspaceTsdk": true,
12
- "typescript.tsdk": "node_modules/typescript/lib",
5
+ "[gitignore]": {
6
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
7
+ },
8
+ "[ruby]": {
9
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
10
+ },
11
+ "[shellscript]": {
12
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
13
+ },
14
+ "[svelte]": {
15
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
16
+ },
17
+ "cSpell.enabled": true,
18
+ "cSpell.workspaceRootPath": ".",
13
19
  "editor.codeActionsOnSave": {
14
20
  "source.fixAll": "explicit",
15
21
  "source.organizeImports": "never"
16
22
  },
23
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
24
+ "editor.formatOnSave": true,
17
25
  "eslint.enable": true,
18
26
  "eslint.runtime": "node",
27
+ "eslint.useFlatConfig": true,
19
28
  "eslint.validate": [
20
29
  "astro",
21
30
  "html",
@@ -33,26 +42,15 @@
33
42
  "xml",
34
43
  "yaml"
35
44
  ],
36
- "eslint.useFlatConfig": true,
37
- "cSpell.enabled": true,
38
- "cSpell.workspaceRootPath": ".",
39
- "[astro]": {
40
- "editor.defaultFormatter": "esbenp.prettier-vscode"
41
- },
42
- "[gitignore]": {
43
- "editor.defaultFormatter": "esbenp.prettier-vscode"
44
- },
45
- "[ruby]": {
46
- "editor.defaultFormatter": "esbenp.prettier-vscode"
47
- },
48
- "[shellscript]": {
49
- "editor.defaultFormatter": "esbenp.prettier-vscode"
50
- },
51
- "[svelte]": {
52
- "editor.defaultFormatter": "esbenp.prettier-vscode"
45
+ "explorer.fileNesting.enabled": true,
46
+ "explorer.fileNesting.expand": false,
47
+ "explorer.fileNesting.patterns": {
48
+ ".env": ".env.*, .template.env",
49
+ "*.js": "${basename}.ts.map, ${basename}.js.map, ${basename}.d.ts, ${basename}.d.ts.map, ${basename}.d.js.map",
50
+ "*.ts": "${basename}.ts.map, ${basename}.d.ts, ${basename}.d.ts.map",
51
+ "package.json": ".*ignore, .*rc, .*.js, .*.mjs, .*.cjs, .*.ts, .*.mts, .*.cts, .*.json, .*.jsonc, .*.json5, .*.yml, .*.yaml, *config.js, *config.mjs, *config.cjs, *config.ts, *config.mts, *config.cts, *config.json, *config.jsonc, *config.json5, *config.yml, *config.yaml, pnpm*, workspace*, yarn*, lerna.json, netlify.toml, package-lock.json, turbo.json, vercel.json, wrangler.toml, yarn.lock",
52
+ "readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"
53
53
  },
54
- "editor.defaultFormatter": "esbenp.prettier-vscode",
55
- "editor.formatOnSave": true,
56
54
  "prettier.documentSelectors": [
57
55
  "**/.eslintignore",
58
56
  "**/.node-version",
@@ -64,5 +62,7 @@
64
62
  ],
65
63
  "prettier.enable": true,
66
64
  "stylelint.enable": true,
67
- "stylelint.validate": ["css", "html", "svelte", "astro"]
65
+ "stylelint.validate": ["css", "html", "svelte", "astro"],
66
+ "typescript.enablePromptUseWorkspaceTsdk": true,
67
+ "typescript.tsdk": "node_modules/typescript/lib"
68
68
  }
@@ -1,5 +1,5 @@
1
1
  import { cspellConfig } from '@kitschpatrol/cspell-config'
2
2
 
3
3
  export default cspellConfig({
4
- words: ['asar', 'nsis'],
4
+ words: ['nsis'],
5
5
  })
@@ -15,6 +15,8 @@ const config: Configuration = {
15
15
  entitlementsInherit: 'electron/resources/mac/entitlements.mac.plist',
16
16
  gatekeeperAssess: false,
17
17
  hardenedRuntime: true,
18
+ // Delete this when you're ready to sign the app
19
+ identity: null,
18
20
  icon: 'electron/resources/icons/mac/icon.icns',
19
21
  target: 'zip',
20
22
  },
@@ -15,6 +15,7 @@ export default eslintConfig({
15
15
  ],
16
16
  },
17
17
  ],
18
+ 'unicorn/no-null': 'off',
18
19
  'unicorn/no-process-exit': 'off',
19
20
  },
20
21
  },
@@ -1,3 +1,5 @@
1
1
  import { knipConfig } from '@kitschpatrol/knip-config'
2
2
 
3
- export default knipConfig()
3
+ export default knipConfig({
4
+ entry: ['electron-builder.ts', 'electron/preload.ts', 'src/main.ts', 'electron/main.ts'],
5
+ })
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 {{author-name}}
3
+ Copyright (c) {{{year}}} {{{author-name}}}
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,22 +1,22 @@
1
1
  {
2
- "name": "{{github-repository}}",
2
+ "name": "{{{github-repository}}}",
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
- "description": "An {{type}} project.",
5
+ "description": "An {{{type}}} project.",
6
6
  "keywords": [
7
- "{{type}}"
7
+ "{{{type}}}"
8
8
  ],
9
- "homepage": "https://github.com/{{github-owner}}/{{github-repository}}",
10
- "bugs": "https://github.com/{{github-owner}}/{{github-repository}}/issues",
9
+ "homepage": "https://github.com/{{{github-owner}}}/{{{github-repository}}}",
10
+ "bugs": "https://github.com/{{{github-owner}}}/{{{github-repository}}}/issues",
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "git+https://github.com/{{github-owner}}/{{github-repository}}.git"
13
+ "url": "git+https://github.com/{{{github-owner}}}/{{{github-repository}}}.git"
14
14
  },
15
15
  "license": "MIT",
16
16
  "author": {
17
- "name": "{{author-name}}",
18
- "email": "{{author-email}}",
19
- "url": "{{author-url}}"
17
+ "name": "{{{author-name}}}",
18
+ "email": "{{{author-email}}}",
19
+ "url": "{{{author-url}}}"
20
20
  },
21
21
  "type": "module",
22
22
  "main": "dist-electron/main.js",
@@ -30,19 +30,19 @@
30
30
  "test": "echo \"Error: no test specified\" && exit 1"
31
31
  },
32
32
  "dependencies": {
33
- "@types/node": "^20.19.24",
34
- "lognow": "^0.2.2"
33
+ "@types/node": "~22.19.3",
34
+ "lognow": "^0.3.2"
35
35
  },
36
36
  "devDependencies": {
37
- "@kitschpatrol/shared-config": "^5.8.1",
38
- "bumpp": "^10.3.1",
39
- "electron": "^38.5.0",
37
+ "@kitschpatrol/shared-config": "^5.10.0",
38
+ "bumpp": "^10.3.2",
39
+ "electron": "^39.2.7",
40
40
  "electron-builder": "^26.0.12",
41
41
  "typescript": "~5.9.3",
42
- "vite": "npm:rolldown-vite@7.1.17",
42
+ "vite": "npm:rolldown-vite@7.2.2",
43
43
  "vite-plugin-electron": "^0.29.0"
44
44
  },
45
- "packageManager": "pnpm@10.20.0",
45
+ "packageManager": "pnpm@10.26.2",
46
46
  "engines": {
47
47
  "node": ">=22.18.0"
48
48
  },
@@ -55,7 +55,7 @@
55
55
  "unrs-resolver"
56
56
  ],
57
57
  "overrides": {
58
- "vite": "npm:rolldown-vite@7.1.17"
58
+ "vite": "npm:rolldown-vite@7.2.2"
59
59
  }
60
60
  }
61
61
  }
@@ -1,3 +1,17 @@
1
+ # Required by @kitschpatrol/shared-config
2
+
1
3
  onlyBuiltDependencies:
2
4
  - esbuild
3
5
  - unrs-resolver
6
+
7
+ publicHoistPattern:
8
+ - '@kitschpatrol/repo-config'
9
+ - '@kitschpatrol/typescript-config'
10
+ - 'case-police'
11
+ - '*cspell*'
12
+ - '*eslint*'
13
+ - '*knip*'
14
+ - '*mdat*'
15
+ - '*prettier*'
16
+ - '*remark*'
17
+ - '*stylelint*'
@@ -1,15 +1,14 @@
1
1
  :root {
2
2
  font-family: system-ui, Helvetica, Arial, sans-serif;
3
3
  font-weight: 400;
4
- -webkit-font-smoothing: antialiased;
5
- -moz-osx-font-smoothing: grayscale;
4
+ font-synthesis: none;
6
5
  line-height: 1.5;
7
6
  color: rgb(255 255 255 / 87%);
8
7
  text-rendering: optimizelegibility;
9
8
  color-scheme: light dark;
10
9
  background-color: #242424;
11
-
12
- font-synthesis: none;
10
+ -webkit-font-smoothing: antialiased;
11
+ -moz-osx-font-smoothing: grayscale;
13
12
  }
14
13
 
15
14
  a {
@@ -5,5 +5,5 @@
5
5
  },
6
6
  // Includes project dot-files files for typescript-eslint integration
7
7
  "include": ["**/*", "**/**.*"],
8
- "exclude": ["**/dist/", "**/bin/"]
8
+ "exclude": ["**/bin/", "**/dist/", "**/dist-electron/"]
9
9
  }
@@ -1,16 +1,4 @@
1
1
  publish-branch=main
2
2
 
3
- # Required for using @kitschpatrol/shared-config and the ksc command with pnpm
4
- public-hoist-pattern[]=@kitschpatrol/repo-config
5
- public-hoist-pattern[]=@kitschpatrol/typescript-config
6
- public-hoist-pattern[]=case-police
7
- public-hoist-pattern[]=*cspell*
8
- public-hoist-pattern[]=*eslint*
9
- public-hoist-pattern[]=*knip*
10
- public-hoist-pattern[]=*mdat*
11
- public-hoist-pattern[]=*prettier*
12
- public-hoist-pattern[]=*remark*
13
- public-hoist-pattern[]=*stylelint*
14
-
15
3
  # Required for automated local publishing
16
4
  //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
@@ -1,21 +1,30 @@
1
1
  {
2
- "explorer.fileNesting.enabled": true,
3
- "explorer.fileNesting.expand": false,
4
- "explorer.fileNesting.patterns": {
5
- "*.js": "${basename}.ts.map, ${basename}.js.map, ${basename}.d.ts, ${basename}.d.ts.map, ${basename}.d.js.map",
6
- "*.ts": "${basename}.ts.map, ${basename}.d.ts, ${basename}.d.ts.map",
7
- ".env": ".env.*",
8
- "package.json": ".*ignore, .*rc, .*.js, .*.mjs, .*.cjs, .*.ts, .*.mts, .*.cts, .*.json, .*.jsonc, .*.json5, .*.yml, .*.yaml, *config.js, *config.mjs, *config.cjs, *config.ts, *config.mts, *config.cts, *config.json, *config.jsonc, *config.json5, *config.yml, *config.yaml, pnpm*, workspace*, yarn*, lerna.json, netlify.toml, package-lock.json, turbo.json, vercel.json, wrangler.toml, yarn.lock",
9
- "readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"
2
+ "[astro]": {
3
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
10
4
  },
11
- "typescript.enablePromptUseWorkspaceTsdk": true,
12
- "typescript.tsdk": "node_modules/typescript/lib",
5
+ "[gitignore]": {
6
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
7
+ },
8
+ "[ruby]": {
9
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
10
+ },
11
+ "[shellscript]": {
12
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
13
+ },
14
+ "[svelte]": {
15
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
16
+ },
17
+ "cSpell.enabled": true,
18
+ "cSpell.workspaceRootPath": ".",
13
19
  "editor.codeActionsOnSave": {
14
20
  "source.fixAll": "explicit",
15
21
  "source.organizeImports": "never"
16
22
  },
23
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
24
+ "editor.formatOnSave": true,
17
25
  "eslint.enable": true,
18
26
  "eslint.runtime": "node",
27
+ "eslint.useFlatConfig": true,
19
28
  "eslint.validate": [
20
29
  "astro",
21
30
  "html",
@@ -33,26 +42,15 @@
33
42
  "xml",
34
43
  "yaml"
35
44
  ],
36
- "eslint.useFlatConfig": true,
37
- "cSpell.enabled": true,
38
- "cSpell.workspaceRootPath": ".",
39
- "[astro]": {
40
- "editor.defaultFormatter": "esbenp.prettier-vscode"
41
- },
42
- "[gitignore]": {
43
- "editor.defaultFormatter": "esbenp.prettier-vscode"
44
- },
45
- "[ruby]": {
46
- "editor.defaultFormatter": "esbenp.prettier-vscode"
47
- },
48
- "[shellscript]": {
49
- "editor.defaultFormatter": "esbenp.prettier-vscode"
50
- },
51
- "[svelte]": {
52
- "editor.defaultFormatter": "esbenp.prettier-vscode"
45
+ "explorer.fileNesting.enabled": true,
46
+ "explorer.fileNesting.expand": false,
47
+ "explorer.fileNesting.patterns": {
48
+ ".env": ".env.*, .template.env",
49
+ "*.js": "${basename}.ts.map, ${basename}.js.map, ${basename}.d.ts, ${basename}.d.ts.map, ${basename}.d.js.map",
50
+ "*.ts": "${basename}.ts.map, ${basename}.d.ts, ${basename}.d.ts.map",
51
+ "package.json": ".*ignore, .*rc, .*.js, .*.mjs, .*.cjs, .*.ts, .*.mts, .*.cts, .*.json, .*.jsonc, .*.json5, .*.yml, .*.yaml, *config.js, *config.mjs, *config.cjs, *config.ts, *config.mts, *config.cts, *config.json, *config.jsonc, *config.json5, *config.yml, *config.yaml, pnpm*, workspace*, yarn*, lerna.json, netlify.toml, package-lock.json, turbo.json, vercel.json, wrangler.toml, yarn.lock",
52
+ "readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"
53
53
  },
54
- "editor.defaultFormatter": "esbenp.prettier-vscode",
55
- "editor.formatOnSave": true,
56
54
  "prettier.documentSelectors": [
57
55
  "**/.eslintignore",
58
56
  "**/.node-version",
@@ -64,5 +62,7 @@
64
62
  ],
65
63
  "prettier.enable": true,
66
64
  "stylelint.enable": true,
67
- "stylelint.validate": ["css", "html", "svelte", "astro"]
65
+ "stylelint.validate": ["css", "html", "svelte", "astro"],
66
+ "typescript.enablePromptUseWorkspaceTsdk": true,
67
+ "typescript.tsdk": "node_modules/typescript/lib"
68
68
  }
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 {{author-name}}
3
+ Copyright (c) {{{year}}} {{{author-name}}}
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,21 +1,21 @@
1
1
  {
2
- "name": "{{github-repository}}",
2
+ "name": "{{{github-repository}}}",
3
3
  "version": "0.0.0",
4
- "description": "A {{type}} project.",
4
+ "description": "A {{{type}}} project.",
5
5
  "keywords": [
6
6
  "npm-package"
7
7
  ],
8
- "homepage": "https://github.com/{{github-owner}}/{{github-repository}}",
9
- "bugs": "https://github.com/{{github-owner}}/{{github-repository}}/issues",
8
+ "homepage": "https://github.com/{{{github-owner}}}/{{{github-repository}}}",
9
+ "bugs": "https://github.com/{{{github-owner}}}/{{{github-repository}}}/issues",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "git+https://github.com/{{github-owner}}/{{github-repository}}.git"
12
+ "url": "git+https://github.com/{{{github-owner}}}/{{{github-repository}}}.git"
13
13
  },
14
14
  "license": "MIT",
15
15
  "author": {
16
- "name": "{{author-name}}",
17
- "email": "{{author-email}}",
18
- "url": "{{author-url}}"
16
+ "name": "{{{author-name}}}",
17
+ "email": "{{{author-email}}}",
18
+ "url": "{{{author-url}}}"
19
19
  },
20
20
  "type": "module",
21
21
  "exports": {
@@ -34,24 +34,21 @@
34
34
  "clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
35
35
  "fix": "ksc fix",
36
36
  "lint": "ksc lint",
37
- "release": "bumpp --commit 'Release: %s' && pnpm run build && NPM_AUTH_TOKEN=$({{npm-auth-command}}) && pnpm publish",
37
+ "release": "bumpp --commit 'Release: %s' && pnpm run build && NPM_AUTH_TOKEN=$({{{npm-auth-command}}}) && pnpm publish",
38
38
  "test": "echo \"Error: no test specified\" && exit 1"
39
39
  },
40
40
  "dependencies": {
41
- "@types/node": "^20.19.24",
41
+ "@types/node": "~20.19.27",
42
42
  "lognow": "^0.2.2"
43
43
  },
44
44
  "devDependencies": {
45
- "@kitschpatrol/shared-config": "^5.8.1",
46
- "bumpp": "^10.3.1",
47
- "tsdown": "^0.16.0",
45
+ "@kitschpatrol/shared-config": "^5.10.0",
46
+ "bumpp": "^10.3.2",
47
+ "tsdown": "^0.18.3",
48
48
  "typescript": "~5.9.3"
49
49
  },
50
- "packageManager": "pnpm@10.20.0",
50
+ "packageManager": "pnpm@10.26.2",
51
51
  "engines": {
52
52
  "node": ">=20.19.0"
53
- },
54
- "publishConfig": {
55
- "access": "public"
56
53
  }
57
54
  }
@@ -1,3 +1,17 @@
1
+ # Required by @kitschpatrol/shared-config
2
+
1
3
  onlyBuiltDependencies:
2
4
  - esbuild
3
5
  - unrs-resolver
6
+
7
+ publicHoistPattern:
8
+ - '@kitschpatrol/repo-config'
9
+ - '@kitschpatrol/typescript-config'
10
+ - 'case-police'
11
+ - '*cspell*'
12
+ - '*eslint*'
13
+ - '*knip*'
14
+ - '*mdat*'
15
+ - '*prettier*'
16
+ - '*remark*'
17
+ - '*stylelint*'
@@ -1,16 +1,4 @@
1
1
  publish-branch=main
2
2
 
3
- # Required for using @kitschpatrol/shared-config and the ksc command with pnpm
4
- public-hoist-pattern[]=@kitschpatrol/repo-config
5
- public-hoist-pattern[]=@kitschpatrol/typescript-config
6
- public-hoist-pattern[]=case-police
7
- public-hoist-pattern[]=*cspell*
8
- public-hoist-pattern[]=*eslint*
9
- public-hoist-pattern[]=*knip*
10
- public-hoist-pattern[]=*mdat*
11
- public-hoist-pattern[]=*prettier*
12
- public-hoist-pattern[]=*remark*
13
- public-hoist-pattern[]=*stylelint*
14
-
15
3
  # Required for automated local publishing
16
4
  //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
@@ -1,21 +1,30 @@
1
1
  {
2
- "explorer.fileNesting.enabled": true,
3
- "explorer.fileNesting.expand": false,
4
- "explorer.fileNesting.patterns": {
5
- "*.js": "${basename}.ts.map, ${basename}.js.map, ${basename}.d.ts, ${basename}.d.ts.map, ${basename}.d.js.map",
6
- "*.ts": "${basename}.ts.map, ${basename}.d.ts, ${basename}.d.ts.map",
7
- ".env": ".env.*",
8
- "package.json": ".*ignore, .*rc, .*.js, .*.mjs, .*.cjs, .*.ts, .*.mts, .*.cts, .*.json, .*.jsonc, .*.json5, .*.yml, .*.yaml, *config.js, *config.mjs, *config.cjs, *config.ts, *config.mts, *config.cts, *config.json, *config.jsonc, *config.json5, *config.yml, *config.yaml, pnpm*, workspace*, yarn*, lerna.json, netlify.toml, package-lock.json, turbo.json, vercel.json, wrangler.toml, yarn.lock",
9
- "readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"
2
+ "[astro]": {
3
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
10
4
  },
11
- "typescript.enablePromptUseWorkspaceTsdk": true,
12
- "typescript.tsdk": "node_modules/typescript/lib",
5
+ "[gitignore]": {
6
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
7
+ },
8
+ "[ruby]": {
9
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
10
+ },
11
+ "[shellscript]": {
12
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
13
+ },
14
+ "[svelte]": {
15
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
16
+ },
17
+ "cSpell.enabled": true,
18
+ "cSpell.workspaceRootPath": ".",
13
19
  "editor.codeActionsOnSave": {
14
20
  "source.fixAll": "explicit",
15
21
  "source.organizeImports": "never"
16
22
  },
23
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
24
+ "editor.formatOnSave": true,
17
25
  "eslint.enable": true,
18
26
  "eslint.runtime": "node",
27
+ "eslint.useFlatConfig": true,
19
28
  "eslint.validate": [
20
29
  "astro",
21
30
  "html",
@@ -33,26 +42,15 @@
33
42
  "xml",
34
43
  "yaml"
35
44
  ],
36
- "eslint.useFlatConfig": true,
37
- "cSpell.enabled": true,
38
- "cSpell.workspaceRootPath": ".",
39
- "[astro]": {
40
- "editor.defaultFormatter": "esbenp.prettier-vscode"
41
- },
42
- "[gitignore]": {
43
- "editor.defaultFormatter": "esbenp.prettier-vscode"
44
- },
45
- "[ruby]": {
46
- "editor.defaultFormatter": "esbenp.prettier-vscode"
47
- },
48
- "[shellscript]": {
49
- "editor.defaultFormatter": "esbenp.prettier-vscode"
50
- },
51
- "[svelte]": {
52
- "editor.defaultFormatter": "esbenp.prettier-vscode"
45
+ "explorer.fileNesting.enabled": true,
46
+ "explorer.fileNesting.expand": false,
47
+ "explorer.fileNesting.patterns": {
48
+ ".env": ".env.*, .template.env",
49
+ "*.js": "${basename}.ts.map, ${basename}.js.map, ${basename}.d.ts, ${basename}.d.ts.map, ${basename}.d.js.map",
50
+ "*.ts": "${basename}.ts.map, ${basename}.d.ts, ${basename}.d.ts.map",
51
+ "package.json": ".*ignore, .*rc, .*.js, .*.mjs, .*.cjs, .*.ts, .*.mts, .*.cts, .*.json, .*.jsonc, .*.json5, .*.yml, .*.yaml, *config.js, *config.mjs, *config.cjs, *config.ts, *config.mts, *config.cts, *config.json, *config.jsonc, *config.json5, *config.yml, *config.yaml, pnpm*, workspace*, yarn*, lerna.json, netlify.toml, package-lock.json, turbo.json, vercel.json, wrangler.toml, yarn.lock",
52
+ "readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"
53
53
  },
54
- "editor.defaultFormatter": "esbenp.prettier-vscode",
55
- "editor.formatOnSave": true,
56
54
  "prettier.documentSelectors": [
57
55
  "**/.eslintignore",
58
56
  "**/.node-version",
@@ -64,5 +62,7 @@
64
62
  ],
65
63
  "prettier.enable": true,
66
64
  "stylelint.enable": true,
67
- "stylelint.validate": ["css", "html", "svelte", "astro"]
65
+ "stylelint.validate": ["css", "html", "svelte", "astro"],
66
+ "typescript.enablePromptUseWorkspaceTsdk": true,
67
+ "typescript.tsdk": "node_modules/typescript/lib"
68
68
  }
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 {{author-name}}
3
+ Copyright (c) {{{year}}} {{{author-name}}}
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,22 +1,22 @@
1
1
  {
2
- "name": "{{github-repository}}",
2
+ "name": "{{{github-repository}}}",
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
- "description": "A {{type}} project.",
5
+ "description": "A {{{type}}} project.",
6
6
  "keywords": [
7
- "{{type}}"
7
+ "{{{type}}}"
8
8
  ],
9
- "homepage": "https://github.com/{{github-owner}}/{{github-repository}}",
10
- "bugs": "https://github.com/{{github-owner}}/{{github-repository}}/issues",
9
+ "homepage": "https://github.com/{{{github-owner}}}/{{{github-repository}}}",
10
+ "bugs": "https://github.com/{{{github-owner}}}/{{{github-repository}}}/issues",
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "git+https://github.com/{{github-owner}}/{{github-repository}}.git"
13
+ "url": "git+https://github.com/{{{github-owner}}}/{{{github-repository}}}.git"
14
14
  },
15
15
  "license": "MIT",
16
16
  "author": {
17
- "name": "{{author-name}}",
18
- "email": "{{author-email}}",
19
- "url": "{{author-url}}"
17
+ "name": "{{{author-name}}}",
18
+ "email": "{{{author-email}}}",
19
+ "url": "{{{author-url}}}"
20
20
  },
21
21
  "type": "module",
22
22
  "scripts": {
@@ -29,15 +29,15 @@
29
29
  "test": "echo \"Error: no test specified\" && exit 1"
30
30
  },
31
31
  "dependencies": {
32
- "@types/node": "^20.19.24"
32
+ "@types/node": "~20.19.27"
33
33
  },
34
34
  "devDependencies": {
35
- "@kitschpatrol/shared-config": "^5.8.1",
36
- "bumpp": "^10.3.1",
37
- "tsx": "^4.20.6",
35
+ "@kitschpatrol/shared-config": "^5.10.0",
36
+ "bumpp": "^10.3.2",
37
+ "tsx": "^4.21.0",
38
38
  "typescript": "~5.9.3"
39
39
  },
40
- "packageManager": "pnpm@10.20.0",
40
+ "packageManager": "pnpm@10.26.2",
41
41
  "engines": {
42
42
  "node": ">=20.19.0"
43
43
  }
@@ -1,3 +1,17 @@
1
+ # Required by @kitschpatrol/shared-config
2
+
1
3
  onlyBuiltDependencies:
2
4
  - esbuild
3
5
  - unrs-resolver
6
+
7
+ publicHoistPattern:
8
+ - '@kitschpatrol/repo-config'
9
+ - '@kitschpatrol/typescript-config'
10
+ - 'case-police'
11
+ - '*cspell*'
12
+ - '*eslint*'
13
+ - '*knip*'
14
+ - '*mdat*'
15
+ - '*prettier*'
16
+ - '*remark*'
17
+ - '*stylelint*'