Skip to content

chore: add launchpad dev flow to serve all test apps with one command#809

Open
marianfoo wants to merge 1 commit into
mainfrom
claude/blissful-meitner-0c641e
Open

chore: add launchpad dev flow to serve all test apps with one command#809
marianfoo wants to merge 1 commit into
mainfrom
claude/blissful-meitner-0c641e

Conversation

@marianfoo

Copy link
Copy Markdown
Member

What

Adds a one-command dev flow that boots the CAP server and serves all the main test apps behind a Fiori Launchpad in a single process — no separate fiori run terminals/ports:

npm run start:launchpad

Auto-opens http://localhost:4004/launchpad.html. Apps are served from source with live reload.

Why

The launchpad infra (cds-plugin-ui5 + cds-launchpad-plugin) already existed, but only as the dist-based Docker live demo. This makes it usable for everyday local development of all apps at once, instead of starting the CAP server and each UI5 app separately.

How

  • start:launchpad script chain (root → examples → server), mirroring the existing start:server.
  • The server script sets CDS_PLUGIN_UI5_MODULES={}, which fully replaces the committed cds-plugin-ui5.modules config so every app falls back to its source ui5.yaml (live reload) instead of ui5-dist.yaml. The Docker/live-demo dist path is untouched.
  • Adds cross-env devDependency for cross-platform env-var handling (lockfile change is limited to cross-env).
  • Documented in docs/pages/Development/GettingStarted.md.

Apps shown: ordersv2fe, ordersv4fe, ordersv4freestyle, anyupload (those that are server devDependencies and have crossNavigation.inbounds in their manifest). The wdi5 tests are unaffected — they still launch each app standalone on its own port.

Verification

Booted locally against the latest main: all 4 apps mount from source, the launchpad generates 7 tiles (4 apps + 3 links), and both V4 and V2 (cov2ap) OData services respond.

🤖 Generated with Claude Code

Add `npm run start:launchpad`: boots the CAP server and serves all test
apps behind a Fiori Launchpad in a single process, from source with live
reload via `CDS_PLUGIN_UI5_MODULES={}`. The committed dist config used by
the Docker live demo stays untouched.

- root/examples/server: start:launchpad script chain (mirrors start:server)
- server: add cross-env devDependency for cross-platform env vars
- docs: document the flow in Development/GettingStarted.md

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@marianfoo marianfoo changed the title feat: add launchpad dev flow to serve all test apps with one command chore: add launchpad dev flow to serve all test apps with one command Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant