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
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
13
13
## Installing dependencies
14
14
15
-
This project uses NPM workspaces. To install NPM packages, you only need to run `npm ci` once, in the repository root. Running `npm ci` in any other directory will cause problems.
15
+
This project uses pnpm workspaces. To install packages, run `pnpm install` once in the repository root.
16
16
17
17
## Debugging Code Generation
18
18
@@ -47,7 +47,7 @@ dotnet run -- <path-to-coalesce.json> --debug
47
47
48
48
```bash
49
49
cd docs
50
-
npm run dev
50
+
pnpm dev
51
51
```
52
52
53
53
Then open the documentation in your browser at the URL provided in the output after launching.
@@ -56,4 +56,4 @@ Then open the documentation in your browser at the URL provided in the output af
56
56
57
57
Execute `dotnet run`, or launch the `playground/Coalesce.Web.Vue3` project from Visual Studio.
58
58
59
-
If you need to run code generation for the playground project, run `npm run coalesce` in the `playground/Coalesce.Web.Vue3` directory. This will compile and then execute the local Coalesce CLI against the playground project.
59
+
If you need to run code generation for the playground project, run `pnpm coalesce` in the `playground/Coalesce.Web.Vue3` directory. This will compile and then execute the local Coalesce CLI against the playground project.
Copy file name to clipboardExpand all lines: src/coalesce-mcp/src/tools/upgrade-prompt.ts
+19-16Lines changed: 19 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -260,8 +260,6 @@ Gather all information needed to understand what's changed and what needs updati
260
260
### Current State
261
261
Find and read the user's \`Directory.Build.props\` to get their current \`CoalesceVersion\`. Read their web project's \`package.json\` for NPM package versions. Read all \`.csproj\` files for NuGet packages and target frameworks.
262
262
263
-
If the NPM and NuGet Coalesce versions don't match each other, warn the user immediately — mismatched versions cause bugs.
264
-
265
263
Use \`read_template_file\` to read the template's \`Directory.Build.props\`, \`package.json\`, \`Web.csproj\`, and \`Data.csproj\` to determine the latest versions.
266
264
267
265
If the user is already on the latest version, tell them and stop. Let them know that if this is unexpected, their coalesce-mcp may be outdated.
@@ -289,7 +287,6 @@ Use \`read_template_file\` to compare these files against the user's versions an
289
287
- **eslint.config.mjs** — New rules, plugin changes. Note if user is still on \`.eslintrc\`.
290
288
- **tsconfig.json**, **tsconfig.node.json**
291
289
- **pnpm-workspace.yaml** — overrides, allowBuilds, and other pnpm settings
292
-
- **.npmrc**
293
290
- **.editorconfig**
294
291
- **.vscode/settings.json**
295
292
- **.vscode/mcp.json**
@@ -307,18 +304,23 @@ If the upgrade includes a Vuetify major version change (e.g. Vuetify 3 to 4), wa
307
304
308
305
## Phase 2: Ask
309
306
310
-
Use \`vscode_askQuestions\` with \`multiSelect: true\` to let the user choose what to do. Separate mandatory items (breaking changes, Coalesce package updates) from optional items. If you don't have that tool or a similar alternative, ask with clearly numbered items in regular output.
307
+
Use \`vscode_askQuestions\` with \`multiSelect: true\` to let the user choose which significant changes to apply. If you don't have that tool or a similar alternative, ask with clearly numbered items in regular output.
308
+
309
+
Do NOT ask about:
310
+
- Coalesce package updates (always do these)
311
+
- Breaking changes from the changelog (always apply)
- Major version upgrades of app dependencies (e.g. Vuetify 3 → 4)
319
319
- New optional features from the changelog
320
+
- Significant configuration file changes (new files, structural changes — not minor tweaks)
321
+
- New packages from the template that the user doesn't have yet
320
322
321
-
Each option should have a brief description so the user can make informed choices.
323
+
Each option should have a brief description so the user can make informed choices. Inform the user that Coalesce packages, breaking changes, and routine dependency bumps will be applied automatically.
322
324
323
325
## Phase 3: Execute
324
326
@@ -331,14 +333,15 @@ Create a TODO for EACH individual item selected by the user (not just the high-l
331
333
332
334
### Validation
333
335
334
-
After all changes are made, run these commands in order, fixing errors before proceeding:
336
+
After all changes are made, run these commands in order, fixing errors before proceeding (if the project uses pnpm, use it in place of npm):
335
337
336
-
1. \`pnpm install\` (or \`npm install\`) in the web project. If it fails due to a recently-published package being blocked by npm's minimum release age policy, offer to re-run with \`--min-release-age=0\` after explaining the risk. Always check for warnings in the install output.
338
+
1. \`npm install\` in the web project. If it fails due to a recently-published package being blocked by npm's minimum release age policy, offer to re-run with \`--min-release-age=0\` after explaining the risk. Always check for warnings in the install output.
337
339
2. \`dotnet restore\` in the solution root
338
340
3. Run Coalesce code generation (use the \`coalesce_generate\` tool, or run \`dotnet coalesce\` in the web project)
339
341
4. \`dotnet build\` to verify .NET compilation
340
-
5. \`pnpm run build\` (or \`npm run build\`) in the web project (runs \`vite build && vue-tsc --noEmit\`)
341
-
6. If tests exist, run \`dotnet test\` and \`pnpm test run\` (or \`npm test run\`)
342
+
5. \`npm run build\` in the web project
343
+
6. \`npm run lint\` in the web project — fix all warnings and errors
344
+
7. If tests exist, run \`dotnet test\` and \`npm test run\`
0 commit comments