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

10
pnpm-lock.yaml generated
View file

@ -122,6 +122,9 @@ importers:
lucide-react:
specifier: ^0.503.0
version: 0.503.0(react@18.3.1)
nanoid:
specifier: ^5.1.5
version: 5.1.5
next-themes:
specifier: ^0.4.6
version: 0.4.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
@ -2059,6 +2062,11 @@ packages:
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
nanoid@5.1.5:
resolution: {integrity: sha512-Ir/+ZpE9fDsNH0hQ3C68uyThDXzYcim2EqcZ8zn8Chtt1iylPT9xXJB0kPCnqzgcEGikO9RxSrh63MsmVCU7Fw==}
engines: {node: ^18 || >=20}
hasBin: true
natural-compare@1.4.0:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
@ -4422,6 +4430,8 @@ snapshots:
nanoid@3.3.11: {}
nanoid@5.1.5: {}
natural-compare@1.4.0: {}
next-themes@0.4.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1):