refactor: switch to tsdown

This commit is contained in:
三咲智子 Kevin Deng 2025-04-24 15:12:57 +08:00
parent 2a5ef16cc3
commit a72bc11ed8
No known key found for this signature in database
6 changed files with 657 additions and 408 deletions

View File

@ -21,6 +21,7 @@
"devDependencies": { "devDependencies": {
"@babel/plugin-syntax-typescript": "^7.25.9", "@babel/plugin-syntax-typescript": "^7.25.9",
"@eslint/js": "^9.23.0", "@eslint/js": "^9.23.0",
"@oxc-project/runtime": "^0.66.0",
"@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-babel": "^6.0.4",
"@types/babel__core": "^7.20.5", "@types/babel__core": "^7.20.5",
"@types/babel__helper-module-imports": "^7.18.3", "@types/babel__helper-module-imports": "^7.18.3",
@ -35,7 +36,7 @@
"jsdom": "^26.0.0", "jsdom": "^26.0.0",
"prettier": "3.5.3", "prettier": "3.5.3",
"tslib": "^2.8.1", "tslib": "^2.8.1",
"tsup": "^8.4.0", "tsdown": "^0.9.6",
"typescript": "~5.8.2", "typescript": "~5.8.2",
"typescript-eslint": "^8.29.0", "typescript-eslint": "^8.29.0",
"vite": "^6.2.5", "vite": "^6.2.5",

View File

@ -21,8 +21,8 @@
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git" "url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
}, },
"scripts": { "scripts": {
"build": "tsup", "build": "tsdown",
"watch": "tsup --watch" "watch": "tsdown --watch"
}, },
"bugs": { "bugs": {
"url": "https://github.com/vuejs/babel-plugin-jsx/issues" "url": "https://github.com/vuejs/babel-plugin-jsx/issues"

View File

@ -1,4 +1,4 @@
import { defineConfig } from 'tsup'; import { defineConfig } from 'tsdown';
export default defineConfig({ export default defineConfig({
entry: ['src/index.ts'], entry: ['src/index.ts'],

View File

@ -32,8 +32,8 @@
} }
}, },
"scripts": { "scripts": {
"build": "tsup", "build": "tsdown",
"watch": "tsup --watch" "watch": "tsdown --watch"
}, },
"bugs": { "bugs": {
"url": "https://github.com/vuejs/babel-plugin-jsx/issues" "url": "https://github.com/vuejs/babel-plugin-jsx/issues"

View File

@ -1,4 +1,4 @@
import { defineConfig } from 'tsup'; import { defineConfig } from 'tsdown';
export default defineConfig({ export default defineConfig({
entry: ['src/index.ts'], entry: ['src/index.ts'],

1050
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff