figma2mobile-local 0.3.4 → 0.3.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/LICENSE ADDED
@@ -0,0 +1,36 @@
1
+ Figma2Mobile End User License Agreement
2
+
3
+ Copyright © Figma2Mobile copyright holders. All rights reserved.
4
+
5
+ 1. Scope
6
+
7
+ This agreement covers the proprietary Figma2Mobile code and assets in the
8
+ official figma2mobile-local npm distribution, including its MCP server and
9
+ Figma plugin. It grants no rights to the private development repository.
10
+ Rights already validly granted under earlier terms remain governed by those
11
+ terms. Third-party components remain under their respective licenses.
12
+
13
+ 2. Permission to use
14
+
15
+ The Figma2Mobile copyright holders grant individuals and organizations a
16
+ nonexclusive, royalty-free, nontransferable license to download, install and
17
+ run the official npm distribution for their own personal, professional or
18
+ internal business work. An organization may allow its personnel to install
19
+ and run the official distribution for that work. This permission includes
20
+ the copies needed for ordinary installation, operation and internal backup.
21
+
22
+ 3. Restrictions
23
+
24
+ Except where applicable law permits an activity despite this agreement, or
25
+ a separate license for a third-party component grants that right, you may
26
+ not modify the software, create derivative works from it, repackage it,
27
+ publish or otherwise redistribute copies, sublicense it, or sell copies
28
+ without written permission from the applicable copyright holder. These
29
+ terms do not restrict the use or distribution of your own designs, assets
30
+ or other outputs merely because you used the software to produce them.
31
+
32
+ 4. Disclaimer
33
+
34
+ To the extent permitted by applicable law, the software is provided as is,
35
+ without warranties of any kind. Nothing in this agreement limits statutory
36
+ rights or remedies that cannot be limited by contract.
package/README.md CHANGED
@@ -287,11 +287,11 @@ excluded. Files are rotated locally and are never uploaded automatically.
287
287
 
288
288
  ## License
289
289
 
290
- **UNLICENSED — proprietary.** This software is **not open source**, and no license is granted to
291
- copy, modify, redistribute, or create derivative works from it. By installing and using it, you
292
- agree to these terms. You are welcome to trust the package as-is, or to freely inspect it for
293
- malware — either is fine.
290
+ The [Figma2Mobile EULA](LICENSE) permits individuals and organizations to install and run
291
+ the official distribution for their own work. Modification, repackaging and redistribution
292
+ require written permission, subject to applicable law and third-party license terms.
293
+ The bundled Zod license is included in the plugin directory.
294
294
 
295
295
  ---
296
296
 
297
- Node ≥ 18. Build: f8f9603-20261129182945
297
+ Node ≥ 18. Build: 4de82ff-20261129192903
package/integrity.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "buildId": "f8f9603-20261129182945",
3
- "bundleSha256": "644a74715012e4102ea9d8b2e34e23705c1a16b66210326995ecfdae57e235b0"
2
+ "buildId": "4de82ff-20261129192903",
3
+ "bundleSha256": "acbcbe02872470b44c81775ade122ccaa267a951a7f8c66e0fe3bb508dd6eba2"
4
4
  }
package/loader.cjs CHANGED
@@ -16,7 +16,7 @@ const path = require("node:path");
16
16
  const crypto = require("node:crypto");
17
17
  const readline = require("node:readline");
18
18
 
19
- const BUILD_ID = "f8f9603-20261129182945"; // pack-npx.sh thay bang build id that
19
+ const BUILD_ID = "4de82ff-20261129192903"; // pack-npx.sh thay bang build id that
20
20
  const ROOT = __dirname;
21
21
  const BUNDLE = path.join(ROOT, "main.obf.cjs");
22
22
 
@@ -426,6 +426,9 @@ async function installPlugin(args) {
426
426
  const pluginSrc = path.join(ROOT, "plugin");
427
427
  if (!fs.existsSync(pluginSrc)) die("plugin/ folder missing from package.");
428
428
  copyDir(pluginSrc, path.join(target, "plugin"));
429
+ const license = path.join(ROOT, "LICENSE");
430
+ if (fs.existsSync(license))
431
+ fs.copyFileSync(license, path.join(target, "LICENSE"));
429
432
  const skillSrc = path.join(ROOT, "skills");
430
433
  const hasSkill = fs.existsSync(skillSrc);
431
434
  if (hasSkill) copyDir(skillSrc, path.join(target, "skills"));