feat: Adds file saver and nanoid

Adds file-saver and nanoid packages for file downloading and unique ID generation functionality.

These dependencies are essential for implementing a new feature that allows users to download generated data and ensure uniqueness across the application. The file-saver package provides the necessary tools to save files on the client-side, while nanoid generates unique IDs.
This commit is contained in:
Chenwei Jiang 2025-08-21 11:13:35 +08:00
parent fe56c5274e
commit c597af273a
Signed by: cheverjohn
GPG key ID: ADC4815BFE960182
2 changed files with 15 additions and 4 deletions

View file

@ -46,8 +46,10 @@
"cmdk": "^1.1.1",
"date-fns": "^4.1.0",
"embla-carousel-react": "^8.6.0",
"file-saver": "^2.0.5",
"input-otp": "^1.4.2",
"lucide-react": "^0.503.0",
"nanoid": "^5.1.5",
"next-themes": "^0.4.6",
"react": "^18.2.0",
"react-day-picker": "8.10.1",
@ -61,17 +63,16 @@
"tailwindcss-animate": "^1.0.7",
"tw-animate-css": "^1.2.8",
"vaul": "^1.1.2",
"zod": "^3.24.3",
"zustand": "^5.0.6",
"xlsx": "^0.18.5",
"file-saver": "^2.0.5"
"zod": "^3.24.3",
"zustand": "^5.0.6"
},
"devDependencies": {
"@eslint/js": "^9.22.0",
"@types/file-saver": "^2.0.7",
"@types/node": "^22.14.1",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@types/file-saver": "^2.0.7",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.21",
"eslint": "^9.22.0",