chore(mcp-server): version 0.4.0; check-package requires the draw.io version stamp

This commit is contained in:
dayuan.jiang
2026-10-11 20:56:07 +09:00
parent 58cef00873
commit 0ed9643af1
3 changed files with 10 additions and 6 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "@next-ai-drawio/mcp-server",
"version": "0.3.0",
"version": "0.4.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@next-ai-drawio/mcp-server",
"version": "0.3.0",
"version": "0.4.0",
"license": "Apache-2.0",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.31.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@next-ai-drawio/mcp-server",
"version": "0.3.0",
"version": "0.4.0",
"description": "MCP server for Next AI Draw.io - AI-powered diagram generation with real-time browser preview",
"type": "module",
"main": "dist/index.js",
@@ -12,18 +12,22 @@ const REQUIRED = [
"dist/drawio/index.html",
"dist/drawio/js/app.min.js",
"dist/drawio/LICENSE",
// The draw.io version stamp (part of every file's ETag); a dotfile, so
// make sure npm keeps it
"dist/drawio/.version",
"dist/shell/index.html",
"dist/shell/shell.js",
"dist/shell/shell.css",
]
// The canvas shell (708 KB and 50 KB when it was added); a jump means a
// The canvas shell (750 KB and 50 KB at version 0.4.0); a jump means a
// dependency of the shared components grew the bundle
const MAX_FILE_BYTES = {
"dist/shell/shell.js": 1.5 * 1024 * 1024,
"dist/shell/shell.css": 300 * 1024,
}
// The bundled draw.io is most of the package (15.1 MB packed with draw.io
// v32.0.2); a jump means the file list grew more than intended
// The bundled draw.io is most of the package (15.3 MB packed with draw.io
// v32.0.2 at version 0.4.0); a jump means the file list grew more than
// intended
const MAX_TARBALL_BYTES = 20 * 1024 * 1024
const output = JSON.parse(