Skip to content

Commit 4fa0139

Browse files
authored
Merge branch 'master' into dependabot/npm_and_yarn/npm_and_yarn-0b0ca7d3fa
2 parents ada3b45 + 6506eda commit 4fa0139

3 files changed

Lines changed: 30 additions & 0 deletions

File tree

packages/igniteui-mcp/igniteui-doc-mcp/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "@igniteui/mcp-server",
3+
"mcpName": "io.github.IgniteUI/mcp-server",
34
"version": "15.0.1",
45
"description": "Unified MCP server for Ignite UI — documentation, GitHub API, and CLI scaffolding",
56
"repository": {
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3+
"name": "io.github.IgniteUI/mcp-server",
4+
"description": "Unified MCP server for Ignite UI — documentation, GitHub API, and CLI scaffolding",
5+
"version": "15.0.1",
6+
"packages": [{
7+
"registryType": "npm",
8+
"identifier": "@igniteui/mcp-server",
9+
"version": "15.0.1",
10+
"transport": { "type": "stdio" }
11+
}]
12+
}

scripts/versionScript.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,28 @@ function updatePackageJson(fileLocation: string) {
3737
writeFileSync(fileLocation, JSON.stringify(pkgJson, null, 2) + "\n");
3838
}
3939

40+
function updateServerJson(pkgJsonLocation: string, serverJsonLocation: string) {
41+
const pkgVersion = JSON.parse(readFileSync(pkgJsonLocation).toString()).version;
42+
const serverJson = JSON.parse(readFileSync(serverJsonLocation).toString());
43+
const previousVersion = serverJson.version;
44+
serverJson.version = pkgVersion;
45+
if (Array.isArray(serverJson.packages)) {
46+
for (const entry of serverJson.packages) {
47+
entry.version = pkgVersion;
48+
}
49+
}
50+
writeFileSync(serverJsonLocation, JSON.stringify(serverJson, null, 2) + "\n");
51+
}
52+
4053
function main() {
4154
version = getVersion();
4255
for (const folder of packageFolders) {
4356
updatePackageJson(path.join("packages", folder, "package.json"));
4457
}
58+
updateServerJson(
59+
path.join("packages", "igniteui-mcp", "igniteui-doc-mcp", "package.json"),
60+
path.join("packages", "igniteui-mcp", "igniteui-doc-mcp", "server.json"),
61+
);
4562
}
4663
main();
4764
generateChangelog(version);

0 commit comments

Comments
 (0)