Skip to content

Commit 4826781

Browse files
author
e.khalilov
committed
npm prepare
1 parent 9722113 commit 4826781

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/CI.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,6 @@ jobs:
9898
- name: Install dependencies
9999
run: npm install
100100

101-
- name: Create npm dirs
102-
run: npx napi create-npm-dirs
103-
104101
- name: Download all artifacts
105102
uses: actions/download-artifact@v4
106103
with:

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"artifacts": "napi artifacts",
5858
"build": "napi build --platform --release --js-package-name @e-khalilov/usb-hotplug",
5959
"build:debug": "napi build --platform --js-package-name @e-khalilov/usb-hotplug",
60-
"prepublishOnly": "napi prepublish -t npm",
60+
"prepublishOnly": "napi prepublish -t npm --gh-release false",
6161
"version": "napi version"
6262
},
6363
"devDependencies": {
@@ -68,5 +68,11 @@
6868
"index.d.ts",
6969
"LICENSE",
7070
"README.md"
71-
]
72-
}
71+
],
72+
"optionalDependencies": {
73+
"usb-hotplug-darwin-arm64": "0.1.1",
74+
"usb-hotplug-darwin-x64": "0.1.1",
75+
"usb-hotplug-linux-x64-gnu": "0.1.1",
76+
"usb-hotplug-win32-x64-msvc": "0.1.1"
77+
}
78+
}

0 commit comments

Comments
 (0)