Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 875 Bytes

Publishing.md

File metadata and controls

32 lines (24 loc) · 875 Bytes

How to publish node-hid

  1. First, make sure version is bumped to new version. (if code change)

  2. Push changes to Github, and wait for the prebuild workflow to complete

  3. Run:

npm run clean # clean out directory
  1. Download the all-prebuilds artifact, and extract as a prebuilds folder in the root of the repository

  2. Run:

npm publish  # update npmjs, be sure to have Authy app for OTP code

If desired, manual testing can be down on each of MacOS, Windows, Linux, do:

git clone https://github.com/node-hid/node-hid.git
cd node-hid
npm run distclean                 # if not a fresh checkout
npm run prepublishOnly            # get the hidapi submodule
npm install --build-from-source   # rebuilds the C code
npm run showdevices               # simple test
node ./src/test-blink1.js         # simple test
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy