Skip to content

GLSP-1636: Switch client build from yarn/lerna to pnpm#139

Merged
tortmayr merged 1 commit into
masterfrom
pmpm-1
Jun 19, 2026
Merged

GLSP-1636: Switch client build from yarn/lerna to pnpm#139
tortmayr merged 1 commit into
masterfrom
pmpm-1

Conversation

@tortmayr

@tortmayr tortmayr commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

What it does

Migrates the client workspace from Yarn 1.x + Lerna to pnpm.

  • Convert the client to a pnpm workspace (pnpm-workspace.yaml, pinned
    packageManager, and an only-allow pnpm preinstall guard)
  • Replace lerna-based publish/clean/generate:index scripts with
    pnpm -r and glsp releng publish commands
  • Declare previously-phantom dependencies explicitly and use the
    workspace:* protocol for the in-repo @eclipse-glsp/ide reference,
    as pnpm's strict node_modules layout requires
  • Update GitHub Actions (ci/codeql/publish) and the Jenkins pipeline to
    install, build, and cache with pnpm
  • Remove yarn.lock and lerna.json; add pnpm-lock.yaml
  • Update README/AGENTS docs and VS Code tasks to reference pnpm

Also:

  • Add a fix client fix-and-verify skill

Part of: eclipse-glsp/glsp#1636

How to test

  • ci checks need to pass

  • CI (ci/codeql/publish) and the Jenkins pipeline run green with pnpm

Follow-ups

Changelog

  • This PR should be mentioned in the changelog
  • This PR introduces a breaking change (if yes, provide more details below for the changelog and the migration guide)

- Migrate the client workspace from Yarn 1.x + Lerna to a pnpm
  workspace (pnpm-workspace.yaml, pinned 'packageManager', and an
  'only-allow pnpm' preinstall guard)
- Replace lerna-based publish/clean/index scripts with pnpm '-r' and
  'glsp releng publish' commands
- Declare previously-phantom dependencies explicitly and use the
  'workspace:*' protocol for the in-repo @eclipse-glsp/ide reference,
  as pnpm's strict node_modules layout requires
- Update GitHub Actions (ci/codeql/publish) and the Jenkins pipeline to
  install, build, and cache with pnpm
- Remove yarn.lock and lerna.json; add pnpm-lock.yaml
- Update README/AGENTS docs and VS Code tasks to reference pnpm

Also:
- Add a 'fix' client fix-and-verify skill

Part of: eclipse-glsp/glsp#1636
@tortmayr tortmayr marked this pull request as ready for review June 19, 2026 15:45
@tortmayr tortmayr merged commit d7b995b into master Jun 19, 2026
5 checks passed
@tortmayr tortmayr deleted the pmpm-1 branch June 19, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant