Repository navigation
Add Firebase CLI development environment via mise - #7485
calledtoconstruct wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds Firebase as a first-class “Development” environment in Omarchy, including menu entries, install/remove support scripts, documentation, and automated tests.
Changes:
- Add Firebase install/remove entries to the Omarchy menu model.
- Implement Firebase CLI install/remove paths in
omarchy-install-dev-env/omarchy-remove-dev-env. - Add docs and shell/Node-based tests validating menu wiring and script behavior.
Reviewed changes
Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test/shell.d/menu-test.sh | Extends menu assertions to include the new Firebase install row. |
| test/shell.d/dev-env-test.sh | New tests validating Firebase appears in usage/menu and validating install/remove script behaviors. |
| manual/18-development-tools.md | Documents Firebase availability and basic CLI usage. |
| default/omarchy/omarchy-menu.jsonc | Adds Install/Remove > Development > Firebase menu rows. |
| bin/omarchy-remove-dev-env | Adds firebase) removal case and updates usage metadata. |
| bin/omarchy-install-dev-env | Adds firebase) install case (downloads Firebase CLI) and updates usage metadata. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Converted to draft. Omarchy wants feature ideas in Discussions first. Suggestion: #11266 — happy to mark this ready if that lands. |
c009c01 to
fd13161
Compare
fd13161 to
a8156e3
Compare
[Low impact] The PR appears safe to merge; the remaining testing gap is non-blocking. Findings
SummaryAdds Firebase CLI installation and removal through mise, with menu entries, documentation, and stub-based tests.
Reviews (4) · Last reviewed commit: "Clear the Firebase pin even when uninsta..." · Reviewed by Greptile |
| cat >"$stub_dir/mise" <<'STUB' | ||
| #!/bin/bash | ||
| printf 'mise %s\n' "$*" >>"$OMARCHY_DEV_ENV_LOG" | ||
| STUB | ||
| chmod +x "$stub_dir/mise" | ||
|
|
||
| : >"$log" | ||
| PATH="$stub_dir:$PATH" OMARCHY_DEV_ENV_LOG="$log" "$ROOT/bin/omarchy-install-dev-env" firebase >/dev/null | ||
| grep -Fxq 'mise use --global firebase@latest' "$log" || fail "firebase install uses mise" "$(cat "$log")" |
There was a problem hiding this comment.
Firebase installation remains untested
The mise stub only records arguments and always succeeds. This test cannot catch a Firebase tool that mise cannot resolve or confirm that installation produces a runnable firebase command. Add a test or documented validation step that checks the real installation; otherwise the main integration can fail while these tests pass.
4732343 to
1f69df1
Compare
What
Adds the Firebase CLI under Install / Remove → Development. Mise installs the official CLI from aqua (
firebase@latest). After install,firebase login, thenfirebase init,firebase emulators:start, andfirebase deploy. The menu uses~/.local/share/mise/installs/firebase.Discussion: #11266
Test plan
bash test/shell.d/dev-env-test.shbash test/shell.d/menu-test.sh