@kitschpatrol/create-project 1.2.4 → 1.2.6

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 (43) hide show
  1. package/dist/index.js +1 -3623
  2. package/package.json +17 -10
  3. package/templates/cli/.github/workflows/github-release.yml +1 -1
  4. package/templates/cli/.github/workflows/set-github-metadata.yml +2 -2
  5. package/templates/cli/.npmrc +0 -2
  6. package/templates/cli/.vscode/settings.json +1 -1
  7. package/templates/cli/package.json +7 -6
  8. package/templates/cli+library/.github/workflows/github-release.yml +1 -1
  9. package/templates/cli+library/.github/workflows/set-github-metadata.yml +2 -2
  10. package/templates/cli+library/.npmrc +0 -2
  11. package/templates/cli+library/.vscode/settings.json +1 -1
  12. package/templates/cli+library/package.json +11 -7
  13. package/templates/cli+library/tsconfig.build.json +1 -1
  14. package/templates/cli+library/tsconfig.json +1 -1
  15. package/templates/cli+library/tsdown.config.ts +8 -0
  16. package/templates/electron/.github/workflows/github-release.yml +1 -1
  17. package/templates/electron/.github/workflows/set-github-metadata.yml +2 -2
  18. package/templates/electron/.npmrc +0 -2
  19. package/templates/electron/.vscode/settings.json +1 -1
  20. package/templates/electron/package.json +7 -6
  21. package/templates/library/.github/workflows/github-release.yml +1 -1
  22. package/templates/library/.github/workflows/set-github-metadata.yml +2 -2
  23. package/templates/library/.npmrc +0 -2
  24. package/templates/library/.vscode/settings.json +1 -1
  25. package/templates/library/package.json +9 -6
  26. package/templates/library/tsconfig.build.json +1 -1
  27. package/templates/library/tsdown.config.ts +14 -0
  28. package/templates/minimal/.github/workflows/github-release.yml +1 -1
  29. package/templates/minimal/.github/workflows/set-github-metadata.yml +2 -2
  30. package/templates/minimal/.npmrc +0 -2
  31. package/templates/minimal/.vscode/settings.json +1 -1
  32. package/templates/minimal/package.json +5 -4
  33. package/templates/minimal/tsconfig.build.json +1 -1
  34. package/templates/unplugin/.github/workflows/github-release.yml +1 -1
  35. package/templates/unplugin/.github/workflows/set-github-metadata.yml +2 -2
  36. package/templates/unplugin/.npmrc +0 -2
  37. package/templates/unplugin/.vscode/settings.json +1 -1
  38. package/templates/unplugin/package.json +5 -4
  39. package/templates/web/.github/workflows/github-release.yml +1 -1
  40. package/templates/web/.github/workflows/set-github-metadata.yml +2 -2
  41. package/templates/web/.npmrc +0 -2
  42. package/templates/web/.vscode/settings.json +1 -1
  43. package/templates/web/package.json +6 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitschpatrol/create-project",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "Kitschpatrol's TypeScript project templates.",
5
5
  "keywords": [
6
6
  "cli",
@@ -19,6 +19,7 @@
19
19
  "email": "eric@ericmika.com",
20
20
  "url": "https://ericmika.com"
21
21
  },
22
+ "sideEffects": false,
22
23
  "type": "module",
23
24
  "bin": "dist/index.js",
