GLSP-1656: Implement standalone-browser example#490
Merged
Conversation
3 tasks
2acf816 to
f6c7162
Compare
Extend the workflow standalone example with a browser mode that runs the GLSP server as a web worker — no external backend required. - Split `src/` into `browser/`, `node/`, and `common/` directories - Add webpack `--env mode=browser` for browser builds/dev server - Add `:browser` script variants (`start:browser`, `dev:browser`, `build:browser`, `bundle:browser`) - Bundle the server from `@eclipse-glsp-examples/workflow-server-bundled-web` via CopyWebpackPlugin - Add PR preview workflows that deploy the browser example to GitHub Pages on each PR - Remove `inversify-logger-middleware` dependency (unmaintained) - Remove `process` and `path-browserify` polyfill shims Part of: eclipse-glsp/glsp#1656
Merged
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.
What it does
Add a fully standalone browser example that runs the GLSP workflow server as a web worker — no external backend required.
examples/workflow-standalone-browser/with webpack-dev-server setup, D@eclipse-glsp-examples/workflow-server-bundled-webnpm packagepr-preview-build.yml,pr-preview-deploy.yml)that deploy the browser example to GitHub Pages on each PR, with a build/deploy security split for safe fork PR handling
Part of: eclipse-glsp/glsp#1656
How to test
Follow-ups
Changelog