Skip to content

Commit 0743b85

Browse files
author
Noah Andrews
authored
Merge pull request #7 from REVrobotics/update-deps
2 parents 044b36b + 1d9f089 commit 0743b85

File tree

7 files changed

+787
-1063
lines changed

7 files changed

+787
-1063
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ build
33
.idea/
44
*.iml
55
prebuilds
6+
dist

.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
build
2+
lib
3+
test
4+
d2xx/Static
5+
tsconfig.json
6+
README.md

dist/binding.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/binding.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

lib/binding.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import {promisify} from "util";
2-
const addon = require('bindings')('addon.node');
2+
import * as path from "path";
3+
const addon = require('node-gyp-build')(path.join(__dirname, '..'));
34

45
export const enterExpansionHubFirmwareUpdateMode: (serial: string) => Promise<void> = promisify(addon.enterExpansionHubFirmwareUpdateMode);
56

0 commit comments

Comments
 (0)