From 2aad0a5f144bd5ce4f579388665d8673af4c77a8 Mon Sep 17 00:00:00 2001 From: Echo <1711788888@qq.com> Date: Thu, 5 Mar 2026 21:40:14 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E4=BC=98=E5=8C=96gitignore,=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=BC=BA=E5=A4=B1=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 --- admin-ui/package.json | 39 +++++++++++++++++++++++++++++++++++++++ admin-ui/tsconfig.json | 24 ++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 3 deletions(-) create mode 100644 admin-ui/package.json create mode 100644 admin-ui/tsconfig.json diff --git a/.gitignore b/.gitignore index 38f37c3..7d21226 100644 --- a/.gitignore +++ b/.gitignore @@ -7,9 +7,6 @@ /admin-ui/node_modules/ /admin-ui/dist/ -/admin-ui/pnpm-lock.yaml -/admin-ui/package-lock.json -/admin-ui/tsconfig.tsbuildinfo .claude/ !.claude/skills/ diff --git a/admin-ui/package.json b/admin-ui/package.json new file mode 100644 index 0000000..ba78a0d --- /dev/null +++ b/admin-ui/package.json @@ -0,0 +1,39 @@ +{ + "name": "kiro-admin-ui", + "version": "1.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "tsc -b && vite build", + "preview": "vite preview" + }, + "dependencies": { + "react": "^19.2.4", + "react-dom": "^19.2.4", + "@tanstack/react-query": "^5.90.20", + "axios": "^1.13.4", + "clsx": "^2.1.1", + "tailwind-merge": "^3.4.0", + "class-variance-authority": "^0.7.1", + "@radix-ui/react-checkbox": "^1.3.3", + "@radix-ui/react-slot": "^1.2.4", + "@radix-ui/react-switch": "^1.2.6", + "@radix-ui/react-dialog": "^1.1.15", + "@radix-ui/react-dropdown-menu": "^2.1.16", + "@radix-ui/react-toast": "^1.2.15", + "@radix-ui/react-tooltip": "^1.2.8", + "lucide-react": "^0.563.0", + "sonner": "^2.0.7" + }, + "devDependencies": { + "@tailwindcss/postcss": "^4.1.18", + "@types/react": "^19.2.10", + "@types/react-dom": "^19.2.3", + "@vitejs/plugin-react-swc": "^4.2.2", + "autoprefixer": "^10.4.24", + "postcss": "^8.5.6", + "tailwindcss": "^4.1.18", + "typescript": "^5.9.3", + "vite": "^7.3.1" + } +} diff --git a/admin-ui/tsconfig.json b/admin-ui/tsconfig.json new file mode 100644 index 0000000..5e1feb4 --- /dev/null +++ b/admin-ui/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "module": "ESNext", + "skipLibCheck": true, + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + "jsx": "react-jsx", + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"] + } + }, + "include": ["src"] +}