aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-07-26 21:29:41 +0000
committerMohamed Bassem <me@mbassem.com>2025-07-26 21:32:40 +0000
commita441a6777522729b0b0413cf90d0e4c4b78b0d23 (patch)
treef80b08bcc17abf4f1437bc5e17bc0e3fb636076f /apps
parent118ffc6410f269cb04646ef1315409a36df03453 (diff)
downloadkarakeep-a441a6777522729b0b0413cf90d0e4c4b78b0d23.tar.zst
deps: Upgrade vite
Diffstat (limited to 'apps')
-rw-r--r--apps/browser-extension/package.json6
-rw-r--r--apps/cli/package.json7
-rw-r--r--apps/cli/src/index.ts1
-rw-r--r--apps/cli/vite.config.mts9
-rw-r--r--apps/landing/package.json4
-rw-r--r--apps/mcp/package.json4
-rw-r--r--apps/mobile/package.json2
-rw-r--r--apps/web/package.json8
-rw-r--r--apps/workers/package.json2
9 files changed, 26 insertions, 17 deletions
diff --git a/apps/browser-extension/package.json b/apps/browser-extension/package.json
index ec989a7e..92bd3856 100644
--- a/apps/browser-extension/package.json
+++ b/apps/browser-extension/package.json
@@ -21,7 +21,7 @@
"@radix-ui/react-popover": "^1.1.14",
"@radix-ui/react-select": "^2.2.5",
"@radix-ui/react-slot": "^1.2.3",
- "@tanstack/react-query": "^5.69.0",
+ "@tanstack/react-query": "^5.80.3",
"@trpc/client": "^11.4.3",
"@trpc/react-query": "^11.4.3",
"@trpc/server": "^11.4.3",
@@ -46,12 +46,12 @@
"@types/chrome": "^0.0.260",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
- "@vitejs/plugin-react-swc": "^3.5.0",
+ "@vitejs/plugin-react-swc": "^3.11.0",
"autoprefixer": "^10.4.17",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"typescript": "^5.8.3",
- "vite": "^5.1.0"
+ "vite": "^7.0.6"
},
"prettier": "@karakeep/prettier-config"
}
diff --git a/apps/cli/package.json b/apps/cli/package.json
index 778433ee..2b6f2cd5 100644
--- a/apps/cli/package.json
+++ b/apps/cli/package.json
@@ -26,11 +26,12 @@
"commander": "^12.0.0",
"superjson": "^2.2.1",
"table": "^6.8.2",
- "tsx": "^4.7.1",
- "vite": "^5.1.0"
+ "tsx": "^4.8.1",
+ "vite": "^7.0.6",
+ "vite-tsconfig-paths": "^4.3.1"
},
"scripts": {
- "build": "vite build",
+ "build": "vite build && chmod +x dist/index.mjs",
"run": "tsx src/index.ts",
"lint": "oxlint .",
"lint:fix": "oxlint . --fix",
diff --git a/apps/cli/src/index.ts b/apps/cli/src/index.ts
index 7d6c1472..cfb1d520 100644
--- a/apps/cli/src/index.ts
+++ b/apps/cli/src/index.ts
@@ -1,4 +1,3 @@
-#! /usr/bin/env node
import { bookmarkCmd } from "@/commands/bookmarks";
import { listsCmd } from "@/commands/lists";
import { tagsCmd } from "@/commands/tags";
diff --git a/apps/cli/vite.config.mts b/apps/cli/vite.config.mts
index 81717bff..161d206a 100644
--- a/apps/cli/vite.config.mts
+++ b/apps/cli/vite.config.mts
@@ -9,9 +9,14 @@ export default defineConfig({
input: "src/index.ts",
output: {
dir: "dist",
+ format: "es",
+ entryFileNames: "index.mjs",
+ banner: "#!/usr/bin/env node",
},
+ external: ["node:fs", "node:path", "node:url", "node:process"],
},
ssr: true,
+ target: "node18",
},
ssr: {
// bundle everything except for Node built-ins
@@ -23,4 +28,8 @@ export default defineConfig({
process.env.npm_package_version,
),
},
+ esbuild: {
+ // Handle shebang in source files
+ banner: "",
+ },
});
diff --git a/apps/landing/package.json b/apps/landing/package.json
index ed396b85..2ffa198b 100644
--- a/apps/landing/package.json
+++ b/apps/landing/package.json
@@ -34,11 +34,11 @@
"@tailwindcss/typography": "^0.5.10",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
- "@vitejs/plugin-react": "^4.3.4",
+ "@vitejs/plugin-react": "^4.7.0",
"autoprefixer": "^10.4.17",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
- "vite": "^5.1.0",
+ "vite": "^7.0.6",
"vite-plugin-svgr": "^4.3.0"
},
"prettier": "@karakeep/prettier-config"
diff --git a/apps/mcp/package.json b/apps/mcp/package.json
index bfa9d833..9eaa2feb 100644
--- a/apps/mcp/package.json
+++ b/apps/mcp/package.json
@@ -19,8 +19,8 @@
"@tsconfig/node22": "^22.0.0",
"@types/turndown": "^5.0.5",
"shx": "^0.4.0",
- "tsx": "^4.7.1",
- "vite": "^5.1.0"
+ "tsx": "^4.8.1",
+ "vite": "^7.0.6"
},
"scripts": {
"build": "vite build && shx chmod +x dist/index.js",
diff --git a/apps/mobile/package.json b/apps/mobile/package.json
index 00010ba6..8acf458a 100644
--- a/apps/mobile/package.json
+++ b/apps/mobile/package.json
@@ -20,7 +20,7 @@
"@karakeep/trpc": "workspace:^0.1.0",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-menu/menu": "^1.1.6",
- "@tanstack/react-query": "^5.69.0",
+ "@tanstack/react-query": "^5.80.3",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"expo": "~52.0.46",
diff --git a/apps/web/package.json b/apps/web/package.json
index 23507949..b5fb1a50 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -48,8 +48,8 @@
"@radix-ui/react-toggle": "^1.1.9",
"@radix-ui/react-tooltip": "^1.2.7",
"@svgr/webpack": "^8.1.0",
- "@tanstack/react-query": "^5.69.0",
- "@tanstack/react-query-devtools": "^5.69.0",
+ "@tanstack/react-query": "^5.80.3",
+ "@tanstack/react-query-devtools": "^5.80.3",
"@trpc/client": "^11.4.3",
"@trpc/react-query": "^11.4.3",
"@trpc/server": "^11.4.3",
@@ -58,7 +58,7 @@
"clsx": "^2.1.0",
"cmdk": "^1.1.1",
"csv-parse": "^5.5.6",
- "date-fns": "^4.1.0",
+ "date-fns": "^3.6.0",
"dayjs": "^1.11.10",
"drizzle-orm": "^0.44.2",
"fastest-levenshtein": "^1.0.16",
@@ -109,7 +109,7 @@
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"vite-tsconfig-paths": "^4.3.1",
- "vitest": "^1.6.1"
+ "vitest": "^3.2.4"
},
"prettier": "@karakeep/prettier-config"
}
diff --git a/apps/workers/package.json b/apps/workers/package.json
index 18cb2bf9..03f864df 100644
--- a/apps/workers/package.json
+++ b/apps/workers/package.json
@@ -43,7 +43,7 @@
"puppeteer-extra-plugin-stealth": "^2.11.2",
"rss-parser": "^3.13.0",
"tesseract.js": "^5.1.1",
- "tsx": "^4.7.1",
+ "tsx": "^4.8.1",
"typescript": "^5.8.3",
"zod": "^3.24.2"
},