Core: migrate package scripts to gjsify run#102
Merged
Conversation
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.
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.
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 setsLD_LIBRARY_PATH+GI_TYPELIB_PATHfor native@gjsify/*packages, which baregjs -mdidn't.Kept as-is:
tsc(the@gjsify/tscswap is deferred — a TS-6 + lib-resolution fix is in flight in gjsify),yarn exec(Ruby/Jekyll), thenodebuild scripts (translations/examples), nativegsettings/flatpak/meson, and app-gnome'sbuild:with-deps(uses yarn's--from <pkg>—gjsify foreachhas no equivalent yet, a gjsify enhancement candidate).Validated: learn build (CI-tested) + app-web vite build run through the new
gjsify runchains;gjsify formatclean.