Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

chore: enable sort-package-json and normalize package manifests

Timothy Yin189453af0924
diff --git a/.oxfmtrc.json b/.oxfmtrc.json
index 171a80ea..ff87c324 100644
--- a/.oxfmtrc.json
+++ b/.oxfmtrc.json
@@ -6,6 +6,6 @@
"bracketSameLine": false,
"singleAttributePerLine": true,
"printWidth": 80,
- "sortPackageJson": false,
+ "sortPackageJson": true,
"ignorePatterns": ["apps/admin/**"]
}
diff --git a/apps/cloud/package.json b/apps/cloud/package.json
index 9487c8d7..269d532d 100644
--- a/apps/cloud/package.json
+++ b/apps/cloud/package.json
@@ -2,8 +2,8 @@
"name": "@chronoframe/cloud",
"version": "0.0.0",
"private": true,
- "type": "module",
"license": "AGPL-3.0-only",
+ "type": "module",
"scripts": {
"dev": "node ../../scripts/saas-entry.mjs cloud dev",
"build": "node ../../scripts/saas-entry.mjs cloud build",
@@ -16,8 +16,10 @@
"@chronoframe/console": "workspace:*",
"@chronoframe/contracts": "workspace:*",
"@chronoframe/core": "workspace:*",
+ "@chronoframe/database": "workspace:*",
"@chronoframe/gallery": "workspace:*",
"@chronoframe/platform": "workspace:*",
+ "@chronoframe/storage": "workspace:*",
"@nuxt/icon": "2.5.1",
"@nuxt/ui": "^4.11.3",
"@nuxtjs/color-mode": "4.0.1",
@@ -34,6 +36,7 @@
"motion-v": "^2.6.0",
"nuxt": "^4.6.1",
"nuxt-auth-utils": "0.5.31",
+ "nuxt-gtag": "4.1.0",
"nuxt-mapbox": "1.6.4",
"nuxt-maplibre": "^1.2.2",
"nuxt-og-image": "6.10.3",
@@ -44,9 +47,6 @@
"reka-ui": "^2.11.0",
"shadcn-nuxt": "^2.8.2",
"tailwind-merge": "^3.7.0",
- "vue": "^3.5.43",
- "@chronoframe/database": "workspace:*",
- "@chronoframe/storage": "workspace:*",
- "nuxt-gtag": "4.1.0"
+ "vue": "^3.5.43"
}
}
diff --git a/apps/self-hosted/package.json b/apps/self-hosted/package.json
index 42b6ac19..bbc9da4a 100644
--- a/apps/self-hosted/package.json
+++ b/apps/self-hosted/package.json
@@ -2,8 +2,8 @@
"name": "@chronoframe/self-hosted",
"version": "1.0.1",
"private": true,
- "type": "module",
"license": "AGPL-3.0-only",
+ "type": "module",
"scripts": {
"dev": "node ../../scripts/self-hosted.mjs dev",
"build": "node ../../scripts/self-hosted.mjs build",
@@ -14,13 +14,23 @@
"dependencies": {
"@aws-sdk/client-s3": "^3.1149.0",
"@aws-sdk/s3-request-presigner": "^3.1149.0",
+ "@chronoframe/console": "workspace:*",
"@chronoframe/contracts": "workspace:*",
+ "@chronoframe/core": "workspace:*",
+ "@chronoframe/database": "workspace:*",
+ "@chronoframe/gallery": "workspace:*",
+ "@chronoframe/geocoding": "workspace:*",
+ "@chronoframe/jobs": "workspace:*",
+ "@chronoframe/media": "workspace:*",
+ "@chronoframe/processing": "workspace:*",
+ "@chronoframe/storage": "workspace:*",
"@chronoframe/webgl-image": "workspace:*",
"@iconify/vue": "5.0.3",
"@indoorequal/vue-maplibre-gl": "^8.4.2",
"@nuxt/fonts": "0.14.0",
"@nuxt/icon": "2.5.1",
"@nuxt/ui": "^4.11.3",
+ "@nuxtjs/color-mode": "4.0.1",
"@nuxtjs/i18n": "10.6.0",
"@pinia/nuxt": "^0.11.3",
"@tailwindcss/vite": "^4.3.3",
@@ -46,6 +56,7 @@
"nuxt-mapbox": "1.6.4",
"nuxt-maplibre": "^1.2.2",
"nuxt-og-image": "6.10.3",
+ "nuxt-site-config": "4.2.3",
"pinia": "^3.0.4",
"reka-ui": "^2.11.0",
"sharp": "^0.35.5",
@@ -59,18 +70,7 @@
"vue": "^3.5.43",
"vue-router": "^4.6.4",
"wait-on": "^9.5.1",
- "zod": "^4.6.6",
- "@chronoframe/storage": "workspace:*",
- "@chronoframe/media": "workspace:*",
- "@chronoframe/geocoding": "workspace:*",
- "@chronoframe/core": "workspace:*",
- "@chronoframe/database": "workspace:*",
- "@chronoframe/jobs": "workspace:*",
- "@chronoframe/processing": "workspace:*",
- "@chronoframe/gallery": "workspace:*",
- "@chronoframe/console": "workspace:*",
- "@nuxtjs/color-mode": "4.0.1",
- "nuxt-site-config": "4.2.3"
+ "zod": "^4.6.6"
},
"devDependencies": {
"safe-stable-stringify": "2.5.0"
diff --git a/apps/site/package.json b/apps/site/package.json
index 672bfc65..d3df1233 100644
--- a/apps/site/package.json
+++ b/apps/site/package.json
@@ -2,8 +2,8 @@
"name": "@chronoframe/site",
"version": "0.0.0",
"private": true,
- "type": "module",
"license": "AGPL-3.0-only",
+ "type": "module",
"scripts": {
"dev": "node ../../scripts/saas-entry.mjs site dev",
"build": "node ../../scripts/saas-entry.mjs site build",
@@ -12,32 +12,32 @@
"deploy": "wrangler deploy --config .output/server/wrangler.json"
},
"dependencies": {
- "nuxt": "^4.6.1",
- "vue": "^3.5.43",
+ "@chronoframe/contracts": "workspace:*",
+ "@chronoframe/core": "workspace:*",
+ "@chronoframe/database": "workspace:*",
+ "@chronoframe/gallery": "workspace:*",
+ "@chronoframe/platform": "workspace:*",
+ "@chronoframe/storage": "workspace:*",
+ "@nuxt/fonts": "0.14.0",
+ "@nuxt/icon": "2.5.1",
"@nuxt/ui": "^4.11.3",
- "reka-ui": "^2.11.0",
+ "@nuxtjs/color-mode": "4.0.1",
+ "@nuxtjs/i18n": "10.6.0",
"@pinia/nuxt": "^0.11.3",
- "pinia": "^3.0.4",
- "motion-v": "^2.6.0",
- "nuxt-auth-utils": "0.5.31",
+ "@unhead/vue": "3.4.2",
"@vueuse/nuxt": "14.4.0",
"dayjs-nuxt": "2.1.11",
- "@nuxtjs/i18n": "10.6.0",
+ "h3": "1.15.11",
+ "motion-v": "^2.6.0",
+ "nuxt": "^4.6.1",
+ "nuxt-auth-utils": "0.5.31",
+ "nuxt-gtag": "4.1.0",
"nuxt-mapbox": "1.6.4",
"nuxt-maplibre": "^1.2.2",
"nuxt-og-image": "6.10.3",
- "@chronoframe/gallery": "workspace:*",
- "@nuxtjs/color-mode": "4.0.1",
- "@nuxt/icon": "2.5.1",
"nuxt-site-config": "4.2.3",
- "@unhead/vue": "3.4.2",
- "@chronoframe/platform": "workspace:*",
- "@chronoframe/core": "workspace:*",
- "h3": "1.15.11",
- "@chronoframe/database": "workspace:*",
- "@chronoframe/storage": "workspace:*",
- "@chronoframe/contracts": "workspace:*",
- "nuxt-gtag": "4.1.0",
- "@nuxt/fonts": "0.14.0"
+ "pinia": "^3.0.4",
+ "reka-ui": "^2.11.0",
+ "vue": "^3.5.43"
}
}
diff --git a/apps/worker/package.json b/apps/worker/package.json
index 63a8e6eb..03515e1c 100644
--- a/apps/worker/package.json
+++ b/apps/worker/package.json
@@ -2,18 +2,18 @@
"name": "@chronoframe/worker",
"version": "0.1.0",
"private": true,
- "type": "module",
"license": "AGPL-3.0-only",
+ "type": "module",
"scripts": {
"start": "node --experimental-strip-types src/index.ts",
"type-check": "tsc --noEmit"
},
"dependencies": {
- "@chronoframe/core": "workspace:*",
"@chronoframe/contracts": "workspace:*",
+ "@chronoframe/core": "workspace:*",
+ "@chronoframe/media": "workspace:*",
"@chronoframe/processing": "workspace:*",
"@chronoframe/storage": "workspace:*",
- "@chronoframe/media": "workspace:*",
"exiftool-vendored": "^35.21.0",
"sharp": "^0.35.5"
},
diff --git a/package.json b/package.json
index 19ea194d..73b02fba 100644
--- a/package.json
+++ b/package.json
@@ -1,13 +1,13 @@
{
"name": "chronoframe",
"version": "1.0.2",
+ "private": true,
+ "license": "AGPL-3.0-only",
"author": {
"name": "ChronoFrame",
"email": "[email protected]"
},
- "license": "AGPL-3.0-only",
"type": "module",
- "private": true,
"scripts": {
"db": "drizzle-kit",
"db:push": "drizzle-kit push",
@@ -51,13 +51,23 @@
"dependencies": {
"@aws-sdk/client-s3": "^3.1149.0",
"@aws-sdk/s3-request-presigner": "^3.1149.0",
+ "@chronoframe/console": "workspace:*",
"@chronoframe/contracts": "workspace:*",
+ "@chronoframe/core": "workspace:*",
+ "@chronoframe/database": "workspace:*",
+ "@chronoframe/gallery": "workspace:*",
+ "@chronoframe/geocoding": "workspace:*",
+ "@chronoframe/jobs": "workspace:*",
+ "@chronoframe/media": "workspace:*",
+ "@chronoframe/processing": "workspace:*",
+ "@chronoframe/storage": "workspace:*",
"@chronoframe/webgl-image": "workspace:*",
"@iconify/vue": "5.0.3",
"@indoorequal/vue-maplibre-gl": "^8.4.2",
"@nuxt/fonts": "0.14.0",
"@nuxt/icon": "2.5.1",
"@nuxt/ui": "^4.11.3",
+ "@nuxtjs/color-mode": "4.0.1",
"@nuxtjs/i18n": "10.6.0",
"@pinia/nuxt": "^0.11.3",
"@tailwindcss/vite": "^4.3.3",
@@ -83,6 +93,7 @@
"nuxt-mapbox": "1.6.4",
"nuxt-maplibre": "^1.2.2",
"nuxt-og-image": "6.10.3",
+ "nuxt-site-config": "4.2.3",
"pinia": "^3.0.4",
"reka-ui": "^2.11.0",
"sharp": "^0.35.5",
@@ -96,20 +107,8 @@
"vue": "^3.5.43",
"vue-router": "^4.6.4",
"wait-on": "^9.5.1",
- "zod": "^4.6.6",
- "@chronoframe/storage": "workspace:*",
- "@chronoframe/media": "workspace:*",
- "@chronoframe/geocoding": "workspace:*",
- "@chronoframe/core": "workspace:*",
- "@chronoframe/database": "workspace:*",
- "@chronoframe/jobs": "workspace:*",
- "@chronoframe/processing": "workspace:*",
- "@chronoframe/gallery": "workspace:*",
- "@chronoframe/console": "workspace:*",
- "@nuxtjs/color-mode": "4.0.1",
- "nuxt-site-config": "4.2.3"
+ "zod": "^4.6.6"
},
- "packageManager": "[email protected]",
"devDependencies": {
"@iconify-json/carbon": "^1.2.28",
"@iconify-json/fluent-emoji-flat": "^1.2.6",
@@ -137,6 +136,7 @@
"vitepress": "2.0.0-alpha.20",
"wrangler": "4.151.3"
},
+ "packageManager": "[email protected]",
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
diff --git a/packages/console/package.json b/packages/console/package.json
index 66f7bf3c..b8a7084a 100644
--- a/packages/console/package.json
+++ b/packages/console/package.json
@@ -2,20 +2,20 @@
"name": "@chronoframe/console",
"version": "0.0.0",
"private": true,
- "type": "module",
"license": "AGPL-3.0-only",
+ "type": "module",
"exports": {
".": "./nuxt.config.ts"
},
"dependencies": {
+ "@chronoframe/contracts": "workspace:*",
"@chronoframe/gallery": "workspace:*",
+ "@nuxt/ui": "^4.11.3",
+ "@vueuse/core": "^14.4.0",
"driver.js": "^1.9.0",
"es-toolkit": "^1.52.0",
- "vue": "^3.5.43",
- "@nuxt/ui": "^4.11.3",
"motion-v": "^2.6.0",
- "@vueuse/core": "^14.4.0",
- "@chronoframe/contracts": "workspace:*",
+ "vue": "^3.5.43",
"zod": "^4.6.6"
}
}
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 903c8436..754fb45f 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -2,6 +2,7 @@
"name": "@chronoframe/contracts",
"version": "0.1.0",
"private": true,
+ "license": "MIT",
"type": "module",
"exports": {
".": "./src/index.ts",
@@ -28,6 +29,5 @@
},
"devDependencies": {
"typescript": "^5.9.3"
- },
- "license": "MIT"
+ }
}
diff --git a/packages/core/package.json b/packages/core/package.json
index d53a2570..08b568b1 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -2,6 +2,7 @@
"name": "@chronoframe/core",
"version": "0.1.0",
"private": true,
+ "license": "AGPL-3.0-only",
"type": "module",
"exports": {
".": "./src/index.ts",
@@ -16,6 +17,5 @@
},
"devDependencies": {
"typescript": "^5.9.3"
- },
- "license": "AGPL-3.0-only"
+ }
}
diff --git a/packages/database/package.json b/packages/database/package.json
index d6f0b37a..65d0f13b 100644
--- a/packages/database/package.json
+++ b/packages/database/package.json
@@ -2,6 +2,7 @@
"name": "@chronoframe/database",
"version": "0.1.0",
"private": true,
+ "license": "AGPL-3.0-only",
"type": "module",
"exports": {
".": "./src/index.ts",
@@ -31,6 +32,5 @@
"@types/better-sqlite3": "^9.6.0",
"@types/node": "^22.20.5",
"typescript": "^5.9.3"
- },
- "license": "AGPL-3.0-only"
+ }
}
diff --git a/packages/gallery/package.json b/packages/gallery/package.json
index e33216e2..e6f3b1b4 100644
--- a/packages/gallery/package.json
+++ b/packages/gallery/package.json
@@ -2,8 +2,8 @@
"name": "@chronoframe/gallery",
"version": "0.0.0",
"private": true,
- "type": "module",
"license": "AGPL-3.0-only",
+ "type": "module",
"exports": {
".": "./nuxt.config.ts",
"./shared/*": "./shared/*.ts",
@@ -11,22 +11,22 @@
},
"dependencies": {
"@chronoframe/contracts": "workspace:*",
- "tailwind-merge": "^3.7.0",
+ "@chronoframe/webgl-image": "workspace:*",
"@iconify/vue": "5.0.3",
- "motion-v": "^2.6.0",
- "vue": "^3.5.43",
- "maplibre-gl": "^5.24.0",
"@nuxt/ui": "^4.11.3",
- "@chronoframe/webgl-image": "workspace:*",
- "swiper": "^12.2.0",
- "zod": "^4.6.6",
- "tippy.js": "^6.3.7",
- "thumbhash": "^0.1.1",
- "file-type": "^22.1.1",
- "@yeger/vue-masonry-wall": "^6.1.4",
- "pinia": "^3.0.4",
"@nuxtjs/i18n": "10.6.0",
+ "@yeger/vue-masonry-wall": "^6.1.4",
"dayjs-nuxt": "2.1.11",
- "vue-i18n": "^11.4.14"
+ "file-type": "^22.1.1",
+ "maplibre-gl": "^5.24.0",
+ "motion-v": "^2.6.0",
+ "pinia": "^3.0.4",
+ "swiper": "^12.2.0",
+ "tailwind-merge": "^3.7.0",
+ "thumbhash": "^0.1.1",
+ "tippy.js": "^6.3.7",
+ "vue": "^3.5.43",
+ "vue-i18n": "^11.4.14",
+ "zod": "^4.6.6"
}
}
diff --git a/packages/geocoding/package.json b/packages/geocoding/package.json
index d0a3d1de..9100a018 100644
--- a/packages/geocoding/package.json
+++ b/packages/geocoding/package.json
@@ -2,6 +2,7 @@
"name": "@chronoframe/geocoding",
"version": "0.1.0",
"private": true,
+ "license": "AGPL-3.0-only",
"type": "module",
"exports": {
".": "./src/index.ts",
@@ -17,6 +18,5 @@
"devDependencies": {
"@types/node": "^22.20.5",
"typescript": "^5.9.3"
- },
- "license": "AGPL-3.0-only"
+ }
}
diff --git a/packages/jobs/package.json b/packages/jobs/package.json
index 14269b77..fbb4cdf4 100644
--- a/packages/jobs/package.json
+++ b/packages/jobs/package.json
@@ -2,6 +2,7 @@
"name": "@chronoframe/jobs",
"version": "0.1.0",
"private": true,
+ "license": "AGPL-3.0-only",
"type": "module",
"exports": {
".": "./src/index.ts"
@@ -10,11 +11,10 @@
"type-check": "tsc --noEmit"
},
"dependencies": {
- "@chronoframe/core": "workspace:*",
- "@chronoframe/contracts": "workspace:*"
+ "@chronoframe/contracts": "workspace:*",
+ "@chronoframe/core": "workspace:*"
},
"devDependencies": {
"typescript": "^5.9.3"
- },
- "license": "AGPL-3.0-only"
+ }
}
diff --git a/packages/media/package.json b/packages/media/package.json
index 38e30160..54e9f8ec 100644
--- a/packages/media/package.json
+++ b/packages/media/package.json
@@ -2,6 +2,7 @@
"name": "@chronoframe/media",
"version": "0.1.0",
"private": true,
+ "license": "AGPL-3.0-only",
"type": "module",
"exports": {
".": "./src/index.ts",
@@ -18,19 +19,18 @@
"type-check": "tsc --noEmit"
},
"dependencies": {
- "sharp": "^0.35.5",
+ "@chronoframe/contracts": "workspace:*",
+ "@chronoframe/storage": "workspace:*",
"@vingle/bmp-js": "^0.2.5",
- "heic-convert": "^2.1.0",
- "exiftool-vendored": "^35.21.0",
"es-toolkit": "^1.52.0",
- "thumbhash": "^0.1.1",
- "@chronoframe/contracts": "workspace:*",
- "@chronoframe/storage": "workspace:*"
+ "exiftool-vendored": "^35.21.0",
+ "heic-convert": "^2.1.0",
+ "sharp": "^0.35.5",
+ "thumbhash": "^0.1.1"
},
"devDependencies": {
- "@types/node": "^22.20.5",
"@types/heic-convert": "^2.1.1",
+ "@types/node": "^22.20.5",
"typescript": "^5.9.3"
- },
- "license": "AGPL-3.0-only"
+ }
}
diff --git a/packages/platform/package.json b/packages/platform/package.json
index cc26060e..dfdc1673 100644
--- a/packages/platform/package.json
+++ b/packages/platform/package.json
@@ -2,8 +2,8 @@
"name": "@chronoframe/platform",
"version": "0.1.0",
"private": true,
- "type": "module",
"license": "AGPL-3.0-only",
+ "type": "module",
"exports": {
".": "./src/index.ts",
"./domains": "./src/domains.ts",
@@ -13,8 +13,8 @@
"type-check": "tsc --noEmit"
},
"dependencies": {
- "@chronoframe/core": "workspace:*",
- "@chronoframe/contracts": "workspace:*"
+ "@chronoframe/contracts": "workspace:*",
+ "@chronoframe/core": "workspace:*"
},
"devDependencies": {
"typescript": "^5.9.3"
diff --git a/packages/processing/package.json b/packages/processing/package.json
index 6dacfaba..1ed9180c 100644
--- a/packages/processing/package.json
+++ b/packages/processing/package.json
@@ -2,6 +2,7 @@
"name": "@chronoframe/processing",
"version": "0.1.0",
"private": true,
+ "license": "AGPL-3.0-only",
"type": "module",
"exports": {
".": "./src/index.ts"
@@ -11,13 +12,12 @@
},
"dependencies": {
"@chronoframe/contracts": "workspace:*",
+ "@chronoframe/geocoding": "workspace:*",
"@chronoframe/media": "workspace:*",
- "@chronoframe/storage": "workspace:*",
- "@chronoframe/geocoding": "workspace:*"
+ "@chronoframe/storage": "workspace:*"
},
"devDependencies": {
- "typescript": "^5.9.3",
- "@types/node": "^22.20.5"
- },
- "license": "AGPL-3.0-only"
+ "@types/node": "^22.20.5",
+ "typescript": "^5.9.3"
+ }
}
diff --git a/packages/storage/package.json b/packages/storage/package.json
index eb278e2a..4a488f35 100644
--- a/packages/storage/package.json
+++ b/packages/storage/package.json
@@ -2,6 +2,7 @@
"name": "@chronoframe/storage",
"version": "0.1.0",
"private": true,
+ "license": "AGPL-3.0-only",
"type": "module",
"exports": {
".": "./src/index.ts",
@@ -29,8 +30,7 @@
},
"devDependencies": {
"@types/node": "^22.20.5",
- "typescript": "^5.9.3",
- "esbuild": "0.28.0"
- },
- "license": "AGPL-3.0-only"
+ "esbuild": "0.28.0",
+ "typescript": "^5.9.3"
+ }
}
diff --git a/packages/webgl-image/package.json b/packages/webgl-image/package.json
index f43bd152..f14242ab 100644
--- a/packages/webgl-image/package.json
+++ b/packages/webgl-image/package.json
@@ -1,22 +1,30 @@
{
"name": "@chronoframe/webgl-image",
"version": "1.0.0",
+ "description": "A high-performance WebGL image viewer component for Vue.",
"keywords": [
- "webgl",
+ "hardware-acceleration",
+ "high-performance",
"image-viewer",
- "vue3",
- "zoom",
"pan",
- "hardware-acceleration",
- "high-performance"
+ "vue3",
+ "webgl",
+ "zoom"
],
+ "license": "MIT",
"author": {
"name": "ChronoFrame",
"email": "[email protected]"
},
- "license": "MIT",
- "description": "A high-performance WebGL image viewer component for Vue.",
+ "files": [
+ "dist",
+ "src",
+ "LICENSE"
+ ],
"type": "module",
+ "main": "./dist/index.cjs",
+ "module": "./dist/index.mjs",
+ "types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
@@ -36,14 +44,6 @@
"./dist/webgl-image.css": "./dist/webgl-image.css",
"./style": "./dist/webgl-image.css"
},
- "main": "./dist/index.cjs",
- "module": "./dist/index.mjs",
- "types": "./dist/index.d.ts",
- "files": [
- "dist",
- "src",
- "LICENSE"
- ],
"scripts": {
"build": "vite build",
"dev": "vite build --watch",
@@ -51,9 +51,6 @@
"lint:fix": "oxlint -c ../../.oxlintrc.json src --fix",
"type-check": "vue-tsc --noEmit"
},
- "peerDependencies": {
- "vue": "^3.5.43"
- },
"devDependencies": {
"@types/node": "^22.20.5",
"@vitejs/plugin-vue": "^6.0.10",
@@ -61,5 +58,8 @@
"vite": "^8.3.4",
"vite-plugin-dts": "^4.5.4",
"vue-tsc": "^2.2.12"
+ },
+ "peerDependencies": {
+ "vue": "^3.5.43"
}
}