Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix(workers): less prod deps

Mohamed Bassem6f661426f222
diff --git a/apps/workers/package.json b/apps/workers/package.json
index e6981da5..c891a8af 100644
--- a/apps/workers/package.json
+++ b/apps/workers/package.json
@@ -51,13 +51,10 @@
"patchright": "1.59.4",
"pdf2json": "^3.1.5",
"pdf2pic": "^3.1.3",
- "pdfjs-dist": "^4.2.67",
"prom-client": "^15.1.3",
"rss-parser": "^3.13.0",
"sharp": "^0.35.5",
"tesseract.js": "^7.0.0",
- "tsx": "^4.23.13",
- "typescript": "^5.9",
"zod": "^4.2.0"
},
"devDependencies": {
@@ -65,11 +62,13 @@
"@types/jsdom": "^21.1.6",
"@types/node-cron": "^3.0.11",
"tsdown": "^0.12.9",
+ "tsx": "^4.23.13",
+ "typescript": "^5.9",
"vitest": "^4.1.11"
},
"scripts": {
"start": "tsx watch index.ts",
- "start:prod": "tsx index.ts",
+ "start:prod": "node dist/index.js",
"migrate:queue": "tsx scripts/migrateQueue.ts",
"build": "tsdown",
"build:watch": "tsdown --watch",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f15b2a83..acbc7a23 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1040,9 +1040,6 @@ importers:
pdf2pic:
specifier: ^3.1.3
version: 3.1.3
- pdfjs-dist:
- specifier: ^4.2.67
- version: 4.10.38
prom-client:
specifier: ^15.1.3
version: 15.1.3
@@ -1055,12 +1052,6 @@ importers:
tesseract.js:
specifier: ^7.0.0
version: 7.0.0
- tsx:
- specifier: ^4.23.13
- version: 4.23.13
- typescript:
- specifier: ^5.9
- version: 5.9.3
zod:
specifier: ^4.2.0
version: 4.3.6
@@ -1077,6 +1068,12 @@ importers:
tsdown:
specifier: ^0.12.9
version: 0.12.9([email protected])
+ tsx:
+ specifier: ^4.23.13
+ version: 4.23.13
+ typescript:
+ specifier: ^5.9
+ version: 5.9.3
vitest:
specifier: ^4.1.11
@@ -5233,75 +5230,6 @@ packages:
resolution: {integrity: sha512-juG5VWh4qAivzTAeMzvY9xs9HY5rAcr2E4I7tiSSCokRFi7XIZCAu92ZkSTsIj1OPceCifL3cpfteP3pDT9/QQ==}
engines: {node: '>=14.0.0'}
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-I/YOuQ0wbkVYxVaYtCgN42WKTYxNqFA0gTcTrHIGG1jfpDSyZWII/uHcjOo4nzd19io6Y4+/BqP8E5hJgf9OmQ==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [android]
-
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-4pPGyXetHIHkw2TOJHujt3mkCP8LdDu8+CT15ld9Id39c752RcI0amDHSuMLMQfAjvusA9B5kKxazwjMGjEJpQ==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [darwin]
-
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-+2N6Os9LbkmDMHL+raknrUcLQhsXzc5CSXRbXws9C3pv/mjHRVszQ9dhFUUe9FjfPhCJznO6USVdwOtu7pOrzQ==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [darwin]
-
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-QjscX9OaKq/990sVhSMj581xuqLgiaPVMjjYvWaCmAJRkNQ004QfoSMEm3FoTqM4DRoquP8jvuEXScVJsc1rqQ==}
- engines: {node: '>= 10'}
- cpu: [arm]
- os: [linux]
-
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-LNakMOwwqwiHIwMpnMAbFRczQMQ7TkkMyATqFCOtUJNlE6LPP/QiUj/mlFrNbUn/hctqShJ60gWEb52ZTALbVw==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-wBTOllEYNfJCHOdZj9v8gLzZ4oY3oyPX8MSRvaxPm/s7RfEXxCyZ8OhJ5xAyicsDdbE5YBZqdmaaeP5+xKxvtg==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-GVUUPC8TuuFqHip0rxHkUqArQnlzmlXmTEBuXAWdgCv85zTCFH8nOHk/YCF5yo0Z2eOm8nOi90aWs0leJ4OE5Q==}
- engines: {node: '>= 10'}
- cpu: [riscv64]
- os: [linux]
- libc: [glibc]
-
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-/kvUa2lZRwGNyfznSn5t1ShWJnr/m5acSlhTV3eXECafObjl0VBuA1HJw0QrilLpb4Fe0VLywkpD1NsMoVDROQ==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-aqlv8MLpycoMKRmds7JWCfVwNf1fiZxaU7JwJs9/ExjTD8lX2KjsO7CTeAj5Cl4aEuzxUWbJPUUE2Qu9cZ1vfg==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-Q9QU3WIpwBTVHk4cPfBjGHGU4U0llQYRXgJtFtYqqGNEOKVN4OT6PQ+ve63xwIPODMpZ0HHyj/KLGc9CWc3EtQ==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [win32]
-
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-nD6NGa4JbNYSZYsTnLGrqe9Kn/lCkA4ybXt8sx5ojDqZjr2i0TWAHxx/vhgfjX+i3hCdKWufxYwi7CfXqtITSA==}
- engines: {node: '>= 10'}
-
'@napi-rs/[email protected]':
resolution: {integrity: sha512-OInwPIZhcQ+aWOBFMUXzv95RLDTBRPaNPm5kSFJaL3gVAMVxrzc0YXNsVeLPHf+4sTviOy2e5wZdvKILb7dC/w==}
@@ -13530,10 +13458,6 @@ packages:
resolution: {integrity: sha512-KbW4Qb7iHw2fBRWtA9FTc4pZg9cokiFIzc6cE7dzelTrhXWolfQuG1fYVC0E2BRmK/w7xfBjQ+OEsPZPO3QEew==}
engines: {node: '>=14'}
- resolution: {integrity: sha512-/Y3fcFrXEAsMjJXeL9J8+ZG9U01LbuWaYypvDW2ycW1jL269L3js3DVBjDJ0Up9Np1uqDXsDrRihHANhZOlwdQ==}
- engines: {node: '>=20'}
-
resolution: {integrity: sha512-XIxfHpEuSJbITd1H3EeQwpcZbTLHc+VVr8ANI9t5sit565tsI4/xK3KWTUFE2e6QiangUkh3B0jihzmGnNrRsQ==}
@@ -21989,50 +21913,6 @@ snapshots:
'@mozilla/[email protected]': {}
- '@napi-rs/[email protected]':
- optional: true
-
- '@napi-rs/[email protected]':
- optional: true
-
- '@napi-rs/[email protected]':
- optional: true
-
- '@napi-rs/[email protected]':
- optional: true
-
- '@napi-rs/[email protected]':
- optional: true
-
- '@napi-rs/[email protected]':
- optional: true
-
- '@napi-rs/[email protected]':
- optional: true
-
- '@napi-rs/[email protected]':
- optional: true
-
- '@napi-rs/[email protected]':
- optional: true
-
- '@napi-rs/[email protected]':
- optional: true
-
- '@napi-rs/[email protected]':
- optionalDependencies:
- '@napi-rs/canvas-android-arm64': 0.1.70
- '@napi-rs/canvas-darwin-arm64': 0.1.70
- '@napi-rs/canvas-darwin-x64': 0.1.70
- '@napi-rs/canvas-linux-arm-gnueabihf': 0.1.70
- '@napi-rs/canvas-linux-arm64-gnu': 0.1.70
- '@napi-rs/canvas-linux-arm64-musl': 0.1.70
- '@napi-rs/canvas-linux-riscv64-gnu': 0.1.70
- '@napi-rs/canvas-linux-x64-gnu': 0.1.70
- '@napi-rs/canvas-linux-x64-musl': 0.1.70
- '@napi-rs/canvas-win32-x64-msvc': 0.1.70
- optional: true
-
'@napi-rs/[email protected]':
dependencies:
'@emnapi/core': 1.11.3
@@ -31268,10 +31148,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- optionalDependencies:
- '@napi-rs/canvas': 0.1.70
-