@seed-design/mcp 0.0.4 → 0.0.6
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/bin/index.mjs +1 -1
- package/package.json +2 -2
- package/src/figma.ts +1 -1
package/bin/index.mjs
CHANGED
|
@@ -4575,7 +4575,7 @@ class FigmaService {
|
|
|
4575
4575
|
componentSets: node.componentSets
|
|
4576
4576
|
});
|
|
4577
4577
|
const normalizedNode = normalizer(node.document);
|
|
4578
|
-
const code =
|
|
4578
|
+
const code = generateCode(normalizedNode) ?? "";
|
|
4579
4579
|
const result = {
|
|
4580
4580
|
name: node.document.name,
|
|
4581
4581
|
lastModified: response.lastModified,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seed-design/mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/daangn/seed-design.git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@modelcontextprotocol/sdk": "^1.7.0",
|
|
25
|
-
"@seed-design/figma": "0.0.
|
|
25
|
+
"@seed-design/figma": "0.0.6",
|
|
26
26
|
"express": "^4.21.2",
|
|
27
27
|
"yargs": "^17.7.2"
|
|
28
28
|
},
|
package/src/figma.ts
CHANGED
|
@@ -174,7 +174,7 @@ export class FigmaService {
|
|
|
174
174
|
});
|
|
175
175
|
|
|
176
176
|
const normalizedNode = normalizer(node.document);
|
|
177
|
-
const code =
|
|
177
|
+
const code = generateCode(normalizedNode) ?? "";
|
|
178
178
|
|
|
179
179
|
const result = {
|
|
180
180
|
name: node.document.name,
|