mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
The package-lock.json was incorrectly regenerated with 1170 entries instead of 452 (2.5x bloat) when cross-spawn was added to root. This caused npm install to run out of memory on GitHub Actions. - Remove unnecessary cross-spawn from root package.json - Restore package-lock.json to proper workspace structure - Remove NODE_OPTIONS workaround from workflow files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
34 lines
1.7 KiB
JSON
34 lines
1.7 KiB
JSON
{
|
|
"name": "automaker",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"workspaces": [
|
|
"apps/*",
|
|
"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)})}\"",
|
|
"dev": "./init.sh",
|
|
"dev:web": "npm run dev:web --workspace=apps/app",
|
|
"dev:electron": "npm run dev:electron --workspace=apps/app",
|
|
"dev:electron:debug": "npm run dev:electron:debug --workspace=apps/app",
|
|
"dev:electron:wsl": "npm run dev:electron:wsl --workspace=apps/app",
|
|
"dev:electron:wsl:gpu": "npm run dev:electron:wsl:gpu --workspace=apps/app",
|
|
"dev:server": "npm run dev --workspace=apps/server",
|
|
"dev:full": "concurrently \"npm run dev:server\" \"npm run dev:web\"",
|
|
"build": "npm run build --workspace=apps/app",
|
|
"build:server": "npm run build --workspace=apps/server",
|
|
"build:electron": "npm run build:electron --workspace=apps/app",
|
|
"build:electron:win": "npm run build:electron:win --workspace=apps/app",
|
|
"build:electron:mac": "npm run build:electron:mac --workspace=apps/app",
|
|
"build:electron:linux": "npm run build:electron:linux --workspace=apps/app",
|
|
"start": "npm run start --workspace=apps/app",
|
|
"start:server": "npm run start --workspace=apps/server",
|
|
"lint": "npm run lint --workspace=apps/app",
|
|
"test": "npm run test --workspace=apps/app",
|
|
"test:headed": "npm run test:headed --workspace=apps/app",
|
|
"test:server": "npm run test --workspace=apps/server",
|
|
"test:server:coverage": "npm run test:cov --workspace=apps/server"
|
|
}
|
|
}
|