chore: update TypeScript type-check command and add native-preview dependency for faster performance (#29179)

This commit is contained in:
zhsama
2025-12-05 14:42:37 +08:00
committed by GitHub
parent b509661b08
commit c3003dd47d
4 changed files with 81 additions and 6 deletions

View File

@@ -28,6 +28,7 @@
"lint:quiet": "eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache --quiet",
"lint:complexity": "eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache --rule 'complexity: [error, {max: 15}]' --quiet",
"type-check": "tsc --noEmit",
"type-check:tsgo": "tsgo --noEmit",
"prepare": "cd ../ && node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky ./web/.husky",
"gen-icons": "node ./app/components/base/icons/script.mjs",
"uglify-embed": "node ./bin/uglify-embed",
@@ -206,6 +207,7 @@
"sass": "^1.93.2",
"storybook": "9.1.13",
"tailwindcss": "^3.4.18",
"@typescript/native-preview": "^7.0.0-dev",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"uglify-js": "^3.19.3"
@@ -283,4 +285,4 @@
"sharp"
]
}
}
}