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/
|
.expo/
|
||||||
.turbo/
|
.turbo/
|
||||||
*.log
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
pnpm-debug.log*
|
||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
.env
|
.env
|
||||||
.env.local
|
.env.local
|
||||||
@@ -15,3 +19,7 @@ supabase/.temp/
|
|||||||
coverage/
|
coverage/
|
||||||
*.ipa
|
*.ipa
|
||||||
*.apk
|
*.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,
|
"private": true,
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"packageManager": "pnpm@11.22.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20"
|
"node": ">=20"
|
||||||
},
|
},
|
||||||
@@ -12,13 +13,7 @@
|
|||||||
"dev:mobile": "pnpm --filter @menulio/mobile start",
|
"dev:mobile": "pnpm --filter @menulio/mobile start",
|
||||||
"build": "pnpm -r build",
|
"build": "pnpm -r build",
|
||||||
"lint": "pnpm -r lint",
|
"lint": "pnpm -r lint",
|
||||||
"typecheck": "pnpm -r typecheck"
|
"typecheck": "pnpm -r typecheck",
|
||||||
},
|
"clean": "rm -rf node_modules apps/*/node_modules packages/*/node_modules apps/*/.next apps/*/.expo apps/*/dist"
|
||||||
"pnpm": {
|
|
||||||
"onlyBuiltDependencies": [
|
|
||||||
"@swc/core",
|
|
||||||
"esbuild",
|
|
||||||
"sharp"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+6
-1
@@ -1,7 +1,12 @@
|
|||||||
packages:
|
packages:
|
||||||
- "apps/*"
|
- "apps/*"
|
||||||
- "packages/*"
|
- "packages/*"
|
||||||
|
|
||||||
allowBuilds:
|
allowBuilds:
|
||||||
core-js: set this to true or false
|
|
||||||
esbuild: true
|
esbuild: true
|
||||||
sharp: true
|
sharp: true
|
||||||
|
|
||||||
|
onlyBuiltDependencies:
|
||||||
|
- "@swc/core"
|
||||||
|
- "esbuild"
|
||||||
|
- "sharp"
|
||||||
|
|||||||
Reference in New Issue
Block a user