feat: introduce @photo-gallery/data package for centralized photo management

- Added a new package `@photo-gallery/data` to manage photo data and metadata.
- Updated various components to utilize the new photoLoader from the data package.
- Adjusted dependencies in `pnpm-lock.yaml` and `package.json` files to include the new package.
- Refactored imports across the application to streamline photo data access.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-06-08 20:46:19 +08:00
parent 6641ce4404
commit 67a948ddeb
16 changed files with 75 additions and 19 deletions

View File

@@ -0,0 +1,13 @@
{
"name": "@photo-gallery/data",
"type": "module",
"private": true,
"exports": {
".": "./src/index.ts",
"./types": "./src/types.ts"
},
"dependencies": {
"exif-reader": "2.0.2",
"fuji-recipes": "1.0.2"
}
}