canicode 0.8.2 → 0.8.4
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/README.md +3 -3
- package/dist/cli/index.js +3 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/server.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="docs/logo.png" alt="CanICode" width="80">
|
|
2
|
+
<img src="docs/images/logo.png" alt="CanICode" width="80">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<h1 align="center">CanICode</h1>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<p align="center"><strong><a href="https://let-sunny.github.io/canicode/">Try it in your browser</a></strong> — no install needed.</p>
|
|
21
21
|
|
|
22
22
|
<p align="center">
|
|
23
|
-
<img src="docs/screenshot.png" alt="CanICode Report" width="720">
|
|
23
|
+
<img src="docs/images/screenshot.png" alt="CanICode Report" width="720">
|
|
24
24
|
</p>
|
|
25
25
|
|
|
26
26
|
---
|
|
@@ -78,7 +78,7 @@ For Cursor / Claude Desktop config, see [`docs/CUSTOMIZATION.md`](docs/CUSTOMIZA
|
|
|
78
78
|
|
|
79
79
|
Then ask: *"Analyze this Figma design: https://www.figma.com/design/..."*
|
|
80
80
|
|
|
81
|
-
> **Note:** MCP/Skill path extracts style data from Figma MCP's generated code (React + Tailwind), not raw Figma node properties. For the most accurate analysis, use the CLI with a Figma API token.
|
|
81
|
+
> **Note:** MCP/Skill path extracts style data from Figma MCP's generated code (React + Tailwind), not raw Figma node properties. Results may differ slightly from CLI — see [`docs/MCP-VS-CLI.md`](docs/MCP-VS-CLI.md) for a detailed comparison. For the most accurate analysis, use the CLI with a Figma API token.
|
|
82
82
|
|
|
83
83
|
### 3. Web (no install)
|
|
84
84
|
|
package/dist/cli/index.js
CHANGED
|
@@ -975,7 +975,7 @@ async function loadFromApi(fileKey, nodeId, token) {
|
|
|
975
975
|
}
|
|
976
976
|
|
|
977
977
|
// package.json
|
|
978
|
-
var version = "0.8.
|
|
978
|
+
var version = "0.8.4";
|
|
979
979
|
var AnalysisNodeTypeSchema = z.enum([
|
|
980
980
|
"DOCUMENT",
|
|
981
981
|
"CANVAS",
|
|
@@ -4049,6 +4049,8 @@ CANICODE SETUP GUIDE
|
|
|
4049
4049
|
from Figma MCP's own generated code (React + Tailwind),
|
|
4050
4050
|
not raw Figma node properties. Results may differ
|
|
4051
4051
|
slightly from CLI due to this interpretation layer.
|
|
4052
|
+
|
|
4053
|
+
Details: github.com/let-sunny/canicode/blob/main/docs/MCP-VS-CLI.md
|
|
4052
4054
|
`.trimStart());
|
|
4053
4055
|
}
|
|
4054
4056
|
function printDocsRules() {
|