mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +00:00
refactor: remove dev.mjs and integrate start-automaker.sh for development mode
- Deleted the dev.mjs script, consolidating development mode functionality into start-automaker.sh. - Updated package.json to use start-automaker.sh for the "dev" script and added a "start" script for production mode. - Enhanced start-automaker.sh with production build capabilities and improved argument parsing for better user experience. - Removed launcher-utils.mjs as its functionality has been integrated into start-automaker.sh.
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
"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)})}\" && node scripts/fix-lockfile-urls.mjs",
|
||||
"fix:lockfile": "node scripts/fix-lockfile-urls.mjs",
|
||||
"dev": "node dev.mjs",
|
||||
"dev": "./start-automaker.sh",
|
||||
"start": "./start-automaker.sh --production",
|
||||
"_dev:web": "npm run dev:web --workspace=apps/ui",
|
||||
"_dev:electron": "npm run dev:electron --workspace=apps/ui",
|
||||
"_dev:electron:debug": "npm run dev:electron:debug --workspace=apps/ui",
|
||||
|
||||
Reference in New Issue
Block a user