chore: migrate monorepo configuration strictly to pnpm v11, clean up npm leftovers and update workspace config
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
auto-install-peers=true
|
||||
strict-peer-dependencies=false
|
||||
enable-pre-post-scripts=true
|
||||
+3
-8
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user