go-ipfs-dep

Install the latest go-ipfs binary

Package no longer supported. Please use 'go-ipfs' instead.
Last updated 8 years ago by alanshaw .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install go-ipfs-dep 
SYNC missed versions from official npm registry.

Install go-ipfs from npm as a dependency of your project

Travis CI Dependency Status

Install the latest go-ipfs binary from http://dist.ipfs.io

Installation

npm install go-ipfs-dep --save

See IPFS getting-started. If anything goes wrong, try using: http://ipfs.io/docs/install.

Development

Warning: The binary gets put in the go-ipfs folder inside the module folder.

Which go-ipfs version this package downloads?

Can be specified in package.json with a field go-ipfs.version, eg:

"go-ipfs": {
  "version": "v0.4.13"
},

Using local IPFS daemon as the package download url

Can be specified in package.json with a field go-ipfs.version, eg:

"go-ipfs": {
  "version": "v0.4.3",
  "distUrl": "http://localhost:8080/ipfs/QmSoNtqW22htkg9mtHWNBvZLUEmqfq8su7957meS1iQfeL"
},

Where QmSoNtqW22htkg9mtHWNBvZLUEmqfq8su7957meS1iQfeL is the root of the distributions web site.

Or when run with node src/bin.js, the dist url can be passed via an environment variable GO_IPFS_DIST_URL, eg:

GO_IPFS_DIST_URL=http://localhost:8080/ipfs/QmSoNtqW22htkg9mtHWNBvZLUEmqfq8su7957meS1iQfeL node binsrc/bin.js

Arguments

When used via node src/bin.js, you can specify the target platform, version and architecture via environment variables: TARGET_OS, TARGET_VERSION and TARGET_ARCH.

We fetch the versions dynamically from https://dist.ipfs.io/go-ipfs/versions and the OSes and architectures from https://dist.ipfs.io/go-ipfs/${VERSION}/dist.json.

Or via command line arguments in the order of:

node src/bin.js <version> <platform> <architecture> <install directory>
node src/bin.js v0.4.3 linux amd64 ./go-ipfs

Deployment

Prerelease

You have made changes and want to triple check everything is working. You can! If you publish with a numeric prerelease identifier then go-ipfs-dep will strip it and install the corresponding version e.g. 0.4.19-0 installs go-ipfs version 0.4.19.

To deploy a new version with a prerelease identifier run the following command:

npx aegir release --type prepatch --preid '' --dist-tag next --no-lint --no-test --no-build
# Note: change "--type prepatch" to the appropriate prerelease type.
# e.g. prepatch: 0.4.18 => 0.4.19-0, preminor: 0.4.18 => 0.5.0-0 etc.

# Increment prerelease (e.g. 0.4.19-0 -> 0.4.19-1)
npx aegir release --type prerelease --preid '' --dist-tag next --no-lint --no-test --no-build

This publishes to the "next" tag meaning that the current "latest" version of go-ipfs-dep will remain the same.

When you're finally ready to release:

npx aegir release --type=patch --no-lint --no-test --no-build

Current Tags

  • 0.7.0                                ...           latest (6 years ago)
  • 0.7.0-rc2                                ...           next (6 years ago)

38 Versions

  • 0.7.0 [deprecated]           ...           6 years ago
  • 0.7.0-rc2 [deprecated]           ...           6 years ago
  • 0.7.0-rc1 [deprecated]           ...           6 years ago
  • 0.6.0 [deprecated]           ...           6 years ago
  • 0.5.1 [deprecated]           ...           7 years ago
  • 0.5.0 [deprecated]           ...           7 years ago
  • 0.4.23-3 [deprecated]           ...           7 years ago
  • 0.4.23 [deprecated]           ...           7 years ago
  • 0.4.23-2 [deprecated]           ...           7 years ago
  • 0.4.22 [deprecated]           ...           7 years ago
  • 0.4.22-rc1 [deprecated]           ...           7 years ago
  • 0.4.21 [deprecated]           ...           7 years ago
  • 0.4.21-0 [deprecated]           ...           7 years ago
  • 0.4.20 [deprecated]           ...           8 years ago
  • 0.4.20-0 [deprecated]           ...           8 years ago
  • 0.4.19 [deprecated]           ...           8 years ago
  • 0.4.19-0 [deprecated]           ...           8 years ago
  • 0.4.18 [deprecated]           ...           8 years ago
  • 0.4.17 [deprecated]           ...           8 years ago
  • 0.4.16 [deprecated]           ...           8 years ago
  • 0.4.15 [deprecated]           ...           9 years ago
  • 0.4.14 [deprecated]           ...           9 years ago
  • 0.4.13 [deprecated]           ...           9 years ago
  • 0.4.11 [deprecated]           ...           9 years ago
  • 0.4.10 [deprecated]           ...           9 years ago
  • 0.4.9 [deprecated]           ...           10 years ago
  • 0.4.7 [deprecated]           ...           10 years ago
  • 0.4.5 [deprecated]           ...           10 years ago
  • 0.4.4-1 [deprecated]           ...           10 years ago
  • 0.4.4 [deprecated]           ...           10 years ago
  • 0.4.3-2 [deprecated]           ...           10 years ago
  • 0.4.3-1 [deprecated]           ...           10 years ago
  • 0.4.3 [deprecated]           ...           10 years ago
  • 0.4.2-1 [deprecated]           ...           10 years ago
  • 0.4.2 [deprecated]           ...           11 years ago
  • 0.4.1 [deprecated]           ...           11 years ago
  • 0.4.0-1 [deprecated]           ...           11 years ago
  • 0.4.0 [deprecated]           ...           11 years ago
Maintainers (1)
Downloads
Total 93
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 51
Dependencies (5)
Dev Dependencies (5)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE