Skip to content

Core: migrate package scripts to gjsify run#102

Merged
JumpLink merged 2 commits into
mainfrom
feat/scripts-gjsify-run
Jun 5, 2026
Merged

Core: migrate package scripts to gjsify run#102
JumpLink merged 2 commits into
mainfrom
feat/scripts-gjsify-run

Conversation

@JumpLink
Copy link
Copy Markdown
Owner

@JumpLink JumpLink commented Jun 5, 2026

Continues moving Learn6502 onto the gjsify CLI (follows #101 which did the root scripts).

In app-gnome, app-web and learn:

  • yarn <script> sibling-script chains → gjsify run <script>
  • gjs -m <file> launchers (start:app/debug:app) → gjsify run <file> — also sets LD_LIBRARY_PATH + GI_TYPELIB_PATH for native @gjsify/* packages, which bare gjs -m didn't.

Kept as-is: tsc (the @gjsify/tsc swap is deferred — a TS-6 + lib-resolution fix is in flight in gjsify), yarn exec (Ruby/Jekyll), the node build scripts (translations/examples), native gsettings/flatpak/meson, and app-gnome's build:with-deps (uses yarn's --from <pkg>gjsify foreach has no equivalent yet, a gjsify enhancement candidate).

Validated: learn build (CI-tested) + app-web vite build run through the new gjsify run chains; gjsify format clean.

JumpLink added 2 commits June 5, 2026 10:07
Continue moving Learn6502 onto the gjsify CLI: in app-gnome, app-web and learn,
`yarn <script>` sibling-script chains → `gjsify run <script>`, and `gjs -m <file>`
launchers (start:app/debug:app) → `gjsify run <file>` — the latter also sets
LD_LIBRARY_PATH + GI_TYPELIB_PATH for native @gjsify packages, which bare `gjs -m`
did not.

Kept as-is: `tsc` (the @gjsify/tsc swap is deferred — a TS-6 + lib-resolution fix
is in flight upstream in gjsify), `yarn exec` (Ruby/Jekyll), the node build scripts
(translations/examples), native `gsettings`/`flatpak`/`meson`, and app-gnome's
`build:with-deps` (uses yarn's `--from <pkg>`, which `gjsify foreach` has no
equivalent for yet — a gjsify enhancement candidate).

Validated: learn build (CI-tested) + app-web vite build run through the new
gjsify run chains; gjsify format clean.
learn and app-web invoke `gjsify run` in their scripts but didn't declare
@gjsify/cli, so the bin wasn't on PATH for `yarn workspace X run build` in CI
(`command not found: gjsify`, exit 127). app-gnome already declares it — this
extends that established pattern to the two packages that now need it.
@JumpLink JumpLink merged commit 191516b into main Jun 5, 2026
2 checks passed
@JumpLink JumpLink deleted the feat/scripts-gjsify-run branch June 5, 2026 08:17
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