ts-builds 3.4.3 → 4.0.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/cli.js +0 -0
- package/dist/tsdown.config.base.d.ts +1 -3
- package/dist/tsdown.config.base.js +1 -2
- package/dist/vite.config.base.d.ts +0 -2
- package/dist/vite.config.base.js +1 -2
- package/dist/vitest.config.base.d.ts +0 -2
- package/dist/vitest.config.base.js +1 -2
- package/package.json +8 -8
package/dist/cli.js
CHANGED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolve } from "node:path";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/tsdown.config.base.ts
|
|
4
4
|
const env = process.env.NODE_ENV;
|
|
5
5
|
const tsdown = {
|
|
6
6
|
sourcemap: true,
|
|
@@ -18,5 +18,4 @@ const tsdown = {
|
|
|
18
18
|
})
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
//#endregion
|
|
22
21
|
export { tsdown };
|
package/dist/vite.config.base.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolve } from "node:path";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/vite.config.base.ts
|
|
4
4
|
/** Base Vite config for SPAs */
|
|
5
5
|
const vite = {
|
|
6
6
|
build: {
|
|
@@ -12,5 +12,4 @@ const vite = {
|
|
|
12
12
|
resolve: { alias: { "@": resolve(process.cwd(), "src") } }
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
//#endregion
|
|
16
15
|
export { vite as default, vite };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineConfig } from "vitest/config";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/vitest.config.base.ts
|
|
4
4
|
var vitest_config_base_default = defineConfig({ test: {
|
|
5
5
|
globals: true,
|
|
6
6
|
environment: "node",
|
|
@@ -22,5 +22,4 @@ var vitest_config_base_default = defineConfig({ test: {
|
|
|
22
22
|
}
|
|
23
23
|
} });
|
|
24
24
|
|
|
25
|
-
//#endregion
|
|
26
25
|
export { vitest_config_base_default as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-builds",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
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",
|
|
@@ -63,22 +63,22 @@
|
|
|
63
63
|
],
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@eslint/js": "^10.0.1",
|
|
66
|
-
"@vitest/coverage-v8": "^
|
|
67
|
-
"@vitest/ui": "^
|
|
66
|
+
"@vitest/coverage-v8": "^5.0.3",
|
|
67
|
+
"@vitest/ui": "^5.0.3",
|
|
68
68
|
"eslint": "^10.10.0",
|
|
69
|
-
"eslint-config-functype": "^2.
|
|
69
|
+
"eslint-config-functype": "^2.111.0",
|
|
70
70
|
"eslint-config-prettier": "^10.1.8",
|
|
71
|
-
"eslint-plugin-functype": "^2.
|
|
71
|
+
"eslint-plugin-functype": "^2.111.0",
|
|
72
72
|
"eslint-plugin-prettier": "^5.5.6",
|
|
73
73
|
"eslint-plugin-simple-import-sort": "^14.0.0",
|
|
74
|
-
"functype": "^1.
|
|
74
|
+
"functype": "^1.11.0",
|
|
75
75
|
"functype-os": "^1.9.0",
|
|
76
76
|
"globals": "^17.12.0",
|
|
77
77
|
"prettier": "^3.9.8",
|
|
78
78
|
"ts-node": "^10.9.2",
|
|
79
79
|
"typescript": "^6.0.3",
|
|
80
80
|
"typescript-eslint": "^8.70.0",
|
|
81
|
-
"vitest": "^
|
|
81
|
+
"vitest": "^5.0.3"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@types/node": "~26.6.1",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"prepublishOnly": "pnpm validate:bootstrap"
|
|
114
114
|
},
|
|
115
115
|
"engines": {
|
|
116
|
-
"node": ">=
|
|
116
|
+
"node": "^22.12.0 || ^24.0.0 || >=26.0.0"
|
|
117
117
|
},
|
|
118
118
|
"packageManager": "pnpm@11.27.0+sha512.ad12821463bb143295f1fa3ecde77a6b9b97a7990386da800ff57bffc3964dc64b7b1c7559d5dbe5c337aea659ed9c8937d4370bd198ca2009bc6fa0249808e7"
|
|
119
119
|
}
|