chore: 修复 dev

This commit is contained in:
winixt 2025-09-10 14:39:59 +08:00
parent c1fa59fcf8
commit 0e07b43306
26 changed files with 29 additions and 25 deletions

View File

@ -19,7 +19,7 @@
], ],
"scripts": { "scripts": {
"bootstrap": "pnpm i", "bootstrap": "pnpm i",
"dev": "node scripts/build.mjs --watch", "dev": "turbo run watch",
"build": "turbo run build", "build": "turbo run build",
"release": "node scripts/release.mjs", "release": "node scripts/release.mjs",
"clean": "rm -rf ./node_modules & rm -rf packages/**/node_modules & rm -rf packages/**/.cache", "clean": "rm -rf ./node_modules & rm -rf packages/**/node_modules & rm -rf packages/**/.cache",

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"dist" "dist"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -28,7 +28,7 @@
"templates/**/*" "templates/**/*"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -10,7 +10,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"license": "MIT", "license": "MIT",

View File

@ -42,7 +42,7 @@
"node": ">= 18.0.0" "node": ">= 18.0.0"
}, },
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup", "build": "tsup",
"start": "npm-run-all --parallel start:*", "start": "npm-run-all --parallel start:*",
"start:vite-main": "cd ./examples/vite-main && fes dev", "start:vite-main": "cd ./examples/vite-main && fes dev",

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -24,7 +24,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -24,7 +24,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -25,7 +25,7 @@
"types.d.ts" "types.d.ts"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"dist" "dist"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -23,7 +23,7 @@
"dist" "dist"
], ],
"scripts": { "scripts": {
"dev": "tsup --watch --sourcemap", "watch": "tsup --watch",
"build": "tsup" "build": "tsup"
}, },
"publishConfig": { "publishConfig": {

View File

@ -3,6 +3,10 @@
"build": { "build": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
"outputs": ["dist/**"] "outputs": ["dist/**"]
},
"watch": {
"dependsOn": [],
"outputs": []
} }
} }
} }