figma2mobile-local 0.3.5 → 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 +36 -0
- package/README.md +5 -5
- package/integrity.json +2 -2
- package/loader.cjs +4 -1
- package/main.obf.cjs +1 -1
- package/package.json +2 -2
- package/plugin/THIRD-PARTY-LICENSE-ZOD.txt +21 -0
- package/plugin/dist/code.js +1 -1
- package/plugin/src/ui.html +2 -2
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
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
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:
|
|
297
|
+
Node ≥ 18. Build: 4de82ff-20261129192903
|
package/integrity.json
CHANGED
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 = "
|
|
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"));
|