refactor: rename dev scripts for clearer naming convention#227
Draft
malhotra5 wants to merge 1 commit into
Draft
refactor: rename dev scripts for clearer naming convention#227malhotra5 wants to merge 1 commit into
malhotra5 wants to merge 1 commit into
Conversation
- Rename dev-safe.mjs to dev-server.mjs - Add dev:full as explicit full stack script (default) - Add dev:server for agent-server + canvas only - Add dev:canvas for frontend-only development - Keep legacy aliases (dev:safe, dev:minimal, dev:frontend, dev:automation) for backward compatibility - Update all imports and documentation Script naming convention: - dev / dev:full: All services (agent-server + automation + canvas) - dev:server: Agent-server + Canvas (no automation) - dev:canvas: Canvas only (assumes running backend) - dev:mock: Canvas with MSW mock APIs - dev:extra-backend: Additional standalone agent-server - dev:static: Full stack with production build Fixes #226 Co-authored-by: openhands <openhands@all-hands.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR refactors the development scripts to use a clearer, more intuitive naming convention. The main change is renaming
dev-safe.mjstodev-server.mjsand introducing a consistent naming scheme that describes what services each script launches.Changes
Script Renames
dev→dev:automationdev→dev:fulldev:safe/dev:minimaldev:serverdev:frontenddev:canvasFiles Changed
scripts/dev-safe.mjs→scripts/dev-server.mjs__tests__/scripts/dev-safe.test.ts→__tests__/scripts/dev-server.test.tsscripts/dev-with-automation.mjsscripts/dev-extra-backend.mjsscripts/dev-static.mjsDEVELOPMENT.md,AGENTS.mdpackage.json: New script aliases + backward-compatible legacy aliasesBackward Compatibility
Legacy script names are preserved as npm aliases pointing to the new names:
dev:safe→dev:serverdev:minimal→dev:serverdev:frontend→dev:canvasdev:automation→dev:fullQuick Reference Table
npm run devnpm run dev:fullnpm run dev:servernpm run dev:canvasnpm run dev:mocknpm run dev:extra-backendnpm run dev:staticTesting
Fixes #226
This PR was created by an AI agent (OpenHands) on behalf of the user.
@malhotra5 can click here to continue refining the PR