Skip to content

Commit

Permalink
Move node-addon-api to optionalDependencies
Browse files Browse the repository at this point in the history
This is only needed if you're building from source
  • Loading branch information
rotu committed Jan 6, 2025
1 parent 4e7b1a9 commit e5a37be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
"url": "https://github.com/zeromq/zeromq.js.git"
},
"homepage": "http://zeromq.github.io/zeromq.js/",
"dependencies": {
"node-addon-api": "^8.3.0"
},
"devDependencies": {
"@types/benchmark": "~2.1.5",
"@types/chai": "^4",
Expand Down Expand Up @@ -60,7 +57,8 @@
"which": "^5.0.0"
},
"optionalDependencies": {
"@aminya/cmake-ts": "0.3.0-aminya.7"
"@aminya/cmake-ts": "0.3.0-aminya.7",
"node-addon-api": "^8.3.0"
},
"pnpm": {
"overrides": {
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e5a37be

Please sign in to comment.