chore: migrate monorepo configuration strictly to pnpm v11, clean up npm leftovers and update workspace config

This commit is contained in:
AyrisAI
2026-08-21 12:11:26 +03:00
parent ae2386eacf
commit c1569c0879
4 changed files with 20 additions and 9 deletions
+8
View File
@@ -5,6 +5,10 @@ build/
.expo/
.turbo/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
*.tsbuildinfo
.env
.env.local
@@ -15,3 +19,7 @@ supabase/.temp/
coverage/
*.ipa
*.apk
# Lockfile protections (monorepo strictly uses pnpm-lock.yaml)
package-lock.json
yarn.lock
+3
View File
@@ -0,0 +1,3 @@
auto-install-peers=true
strict-peer-dependencies=false
enable-pre-post-scripts=true
+3 -8
View File
@@ -3,6 +3,7 @@
"private": true,
"version": "0.0.1",
"type": "module",
"packageManager": "pnpm@11.22.0",
"engines": {
"node": ">=20"
},
@@ -12,13 +13,7 @@
"dev:mobile": "pnpm --filter @menulio/mobile start",
"build": "pnpm -r build",
"lint": "pnpm -r lint",
"typecheck": "pnpm -r typecheck"
},
"pnpm": {
"onlyBuiltDependencies": [
"@swc/core",
"esbuild",
"sharp"
]
"typecheck": "pnpm -r typecheck",
"clean": "rm -rf node_modules apps/*/node_modules packages/*/node_modules apps/*/.next apps/*/.expo apps/*/dist"
}
}
+6 -1
View File
@@ -1,7 +1,12 @@
packages:
- "apps/*"
- "packages/*"
allowBuilds:
core-js: set this to true or false
esbuild: true
sharp: true
onlyBuiltDependencies:
- "@swc/core"
- "esbuild"
- "sharp"