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 CHANGED
@@ -5,7 +5,7 @@
5
5
  **Control Figma Desktop from your terminal. No API key needed.**
6
6
 
7
7
  [![MIT License](https://img.shields.io/badge/license-MIT-7c3aed?style=flat-square)](LICENSE)
8
- [![Node.js](https://img.shields.io/badge/node-%3E%3D18-7c3aed?style=flat-square&logo=node.js&logoColor=white)](https://nodejs.org)
8
+ [![Node.js](https://img.shields.io/badge/node-%3E%3D24-7c3aed?style=flat-square&logo=node.js&logoColor=white)](https://nodejs.org)
9
9
  [![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Windows%20%7C%20Linux-7c3aed?style=flat-square)]()
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** >= 18
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.0",
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": ">=18"
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 < 18) {
192
- console.log(chalk.red(` ✗ Node.js ${nodeVersion} is too old. Please upgrade to Node 18+`));
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 < 18) {
351
- console.log(chalk.red(` ✗ Node.js ${nodeVersion} is too old. Please upgrade to Node 18+`));
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}`));