Repository navigation
feat: add Jaspr SSR framework support - #13710
Merged
Merged
Conversation
Adds a jaspr entry to frameworks.php, reusing the flutter-3.44 runtime image. Matches the open-runtimes helper scripts merged in open-runtimes/open-runtimes#563 (dart pub get / jaspr build / helpers/jaspr/server.sh, output at ./build/jaspr). Only an ssr adapter is defined — no static adapter and no site.php template, since neither is wired up on the open-runtimes side yet.
Contributor
|
This was referenced Sep 19, 2026
`dart run jaspr_cli:jaspr build` only resolves jaspr_cli from the project's
own dependency graph, and `jaspr create` does not add it to pubspec.yaml --
Jaspr treats the CLI as part of the environment. A stock Jaspr project
therefore failed to build with:
Could not find package `jaspr_cli` or file `jaspr_cli:jaspr`
The Flutter runtime now preinstalls the CLI and puts it on PATH
(open-runtimes/open-runtimes#572), so the plain binary is the correct call.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Meldiron
added a commit
to utopia-php/detector
that referenced
this pull request
Sep 19, 2026
Jaspr now extends Flutter, so the two share the pubspec markers and the detector's specificity tie-break picks Flutter for a pubspec that names neither framework, whatever order the options were registered in. Flutter claims the flutter package and Jaspr the jaspr ones, so either wins on its own dependencies. Package matching accepts quoted and flow-mapping YAML keys, adapter detection parses the jaspr mapping in either YAML style and maps client mode to static, and a jaspr server build is recognised as SSR from its compiled app executable. Build command is now `jaspr build`, matching the jaspr adapter merged in appwrite/appwrite#13710 and the CLI preinstalled in the open-runtimes flutter runtime. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2 tasks done
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.
Adds a jaspr entry to frameworks.php, reusing the flutter-3.44 runtime image. Matches the open-runtimes helper scripts merged in open-runtimes/open-runtimes#563 (dart pub get / jaspr build / helpers/jaspr/server.sh, output at ./build/jaspr). Only an ssr adapter is defined — no static adapter and no site.php template, since neither is wired up on the open-runtimes side yet.
Screenshots
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Screenshots may also be helpful.)
Related PRs and Issues
Checklist