Files
multica/package.json
Bohan Jiang cf4a93ac20 chore(deps): drop stray mobile deps from monorepo root (#3525)
PR #2337 (Multica for iOS) accidentally added expo / react /
react-native to the monorepo ROOT package.json dependencies — almost
certainly a `pnpm add` run from the repo root instead of
`--filter @multica/mobile`. The root isn't an app and imports none of
them; apps/mobile already declares all three itself (react pinned to
19.2.0 for Expo SDK 55, per apps/mobile/CLAUDE.md).

The stray root react@19.2.0 hoisted to top-level node_modules/react,
producing a React version skew against the catalog's 19.2.3 that the
rest of the tree (web / desktop / ui / views) uses. After removal the
hoisted top-level react resolves to 19.2.3 and mobile keeps its own
19.2.0 untouched. Lockfile shrinks ~411 lines as the root importer no
longer pulls the Expo/RN transitive tree.

Pure dependency hygiene — no source changes, no behavior change for any
app. Mobile build unaffected (verified its package.json still declares
expo/react/react-native/react-dom).
2026-05-29 17:30:07 +08:00

51 lines
1.8 KiB
JSON

{
"name": "multica",
"version": "0.2.0",
"private": true,
"type": "module",
"scripts": {
"dev:web": "turbo dev --filter=@multica/web",
"dev:docs": "turbo dev --filter=@multica/docs",
"dev:desktop": "turbo dev --filter=@multica/desktop",
"dev:desktop:staging": "turbo dev:staging --filter=@multica/desktop",
"dev:mobile": "pnpm -C apps/mobile dev",
"dev:mobile:staging": "pnpm -C apps/mobile dev:staging",
"dev:mobile:prod": "pnpm -C apps/mobile dev:prod",
"ios:mobile": "pnpm -C apps/mobile ios",
"ios:mobile:staging": "pnpm -C apps/mobile ios:staging",
"ios:mobile:prod": "pnpm -C apps/mobile ios:prod",
"ios:mobile:device": "pnpm -C apps/mobile ios:device",
"ios:mobile:device:staging": "pnpm -C apps/mobile ios:device:staging",
"ios:mobile:device:staging:release": "pnpm -C apps/mobile ios:device:staging:release",
"ios:mobile:device:prod": "pnpm -C apps/mobile ios:device:prod",
"ios:mobile:device:prod:release": "pnpm -C apps/mobile ios:device:prod:release",
"build": "turbo build --filter=!@multica/mobile",
"typecheck": "turbo typecheck --filter=!@multica/mobile",
"test": "turbo test --filter=!@multica/mobile",
"lint": "turbo lint --filter=!@multica/mobile",
"clean": "turbo clean && rm -rf node_modules",
"ui:add": "cd packages/ui && npx shadcn@latest add",
"generate:reserved-slugs": "node scripts/generate-reserved-slugs.mjs"
},
"packageManager": "pnpm@10.28.2",
"pnpm": {
"onlyBuiltDependencies": [
"esbuild",
"electron"
],
"overrides": {
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@xmldom/xmldom": "^0.8.13"
}
},
"devDependencies": {
"@playwright/test": "^1.58.2",
"@types/node": "catalog:",
"@types/pg": "^8.20.0",
"pg": "^8.20.0",
"turbo": "^2.5.4",
"typescript": "catalog:"
}
}