feat: element plus UI组件库
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
041bb73b9a
commit
5f6fbcd76f
30 files changed
+3621
-1327
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
# Jenkins 前端风格检查。只跑 npm run lint,不跑 build。
|
||||
# Element 规则当前是 off,本脚本应通过。启用方式见 docs/ui/ELEMENT_MIGRATION.md §9.2。
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
ROOT_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)"
|
||||
FRONTEND_DIR="${ROOT_DIR}/frontend"
|
||||
|
||||
if [[ ! -f "${FRONTEND_DIR}/package.json" ]]; then
|
||||
echo "[ci-frontend-lint] missing ${FRONTEND_DIR}/package.json"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd "${FRONTEND_DIR}"
|
||||
echo "[ci-frontend-lint] npm ci"
|
||||
npm ci
|
||||
echo "[ci-frontend-lint] npm run lint"
|
||||
npm run lint
|
||||
echo "[ci-frontend-lint] OK"
|
||||
Reference in new issue
Block a user