tsdown 0.22.2 → 0.22.4
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/{build-BxT2lm9L.mjs → build-CXv0CAc1.mjs} +11 -9
- package/dist/{config-BJZDmsYq.d.mts → config-OWDxm8p5.d.mts} +8 -9
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +1 -1
- package/dist/{debug-DQISqjIY.mjs → debug-CeGbjKZM.mjs} +1 -1
- package/dist/{detect-B97OSl92.mjs → detect-BNXt7gkp.mjs} +8 -3
- package/dist/{format-DMceewlS.mjs → format-COa2pUTn.mjs} +2 -2
- package/dist/{index-C0LaRpVv.d.mts → index-4SbnPhas.d.mts} +3 -10
- package/dist/index.d.mts +14 -12
- package/dist/index.mjs +7 -4
- package/dist/internal.d.mts +1 -2
- package/dist/{options-DWGUHu4D.mjs → options-BFfWGQT3.mjs} +14 -12
- package/dist/plugins.d.mts +6 -10
- package/dist/plugins.mjs +2 -2
- package/dist/run.mjs +2 -2
- package/dist/types-BmQCl9Kc.d.mts +1129 -0
- package/dist/{watch-C3ocHLCt.mjs → watch-CvXOpI62.mjs} +1 -1
- package/package.json +37 -39
- package/dist/types-F1pJie3k.d.mts +0 -1140
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as fsExists, t as fsCopy } from "./fs-qxJxxoCE.mjs";
|
|
2
2
|
import { i as noop, s as resolveComma, u as toArray } from "./general-Cp4NiJNK.mjs";
|
|
3
3
|
import { o as prettyFormat } from "./logger-BxuhTmAE.mjs";
|
|
4
|
-
import { t as formatBytes } from "./format-
|
|
4
|
+
import { t as formatBytes } from "./format-COa2pUTn.mjs";
|
|
5
5
|
import { builtinModules } from "node:module";
|
|
6
6
|
import { chmod } from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tsdown",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.22.
|
|
4
|
+
"version": "0.22.4",
|
|
5
5
|
"description": "The Elegant Bundler for Libraries",
|
|
6
6
|
"author": "Kevin Deng <sxzz@sxzz.moe>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
|
-
"node": "^22.18.0 || >=24.
|
|
47
|
+
"node": "^22.18.0 || >=24.11.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@arethetypeswrong/core": "^0.18.1",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"typescript": "^5.0.0 || ^6.0.0",
|
|
55
55
|
"unplugin-unused": "^0.5.0",
|
|
56
56
|
"unrun": "*",
|
|
57
|
-
"@tsdown/
|
|
58
|
-
"@tsdown/
|
|
57
|
+
"@tsdown/css": "0.22.4",
|
|
58
|
+
"@tsdown/exe": "0.22.4"
|
|
59
59
|
},
|
|
60
60
|
"peerDependenciesMeta": {
|
|
61
61
|
"@arethetypeswrong/core": {
|
|
@@ -93,64 +93,62 @@
|
|
|
93
93
|
"empathic": "^2.0.1",
|
|
94
94
|
"hookable": "^6.1.1",
|
|
95
95
|
"import-without-cache": "^0.4.0",
|
|
96
|
-
"obug": "^2.1.
|
|
97
|
-
"picomatch": "^4.0.
|
|
98
|
-
"rolldown": "~1.1.
|
|
99
|
-
"rolldown-plugin-dts": "^0.
|
|
100
|
-
"semver": "^7.8.
|
|
96
|
+
"obug": "^2.1.3",
|
|
97
|
+
"picomatch": "^4.0.5",
|
|
98
|
+
"rolldown": "~1.1.4",
|
|
99
|
+
"rolldown-plugin-dts": "^0.27.1",
|
|
100
|
+
"semver": "^7.8.5",
|
|
101
101
|
"tinyexec": "^1.2.4",
|
|
102
102
|
"tinyglobby": "^0.2.17",
|
|
103
103
|
"tree-kill": "^1.2.2",
|
|
104
104
|
"unconfig-core": "^7.5.0"
|
|
105
105
|
},
|
|
106
106
|
"inlinedDependencies": {
|
|
107
|
-
"
|
|
108
|
-
"package-manager-detector": "1.6.0",
|
|
107
|
+
"package-manager-detector": "1.7.0",
|
|
109
108
|
"pkg-types": "2.3.1"
|
|
110
109
|
},
|
|
111
110
|
"devDependencies": {
|
|
112
|
-
"@arethetypeswrong/core": "^0.18.
|
|
113
|
-
"@sxzz/eslint-config": "^8.1
|
|
111
|
+
"@arethetypeswrong/core": "^0.18.4",
|
|
112
|
+
"@sxzz/eslint-config": "^8.2.1",
|
|
114
113
|
"@sxzz/prettier-config": "^2.3.1",
|
|
115
114
|
"@sxzz/test-utils": "^0.5.18",
|
|
116
|
-
"@types/node": "^
|
|
115
|
+
"@types/node": "^26.1.0",
|
|
117
116
|
"@types/picomatch": "^4.0.3",
|
|
118
117
|
"@types/semver": "^7.7.1",
|
|
119
|
-
"@typescript/native-preview": "7.0.
|
|
120
|
-
"@unocss/eslint-plugin": "^66.7.
|
|
121
|
-
"@vitejs/devtools": "^0.3.
|
|
122
|
-
"@vitest/coverage-v8": "^4.1.
|
|
123
|
-
"@vitest/ui": "^4.1.
|
|
118
|
+
"@typescript/native-preview": "npm:typescript@7.0.1-rc",
|
|
119
|
+
"@unocss/eslint-plugin": "^66.7.4",
|
|
120
|
+
"@vitejs/devtools": "^0.3.4",
|
|
121
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
122
|
+
"@vitest/ui": "^4.1.10",
|
|
124
123
|
"@vueuse/core": "^14.3.0",
|
|
125
124
|
"actionspack": "^0.1.5",
|
|
126
|
-
"baseline-browser-mapping": "^2.10.
|
|
125
|
+
"baseline-browser-mapping": "^2.10.42",
|
|
127
126
|
"bumpp": "^11.1.0",
|
|
128
127
|
"dedent": "^1.7.2",
|
|
129
|
-
"eslint": "^10.
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"package-manager-detector": "^1.6.0",
|
|
128
|
+
"eslint": "^10.6.0",
|
|
129
|
+
"memfs": "^4.57.8",
|
|
130
|
+
"package-manager-detector": "^1.7.0",
|
|
133
131
|
"pkg-types": "^2.3.1",
|
|
134
|
-
"postcss": "^8.5.
|
|
132
|
+
"postcss": "^8.5.16",
|
|
135
133
|
"postcss-import": "^16.1.1",
|
|
136
|
-
"prettier": "^3.
|
|
134
|
+
"prettier": "^3.9.4",
|
|
137
135
|
"publint": "^0.3.21",
|
|
138
|
-
"rolldown-plugin-require-cjs": "^0.4.
|
|
139
|
-
"sass": "^1.
|
|
140
|
-
"tsnapi": "^0.
|
|
141
|
-
"tsx": "^4.
|
|
136
|
+
"rolldown-plugin-require-cjs": "^0.4.1",
|
|
137
|
+
"sass": "^1.101.0",
|
|
138
|
+
"tsnapi": "^1.0.0",
|
|
139
|
+
"tsx": "^4.23.0",
|
|
142
140
|
"typescript": "~6.0.3",
|
|
143
|
-
"unocss": "^66.7.
|
|
144
|
-
"unplugin-ast": "^0.17.
|
|
141
|
+
"unocss": "^66.7.4",
|
|
142
|
+
"unplugin-ast": "^0.17.2",
|
|
145
143
|
"unplugin-raw": "^0.7.0",
|
|
146
144
|
"unplugin-unused": "^0.5.7",
|
|
147
145
|
"unplugin-vue": "^7.2.0",
|
|
148
|
-
"unrun": "^0.3.
|
|
149
|
-
"vite": "^8.
|
|
150
|
-
"vitest": "^4.1.
|
|
151
|
-
"vue": "^3.5.
|
|
152
|
-
"@tsdown/css": "0.22.
|
|
153
|
-
"@tsdown/exe": "0.22.
|
|
146
|
+
"unrun": "^0.3.1",
|
|
147
|
+
"vite": "^8.1.3",
|
|
148
|
+
"vitest": "^4.1.10",
|
|
149
|
+
"vue": "^3.5.39",
|
|
150
|
+
"@tsdown/css": "0.22.4",
|
|
151
|
+
"@tsdown/exe": "0.22.4"
|
|
154
152
|
},
|
|
155
153
|
"prettier": "@sxzz/prettier-config",
|
|
156
154
|
"scripts": {
|
|
@@ -159,7 +157,7 @@
|
|
|
159
157
|
"build": "node -C dev ./src/run.ts",
|
|
160
158
|
"dev": "pnpm run build",
|
|
161
159
|
"test": "vitest",
|
|
162
|
-
"typecheck": "
|
|
160
|
+
"typecheck": "tsc --noEmit",
|
|
163
161
|
"format": "prettier --cache --write .",
|
|
164
162
|
"release": "node ./scripts/release.ts",
|
|
165
163
|
"docs:dev": "pnpm -C docs run dev",
|