Skip to content

Commit

Permalink
chore: set engines
Browse files Browse the repository at this point in the history
  • Loading branch information
chouchouji committed Nov 21, 2024
1 parent 6b5089f commit 2526e07
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ $ nrm use cnpm //switch registry to cnpm

## Usage

> [!TIP]
> The lowest node version is ***18*** from ***v1.3.2***.
```
Usage: nrm [options] [command]
Expand Down
5 changes: 1 addition & 4 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ program
.description('Show current registry name or URL')
.action(actions.onCurrent);

program
.command('use [name]')
.description('Change current registry')
.action(actions.onUse);
program.command('use [name]').description('Change current registry').action(actions.onUse);

program.command('add <name> <url> [home]').description('Add custom registry').action(actions.onAdd);

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@
"coffee": "^5.4.0",
"jest": "^27.4.0",
"prettier": "^3.3.3"
},
"engines": {
"node": ">=18"
}
}

0 comments on commit 2526e07

Please sign in to comment.