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
+75-2Lines changed: 75 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ Thank you for your interest in contributing to the Angular Toolkit MCP! This doc
13
13
-[Submitting Changes](#submitting-changes)
14
14
-[Documentation](#documentation)
15
15
-[Debugging](#debugging)
16
+
-[Release Process](#release-process)
16
17
17
18
## 🚀 Getting Started
18
19
@@ -38,7 +39,7 @@ Thank you for your interest in contributing to the Angular Toolkit MCP! This doc
38
39
39
40
2.**Build the project:**
40
41
```bash
41
-
npx nx build angular-mcp
42
+
npx nx build angular-toolkit-mcp
42
43
```
43
44
44
45
### Nx Workspace Commands
@@ -209,7 +210,7 @@ Before committing, ensure:
209
210
Start the MCP server in debug mode:
210
211
211
212
```bash
212
-
npx nx run angular-mcp:debug
213
+
npx nx run angular-toolkit-mcp:debug
213
214
```
214
215
215
216
This starts the server with the MCP Inspector for debugging.
@@ -222,6 +223,78 @@ This starts the server with the MCP Inspector for debugging.
222
223
- Use `console.log` or debugger statements in development
223
224
- Test with the minimal-repo examples
224
225
226
+
## 📦 Release Process
227
+
228
+
### Publishing to npm
229
+
230
+
The Angular Toolkit MCP is published to npm as `@push-based/angular-toolkit-mcp`. Only maintainers with appropriate permissions can publish new versions.
231
+
232
+
### Release Steps
233
+
234
+
1.**Update Version**
235
+
236
+
Update the version in `packages/angular-mcp/package.json` following semantic versioning:
237
+
-**Patch** (0.1.0 → 0.1.1): Bug fixes
238
+
-**Minor** (0.1.0 → 0.2.0): New features (backwards compatible)
239
+
-**Major** (0.1.0 → 1.0.0): Breaking changes
240
+
241
+
2.**Build the Package**
242
+
```bash
243
+
npx nx build angular-toolkit-mcp
244
+
```
245
+
246
+
3.**Test the Package**
247
+
```bash
248
+
cd packages/angular-mcp/dist
249
+
npm pack
250
+
# Test the generated .tgz file
251
+
node main.js --help
252
+
```
253
+
254
+
4.**Authenticate with npm**
255
+
```bash
256
+
npm login
257
+
```
258
+
Ensure you have access to the `@push-based` scope.
259
+
260
+
5.**Publish to npm**
261
+
```bash
262
+
npm run publish:mcp
263
+
```
264
+
Or manually:
265
+
```bash
266
+
npx nx build angular-toolkit-mcp
267
+
cd packages/angular-mcp/dist
268
+
npm publish
269
+
```
270
+
271
+
6.**Verify Publication**
272
+
```bash
273
+
npm view @push-based/angular-toolkit-mcp
274
+
npx @push-based/angular-toolkit-mcp@latest --help
275
+
```
276
+
277
+
7.**Tag the Release**
278
+
```bash
279
+
git tag v0.1.0
280
+
git push origin v0.1.0
281
+
```
282
+
283
+
8.**Update Documentation**
284
+
- Update CHANGELOG.md with release notes
285
+
- Update any version references in documentation
286
+
287
+
### Pre-release Checklist
288
+
289
+
Before publishing a new version:
290
+
-[ ] All tests pass (`npx nx run-many --target=test --all`)
291
+
-[ ] No linting errors (`npx nx run-many --target=lint --all`)
Copy `.cursor/mcp.json.example`to the project you're working on. Copied file should be: `.cursor/mcp.json` and update `angular-toolkit-mcp` values accordingly:
96
+
When developing locally, point to the built server:
0 commit comments