Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
572 commits
Select commit Hold shift + click to select a range
7aac219
Fix shell.js imports (#1319)
tortmayr Apr 17, 2024
5a6732e
Improve UI Extension mechanism for easier re-use of HTML elements (#333)
martin-fleck-at Apr 17, 2024
a47d562
GLSP-1320: Update to latest glsp dev config (#334)
tortmayr Apr 22, 2024
ec6f020
Provide Geometry utility classes (#341)
martin-fleck-at Apr 29, 2024
a5e5e0e
Revert "Fixed webworker startup bc elkjs hidden dependency (#78)" (#81)
tortmayr Apr 29, 2024
1b5508b
Convert CLI package back to commonjs (#1335)
tortmayr May 13, 2024
9d57497
Improve handling of feedback emitters and fix some minor bugs (#342)
martin-fleck-at May 13, 2024
09bb466
GLSP-1320: Update to latest glsp dev config (#334) (#80)
tortmayr May 14, 2024
655e994
Align sprotty overrides (#345)
tortmayr May 15, 2024
4b79112
GLSP-1195: Handle parsing errors in winston logger (#82)
tortmayr May 15, 2024
78d1088
Introduce an optional grid module to deal with a grid layout (#343)
martin-fleck-at May 15, 2024
029f164
GLSP-1309: Improve error handling of startup hooks (#346)
tortmayr May 16, 2024
c08d97f
Improve handling of change bounds in several areas (#344)
martin-fleck-at May 16, 2024
c6511dc
Mocked workerFactory only for webworker context (#83)
Sakrafux May 17, 2024
97f2710
Implemented webworker connection provider (#332)
Sakrafux May 17, 2024
0eec650
Remove eager default prevention from standalone copy paste handlder (…
tortmayr May 24, 2024
b348788
Improve bounds and insert management and customizability (#348)
martin-fleck-at May 26, 2024
2881ed4
GLSP-1346: Use root level index (#349)
tortmayr May 27, 2024
4355e9a
Ensure that align feature is exported from sprotty (#350)
tortmayr May 27, 2024
6c50438
Minor fix in ResizeHandleLocation.ALL (#351)
martin-fleck-at May 27, 2024
ce1d0b6
Add Resizable with 'resizeLocations' to shape elements (#84)
martin-fleck-at May 27, 2024
0567257
Improve some aspects of change bounds, feedback and positioning (#352)
martin-fleck-at May 29, 2024
341c369
Minor Improvements (#353)
martin-fleck-at Jun 4, 2024
c918fe0
Fix style handling in SVG exporter (#354)
martin-fleck-at Jun 5, 2024
b106afb
Configure fork and join nodes as not resizable (#85)
tortmayr Jun 6, 2024
c482ef4
GLSP-1349 Improve container configuration (#355)
tortmayr Jun 9, 2024
13ccbda
Cleanup & depreaction (#356)
tortmayr Jun 12, 2024
10ae156
Update to Sprotty 1.2.0 (#357)
tortmayr Jun 13, 2024
5295c40
Update next dependencies (#87)
tortmayr Jun 14, 2024
ebeb228
Enhance Grid functionality and customizability (#359)
martin-fleck-at Jun 15, 2024
7941065
Fix issue with UI extensions (#360)
martin-fleck-at Jun 17, 2024
8810d8d
Fix issue with change bounds tool (#361)
tortmayr Jun 17, 2024
9925fe8
GLSP-1347: Fix autocomplete widget (#362)
tortmayr Jun 18, 2024
9667047
GLSP-1347: Update standalone editor styling (#363)
tortmayr Jun 18, 2024
ea41a05
View improvements (#364)
tortmayr Jun 20, 2024
3814834
Minor cleanup (#88)
tortmayr Jun 21, 2024
0f9944d
Fix workflow documentation navigation example (#89)
tortmayr Jun 21, 2024
1b23cf2
Minor improvements (#366)
tortmayr Jun 21, 2024
63b39c3
Improve ToolManagerAPI (#367)
tortmayr Jun 25, 2024
56f553b
Improve diagram configuration (#368)
tortmayr Jun 26, 2024
989441d
Fix RestoreViewPortHandler (#369)
tortmayr Jun 27, 2024
e35ac0d
Update to composite build (#1353)
tortmayr Jun 30, 2024
0d1d468
Improve extensibility of creation tools (#370)
tortmayr Jul 1, 2024
232a014
Fix: Proper alignment of ghost element after update in continuous mod…
martin-fleck-at Jul 1, 2024
2316477
Centralize Marquee selection behavior for improved customization (#373)
martin-fleck-at Jul 4, 2024
44ac207
Update changelog for 2.2.0
tortmayr Jul 4, 2024
3a37461
v2.2.0
tortmayr Jul 4, 2024
4a31e14
v2.2.0 (#374)
tortmayr Jul 4, 2024
889cb56
Revert "v2.2.0 (#374)" (#375)
tortmayr Jul 4, 2024
40e6bff
Fix copyright header violations
tortmayr Jul 4, 2024
698f8f8
v2.2.0
tortmayr Jul 4, 2024
8dc3e71
Fix copyright header violations
tortmayr Jul 4, 2024
5c5d8a4
v2.2.0
tortmayr Jul 4, 2024
4c74701
Revert "V2.2.0" (#377)
tortmayr Jul 5, 2024
d5c7f02
Revert "v2.2.0"
tortmayr Jul 5, 2024
c2f310b
Revert "Update changelog for 2.2.0"
tortmayr Jul 5, 2024
8bb182c
Revert "v2.2.0"
tortmayr Jul 5, 2024
2735286
Revert "Fix copyright header violations"
tortmayr Jul 5, 2024
d4323c5
GLSP-1361: Fix di registration of selection listeners (#378)
tortmayr Jul 5, 2024
03480e7
GLSP-1369: Update example1.wf (#379)
tortmayr Jul 15, 2024
6c0c1bf
GLSP-1369 Fix wrong edge type hint (#93)
tortmayr Jul 15, 2024
bd2c13c
GLSP-1371: Introduce event for focus changes (#380)
tortmayr Jul 17, 2024
72b595b
Update tsconfig to ES2019
tortmayr Jul 18, 2024
8a21ddd
v2.2.1
tortmayr Jul 21, 2024
d07c8d2
Switch to 2.3.0 next versions
tortmayr Jul 21, 2024
3b5a707
Fix copyright header violations
tortmayr Jul 21, 2024
c1645e4
v2.2.1
tortmayr Jul 21, 2024
164408e
Update to 2.3.0-next version
tortmayr Jul 22, 2024
a59583c
GLSP-1374: Fix transformLable in elk engine
tortmayr Jul 21, 2024
02caf2e
Fix copyright header violations
tortmayr Jul 21, 2024
d334a05
v2.2.1
tortmayr Jul 21, 2024
5fa0844
Switch back to next versions
tortmayr Jul 22, 2024
544de1a
Ensure no inversify-based code lands in the index (#384)
martin-fleck-at Jul 25, 2024
b7757b2
Ensure JsonrpcClientProxy is injectable in the Node Server context
martin-fleck-at Jul 25, 2024
dc8d329
GLSP-1388 Enhance extensibility of `ContainerManager` (#385)
ndoschek Aug 21, 2024
307bcc1
Ensure anyone who imports the di functionality gets decorated classes…
martin-fleck-at Aug 22, 2024
89272f8
Remove unnecessary re-decoration, part of protocol DI import/export (…
martin-fleck-at Aug 22, 2024
86d7bbc
GLSP-1398: Fix default type mappings
tortmayr Aug 28, 2024
403e743
GLSP-1401: Fix weighted edge creation (#98)
tortmayr Sep 5, 2024
046e69d
GLSP-1393 Align Interface usage across *Manager classes (#388)
ndoschek Sep 9, 2024
23e14f8
GLSP-1399: Fix MousePositionTracker (#391)
tortmayr Sep 10, 2024
e8515e0
GLSP-1416: Align ActionDispatcher API (#394)
tortmayr Nov 12, 2024
2571bc9
GLSP-1421: Properly scope standalone copy-paste listeners (#395)
tortmayr Nov 14, 2024
e353280
GLSP-1423 Add MovementOptions to control invalid multi element moveme…
ivy-lli Nov 22, 2024
52bddde
GLSP-1427: Improve diagram loading and commmand handling (#398)
tortmayr Nov 22, 2024
9706c2e
Properly handle move feedback if mouse up happens outside window (#399)
martin-fleck-at Nov 25, 2024
bbecc48
GLSP-1429: Update to sprotty 1.3.0 (#400)
tortmayr Nov 25, 2024
4a832bc
Various minor improvements (#401)
tortmayr Dec 6, 2024
01e32b1
GLSP-1438: Improve GLSPClient default implementations (#402)
tortmayr Dec 6, 2024
84f0df5
Remove workaround in GLPSManhattanEdgeRouter (#404)
tortmayr Dec 6, 2024
c4258d7
GLSP-1441: Fix NavigationTargetResolver uri handling (#403)
tortmayr Dec 6, 2024
3aaa74c
Align Node server validation with Java server (async live validation)…
martin-fleck-at Dec 12, 2024
2d41d54
Use deferred for action dispatcher initialization (#405)
tortmayr Dec 16, 2024
b2d0448
GLSP-1449: Update dependencies (#1450)
tortmayr Dec 16, 2024
b6ac43d
Revert "GLSP-1449: Update dependencies (#1450)" (#1452)
tortmayr Dec 16, 2024
9bc49cb
GLSP-1449: Ensure that codebase is compatible with inversify >= 6.1.3…
tortmayr Dec 16, 2024
a534da3
GLSP-1449: Update inversify (#408)
tortmayr Dec 18, 2024
8f60dd5
GLSP-1449: Update inversify (#100)
tortmayr Dec 18, 2024
eece797
v2.3.0
tortmayr Dec 23, 2024
6019d8d
Add host and port configuration to start-example server and the stand…
holkerveen Dec 23, 2024
f9ddcf8
v2.3.0
tortmayr Dec 23, 2024
11a963d
v2.3.0
tortmayr Dec 23, 2024
8435cf8
Switch to 2.4.0-next version (#1465)
tortmayr Jan 14, 2025
8b86746
Switch to 3.4.0-next (#411)
tortmayr Jan 14, 2025
ba65b85
Update to 2.4.0 next (#102)
tortmayr Jan 16, 2025
a3ea340
Fix route application (#103)
tortmayr Feb 18, 2025
a35d0ff
GLSP-1483: Stop progress on model loading error (#104)
tortmayr Feb 19, 2025
745f6ce
Remove important from accessibility css (#412)
haydar-metin Feb 19, 2025
3746521
Remove important from sprotty css (#413)
haydar-metin Feb 19, 2025
02ff167
Increase css specifity for movement restriction (#414)
haydar-metin Feb 20, 2025
53c3552
Update default styling for labels (#415)
tortmayr Feb 21, 2025
2c05cd7
Avoid executing unnecessary operations (#105)
martin-fleck-at Feb 26, 2025
6191ef8
Prevent rendering of sprotty reconnect handle
haydar-metin Mar 17, 2025
40e42c2
Include root as findable container for the container manager
haydar-metin Mar 17, 2025
5a3ba1e
GH-1377: Extract move and zoom features from accessibility to own module
haydar-metin Nov 19, 2024
58f1a42
Fix test cases
haydar-metin Feb 19, 2025
a3fccaa
Use constant for default grid size
haydar-metin Mar 6, 2025
765841e
Make the shortcutsmanager part of the base module
haydar-metin Mar 17, 2025
9850ab1
Hide sprotty sprotty reconnect handles (#419)
tortmayr Mar 26, 2025
1eeea7f
Allow to listen to selection changes in autocompleter (#420)
haydar-metin Mar 27, 2025
678299a
Provide more flexible way to adapt messages (#421)
martin-fleck-at Mar 27, 2025
117e9d4
Ensure ConsoleLogger logs the correct log level of the message (#106)
martin-fleck-at Apr 3, 2025
9eceb1c
Improve winston configuration (#107)
tortmayr Apr 4, 2025
838fabd
v2.4.0
tortmayr Apr 4, 2025
8716fa1
Switch to 2.5.0-next version
tortmayr Apr 4, 2025
c678a52
v2.4.0
tortmayr Apr 4, 2025
e3d4f32
Switch to 2.5.0-next versions
tortmayr Apr 4, 2025
980f61f
v2.4.0
tortmayr Apr 4, 2025
bb64bdf
Switch to 2.5.0-next versions
tortmayr Apr 4, 2025
9c5f447
Fix text selection issues in chrome (#425)
tortmayr May 19, 2025
affdb93
GLSP-1525: Fix render error for new categories (#426)
tortmayr Jun 10, 2025
77ff5ef
GLSP-1532: Introduce ProposalString utility type (#427)
tortmayr Jun 11, 2025
ffd0e2b
GLSP-1544: Localize issue marker severity in popup (#428)
tortmayr Jul 9, 2025
d6f08af
GLSP-1548: Add visibility check to RoundedCornerNodeView (#430)
tortmayr Jul 22, 2025
9529fc8
GLSP-1313: Update elkjs
tortmayr Jul 17, 2025
0c4503a
Address review feedback
tortmayr Jul 22, 2025
60896c8
Enrich LayoutOperation by introducing a dedicated trigger action (#433)
martin-fleck-at Aug 25, 2025
3bbd158
Ensure we provide selected element ids as part of layout operation (#…
martin-fleck-at Aug 25, 2025
bfbfddf
Use LayoutOperation as optional parameter for layout engine (#111)
martin-fleck-at Aug 25, 2025
ac43d8c
GLSP-1530: Fix hGrab/vGrab layout calculation (#435)
tortmayr Aug 26, 2025
c2b6faf
Fix copyright header violations (#437)
tortmayr Aug 26, 2025
0190005
Fix copyright header violations (#112)
tortmayr Aug 26, 2025
f793b96
GLSP-1531: Introduce viewport change event (#438)
tortmayr Aug 28, 2025
3f5fb30
Adapt BringToFront to only support order-agnostic layouts (#436)
martin-fleck-at Aug 28, 2025
2833eb1
GLSP-1563: Update to node 20 (#1564)
tortmayr Sep 1, 2025
453825f
Update changelog (#1565)
tortmayr Sep 1, 2025
9f5d69c
GLSP-1563: Update to node 20 (#439)
tortmayr Sep 1, 2025
8908b73
Update download script (#442)
tortmayr Sep 7, 2025
f22a10e
v2.5.0
tortmayr Sep 7, 2025
d65f8e1
v2.5.0
tortmayr Sep 7, 2025
88eb968
v2.5.0
tortmayr Sep 7, 2025
b7cb7b3
Switch to nightly 2.6.0-next versions (#1574)
github-actions[bot] Sep 15, 2025
f79062d
Switch to nightly 2.6.0-next versions (#444)
github-actions[bot] Sep 15, 2025
c4daa1a
GLSP-1363 Refactor CLI application (#1571)
tortmayr Sep 16, 2025
687db22
GLSP-1578: Migrate to github actions (#445)
tortmayr Sep 17, 2025
aa2b7d1
GLSP-1578: Switch to github actions (#115)
tortmayr Sep 18, 2025
feec3e4
GLSP-1578: Minor follow up fixes (#447)
tortmayr Sep 18, 2025
784634d
GLSP-1578: Switch to Github actions (#1579)
tortmayr Sep 19, 2025
d9c5b6f
GH-1377: Extract search feature from accessibility to own module (#424)
haydar-metin Sep 28, 2025
9413345
GLSP-1245: Fix overflowing issue with command palette (#449)
tortmayr Oct 8, 2025
cae6de1
GLSP-1568: Refactor MenuItem API (#450)
tortmayr Oct 8, 2025
47c4eae
GLSP-1586: Refactor MenuItem API (#116)
tortmayr Oct 9, 2025
1ccc053
Fix JSdoc for ContextMenuItemProvider (#117)
tortmayr Oct 9, 2025
e2b8981
GLSP-394: NoOverlapMovementRestrictor support for nested nodes (#452)
tortmayr Oct 20, 2025
a6f3f2d
GLSP-1588: Fix decoration SVG export (#451)
tortmayr Oct 20, 2025
278766d
Support asynchronous action handlers on client-side (#457)
martin-fleck-at Jan 16, 2026
4750dfc
Revert "Support asynchronous action handlers on client-side (#457)" (…
tortmayr Jan 17, 2026
f9c90e7
Add root/viewport layout information to computed bounds for auto-layo…
martin-fleck-at Jan 20, 2026
d268187
Add missing decorator to ModelChangeService (#461)
tortmayr Jan 20, 2026
94a4e93
Support asynchronous action handlers on client-side (#460)
martin-fleck-at Jan 21, 2026
7bbb8a8
Bump lodash from 4.17.21 to 4.17.23 (#462)
dependabot[bot] Jan 22, 2026
06e903e
Update codicon to 0.0.44 (#465)
tortmayr Feb 9, 2026
23cdd40
v2.6.0 (#1622)
github-actions[bot] Feb 9, 2026
bd25dd1
Releng: add publish workflow (#1623)
tortmayr Feb 9, 2026
0fd2dca
v2.6.0
eclipse-glsp-bot Feb 9, 2026
8b383f0
Extend model submission with optional layout information (#121)
martin-fleck-at Feb 10, 2026
f568b2c
v2.6.0 (#123)
github-actions[bot] Feb 10, 2026
53f2802
Switch to 2.7.0-next (#1630)
tortmayr Feb 17, 2026
6bc6e99
Fix bug in update-next cli (#1631)
tortmayr Feb 17, 2026
ead203f
Switch to 2.7.0-next (#468)
tortmayr Feb 17, 2026
56f5e05
Switch to 2.7.0-next (#125)
tortmayr Feb 17, 2026
e0e9df5
GLSP-1619: Fix AbstractUIExtension error message (#469)
tortmayr Feb 19, 2026
0697f3f
GLSP-1634: Update to eslint 9.x (#1638)
tortmayr Feb 19, 2026
dbc8d61
GLSP-1634: Swithc to eslint 9.x (#470)
tortmayr Feb 19, 2026
9d855dd
GLSP-1634: Switch to eslint 9.x (#126)
tortmayr Feb 19, 2026
7710803
fix: edit label UI does not resize on graph zoom (#455)
ndoschek Mar 4, 2026
0a21988
GLSP-1637: Update to Node 22 (#1644)
tortmayr Mar 31, 2026
03302bf
Fix bug in check-headers (#1643)
tortmayr Mar 31, 2026
e3198dc
Add workflow for server PR testing (#481)
tortmayr Apr 10, 2026
6695f21
GLSP-1649: CLI package tests (#1650)
tortmayr Apr 15, 2026
2db6635
GLSP-1649: Fix e2e tests (#1651)
tortmayr Apr 15, 2026
b2cc631
Add support for sticky Manhattan Routing and rounded Edges (#486)
martin-fleck-at Apr 24, 2026
bfaf781
feat: add bidirectional request/response protocol support (#480)
martin-fleck-at Apr 24, 2026
4ab4d1b
Bump uuid from 10.0.0 to 14.0.0 (#487)
dependabot[bot] Apr 24, 2026
f7a237d
feat: add request/response support to server ActionDispatcher (#131)
martin-fleck-at Apr 27, 2026
8acb2a2
GLSP-1565: Publish browser workflow-server bundle (#132)
tortmayr Apr 29, 2026
9e2744a
GLSP-1656: Add browser mode to workflow standalone example (#490)
tortmayr Apr 30, 2026
00e33e6
GLSP-1565: Use separate source maps for web bundle (#133)
tortmayr Apr 30, 2026
a15c1a9
GLSP-1657: Remove dependency to lodash (#495)
tortmayr Apr 30, 2026
8cbdf17
Improve GitHub Pages deployments and update dependencies (#496)
tortmayr Apr 30, 2026
5fa1257
Add org-wide workflow status badge dashboard (#1658)
tortmayr May 1, 2026
d4483f5
GLSP-1656: Rework server bundle consumption and unify start scripts (…
tortmayr May 4, 2026
43ffd0c
GLSP-1654: add `glsp repo` command (#1655)
tortmayr May 7, 2026
2c9a432
Add support for Model Context Protocol (#456)
martin-fleck-at May 8, 2026
0fa8ad4
Fix e2e repo test failures in CI (#1662)
tortmayr May 8, 2026
34ca461
Add support for Model Context Protocol (#120)
martin-fleck-at May 12, 2026
e67ece4
Generate and use only single index per repository convention (#135)
martin-fleck-at May 18, 2026
2e50d31
Make MCP server browser-portable with a Web-standard handler (#136)
martin-fleck-at May 19, 2026
541db91
GLSP-1675: Avoid unnecessary await for sync action handlers (#505)
tortmayr May 22, 2026
9d20203
GLSP-1656: Extends repo commands for playwright testing (#1678)
tortmayr May 27, 2026
8cfa99a
GLSP-1656: Update start scripts (#506)
tortmayr May 27, 2026
bc3ec97
Fix port override in start commands (#1679)
tortmayr May 27, 2026
b2c58ea
GLSP-1609: Restore parallel-start dispatch for async action handlers …
martin-fleck-at May 27, 2026
e18c1bd
Enable passthrough args for start commands and simplify playwright en…
tortmayr May 27, 2026
e5c2ea6
Make MCP server startup configurable via URL parameters (#508)
tortmayr May 28, 2026
7e01b56
Update playwright env generation (#1681)
tortmayr May 28, 2026
2137cfe
Update repo cli (#1683)
tortmayr May 28, 2026
e90fbd4
Use batch mode for CLI maven commands (#1684)
tortmayr May 29, 2026
56684f4
v2.7.0 (#1688)
github-actions[bot] Jun 1, 2026
6c03b14
v2.7.0 (#514)
github-actions[bot] Jun 1, 2026
48cfd64
v2.7.0 (#139)
github-actions[bot] Jun 1, 2026
c484203
Switch to nightly 2.8.0-next versions (#1689)
tortmayr Jun 2, 2026
fc3e2d3
Switch to nightly 2.8.0-next versions (#515)
tortmayr Jun 2, 2026
a199e9d
Switch to nightly 2.8.0-next versions (#140)
tortmayr Jun 2, 2026
28766e0
GLSP-1692: Fix elkfactory for browser usecase (#141)
tortmayr Jun 9, 2026
6198758
Improve checkHeaders --type changes to diff against default branch (#…
tortmayr Jun 10, 2026
9b2c595
GLSP-31: Update workflow example (standalone) (#504)
tortmayr Jun 10, 2026
ccea617
GLSP-1693: Switch bundling to esbuild (#142)
tortmayr Jun 11, 2026
ed2b256
GLSP-1636: Make CLI commands package-manager aware (#1697)
tortmayr Jun 15, 2026
a5032a0
GLSP-1636: fix updateNext command (#1698)
tortmayr Jun 15, 2026
05c550f
Update dev dependencies to current major versions (#1701)
tortmayr Jun 16, 2026
bd23182
Migrate ts-config target to ES2023 (#1702)
tortmayr Jun 16, 2026
ed58751
GLSP-1700: Introduce uuid helper (#519)
tortmayr Jun 17, 2026
b23a6a0
GLSP-1636: Adopt pnpm as the monorepo package manager (#1699)
tortmayr Jun 18, 2026
6f9db1e
GLSP-1636: Migrate to pnpm (#144)
tortmayr Jun 18, 2026
92401d9
GLSP-1636: Migrate to pnpm (#517)
tortmayr Jun 18, 2026
1b007b4
GLSP-1636: Rework cross-repo linking and finish the pnpm-only CLI (#1…
tortmayr Jun 20, 2026
a682079
GLSP-1635: Migrate test stack to Vitest (#1705)
tortmayr Jun 22, 2026
a1e179b
GLSP-1636: Add interactive option to publish command (#1706)
tortmayr Jun 22, 2026
b886b9a
Fix change dection for checkHeaders script (#1707)
tortmayr Jun 22, 2026
d7ddc74
GLSP-1635: Migrate spec assertions to native Vitest matchers (#1708)
tortmayr Jun 23, 2026
82f2761
GLSP-1635: Migrate test stack to Vitest (#145)
tortmayr Jun 23, 2026
98e34d4
Improve .indexignore support (#1709)
tortmayr Jun 23, 2026
4a06bfb
Revert "Improve .indexignore support (#1709)" (#1710)
tortmayr Jun 23, 2026
12edf46
GLSP-1635: Migrate test framework from Mocha to Vitest (#522)
tortmayr Jun 23, 2026
d052439
Fix no-op test assertions and drop redundant eslint overrides (#146)
tortmayr Jun 24, 2026
dca1b81
Re-enable no-unused-expressions after Vitest migration (#523)
tortmayr Jun 24, 2026
c574827
Add dev-packages from glsp (history-preserving subtree merge)
tortmayr Jun 30, 2026
3a58469
Add client packages and examples from glsp-client (history-preserving…
tortmayr Jun 30, 2026
797a070
Add server packages and examples from glsp-server-node (history-prese…
tortmayr Jun 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions dev-packages/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Eclipse GLSP - Dev Packages [![build-status](https://img.shields.io/jenkins/build?jobUrl=https://ci.eclipse.org/glsp/job/eclipse-glsp/job/glsp/job/master)](https://ci.eclipse.org/glsp/job/eclipse-glsp/job/glsp-client/job/master)

Common shared development packages for Eclipse GLSP components that are implemented with Typescript.

## Components

- [`@eclipse-glsp/cli`](./cli/README.md): Provides helpful scrips and commands for developing glsp components as well as release engineering.
- [`@eclipse-glsp/config`](./config/README.md): Provides a meta package that exports common configuration objects for:
- [Typescript](https://www.typescriptlang.org/) (`tsconfig.json`)
- [ESLint](https://eslint.org/) (`.eslintrc`)
- [Prettier](https://prettier.io/) (`.prettierrc`).
- [`@eclipse-glsp/config-test`](./config-test//README.md): Provides a meta package that exports common test configuration object on top of `@eclipse-glsp/config`:
- [Mocha](https://www.npmjs.com/package/@eclipse-glsp/mocha-config) (`.mocharc`)
- [NYC](https://www.npmjs.com/package/@eclipse-glsp/nyc-config): (`.nycrc`)
- [`@eclipse-glsp/dev`](./dev//README.md): Provides an all-in-one meta package that includes `@eclipse-glsp/cli`, `@eclipse-glsp/config` and `@eclipse-glsp/config-dev`

The packages are available via npm and are used by all GLSP components implemented with Typescript.

## More information

For more information, please visit the [Eclipse GLSP Umbrella repository](https://github.com/eclipse-glsp/glsp) and the [Eclipse GLSP Website](https://www.eclipse.org/glsp/).
If you have questions, please raise them in the [discussions](https://github.com/eclipse-glsp/glsp/discussions) and have a look at our [communication and support options](https://www.eclipse.org/glsp/contact/).
491 changes: 491 additions & 0 deletions dev-packages/cli/README.md

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions dev-packages/cli/bin/glsp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/usr/bin/env node
/********************************************************************************
* Copyright (c) 2026 EclipseSource and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the Eclipse
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
* with the GNU Classpath Exception which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
********************************************************************************/
// Stable launcher committed to the repository so the `glsp` bin symlink can
// always be created at install time. The actual CLI is the esbuild bundle in
// `dist/`, which is a build artifact and may not exist yet on a fresh checkout.
const path = require('path');
const distEntry = path.join(__dirname, '..', 'dist', 'cli.js');

try {
require(distEntry);
} catch (error) {
if (error && error.code === 'MODULE_NOT_FOUND' && error.message.includes(distEntry)) {
console.error("The GLSP CLI has not been built yet. Run 'pnpm build' in the @eclipse-glsp/cli package first.");
process.exit(1);
}
throw error;
}
89 changes: 89 additions & 0 deletions dev-packages/cli/esbuild.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
/********************************************************************************
* Copyright (c) 2025 EclipseSource and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the Eclipse
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
* with the GNU Classpath Exception which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
********************************************************************************/
const esbuild = require('esbuild');
const fs = require('fs');

const production = process.argv.includes('--production');
const watch = process.argv.includes('--watch');

/**
* @type {import('esbuild').Plugin}
*/
const esbuildProblemMatcherPlugin = {
name: 'esbuild-problem-matcher',

setup(build) {
build.onStart(() => {
console.log(`${watch ? '[watch]' : ''} build started`);
});
build.onEnd(result => {
result.errors.forEach(({ text, location }) => {
console.error(`✘ [ERROR] ${text}`);
console.error(` ${location.file}:${location.line}:${location.column}:`);
});
let resultMessage = '';
if (watch) {
resultMessage += '\n';
}
resultMessage += ' build finished';
if (result.errors.length !== 0) {
resultMessage += `\n✘ ${result.errors.length} error(s)`;
}
if (result.warnings.length !== 0) {
resultMessage += `\n⚠ ${result.warnings.length} warning(s)`;
}
console.log(resultMessage);
});
}
};

async function main() {
const ctx = await esbuild.context({
entryPoints: ['src/cli.ts'],
bundle: true,
format: 'cjs',
minify: production,
sourcemap: !production,
sourcesContent: false,
platform: 'node',
outfile: 'dist/cli.js',
logLevel: 'silent',
banner: {
js: '#!/usr/bin/env node'
},
plugins: [
/* add to the end of plugins array */
esbuildProblemMatcherPlugin
]
});
if (watch) {
await ctx.watch();
} else {
await ctx.rebuild();
await ctx.dispose();
// Make the generated CLI file executable
try {
fs.chmodSync('dist/cli.js', 0o755);
} catch (error) {
console.warn('Warning: Could not set executable permissions on dist/cli.js:', error.message);
}
}
}

main().catch(e => {
console.error(e);
process.exit(1);
});
62 changes: 62 additions & 0 deletions dev-packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"name": "@eclipse-glsp/cli",
"version": "2.8.0-next",
"description": "CLI Tooling & scripts for GLSP components",
"homepage": "https://www.eclipse.org/glsp/",
"bugs": "https://github.com/eclipse-glsp/glsp/issues",
"repository": {
"type": "git",
"url": "https://github.com/eclipse-glsp/glsp.git"
},
"license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
"author": {
"name": "Eclipse GLSP"
},
"contributors": [
{
"name": "Eclipse GLSP Project",
"email": "glsp-dev@eclipse.org",
"url": "https://projects.eclipse.org/projects/ecd.glsp"
}
],
"bin": {
"glsp": "bin/glsp.js"
},
"files": [
"bin",
"dist"
],
"scripts": {
"build": "pnpm compile && pnpm bundle",
"build:prod": "pnpm compile && pnpm bundle --production",
"bundle": "pnpm clean:dist && node esbuild.js",
"clean": "rimraf dist tsconfig.tsbuildinfo",
"clean:dist": "rimraf dist",
"compile": "tsc",
"lint": "eslint --ext .ts,.tsx ./src",
"lint:ci": "pnpm lint -o eslint.xml -f checkstyle",
"prepublishOnly": "pnpm build",
"start": "node dist/cli.js",
"test": "vitest run",
"test:all": "pnpm test && pnpm test:e2e",
"test:coverage": "vitest run --coverage",
"test:e2e": "pnpm build && vitest run --config vite.config.e2e.ts",
"test:watch": "vitest",
"watch": "node esbuild.js --watch",
"watch:tsc": "tsc --watch"
},
"devDependencies": {
"@eclipse-glsp/config-test": "workspace:*",
"@types/semver": "^7.7.1",
"commander": "^14.0.0",
"esbuild": "~0.28.1",
"globby": "^16.2.0",
"minimatch": "^10.2.5",
"open": "^11.0.0",
"semver": "^7.7.2",
"yaml": "^2.8.0"
},
"publishConfig": {
"access": "public"
}
}
Loading