You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Replace yarn and lerna with pnpm workspaces as the package manager
- Use pnpm's built-in workspace management and the glsp CLI for
publishing in place of lerna run/publish
- Adapt CI workflows, VS Code tasks, and project docs to pnpm
Also:
- Remove verify skill and improve fix skill
- Reformat code base for updated prettier formatting alignment
- Remove unused e2e-server-pr workflow
- Remove outdated/unused watch vscode task
Part-of: eclipse-glsp/glsp#1636
description: Auto-fix all lint, formatting, and copyright header issues across the workspace. Use when validation (`/verify`) fails or when explicitly requested.
3
+
description: Run the fix-and-verify suite for the workspace (compile, auto-fix lint/format/headers, test). IMPORTANT - Proactively invoke this skill after completing any code changes (new features, bug fixes, refactors) before reporting completion. Re-run it after manually addressing anything it could not auto-fix.
4
4
---
5
5
6
-
Run the full auto-fix suite for the GLSP Client monorepo from the repository root:
6
+
Run the auto-fix and validation suite for the GLSP Client monorepo from the repository root.
7
+
8
+
1. Build first. This is a hard gate: if the build fails, stop immediately, report the build errors, and do not run any of the following steps.
9
+
The build must pass before anything else runs.
10
+
11
+
```bash
12
+
pnpm build
13
+
```
14
+
15
+
2. Auto-fix lint, formatting, and copyright headers. Run all three even if an earlier one reports remaining problems (they are independent):
7
16
8
17
```bash
9
-
yarn lint:fix && yarn format && yarn headers:fix
18
+
pnpm lint:fix
19
+
pnpm format
20
+
pnpm headers:fix -t changes
10
21
```
11
22
12
-
After fixing, report what changed. If any issues remain that couldn't be auto-fixed, list them and suggest manual fixes.
23
+
3. Run the test suite to validate behavior (tests are not auto-fixable):
24
+
25
+
```bash
26
+
pnpm test
27
+
```
28
+
29
+
Then:
30
+
31
+
- If `pnpm build` failed, fix the compile errors and re-run this skill.
32
+
- If `pnpm lint:fix` reported lint errors it could not fix, or `pnpm test` failed, fix them manually and re-run this skill.
33
+
- Otherwise everything is clean (compile succeeds, formatting and headers are corrected in place, lint has no remaining errors, tests pass) — report completion.
0 commit comments