File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change 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" : {
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+ }
You can’t perform that action at this time.
0 commit comments