mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-08-14 03:03:20 +08:00
chore: tsdown workspace
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "pnpm -C packages/jsx-explorer run dev",
|
"dev": "pnpm -C packages/jsx-explorer run dev",
|
||||||
"build": "pnpm run -F babel-plugin-jsx... build",
|
"build": "tsdown",
|
||||||
"test": "vitest",
|
"test": "vitest",
|
||||||
"lint": "eslint --cache .",
|
"lint": "eslint --cache .",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
@ -35,7 +35,7 @@
|
|||||||
"eslint-plugin-import-x": "^4.16.1",
|
"eslint-plugin-import-x": "^4.16.1",
|
||||||
"jsdom": "^26.1.0",
|
"jsdom": "^26.1.0",
|
||||||
"prettier": "3.6.2",
|
"prettier": "3.6.2",
|
||||||
"tsdown": "^0.13.3",
|
"tsdown": "^0.14.0",
|
||||||
"tslib": "^2.8.1",
|
"tslib": "^2.8.1",
|
||||||
"typescript": "~5.9.2",
|
"typescript": "~5.9.2",
|
||||||
"typescript-eslint": "^8.39.0",
|
"typescript-eslint": "^8.39.0",
|
||||||
|
@ -20,10 +20,6 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
|
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
|
||||||
"build": "tsdown",
|
|
||||||
"watch": "tsdown --watch"
|
|
||||||
},
|
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/babel-plugin-jsx/issues"
|
"url": "https://github.com/vuejs/babel-plugin-jsx/issues"
|
||||||
},
|
},
|
||||||
|
@ -31,10 +31,6 @@
|
|||||||
"./package.json": "./package.json"
|
"./package.json": "./package.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
|
||||||
"build": "tsdown",
|
|
||||||
"watch": "tsdown --watch"
|
|
||||||
},
|
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/babel-plugin-jsx/issues"
|
"url": "https://github.com/vuejs/babel-plugin-jsx/issues"
|
||||||
},
|
},
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
import { defineConfig } from 'tsdown';
|
|
||||||
|
|
||||||
export default defineConfig({
|
|
||||||
entry: ['src/index.ts'],
|
|
||||||
format: ['cjs', 'esm'],
|
|
||||||
dts: true,
|
|
||||||
target: 'es2015',
|
|
||||||
platform: 'neutral',
|
|
||||||
});
|
|
18
pnpm-lock.yaml
generated
18
pnpm-lock.yaml
generated
@ -63,8 +63,8 @@ importers:
|
|||||||
specifier: 3.6.2
|
specifier: 3.6.2
|
||||||
version: 3.6.2
|
version: 3.6.2
|
||||||
tsdown:
|
tsdown:
|
||||||
specifier: ^0.13.3
|
specifier: ^0.14.0
|
||||||
version: 0.13.3(typescript@5.9.2)
|
version: 0.14.0(typescript@5.9.2)
|
||||||
tslib:
|
tslib:
|
||||||
specifier: ^2.8.1
|
specifier: ^2.8.1
|
||||||
version: 2.8.1
|
version: 2.8.1
|
||||||
@ -2492,8 +2492,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==}
|
resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==}
|
||||||
engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
|
engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
|
||||||
|
|
||||||
rolldown-plugin-dts@0.15.3:
|
rolldown-plugin-dts@0.15.6:
|
||||||
resolution: {integrity: sha512-qILn8tXV828UpzgSN7R3KeCl1lfc2eRhPJDGO78C6PztEQH51gBTG3tyQDIVIAYY58afhOsWW/zTYpfewTGCdg==}
|
resolution: {integrity: sha512-AxQlyx3Nszob5QLmVUjz/VnC5BevtUo0h8tliuE0egddss7IbtCBU7GOe7biRU0fJNRQJmQjPKXFcc7K98j3+w==}
|
||||||
engines: {node: '>=20.18.0'}
|
engines: {node: '>=20.18.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@typescript/native-preview': '>=7.0.0-dev.20250601.1'
|
'@typescript/native-preview': '>=7.0.0-dev.20250601.1'
|
||||||
@ -2680,8 +2680,8 @@ packages:
|
|||||||
peerDependencies:
|
peerDependencies:
|
||||||
typescript: '>=4.8.4'
|
typescript: '>=4.8.4'
|
||||||
|
|
||||||
tsdown@0.13.3:
|
tsdown@0.14.0:
|
||||||
resolution: {integrity: sha512-3ujweLJB70DdWXX3v7xnzrFhzW1F/6/99XhGeKzh1UCmZ+ttFmF7Czha7VaunA5Dq/u+z4aNz3n4GH748uivYg==}
|
resolution: {integrity: sha512-3zBEDUC1XPnVE5rwfsm1y8REh58CJsDT319hkRwBgIpN9eMClE30dqF4HkK8zPKoczNNqFrQ2cKGrjE50WprIw==}
|
||||||
engines: {node: '>=20.19.0'}
|
engines: {node: '>=20.19.0'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -5360,7 +5360,7 @@ snapshots:
|
|||||||
|
|
||||||
reusify@1.1.0: {}
|
reusify@1.1.0: {}
|
||||||
|
|
||||||
rolldown-plugin-dts@0.15.3(rolldown@1.0.0-beta.31)(typescript@5.9.2):
|
rolldown-plugin-dts@0.15.6(rolldown@1.0.0-beta.31)(typescript@5.9.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/generator': 7.28.0
|
'@babel/generator': 7.28.0
|
||||||
'@babel/parser': 7.28.0
|
'@babel/parser': 7.28.0
|
||||||
@ -5569,7 +5569,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
typescript: 5.9.2
|
typescript: 5.9.2
|
||||||
|
|
||||||
tsdown@0.13.3(typescript@5.9.2):
|
tsdown@0.14.0(typescript@5.9.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
ansis: 4.1.0
|
ansis: 4.1.0
|
||||||
cac: 6.7.14
|
cac: 6.7.14
|
||||||
@ -5579,7 +5579,7 @@ snapshots:
|
|||||||
empathic: 2.0.0
|
empathic: 2.0.0
|
||||||
hookable: 5.5.3
|
hookable: 5.5.3
|
||||||
rolldown: 1.0.0-beta.31
|
rolldown: 1.0.0-beta.31
|
||||||
rolldown-plugin-dts: 0.15.3(rolldown@1.0.0-beta.31)(typescript@5.9.2)
|
rolldown-plugin-dts: 0.15.6(rolldown@1.0.0-beta.31)(typescript@5.9.2)
|
||||||
semver: 7.7.2
|
semver: 7.7.2
|
||||||
tinyexec: 1.0.1
|
tinyexec: 1.0.1
|
||||||
tinyglobby: 0.2.14
|
tinyglobby: 0.2.14
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import { defineConfig } from 'tsdown';
|
import { defineConfig } from 'tsdown';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
workspace: ['./packages/babel-plugin-jsx', './packages/babel-plugin-resolve-type'],
|
||||||
entry: ['src/index.ts'],
|
entry: ['src/index.ts'],
|
||||||
format: ['cjs', 'esm'],
|
format: ['cjs', 'esm'],
|
||||||
dts: true,
|
dts: true,
|
Reference in New Issue
Block a user