Merge pull request #759 from EverlastingBugstopper/avery/bump-binary-install

Bump binary-install version to fix Windows installs
master
ashley williams 6 years ago committed by GitHub
commit 2c68c89c68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      npm/install.js
  2. 6
      npm/package-lock.json
  3. 6
      npm/package.json
  4. 2
      npm/run.js
  5. 4
      npm/uninstall.js

@ -0,0 +1,4 @@
#!/usr/bin/env node
const { install } = require("./binary");
install();

@ -19,11 +19,13 @@
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
}, },
"binary-install": { "binary-install": {
"version": "github:EverlastingBugstopper/binary-install#422b936acee289853f791a463df52454179ded5a", "version": "0.0.1",
"from": "github:EverlastingBugstopper/binary-install#master", "resolved": "https://registry.npmjs.org/binary-install/-/binary-install-0.0.1.tgz",
"integrity": "sha512-axr6lqB4ec/pkEOb/JMnZpfcroWv1zT48pVz1oQHG7XmGkS77vmdxmP1btuH79lWQdy9e2MVw/uW0D8siopkRg==",
"requires": { "requires": {
"axios": "^0.19.0", "axios": "^0.19.0",
"env-paths": "^2.2.0", "env-paths": "^2.2.0",
"mkdirp": "^0.5.1",
"rimraf": "^3.0.0", "rimraf": "^3.0.0",
"tar": "^5.0.5", "tar": "^5.0.5",
"universal-url": "^2.0.0" "universal-url": "^2.0.0"

@ -4,8 +4,8 @@
"description": "📦✨ your favorite rust -> wasm workflow tool!", "description": "📦✨ your favorite rust -> wasm workflow tool!",
"main": "binary.js", "main": "binary.js",
"scripts": { "scripts": {
"postinstall": "node -e 'require(\"./binary.js\").install()'", "postinstall": "node ./install.js",
"preuninstall": "node -e 'require(\"./binary.js\").uninstall()'" "preuninstall": "node ./uninstall.js"
}, },
"bin": { "bin": {
"wasm-pack": "./run.js" "wasm-pack": "./run.js"
@ -30,6 +30,6 @@
}, },
"homepage": "https://github.com/rustwasm/wasm-pack#readme", "homepage": "https://github.com/rustwasm/wasm-pack#readme",
"dependencies": { "dependencies": {
"binary-install": "0.0.0" "binary-install": "0.0.1"
} }
} }

@ -1,4 +1,4 @@
#!/usr/bin/env node #!/usr/bin/env node
const { run } = require("./binary"); const { run } = require("./binary");
run() run();

@ -0,0 +1,4 @@
#!/usr/bin/env node
const { uninstall } = require("./binary");
uninstall();
Loading…
Cancel
Save