fixing the package locks to not use ssh

This commit is contained in:
Cody Seibert
2025-12-19 14:45:23 -05:00
parent 1ad3b1739b
commit 2b02db8ae3
3 changed files with 44 additions and 2 deletions

View File

@@ -7,7 +7,8 @@
"libs/*"
],
"scripts": {
"postinstall": "node -e \"const fs=require('fs');if(process.platform==='darwin'){['darwin-arm64','darwin-x64'].forEach(a=>{const p='node_modules/node-pty/prebuilds/'+a+'/spawn-helper';if(fs.existsSync(p))fs.chmodSync(p,0o755)})}\"",
"postinstall": "node -e \"const fs=require('fs');if(process.platform==='darwin'){['darwin-arm64','darwin-x64'].forEach(a=>{const p='node_modules/node-pty/prebuilds/'+a+'/spawn-helper';if(fs.existsSync(p))fs.chmodSync(p,0o755)})}\" && node scripts/fix-lockfile-urls.mjs",
"fix:lockfile": "node scripts/fix-lockfile-urls.mjs",
"dev": "node init.mjs",
"dev:web": "npm run dev:web --workspace=apps/ui",
"dev:electron": "npm run dev:electron --workspace=apps/ui",