mcp-udacity-commit 1.2.1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +71 -0
- package/build/index.js +1 -1
- package/package.json +8 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e8eda7d: Releases are now automated with Changesets and published from GitHub Actions with provenance.
|
|
8
|
+
|
|
9
|
+
All notable changes to this project are documented here.
|
|
10
|
+
|
|
11
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
12
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
13
|
+
|
|
14
|
+
## [1.2.2] - 2026-07-31
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Include `CHANGELOG.md` in the published npm package so the release
|
|
19
|
+
history ships alongside the code.
|
|
20
|
+
|
|
21
|
+
## [1.2.1] - 2026-07-31
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- Renamed terse single-letter locals across the server and lint core to
|
|
26
|
+
descriptive names — a pure readability pass with functionally identical
|
|
27
|
+
compiled output. (#4)
|
|
28
|
+
|
|
29
|
+
### Security
|
|
30
|
+
|
|
31
|
+
- Ignore `.mcpregistry_*` so the MCP publisher's GitHub token can never be
|
|
32
|
+
committed; also ignore `.idea/` project settings and `*.tgz` pack
|
|
33
|
+
artifacts. (#5)
|
|
34
|
+
|
|
35
|
+
## [1.2.0] - 2026-07-28
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
|
|
39
|
+
- `validate_branch_name` tool and `udacity://branch-naming` resource
|
|
40
|
+
enforcing the companion `type/kebab-case` branch-naming convention. (#2)
|
|
41
|
+
- `release/` recognized as a typed branch that accepts version-style
|
|
42
|
+
descriptions (e.g. `release/1.2.0`, `release/2024-q1`). (#3)
|
|
43
|
+
|
|
44
|
+
## [1.0.2] - 2026-07-28
|
|
45
|
+
|
|
46
|
+
### Fixed
|
|
47
|
+
|
|
48
|
+
- Hardened the commit linter — CRLF handling, code-point length counting,
|
|
49
|
+
imperative-mood hints, and footer issue-reference checks — and added a
|
|
50
|
+
unit-test suite plus CI. (#1)
|
|
51
|
+
- Pointed `node --test` at explicit test files so CI runs the suite
|
|
52
|
+
reliably. (#1)
|
|
53
|
+
|
|
54
|
+
## [1.0.1] - 2026-07-28
|
|
55
|
+
|
|
56
|
+
### Changed
|
|
57
|
+
|
|
58
|
+
- Synced the published npm README and dropped maintainer-only publish
|
|
59
|
+
steps from it.
|
|
60
|
+
|
|
61
|
+
## [1.0.0] - 2026-07-28
|
|
62
|
+
|
|
63
|
+
### Added
|
|
64
|
+
|
|
65
|
+
- Initial release: the Udacity commit-message MCP server with the
|
|
66
|
+
`validate_commit_message` and `format_commit_message` tools and the
|
|
67
|
+
`udacity://commit-styleguide` resource.
|
|
68
|
+
|
|
69
|
+
[1.2.2]: https://github.com/qwertymuzaffar/mcp-udacity-commit/compare/v1.2.1...v1.2.2
|
|
70
|
+
[1.2.1]: https://github.com/qwertymuzaffar/mcp-udacity-commit/compare/v1.2.0...v1.2.1
|
|
71
|
+
[1.2.0]: https://github.com/qwertymuzaffar/mcp-udacity-commit/releases/tag/v1.2.0
|
package/build/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
3
3
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { STYLE_GUIDE, BRANCH_GUIDE, validate, formatMessage, validateBranch } from "./lint.js";
|
|
6
|
-
const VERSION = "1.2.
|
|
6
|
+
const VERSION = "1.2.2";
|
|
7
7
|
export function createServer() {
|
|
8
8
|
const server = new McpServer({ name: "udacity-commit", version: VERSION });
|
|
9
9
|
server.registerResource("styleguide", "udacity://commit-styleguide", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-udacity-commit",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "MCP server that validates and formats git commit messages per the Udacity Git Commit Message Style Guide.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
25
|
"build",
|
|
26
|
-
"README.md"
|
|
26
|
+
"README.md",
|
|
27
|
+
"CHANGELOG.md"
|
|
27
28
|
],
|
|
28
29
|
"engines": {
|
|
29
30
|
"node": ">=18"
|
|
@@ -34,13 +35,17 @@
|
|
|
34
35
|
"pretest": "npm run build",
|
|
35
36
|
"test": "node --test test/*.test.mjs",
|
|
36
37
|
"prepublishOnly": "npm test",
|
|
37
|
-
"test:client": "node test-client.mjs"
|
|
38
|
+
"test:client": "node test-client.mjs",
|
|
39
|
+
"changeset": "changeset",
|
|
40
|
+
"version-packages": "changeset version",
|
|
41
|
+
"release": "npm run build && changeset publish"
|
|
38
42
|
},
|
|
39
43
|
"dependencies": {
|
|
40
44
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
41
45
|
"zod": "^3.25.76"
|
|
42
46
|
},
|
|
43
47
|
"devDependencies": {
|
|
48
|
+
"@changesets/cli": "^3.0.2",
|
|
44
49
|
"@types/node": "^26.1.2",
|
|
45
50
|
"typescript": "^7.0.2"
|
|
46
51
|
}
|