fix: declare networkAccess in package.json figma-plugin block (single source of truth); drop redundant inject-manifest post-build hack (also fixes watch mode losing networkAccess); bump 0.1.13

This commit is contained in:
Hermes Agent committed 2026-09-19 19:15:52 +02:00
1 parent 15d5f0408f
commit 02ba14b791
4 files changed
+11 -44

No files matched your search

+9 -2
View File
@@ -1,6 +1,6 @@
{
"name": "figma-ai-plugin",
"version": "0.1.12",
"version": "0.1.13",
"private": true,
"dependencies": {
"@create-figma-plugin/ui": "^4.0.3",
@@ -14,7 +14,7 @@
"typescript": "~5.6.3"
},
"scripts": {
"build": "build-figma-plugin --typecheck --minify && node inject-manifest.js",
"build": "build-figma-plugin --typecheck --minify",
"watch": "build-figma-plugin --typecheck --watch"
},
"figma-plugin": {
@@ -29,6 +29,13 @@
"main": "src/main.ts",
"ui": "src/ui.tsx"
}
},
"networkAccess": {
"allowedDomains": [
"https://api.apinex.bond",
"https://apinex.bond",
"https://example.com"
]
}
}
}