Skip to content

Commit def28f9

Browse files
committed
chore: move to tsdown
1 parent 4812bf3 commit def28f9

File tree

16 files changed

+361
-66
lines changed

16 files changed

+361
-66
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
"semver": "^7.7.2",
110110
"simple-git-hooks": "^2.13.0",
111111
"taze": "^19.1.0",
112+
"tsdown": "^0.13.0",
112113
"tsup": "^8.5.0",
113114
"tsx": "^4.20.3",
114115
"turbo": "^2.5.5",

packages/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
"server.d.ts"
2323
],
2424
"scripts": {
25-
"build": "tsup --clean",
26-
"prepare:type": "tsup --dts-only",
27-
"stub": "tsup --watch --onSuccess 'tsup --dts-only'"
25+
"build": "tsdown --clean",
26+
"prepare:type": "tsdown --dts-only",
27+
"stub": "tsdown --watch --onSuccess 'tsdown --dts-only'"
2828
},
2929
"peerDependencies": {
3030
"vue": "^3.0.0"

packages/core/tsup.config.ts renamed to packages/core/tsdown.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from 'tsup'
1+
import { defineConfig } from 'tsdown'
22

33
export default defineConfig({
44
entryPoints: [

packages/devtools-api/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
"dist"
2323
],
2424
"scripts": {
25-
"build": "tsup --clean",
26-
"prepare:type": "tsup --dts-only",
27-
"stub": "tsup --watch --onSuccess 'tsup --dts-only'"
25+
"build": "tsdown --clean",
26+
"prepare:type": "tsdown --dts-only",
27+
"stub": "tsdown --watch --onSuccess 'tsdown --dts-only'"
2828
},
2929
"dependencies": {
3030
"@vue/devtools-kit": "workspace:^"

packages/devtools-api/tsup.config.ts renamed to packages/devtools-api/tsdown.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from 'tsup'
1+
import { defineConfig } from 'tsdown'
22

33
export default defineConfig({
44
entryPoints: [

packages/devtools-kit/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"dist"
2424
],
2525
"scripts": {
26-
"build": "tsup --clean",
27-
"prepare:type": "tsup --dts-only",
28-
"stub": "tsup --watch --onSuccess 'tsup --dts-only'"
26+
"build": "tsdown --clean",
27+
"prepare:type": "tsdown --dts-only",
28+
"stub": "tsdown --watch --onSuccess 'tsdown --dts-only'"
2929
},
3030
"dependencies": {
3131
"@vue/devtools-shared": "workspace:^",

packages/devtools-kit/src/hook/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { createHooks } from 'hookable'
44
import { devtoolsState } from '../ctx'
55
import { DevToolsEvent, DevToolsHook, DevToolsHooks, VueHooks } from '../types'
66

7-
export { VueHooks } from '../types'
7+
export type { VueHooks } from '../types'
88

99
export const devtoolsHooks: Hookable<DevToolsEvent, HookKeys<DevToolsEvent>> = target.__VUE_DEVTOOLS_HOOK ??= createHooks<DevToolsEvent>()
1010

packages/devtools-kit/tsup.config.ts renamed to packages/devtools-kit/tsdown.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from 'tsup'
1+
import { defineConfig } from 'tsdown'
22

33
export default defineConfig({
44
entryPoints: [

packages/devtools/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
"hook.d.ts"
3030
],
3131
"scripts": {
32-
"build": "tsup --clean",
33-
"prepare:type": "tsup --dts-only",
34-
"stub": "tsup --watch --onSuccess 'tsup --dts-only'"
32+
"build": "tsdown --clean",
33+
"prepare:type": "tsdown --dts-only",
34+
"stub": "tsdown --watch --onSuccess 'tsdown --dts-only'"
3535
},
3636
"dependencies": {
3737
"@vue/devtools-electron": "workspace:^",

packages/devtools/tsup.config.ts renamed to packages/devtools/tsdown.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from 'tsup'
1+
import { defineConfig } from 'tsdown'
22

33
export default defineConfig({
44
entryPoints: [

0 commit comments

Comments
 (0)