Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.17 KB

File metadata and controls

26 lines (16 loc) · 1.17 KB

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

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.

Build & Development

  • Package manager: Yarn 1.x (classic) — do not use Yarn 2+/Berry or npm
  • Build: yarn from root installs and compiles everything
  • Clean: yarn clean

Validation

  • Tests: yarn test (Mocha), single test: yarn test --grep 'test name'

Inter-Package Import Rules

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 from sprotty, sprotty-protocol, or @eclipse-glsp/client
  • @eclipse-glsp/sprotty: Must NOT import directly from sprotty-protocol — use sprotty reexports instead
  • @eclipse-glsp/client: Must NOT import directly from sprotty or sprotty-protocol — use @eclipse-glsp/sprotty reexports instead