This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Eclipse GLSP Client monorepo. Provides the sprotty-based client framework for the Graphical Language Server Platform (GLSP). Contains the core client packages and example applications. Uses Lerna with Yarn workspaces.
- Package manager: Yarn 1.x (classic) — do not use Yarn 2+/Berry or npm
- Build:
yarnfrom root installs and compiles everything - Clean:
yarn clean
- Tests:
yarn test(Mocha), single test:yarn test --grep 'test name'
These are enforced by ESLint and are easy to get wrong:
- Never use relative imports like
../or../index— use package names @eclipse-glsp/protocol: Must NOT import fromsprotty,sprotty-protocol, or@eclipse-glsp/client@eclipse-glsp/sprotty: Must NOT import directly fromsprotty-protocol— usesprottyreexports instead@eclipse-glsp/client: Must NOT import directly fromsprottyorsprotty-protocol— use@eclipse-glsp/sprottyreexports instead