Refactor to TypeScript ES modules and add metadata sidebar

This commit is contained in:
Alan Grainger
2026-06-04 07:40:52 +12:00
parent d86c8721cc
commit e43b57d644
49 changed files with 5909 additions and 2409 deletions
+15 -9
View File
@@ -2,9 +2,13 @@
"name": "immich-public-proxy",
"version": "2.2.1",
"scripts": {
"dev": "ts-node src/index.ts",
"build": "npx tsc",
"test": "podman build --build-arg PACKAGE_VERSION=$(npm pkg get version | xargs) --format docker -t immich-proxy-test .. && podman run --init -it -p=3000:3000 --env-file .env --restart=always immich-proxy-test",
"dev": "concurrently -n server,client -c blue,green \"tsx watch src/index.ts\" \"tsc -w -p tsconfig.client.json\"",
"build": "tsc && tsc -p tsconfig.client.json",
"build:server": "tsc",
"build:client": "tsc -p tsconfig.client.json",
"test": "vitest run",
"test:watch": "vitest",
"test:container": "podman build --build-arg PACKAGE_VERSION=$(npm pkg get version | xargs) --format docker -t immich-proxy-test .. && podman run --init -it -p=3000:3000 --env-file .env --restart=always immich-proxy-test",
"start": "node dist/index.js"
},
"author": "Alan Grainger",
@@ -30,12 +34,14 @@
"@types/archiver": "^6.0.3",
"@types/cookie-session": "^2.0.49",
"@types/express": "^4.17.21",
"@types/node": "^16.18.111",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"eslint": "^8.49.0",
"@types/node": "^22",
"@typescript-eslint/eslint-plugin": "^7",
"@typescript-eslint/parser": "^7",
"concurrently": "^10.0.3",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.2"
"tsx": "^4",
"typescript": "^5.6.2",
"vitest": "^2"
}
}