@acalcutt/node-pre-gyp-github 2.0.1-pre.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const NodePreGypGithub = require('../index.js');
4
- const { program } = require("commander");
3
+ import NodePreGypGithub from '../index.js';
4
+ import { program } from "commander";
5
5
 
6
6
  program
7
7
  .command("publish")
@@ -22,4 +22,4 @@ program
22
22
  }
23
23
  });
24
24
 
25
- program.parseAsync(process.argv);
25
+ await program.parseAsync(process.argv);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acalcutt/node-pre-gyp-github",
3
- "version": "2.0.1-pre.0",
3
+ "version": "2.0.1",
4
4
  "description": "A node-pre-gyp module which provides the ability to publish to GitHub releases.",
5
5
  "bin": "./bin/node-pre-gyp-github.js",
6
6
  "main": "index.js",