Skip to content

Core: migrate root scripts to gjsify foreach#101

Merged
JumpLink merged 1 commit into
mainfrom
feat/root-scripts-gjsify-foreach
Jun 5, 2026
Merged

Core: migrate root scripts to gjsify foreach#101
JumpLink merged 1 commit into
mainfrom
feat/root-scripts-gjsify-foreach

Conversation

@JumpLink
Copy link
Copy Markdown
Owner

@JumpLink JumpLink commented Jun 5, 2026

Replaces the remaining yarn-CLI usages in the root package.json scripts with gjsify's workspace orchestration, dogfooding the gjsify CLI on a real project:

script before after
setup / build / check / clear yarn workspaces foreach … gjsify foreach …
build:android, start:gnome/web/android yarn workspace X run Y gjsify workspace X Y
start, clear's _clear yarn <script> gjsify run <script>

Native tooling (meson, flatpak) and already-gjsify scripts (format, check:format, flatpak:regen) are unchanged.

Validated locally: gjsify foreach -t check and --topological-dev run all five workspaces topologically (6502, common-ui, app-web, app-android, app-gnome), gjsify workspace + gjsify run resolve correctly. (CI exercises specific per-workspace commands, not these root convenience scripts.)

Replace the remaining yarn-CLI usages in the root scripts with gjsify's
workspace orchestration: `yarn workspaces foreach` → `gjsify foreach`
(setup/build/check/clear), `yarn workspace X run Y` → `gjsify workspace X Y`
(build:android, start:gnome/web/android), and `yarn <script>` → `gjsify run`
(start, clear's _clear). Dogfoods the gjsify CLI on a real project.

Validated locally: `gjsify foreach -t check` and `--topological-dev` run all
five workspaces topologically; `gjsify workspace` + `gjsify run` resolve. Native
tooling (meson, flatpak) and already-gjsify scripts (format, check:format,
flatpak:regen) are unchanged. CI exercises specific per-workspace commands, not
these root convenience scripts.
@JumpLink JumpLink merged commit 788861f into main Jun 5, 2026
2 checks passed
@JumpLink JumpLink deleted the feat/root-scripts-gjsify-foreach branch June 5, 2026 06:57
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