penpot/mcp/packages/plugin/package.json
Andrey Antukh c2125e1589 ⬇️ Downgrade MCP TypeScript from 7 to 6
The 7.x line ships only a version stub at the `typescript` entry
point and no longer exposes the synchronous compiler API, so the
`ts.transpileModule` call that `ConnectionMetadata.test.ts` uses to
compile `main.ts` and `plugin.ts` into a sandboxed browser context
failed with "Cannot read properties of undefined (reading
'CommonJS')", taking all 11 plugin connection tests down.

6.0.3 restores that API and matches the version the frontend and
plugins packages already pin.
AI-assisted-by: step-5-preview-free
2026-10-09 19:14:29 +02:00

26 lines
816 B
JSON

{
"name": "mcp-plugin",
"private": true,
"version": "1.0.0",
"type": "module",
"packageManager": "pnpm@12.6.0+sha512.3ef68f951cb111ac204b4a5a16f0b2ddf0da56a96e0413e81d855d9f0b55ef926714709028e1cd00c405c2c5fb7b9e8ec4dc46777c805d0373c2f2ff00fd20ec",
"scripts": {
"start": "vite build --watch --config vite.config.ts",
"start:multi-user": "pnpm run start",
"build": "tsc && vite build --config vite.release.config.ts",
"test": "node --experimental-strip-types --test src/*.test.ts",
"types:check": "tsc --noEmit",
"clean": "rm -rf dist/"
},
"dependencies": {
"@penpot/plugin-styles": "1.5.0",
"@penpot/plugin-types": "1.5.0"
},
"devDependencies": {
"cross-env": "^10.1.0",
"typescript": "^6.0.3",
"vite": "^8.3.2",
"vite-live-preview": "^0.4.0"
}
}