feat(scripts): added --source and --binary flags for install method control
- Added --source and --binary flags to control installation method in install scripts. - Enabled automatic bun detection with fallback to prebuilt binary for default installation. - Added bun-based installation option that installs bun automatically if needed. - Documented new installer options in README with usage examples.
This commit is contained in:
+3
-3
@@ -13,9 +13,9 @@
|
||||
"check": "biome check --write . && bun --cwd=packages/coding-agent run check && bun --cwd=packages/web-ui run check",
|
||||
"fix": "biome check --write --unsafe . && bun --cwd=packages/web-ui run fix",
|
||||
"test": "bun run --filter '*' test",
|
||||
"version:patch": "npm version patch -ws --no-git-tag-version && bun scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules bun.lockb && bun install",
|
||||
"version:minor": "npm version minor -ws --no-git-tag-version && bun scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules bun.lockb && bun install",
|
||||
"version:major": "npm version major -ws --no-git-tag-version && bun scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules bun.lockb && bun install",
|
||||
"version:patch": "npm version patch -ws --no-git-tag-version && bun scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules bun.lock && bun install",
|
||||
"version:minor": "npm version minor -ws --no-git-tag-version && bun scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules bun.lock && bun install",
|
||||
"version:major": "npm version major -ws --no-git-tag-version && bun scripts/sync-versions.js && rm -rf node_modules packages/*/node_modules bun.lock && bun install",
|
||||
"version:set": "npm version -ws",
|
||||
"prepublishOnly": "bun run build && bun run check",
|
||||
"publish": "bun run prepublishOnly && npm publish -ws --access public",
|
||||
|
||||
Reference in New Issue
Block a user