design-lazyyy-cli 0.2.0 → 0.2.1
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 +2 -2
- package/package.json +2 -2
- package/src/index.js +4 -4
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
**Control Figma Desktop from your terminal. No API key needed.**
|
|
6
6
|
|
|
7
7
|
[](LICENSE)
|
|
8
|
-
[](https://nodejs.org)
|
|
9
9
|
[]()
|
|
10
10
|
|
|
11
11
|
---
|
|
@@ -33,7 +33,7 @@ all through a single CLI connected to Figma Desktop via Chrome DevTools Protocol
|
|
|
33
33
|
|
|
34
34
|
### Prerequisites
|
|
35
35
|
|
|
36
|
-
- **Node.js** >=
|
|
36
|
+
- **Node.js** >= 24
|
|
37
37
|
- **Figma Desktop** (free account works)
|
|
38
38
|
|
|
39
39
|
### Installation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "design-lazyyy-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "CLI for managing Figma design systems. Create variables, components, and more. No API key required.",
|
|
5
5
|
"author": "plugin87",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"variables"
|
|
20
20
|
],
|
|
21
21
|
"engines": {
|
|
22
|
-
"node": ">=
|
|
22
|
+
"node": ">=24"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"chalk": "^5.3.0",
|
package/src/index.js
CHANGED
|
@@ -188,8 +188,8 @@ program.action(async () => {
|
|
|
188
188
|
console.log(chalk.blue('Step 1/4: ') + 'Checking Node.js...');
|
|
189
189
|
const nodeVersion = process.version;
|
|
190
190
|
const nodeMajor = parseInt(nodeVersion.slice(1).split('.')[0]);
|
|
191
|
-
if (nodeMajor <
|
|
192
|
-
console.log(chalk.red(` ✗ Node.js ${nodeVersion} is too old. Please upgrade to Node
|
|
191
|
+
if (nodeMajor < 24) {
|
|
192
|
+
console.log(chalk.red(` ✗ Node.js ${nodeVersion} is too old. Please upgrade to Node 24+`));
|
|
193
193
|
process.exit(1);
|
|
194
194
|
}
|
|
195
195
|
console.log(chalk.green(` ✓ Node.js ${nodeVersion}`));
|
|
@@ -347,8 +347,8 @@ program
|
|
|
347
347
|
console.log(chalk.blue('Step 1/4: ') + 'Checking Node.js...');
|
|
348
348
|
const nodeVersion = process.version;
|
|
349
349
|
const nodeMajor = parseInt(nodeVersion.slice(1).split('.')[0]);
|
|
350
|
-
if (nodeMajor <
|
|
351
|
-
console.log(chalk.red(` ✗ Node.js ${nodeVersion} is too old. Please upgrade to Node
|
|
350
|
+
if (nodeMajor < 24) {
|
|
351
|
+
console.log(chalk.red(` ✗ Node.js ${nodeVersion} is too old. Please upgrade to Node 24+`));
|
|
352
352
|
process.exit(1);
|
|
353
353
|
}
|
|
354
354
|
console.log(chalk.green(` ✓ Node.js ${nodeVersion}`));
|