figma-mcp-stdio 0.1.15 → 0.1.17

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/npx.sh +5 -0
  2. package/package.json +5 -3
package/npx.sh ADDED
@@ -0,0 +1,5 @@
1
+ #!/bin/bash
2
+ export NVM_DIR="$HOME/.nvm"
3
+ source "$NVM_DIR/nvm.sh"
4
+ nvm use 20
5
+ exec npx "$@"
package/package.json CHANGED
@@ -1,14 +1,16 @@
1
1
  {
2
2
  "name": "figma-mcp-stdio",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "description": "A Model Context Protocol server",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "bin": {
8
- "figma-mcp-stdio": "./build/index.js"
8
+ "figma-mcp-stdio": "./build/index.js",
9
+ "figma-mcp-stdio-npx": "./npx.sh"
9
10
  },
10
11
  "files": [
11
- "build"
12
+ "build",
13
+ "npx.sh"
12
14
  ],
13
15
  "scripts": {
14
16
  "build": "tsc && tsc-alias -p tsconfig.json",