ts-builds 3.4.1 → 3.4.3

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.
@@ -0,0 +1,4 @@
1
+ import { UserConfig } from "tsdown";
2
+ //#region src/tsdown.config.base.d.ts
3
+ export declare const tsdown: UserConfig;
4
+ //#endregion
@@ -0,0 +1,6 @@
1
+ import { UserConfig } from "vite";
2
+ //#region src/vite.config.base.d.ts
3
+ /** Base Vite config for SPAs */
4
+ export declare const vite: UserConfig;
5
+ //#endregion
6
+ export { vite as default };
@@ -0,0 +1,4 @@
1
+ //#region src/vitest.config.base.d.ts
2
+ declare const _default: import("vite").UserConfig;
3
+ //#endregion
4
+ export { _default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-builds",
3
- "version": "3.4.1",
3
+ "version": "3.4.3",
4
4
  "description": "Shared TypeScript configuration files for library templates. Provides standardized ESLint, Prettier, Vitest, TypeScript, and build configs.",
5
5
  "keywords": [
6
6
  "typescript",
@@ -32,10 +32,19 @@
32
32
  "./eslint": "./eslint.config.base.js",
33
33
  "./eslint-fp": "./eslint.config.fp.js",
34
34
  "./eslint-functype": "./eslint.config.functype.js",
35
- "./vitest": "./dist/vitest.config.base.js",
35
+ "./vitest": {
36
+ "types": "./dist/vitest.config.base.d.ts",
37
+ "default": "./dist/vitest.config.base.js"
38
+ },
36
39
  "./tsconfig": "./tsconfig.base.json",
37
- "./tsdown": "./dist/tsdown.config.base.js",
38
- "./vite": "./dist/vite.config.base.js",
40
+ "./tsdown": {
41
+ "types": "./dist/tsdown.config.base.d.ts",
42
+ "default": "./dist/tsdown.config.base.js"
43
+ },
44
+ "./vite": {
45
+ "types": "./dist/vite.config.base.d.ts",
46
+ "default": "./dist/vite.config.base.js"
47
+ },
39
48
  "./scripts": "./package-scripts.json",
40
49
  "./package.json": "./package.json"
41
50
  },
@@ -54,31 +63,31 @@
54
63
  ],
55
64
  "dependencies": {
56
65
  "@eslint/js": "^10.0.1",
57
- "@vitest/coverage-v8": "^4.1.10",
58
- "@vitest/ui": "^4.1.10",
59
- "eslint": "^10.8.0",
60
- "eslint-config-functype": "^2.108.0",
66
+ "@vitest/coverage-v8": "^4.1.11",
67
+ "@vitest/ui": "^4.1.11",
68
+ "eslint": "^10.10.0",
69
+ "eslint-config-functype": "^2.109.0",
61
70
  "eslint-config-prettier": "^10.1.8",
62
- "eslint-plugin-functype": "^2.108.0",
71
+ "eslint-plugin-functype": "^2.109.0",
63
72
  "eslint-plugin-prettier": "^5.5.6",
64
73
  "eslint-plugin-simple-import-sort": "^14.0.0",
65
- "functype": "^1.8.0",
66
- "functype-os": "^1.8.0",
67
- "globals": "^17.9.0",
68
- "prettier": "^3.9.6",
74
+ "functype": "^1.9.0",
75
+ "functype-os": "^1.9.0",
76
+ "globals": "^17.12.0",
77
+ "prettier": "^3.9.8",
69
78
  "ts-node": "^10.9.2",
70
79
  "typescript": "^6.0.3",
71
- "typescript-eslint": "^8.66.0",
72
- "vitest": "^4.1.10"
80
+ "typescript-eslint": "^8.70.0",
81
+ "vitest": "^4.1.11"
73
82
  },
74
83
  "devDependencies": {
75
- "@types/node": "~26.2.0",
84
+ "@types/node": "~26.6.1",
76
85
  "rimraf": "^6.1.3",
77
- "tsdown": "^0.22.14"
86
+ "tsdown": "^0.23.0"
78
87
  },
79
88
  "peerDependencies": {
80
89
  "tsdown": "^0.x",
81
- "vite": "^8.x"
90
+ "vite": "^7.x || ^8.x"
82
91
  },
83
92
  "peerDependenciesMeta": {
84
93
  "tsdown": {
@@ -106,5 +115,5 @@
106
115
  "engines": {
107
116
  "node": ">=22"
108
117
  },
109
- "packageManager": "pnpm@11.20.0+sha512.9a6f330a95b66446ea088faf1521405a8a01f07fde7124cc9958dfed52d4bb436737e65b08f85f37b46fcba375092558ac51262b816844b22f63406ed166bfee"
118
+ "packageManager": "pnpm@11.27.0+sha512.ad12821463bb143295f1fa3ecde77a6b9b97a7990386da800ff57bffc3964dc64b7b1c7559d5dbe5c337aea659ed9c8937d4370bd198ca2009bc6fa0249808e7"
110
119
  }