fix: tsdown watch (#8813)

closes #8791
This commit is contained in:
Aaron 2026-03-27 17:29:55 +07:00 committed by GitHub
parent 130ba5ee6c
commit 97b4abd693
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 351 additions and 398 deletions

View file

@ -14,7 +14,7 @@
},
"scripts": {
"build": "tsc --noEmit && tsdown",
"dev": "tsdown --watch --onSuccess \"node --env-file=.env .\"",
"dev": "tsdown --watch --no-clean --onSuccess \"node --env-file=.env .\"",
"start": "node --env-file=.env .",
"test": "vitest run",
"test:watch": "vitest",

View file

@ -74,6 +74,10 @@
"flatted": "3.4.2"
},
"onlyBuiltDependencies": [
"@parcel/watcher",
"@swc/core",
"esbuild",
"msgpackr-extract",
"turbo"
],
"ignoredBuiltDependencies": [

View file

@ -12,7 +12,7 @@
"./package.json": "./package.json"
},
"scripts": {
"dev": "tsdown --watch",
"dev": "tsdown --watch --no-clean",
"build": "tsdown",
"check:lint": "oxlint --max-warnings=2 .",
"check:types": "tsc --noEmit",

View file

@ -14,7 +14,7 @@
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"dev": "tsdown --watch --no-clean",
"check:lint": "oxlint --max-warnings=3 .",
"check:types": "tsc --noEmit",
"check:format": "oxfmt --check .",
@ -30,5 +30,10 @@
"reflect-metadata": "^0.2.2",
"tsdown": "catalog:",
"typescript": "catalog:"
},
"inlinedDependencies": {
"@types/express": "4.17.23",
"@types/express-serve-static-core": "4.19.6",
"reflect-metadata": "0.2.2"
}
}

View file

@ -24,7 +24,7 @@
},
"scripts": {
"build": "tsc && tsdown",
"dev": "tsdown --watch",
"dev": "tsdown --watch --no-clean",
"check:lint": "oxlint --max-warnings=416 .",
"check:types": "tsc --noEmit",
"check:format": "oxfmt --check .",

View file

@ -9,15 +9,12 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
".": "./dist/index.js",
"./package.json": "./package.json"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"dev": "tsdown --watch --no-clean",
"check:lint": "oxlint --max-warnings=4 .",
"check:types": "tsc --noEmit",
"check:format": "oxfmt --check .",

View file

@ -5,4 +5,5 @@ export default defineConfig({
format: ["esm"],
dts: true,
platform: "neutral",
exports: true,
});

View file

@ -9,14 +9,11 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
".": "./dist/index.js",
"./package.json": "./package.json"
},
"scripts": {
"dev": "tsdown --watch",
"dev": "tsdown --watch --no-clean",
"build": "tsdown",
"check:lint": "oxlint --max-warnings=2 .",
"check:types": "tsc --noEmit",

View file

@ -5,4 +5,5 @@ export default defineConfig({
format: ["esm"],
dts: true,
platform: "neutral",
exports: true,
});

View file

@ -14,7 +14,7 @@
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"dev": "tsdown --watch --no-clean",
"check:lint": "oxlint --max-warnings=0 .",
"check:types": "tsc --noEmit",
"check:format": "oxfmt --check .",
@ -32,5 +32,9 @@
"@types/node": "catalog:",
"tsdown": "catalog:",
"typescript": "catalog:"
},
"inlinedDependencies": {
"@types/express": "4.17.23",
"@types/express-serve-static-core": "4.19.6"
}
}

View file

@ -50,7 +50,7 @@
"./styles/react-day-picker": "./dist/styles/react-day-picker.css"
},
"scripts": {
"dev": "tsdown --watch",
"dev": "tsdown --watch --no-clean",
"build": "tsdown",
"check:lint": "oxlint --max-warnings=3605 .",
"check:types": "tsc --noEmit",

View file

@ -8,15 +8,12 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index-BliaS-AT.d.ts",
"import": "./dist/index.js"
},
".": "./dist/index.js",
"./package.json": "./package.json"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"dev": "tsdown --watch --no-clean",
"check:lint": "oxlint --max-warnings=6 .",
"check:types": "tsc --noEmit",
"check:format": "oxfmt --check .",

View file

@ -5,4 +5,5 @@ export default defineConfig({
format: ["esm"],
dts: true,
platform: "neutral",
exports: true,
});

View file

@ -9,15 +9,12 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
".": "./dist/index.js",
"./package.json": "./package.json"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"dev": "tsdown --watch --no-clean",
"check:lint": "oxlint --max-warnings=0 .",
"check:types": "tsc --noEmit",
"check:format": "oxfmt --check .",

View file

@ -5,4 +5,5 @@ export default defineConfig({
format: ["esm"],
dts: true,
platform: "neutral",
exports: true,
});

View file

@ -12,9 +12,11 @@
"./index.css": "./index.css",
"./postcss.config.js": "./postcss.config.js"
},
"devDependencies": {
"dependencies": {
"@tailwindcss/postcss": "4.1.17",
"postcss": "8.5.6",
"postcss": "8.5.6"
},
"devDependencies": {
"tailwindcss": "4.1.17"
}
}

View file

@ -12,7 +12,7 @@
"./package.json": "./package.json"
},
"scripts": {
"dev": "tsdown --watch",
"dev": "tsdown --watch --no-clean",
"build": "tsdown",
"check:lint": "oxlint --max-warnings=1 .",
"check:types": "tsc --noEmit",

View file

@ -10,15 +10,12 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
".": "./dist/index.js",
"./package.json": "./package.json"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"dev": "tsdown --watch --no-clean",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"postcss": "postcss styles/globals.css -o styles/output.css --watch",

View file

@ -5,4 +5,5 @@ export default defineConfig({
format: ["esm"],
dts: true,
platform: "neutral",
exports: true,
});

View file

@ -9,15 +9,12 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
".": "./dist/index.js",
"./package.json": "./package.json"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"dev": "tsdown --watch --no-clean",
"check:lint": "oxlint --max-warnings=38 .",
"check:types": "tsc --noEmit",
"check:format": "oxfmt --check .",

View file

@ -5,4 +5,5 @@ export default defineConfig({
format: ["esm"],
dts: true,
platform: "neutral",
exports: true,
});

668
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff