Files
Mohamed BassemandClaude Opus 5.5 450b1c9401 deps: declare every package's direct imports (#3265)
* deps: declare every package's direct imports

With nodeLinker: hoisted, a package can import a dependency it never
declares and get whatever version happens to be hoisted. Declare them
explicitly, using the same specifiers and locked versions the rest of
the workspace already uses:

- workers: cheerio, winston, @trpc/server, @paralleldrive/cuid2
- web: hono, @lexical/{code,link,utils}, and bcryptjs (tests only)
- shared-server: zod, drizzle-orm
- trpc: @opentelemetry/api
- shared-react, plugins: zod
- browser-extension: @radix-ui/react-switch
- sdk: vite-tsconfig-paths (dev)
- mobile: metro-cache and @tailwindcss/typography (dev). The config
  plugins now import from expo/config-plugins, Expo's re-export, instead
  of the undeclared @expo/config-plugins.

Also move husky to devDependencies, which clears sherif's
root-package-dependencies warning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* deps: keep cheerio-select's existing css-select/css-what resolution

Declaring cheerio in workers made pnpm retarget cheerio-select to
css-select 5.2.2 / css-what 6.2.2. Keep the versions it resolved before
(5.1.0 / 6.1.0) so this change only adds declarations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:43:36 +00:00

46 lines
1.2 KiB
JSON

{
"$schema": "https://json.schemastore.org/package.json",
"name": "@karakeep/shared-react",
"version": "0.1.0",
"private": true,
"type": "module",
"dependencies": {
"@karakeep/shared": "workspace:^0.1.0",
"@karakeep/trpc": "workspace:^0.1.0",
"@radix-ui/react-popover": "^1.1.14",
"@radix-ui/react-slot": "^1.2.4",
"@tanstack/react-query": "5.90.2",
"@trpc/client": "^11.9.0",
"@trpc/tanstack-react-query": "^11.9.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"lucide-react": "^0.501.0",
"superjson": "^2.2.1",
"tailwind-merge": "^2.2.1",
"zod": "^4.2.0"
},
"devDependencies": {
"@karakeep/tsconfig": "workspace:^0.1.0"
},
"peerDependencies": {
"react": "^19.2.1",
"react-dom": "^19.2.1",
"react-native": "0.86.3"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
}
},
"scripts": {
"typecheck": "tsc --noEmit",
"format": "oxfmt --ignore-path=../../.gitignore --check .",
"format:fix": "oxfmt --ignore-path=../../.gitignore .",
"lint": "oxlint --ignore-path=../../.gitignore .",
"lint:fix": "oxlint --ignore-path=../../.gitignore . --fix"
}
}