@theme-registry/refract-mcp 0.1.7 → 0.1.8

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -67,7 +67,9 @@ claude mcp add refract -- node ./packages/refract-mcp/dist/server.js
67
67
  ```
68
68
 
69
69
  The server auto-discovers `theme.config.(ts|js|mjs)` in the working directory; pass `--config <path>`
70
- to point elsewhere. A `.ts` config needs the `typescript` optional peer (same as `refract build`).
70
+ to point elsewhere. A `.ts` config needs the `typescript` optional peer at **5.x** (same as
71
+ `refract build` — a bare `npm i -D typescript` now resolves to 7.x, which doesn't expose the compiler
72
+ API from its main entry). A `.mjs` or `.js` config never loads typescript at all.
71
73
 
72
74
  For project scope, commit a `.mcp.json`:
73
75
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theme-registry/refract-mcp",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Model Context Protocol server for refract — query + validate a project's theme from an AI agent.",
5
5
  "author": {
6
6
  "name": "Petyo Stoyanov",
@@ -25,10 +25,10 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "@modelcontextprotocol/sdk": "^1.29.0",
28
- "@theme-registry/refract": "^0.1.7"
28
+ "@theme-registry/refract": "^0.1.8"
29
29
  },
30
30
  "peerDependencies": {
31
- "typescript": "*"
31
+ "typescript": ">=5.0.0 <6"
32
32
  },
33
33
  "peerDependenciesMeta": {
34
34
  "typescript": {
@@ -42,7 +42,7 @@
42
42
  "rollup": "^3.29.4",
43
43
  "typescript": "^5.4.2",
44
44
  "vitest": "^4.1.10",
45
- "@theme-registry/refract-css": "^0.1.7"
45
+ "@theme-registry/refract-css": "^0.1.8"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "rollup -c",