24
25
  "files": [
@@ -30,27 +31,33 @@
30
31
  "dependencies": {
31
32
  "bingo": "^0.9.2",
32
33
  "bingo-fs": "^0.5.6",
33
- "bingo-handlebars": "^0.1.0"
34
+ "bingo-handlebars": "^0.1.0",
35
+ "zod": "^3.25.76"
34
36
  },
35
37
  "devDependencies": {
36
- "@kitschpatrol/shared-config": "^5.13.0",
37
- "@types/node": "~20.19.30",
38
- "bumpp": "^10.4.0",
39
- "mdat": "^1.3.4",
38
+ "@kitschpatrol/shared-config": "^6.0.1",
39
+ "@types/node": "~20.19.35",
40
+ "bumpp": "^10.4.1",
41
+ "mdat": "^1.3.5",
40
42
  "taze": "^19.9.2",
41
- "tsdown": "^0.20.1",
43
+ "tsdown": "^0.20.3",
42
44
  "typescript": "~5.9.3",
43
- "vitest": "^4.0.18",
44
- "zod": "^3.25.76"
45
+ "vitest": "^4.0.18"
45
46
  },
46
47
  "engines": {
47
48
  "node": ">=20.19.0"
48
49
  },
50
+ "devEngines": {
51
+ "runtime": {
52
+ "name": "node",
53
+ "version": ">=22.21.0"
54
+ }
55
+ },
49
56
  "publishConfig": {
50
57
  "access": "public"
51
58
  },
52
59
  "scripts": {
53
- "build": "tsdown --no-fixed-extension",
60
+ "build": "tsdown",
54
61
  "clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
55
62
  "fix": "ksc fix",
56
63
  "lint": "ksc-repo lint ; mdat readme check readme.md ; ksc-typescript lint ; ksc-eslint lint ; ksc-stylelint lint ; ksc-cspell lint ; ksc-knip lint ; ksc-prettier lint",
@@ -16,7 +16,7 @@ jobs:
16
16
 
17
17
  steps:
18
18
  - name: Checkout
19
- uses: actions/checkout@v4
19
+ uses: actions/checkout@v6
20
20
  with:
21
21
  fetch-depth: 0
22
22
 
@@ -11,11 +11,11 @@ jobs:
11
11
 
12
12
  steps:
13
13
  - name: Checkout
14
- uses: actions/checkout@v4
14
+ uses: actions/checkout@v6
15
15
  with:
16
16
  fetch-depth: 0
17
17
 
18
18
  - name: Sync Package info to GitHub
19
- uses: kitschpatrol/github-action-repo-sync@v3
19
+ uses: kitschpatrol/github-action-repo-sync@v4
20
20
  with:
21
21
  TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
@@ -1,4 +1,2 @@
1
- publish-branch=main
2
-
3
1
  # Required for automated local publishing
4
2
  //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
@@ -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, *config.cjs, *config.cts, *config.js, *config.json, *config.json5, *config.jsonc, *config.mjs, *config.mts, *config.toml, *config.ts, *config.yaml, *config.yml, lerna.json, netlify.toml, package-lock.json, pnpm*, 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, .*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*, 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": [
@@ -18,6 +18,7 @@
18
18
  "email": "{{{author-email}}}",
19
19
  "url": "{{{author-url}}}"
20
20
  },
21
+ "sideEffects": false,
21
22
  "type": "module",
22
23
  "bin": {
23
24
  "{{{cli-command-name}}}": "dist/index.js"
@@ -34,19 +35,19 @@
34
35
  "test": "echo \"Error: no test specified\" && exit 1"
35
36
  },
36
37
  "dependencies": {
37
- "@types/node": "~20.19.30",
38
+ "@types/node": "~20.19.35",
38
39
  "@types/yargs": "^17.0.35",
39
40
  "lognow": "^0.4.1",
40
41
  "yargs": "^18.0.0"
41
42
  },
42
43
  "devDependencies": {
43
- "@kitschpatrol/shared-config": "^5.13.0",
44
- "bumpp": "^10.4.0",
45
- "mdat-plugin-cli-help": "^1.0.5",
46
- "tsdown": "^0.20.1",
44
+ "@kitschpatrol/shared-config": "^6.0.1",
45
+ "bumpp": "^10.4.1",
46
+ "mdat-plugin-cli-help": "^1.0.7",
47
+ "tsdown": "^0.20.3",
47
48
  "typescript": "~5.9.3"
48
49
  },
49
- "packageManager": "pnpm@10.28.1",
50
+ "packageManager": "pnpm@10.30.3",
50
51
  "engines": {
51
52
  "node": ">=20.19.0"
52
53
  }
@@ -16,7 +16,7 @@ jobs:
16
16
 
17
17
  steps:
18
18
  - name: Checkout
19
- uses: actions/checkout@v4
19
+ uses: actions/checkout@v6
20
20
  with:
21
21
  fetch-depth: 0
22
22
 
@@ -11,11 +11,11 @@ jobs:
11
11
 
12
12
  steps:
13
13
  - name: Checkout
14
- uses: actions/checkout@v4
14
+ uses: actions/checkout@v6
15
15
  with:
16
16
  fetch-depth: 0
17
17
 
18
18
  - name: Sync Package info to GitHub
19
- uses: kitschpatrol/github-action-repo-sync@v3
19
+ uses: kitschpatrol/github-action-repo-sync@v4
20
20
  with:
21
21
  TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
@@ -1,4 +1,2 @@
1
- publish-branch=main
2
-
3
1
  # Required for automated local publishing
4
2
  //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
@@ -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, *config.cjs, *config.cts, *config.js, *config.json, *config.json5, *config.jsonc, *config.mjs, *config.mts, *config.toml, *config.ts, *config.yaml, *config.yml, lerna.json, netlify.toml, package-lock.json, pnpm*, 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, .*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*, 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": [
@@ -18,6 +18,7 @@
18
18
  "email": "{{{author-email}}}",
19
19
  "url": "{{{author-url}}}"
20
20
  },
21
+ "sideEffects": false,
21
22
  "type": "module",
22
23
  "exports": {
23
24
  ".": {
@@ -27,6 +28,7 @@
27
28
  },
28
29
  "main": "./dist/lib/index.js",
29
30
  "module": "./dist/lib/index.js",
31
+ "types": "./dist/lib/index.d.ts",
30
32
  "bin": {
31
33
  "{{{cli-command-name}}}": "dist/bin/cli.js"
32
34
  },
@@ -34,7 +36,7 @@
34
36
  "dist/*"
35
37
  ],
36
38
  "scripts": {
37
- "build": "tsdown --no-fixed-extension",
39
+ "build": "tsdown",
38
40
  "clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
39
41
  "fix": "ksc fix",
40
42
  "lint": "ksc lint",
@@ -42,19 +44,21 @@
42
44
  "test": "echo \"Error: no test specified\" && exit 1"
43
45
  },
44
46
  "dependencies": {
45
- "@types/node": "~20.19.30",
47
+ "@types/node": "~20.19.35",
46
48
  "@types/yargs": "^17.0.35",
47
49
  "lognow": "^0.4.1",
48
50
  "yargs": "^18.0.0"
49
51
  },
50
52
  "devDependencies": {
51
- "@kitschpatrol/shared-config": "^5.13.0",
52
- "bumpp": "^10.4.0",
53
- "mdat-plugin-cli-help": "^1.0.5",
54
- "tsdown": "^0.20.1",
53
+ "@arethetypeswrong/core": "^0.18.2",
54
+ "@kitschpatrol/shared-config": "^6.0.1",
55
+ "bumpp": "^10.4.1",
56
+ "mdat-plugin-cli-help": "^1.0.7",
57
+ "publint": "^0.3.17",
58
+ "tsdown": "^0.20.3",
55
59
  "typescript": "~5.9.3"
56
60
  },
57
- "packageManager": "pnpm@10.28.1",
61
+ "packageManager": "pnpm@10.30.3",
58
62
  "engines": {
59
63
  "node": ">=20.19.0"
60
64
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "extends": "./tsconfig.json",
3
- "include": ["**/*", "**/**.*"],
3
+ "include": ["src"],
4
4
  "exclude": ["**/dist/", "**/bin/"]
5
5
  }
@@ -3,5 +3,5 @@
3
3
 
4
4
  // Includes project dot-files files for typescript-eslint integration
5
5
  "include": ["**/*", "**/**.*"],
6
- "exclude": ["**/dist/", "**/bin/"]
6
+ "exclude": ["**/dist/"]
7
7
  }
@@ -1,18 +1,26 @@
1
1
  import { defineConfig } from 'tsdown'
2
2
 
3
3
  export default defineConfig([
4
+ // CLI tool
4
5
  {
5
6
  dts: false,
6
7
  entry: 'src/bin/cli.ts',
7
8
  fixedExtension: false,
9
+ minify: true,
8
10
  outDir: 'dist/bin',
9
11
  platform: 'node',
10
12
  },
13
+ // Library
11
14
  {
15
+ attw: {
16
+ profile: 'esm-only',
17
+ },
12
18
  entry: 'src/lib/index.ts',
19
+ fixedExtension: false,
13
20
  minify: true,
14
21
  outDir: 'dist/lib',
15
22
  platform: 'neutral',
23
+ publint: true,
16
24
  tsconfig: 'tsconfig.build.json',
17
25
  },
18
26
  ])
