Comparing version 0.3.7 to 0.3.8-1
@@ -5,3 +5,3 @@ #!/usr/bin/env node | ||
process.stdout.write("usage: ./filesize.js <path>\n") | ||
process.stdout.write("return filesize of <path> (porably!)\n") | ||
process.stdout.write("return filesize of <path> (portably!)\n") | ||
process.exit(0) | ||
@@ -8,0 +8,0 @@ } |
var path = require('path') | ||
module.exports = path.join(__dirname, "dist", "ipfs", "ipfs") | ||
module.exports = path.join(__dirname, "bin", "ipfs") |
@@ -10,9 +10,13 @@ #!/usr/bin/env node | ||
var version = require('./package.json').version | ||
var ipfs = require('./') | ||
checkPlatform(goenv) // make sure we can do this. | ||
// hacky hack hack to work around unpublishability | ||
version = version.replace(/-[0-9]+/, "") | ||
var filename = 'ipfs_v'+ version +'_' + goenv.GOOS + '-' + goenv.GOARCH + '.zip' | ||
var url = 'https://gobuilder.me/get/github.com/ipfs/go-ipfs/cmd/ipfs/' + filename | ||
var bin = path.join(__dirname, 'bin') | ||
var bin = path.dirname(ipfs) | ||
var tmp = path.join(__dirname, 'tmp') | ||
@@ -65,3 +69,3 @@ var installPath = path.join(bin, 'ipfs') | ||
case "amd64": | ||
case "i386": | ||
case "386": | ||
case "arm": | ||
@@ -68,0 +72,0 @@ break |
{ | ||
"name": "go-ipfs", | ||
"version": "0.3.7", | ||
"version": "0.3.8-1", | ||
"description": "Install the latest go-ipfs binary", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"install": "node install.js", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "tape test/*.js | tap-spec" | ||
}, | ||
@@ -16,3 +16,3 @@ "bin": { | ||
"type": "git", | ||
"url": "https://github.com/jbenet/node-go-ipfs.git" | ||
"url": "git+https://github.com/ipfs/npm-go-ipfs.git" | ||
}, | ||
@@ -32,6 +32,9 @@ "dependencies": { | ||
"bugs": { | ||
"url": "https://github.com/jbenet/node-go-ipfs/issues" | ||
"url": "https://github.com/ipfs/npm-go-ipfs/issues" | ||
}, | ||
"homepage": "https://github.com/jbenet/node-go-ipfs", | ||
"devDependencies": {} | ||
"homepage": "https://github.com/ipfs/npm-go-ipfs", | ||
"devDependencies": { | ||
"tap-spec": "^4.1.0", | ||
"tape": "^4.2.0" | ||
} | ||
} |
# install go-ipfs from npm | ||
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) [![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/) [![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs) [![Dependency Status](https://david-dm.org/ipfs/npm-go-ipfs.svg?style=flat-square)](https://david-dm.org/ipfs/npm-go-ipfs) | ||
Install the latest [go-ipfs](https://github.com/ipfs/go-ipfs/) binary. | ||
@@ -17,7 +19,7 @@ | ||
> ipfs version | ||
ipfs version 0.2.3 | ||
ipfs version 0.3.8 | ||
> npm install go-ipfs | ||
> node_modules/.bin/ipfs | ||
ipfs version 0.2.3 | ||
ipfs version 0.3.8 | ||
``` | ||
@@ -24,0 +26,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
8673
12
138
1
34
2
4
1