mirror of
https://github.com/langgenius/dify.git
synced 2026-09-21 05:11:22 +08:00
chore: upgrade TypeScript 7 (#38575)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
autofix-ci[bot]
parent
d72ee32ba1
commit
512f39dede
@@ -22,7 +22,7 @@
|
||||
"gen-api-contract-from-openapi": "node -e \"fs.rmSync('generated/api', { recursive: true, force: true })\" && openapi-ts -f openapi-ts.api.config.ts && vp fmt generated/api && eslint --fix generated/api",
|
||||
"gen-api-openapi": "uv run --project ../../api ../../api/dev/generate_swagger_specs.py --output-dir openapi",
|
||||
"gen-enterprise-contract": "openapi-ts -f openapi-ts.enterprise.config.ts",
|
||||
"type-check": "tsgo"
|
||||
"type-check": "tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"@orpc/contract": "catalog:",
|
||||
@@ -33,7 +33,7 @@
|
||||
"@hey-api/openapi-ts": "catalog:",
|
||||
"@types/js-yaml": "catalog:",
|
||||
"@types/node": "catalog:",
|
||||
"@typescript/native-preview": "catalog:",
|
||||
"@typescript/native": "catalog:",
|
||||
"eslint": "catalog:",
|
||||
"js-yaml": "catalog:",
|
||||
"typescript": "catalog:",
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"build": "vp pack",
|
||||
"prepare": "pnpm run build",
|
||||
"test": "vp test",
|
||||
"type-check": "tsgo",
|
||||
"type-check": "tsc",
|
||||
"prepublish": "pnpm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -36,7 +36,7 @@
|
||||
"devDependencies": {
|
||||
"@dify/tsconfig": "workspace:*",
|
||||
"@types/node": "catalog:",
|
||||
"@typescript/native-preview": "catalog:",
|
||||
"@typescript/native": "catalog:",
|
||||
"vite": "catalog:",
|
||||
"vite-plus": "catalog:",
|
||||
"vitest": "catalog:"
|
||||
|
||||
@@ -156,7 +156,7 @@
|
||||
"test": "vp test --project unit",
|
||||
"test:storybook": "vp test --project storybook --run",
|
||||
"test:watch": "vp test --project unit --watch",
|
||||
"type-check": "tsgo"
|
||||
"type-check": "tsc"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@base-ui/react": "catalog:",
|
||||
@@ -186,7 +186,7 @@
|
||||
"@tanstack/react-virtual": "catalog:",
|
||||
"@types/react": "catalog:",
|
||||
"@types/react-dom": "catalog:",
|
||||
"@typescript/native-preview": "catalog:",
|
||||
"@typescript/native": "catalog:",
|
||||
"@vitejs/plugin-react": "catalog:",
|
||||
"@vitest/browser": "catalog:",
|
||||
"@vitest/browser-playwright": "catalog:",
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"test": "vp test",
|
||||
"type-check": "tsgo"
|
||||
"type-check": "tsc"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tanstack/form-core": "catalog:",
|
||||
@@ -20,7 +20,7 @@
|
||||
"devDependencies": {
|
||||
"@dify/tsconfig": "workspace:*",
|
||||
"@tanstack/form-core": "catalog:",
|
||||
"@typescript/native-preview": "catalog:",
|
||||
"@typescript/native": "catalog:",
|
||||
"jotai": "catalog:",
|
||||
"typescript": "catalog:",
|
||||
"vite": "catalog:",
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build": "vp pack",
|
||||
"type-check": "tsgo"
|
||||
"type-check": "tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"@typescript/native-preview": "catalog:",
|
||||
"@typescript/native": "catalog:",
|
||||
"typescript": "catalog:"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user