@@ -16,7 +16,7 @@ jobs:
16
16
 
17
17
  steps:
18
18
  - name: Checkout
19
- uses: actions/checkout@v4
19
+ uses: actions/checkout@v6
20
20
  with:
21
21
  fetch-depth: 0
22
22
 
@@ -11,11 +11,11 @@ jobs:
11
11
 
12
12
  steps:
13
13
  - name: Checkout
14
- uses: actions/checkout@v4
14
+ uses: actions/checkout@v6
15
15
  with:
16
16
  fetch-depth: 0
17
17
 
18
18
  - name: Sync Package info to GitHub
19
- uses: kitschpatrol/github-action-repo-sync@v3
19
+ uses: kitschpatrol/github-action-repo-sync@v4
20
20
  with:
21
21
  TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
@@ -1,4 +1,2 @@
1
- publish-branch=main
2
-
3
1
  # Required for automated local publishing
4
2
  //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
@@ -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, *config.cjs, *config.cts, *config.js, *config.json, *config.json5, *config.jsonc, *config.mjs, *config.mts, *config.toml, *config.ts, *config.yaml, *config.yml, lerna.json, netlify.toml, package-lock.json, pnpm*, 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, .*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*, 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": [
@@ -18,6 +18,7 @@
18
18
  "email": "{{{author-email}}}",
19
19
  "url": "{{{author-url}}}"
20
20
  },
21
+ "sideEffects": false,
21
22
  "type": "module",
22
23
  "main": "dist-electron/main.js",
23
24
  "scripts": {
@@ -30,19 +31,19 @@
30
31
  "test": "echo \"Error: no test specified\" && exit 1"
31
32
  },
32
33
  "dependencies": {
33
- "@types/node": "~22.19.7",
34
+ "@types/node": "~22.19.13",
34
35
  "lognow": "^0.4.1"
35
36
  },
36
37
  "devDependencies": {
37
- "@kitschpatrol/shared-config": "^5.13.0",
38
- "bumpp": "^10.4.0",
39
- "electron": "^40.0.0",
40
- "electron-builder": "^26.4.0",
38
+ "@kitschpatrol/shared-config": "^6.0.1",
39
+ "bumpp": "^10.4.1",
40
+ "electron": "^40.6.1",
41
+ "electron-builder": "^26.8.1",
41
42
  "typescript": "~5.9.3",
42
43
  "vite": "npm:rolldown-vite@7.3.1",
43
44
  "vite-plugin-electron": "^0.29.0"
44
45
  },
45
- "packageManager": "pnpm@10.28.1",
46
+ "packageManager": "pnpm@10.30.3",
46
47
  "engines": {
47
48
  "node": ">=22.18.0"
48
49
  }
@@ -16,7 +16,7 @@ jobs:
16
16
 
17
17
  steps:
18
18
  - name: Checkout
19
- uses: actions/checkout@v4
19
+ uses: actions/checkout@v6
20
20
  with:
21
21
  fetch-depth: 0
22
22
 
@@ -11,11 +11,11 @@ jobs:
11
11
 
12
12
  steps:
13
13
  - name: Checkout
14
- uses: actions/checkout@v4
14
+ uses: actions/checkout@v6
15
15
  with:
16
16
  fetch-depth: 0
17
17
 
18
18
  - name: Sync Package info to GitHub
19
- uses: kitschpatrol/github-action-repo-sync@v3
19
+ uses: kitschpatrol/github-action-repo-sync@v4
20
20
  with:
21
21
  TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
@@ -1,4 +1,2 @@
1
- publish-branch=main
2
-
3
1
  # Required for automated local publishing
4
2
  //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
@@ -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, *config.cjs, *config.cts, *config.js, *config.json, *config.json5, *config.jsonc, *config.mjs, *config.mts, *config.toml, *config.ts, *config.yaml, *config.yml, lerna.json, netlify.toml, package-lock.json, pnpm*, 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, .*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*, 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": [
@@ -17,6 +17,7 @@
17
17
  "email": "{{{author-email}}}",
18
18
  "url": "{{{author-url}}}"
19
19
  },
20
+ "sideEffects": false,
20
21
  "type": "module",
21
22
  "exports": {
22
23
  ".": {
@@ -30,7 +31,7 @@
30
31
  "dist/*"
31
32
  ],
32
33
  "scripts": {
33
- "build": "tsdown --minify --platform neutral --tsconfig tsconfig.build.json",
34
+ "build": "tsdown",
34
35
  "clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
35
36
  "fix": "ksc fix",
36
37
  "lint": "ksc lint",
@@ -38,16 +39,18 @@
38
39
  "test": "echo \"Error: no test specified\" && exit 1"
39
40
  },
40
41
  "dependencies": {
41
- "@types/node": "~20.19.30",
42
+ "@types/node": "~20.19.35",
42
43
  "lognow": "^0.4.1"
43
44
  },
44
45
  "devDependencies": {
45
- "@kitschpatrol/shared-config": "^5.13.0",
46
- "bumpp": "^10.4.0",
47
- "tsdown": "^0.20.1",
46
+ "@arethetypeswrong/core": "^0.18.2",
47
+ "@kitschpatrol/shared-config": "^6.0.1",
48
+ "bumpp": "^10.4.1",
49
+ "publint": "^0.3.17",
50
+ "tsdown": "^0.20.3",
48
51
  "typescript": "~5.9.3"
49
52
  },
50
- "packageManager": "pnpm@10.28.1",
53
+ "packageManager": "pnpm@10.30.3",
51
54
  "engines": {
52
55
  "node": ">=20.19.0"
53
56
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "extends": "./tsconfig.json",
3
- "include": ["**/*", "**/**.*"],
3
+ "include": ["src"],
4
4
  "exclude": ["**/dist/", "**/bin/"]
5
5
  }
@@ -0,0 +1,14 @@
1
+ import { defineConfig } from 'tsdown'
2
+
3
+ export default defineConfig([
4
+ {
5
+ attw: {
6
+ profile: 'esm-only',
7
+ },
8
+ fixedExtension: false,
9
+ minify: true,
10
+ platform: 'neutral',
11
+ publint: true,
12
+ tsconfig: 'tsconfig.build.json',
13
+ },
14
+ ])
@@ -16,7 +16,7 @@ jobs:
16
16
 
17
17
  steps:
18
18
  - name: Checkout
19
- uses: actions/checkout@v4
19
+ uses: actions/checkout@v6
20
20
  with:
21
21
  fetch-depth: 0
22
22
 
@@ -11,11 +11,11 @@ jobs:
11
11
 
12
12
  steps:
13
13
  - name: Checkout
14
- uses: actions/checkout@v4
14
+ uses: actions/checkout@v6
15
15
  with:
16
16
  fetch-depth: 0
17
17
 
18
18
  - name: Sync Package info to GitHub
19
- uses: kitschpatrol/github-action-repo-sync@v3
19
+ uses: kitschpatrol/github-action-repo-sync@v4
20
20
  with:
21
21
  TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
@@ -1,4 +1,2 @@
1
- publish-branch=main
2
-
3
1
  # Required for automated local publishing
4
2
  //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
@@ -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, *config.cjs, *config.cts, *config.js, *config.json, *config.json5, *config.jsonc, *config.mjs, *config.mts, *config.toml, *config.ts, *config.yaml, *config.yml, lerna.json, netlify.toml, package-lock.json, pnpm*, 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, .*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*, 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": [
@@ -18,6 +18,7 @@
18
18
  "email": "{{{author-email}}}",
19
19
  "url": "{{{author-url}}}"
20
20
  },
21
+ "sideEffects": false,
21
22
  "type": "module",
22
23
  "scripts": {
23
24
  "build": "tsx script.ts",
@@ -29,15 +30,15 @@
29
30
  "test": "echo \"Error: no test specified\" && exit 1"
30
31
  },
31
32
  "dependencies": {
32
- "@types/node": "~20.19.30"
33
+ "@types/node": "~20.19.35"
33
34
  },
34
35
  "devDependencies": {
35
- "@kitschpatrol/shared-config": "^5.13.0",
36
- "bumpp": "^10.4.0",
36
+ "@kitschpatrol/shared-config": "^6.0.1",
37
+ "bumpp": "^10.4.1",
37
38
  "tsx": "^4.21.0",
38
39
  "typescript": "~5.9.3"
39
40
  },
40
- "packageManager": "pnpm@10.28.1",
41
+ "packageManager": "pnpm@10.30.3",
41
42
  "engines": {
42
43
  "node": ">=20.19.0"
43
44
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "extends": "./tsconfig.json",
3
- "include": ["**/*", "**/**.*"],
3
+ "include": ["src"],
4
4
  "exclude": ["**/dist/", "**/bin/"]
5
5
  }
@@ -16,7 +16,7 @@ jobs:
16
16
 
17
17
  steps:
18
18
  - name: Checkout
19
- uses: actions/checkout@v4
19
+ uses: actions/checkout@v6
20
20
  with:
21
21
  fetch-depth: 0
22
22
 
@@ -11,11 +11,11 @@ jobs:
11
11
 
12
12
  steps:
13
13
  - name: Checkout
14
- uses: actions/checkout@v4
14
+ uses: actions/checkout@v6
15
15
  with:
16
16
  fetch-depth: 0
17
17
 
18
18
  - name: Sync Package info to GitHub
19
- uses: kitschpatrol/github-action-repo-sync@v3
19
+ uses: kitschpatrol/github-action-repo-sync@v4
20
20
  with:
21
21
  TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
@@ -1,4 +1,2 @@
1
- publish-branch=main
2
-
3
1
  # Required for automated local publishing
4
2
  //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
@@ -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, *config.cjs, *config.cts, *config.js, *config.json, *config.json5, *config.jsonc, *config.mjs, *config.mts, *config.toml, *config.ts, *config.yaml, *config.yml, lerna.json, netlify.toml, package-lock.json, pnpm*, 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, .*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*, 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": [
@@ -26,6 +26,7 @@
26
26
  "email": "{{{author-email}}}",
27
27
  "url": "{{{author-url}}}"
28
28
  },
29
+ "sideEffects": false,
29
30
  "type": "module",
30
31
  "exports": {
31
32
  ".": "./dist/index.js",
@@ -68,14 +69,14 @@
68
69
  "unplugin-utils": "^0.3.1"
69
70
  },
70
71
  "devDependencies": {
71
- "@kitschpatrol/shared-config": "^5.13.0",
72
+ "@kitschpatrol/shared-config": "^6.0.1",
72
73
  "@sxzz/test-utils": "^0.5.15",
73
- "bumpp": "^10.4.0",
74
- "tsdown": "^0.20.1",
74
+ "bumpp": "^10.4.1",
75
+ "tsdown": "^0.20.3",
75
76
  "typescript": "~5.9.3",
76
77
  "vitest": "^4.0.18"
77
78
  },
78
- "packageManager": "pnpm@10.28.1",
79
+ "packageManager": "pnpm@10.30.3",
79
80
  "engines": {
80
81
  "node": ">=22.16.0"
81
82
  }
@@ -16,7 +16,7 @@ jobs:
16
16
 
17
17
  steps:
18
18
  - name: Checkout
19
- uses: actions/checkout@v4
19
+ uses: actions/checkout@v6
20
20
  with:
21
21
  fetch-depth: 0
22
22
 
@@ -11,11 +11,11 @@ jobs:
11
11
 
12
12
  steps:
13
13
  - name: Checkout
14
- uses: actions/checkout@v4
14
+ uses: actions/checkout@v6
15
15
  with:
16
16
  fetch-depth: 0
17
17
 
18
18
  - name: Sync Package info to GitHub
19
- uses: kitschpatrol/github-action-repo-sync@v3
19
+ uses: kitschpatrol/github-action-repo-sync@v4
20
20
  with:
21
21
  TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
@@ -1,4 +1,2 @@
1
- publish-branch=main
2
-
3
1
  # Required for automated local publishing
4
2
  //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}