From 63428faae9596dd1d61e7dd366db517fd370b323 Mon Sep 17 00:00:00 2001 From: David Dias Date: Sun, 3 Sep 2017 11:49:56 +0100 Subject: [PATCH] feat: p2p addrs situation (#66) * chore: update deps * chore: update gitignore * chore: update CI * chore: update README badge --- .gitignore | 17 +++++++++++++++-- .travis.yml | 15 +++++---------- README.md | 2 +- package.json | 8 ++++---- 4 files changed, 25 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 907c78a..e4c5b0e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,14 @@ +**/node_modules/ +**/*.log +test/repo-tests* +**/bundle.js + # Logs logs *.log +coverage + # Runtime data pids *.pid @@ -19,11 +26,17 @@ coverage # node-waf configuration .lock-wscript -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release +build # Dependency directory # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git node_modules +lib dist +test/test-data/go-ipfs-repo/LOCK +test/test-data/go-ipfs-repo/LOG +test/test-data/go-ipfs-repo/LOG.old + +# while testing npm5 +package-lock.json diff --git a/.travis.yml b/.travis.yml index 5cc672b..584f308 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,21 +3,16 @@ language: node_js matrix: include: - - node_js: 4 - env: CXX=g++-4.8 - node_js: 6 - env: - - CXX=g++-4.8 - - node_js: stable env: CXX=g++-4.8 - -# Make sure we have new NPM. -before_install: - - npm install -g npm@4 + - node_js: 8 + env: CXX=g++-4.8 + # - node_js: stable + # env: CXX=g++-4.8 script: - npm run lint - - npm test + - npm run test - npm run coverage - make test diff --git a/README.md b/README.md index d7e1b85..f758d93 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Dependency Status](https://david-dm.org/libp2p/js-peer-id.svg?style=flat-square)](https://david-dm.org/libp2p/js-peer-id) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard) ![](https://img.shields.io/badge/npm-%3E%3D3.0.0-orange.svg?style=flat-square) -![](https://img.shields.io/badge/Node.js-%3E%3D4.0.0-orange.svg?style=flat-square) +![](https://img.shields.io/badge/Node.js-%3E%3D6.0.0-orange.svg?style=flat-square) > [IPFS](https://github.com/ipfs/ipfs) Peer ID implementation in JavaScript. diff --git a/package.json b/package.json index 9a424d9..3b431b1 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "test" ], "engines": { - "node": ">=4.0.0", + "node": ">=6.0.0", "npm": ">=3.0.0" }, "bugs": { @@ -35,7 +35,7 @@ "homepage": "https://github.com/libp2p/js-peer-id", "devDependencies": { "aegir": "^11.0.2", - "chai": "^4.1.0", + "chai": "^4.1.2", "dirty-chai": "^2.0.1", "pre-commit": "^1.2.2" }, @@ -43,7 +43,7 @@ "async": "^2.5.0", "libp2p-crypto": "~0.9.4", "lodash": "^4.17.4", - "multihashes": "~0.4.5" + "multihashes": "~0.4.9" }, "repository": { "type": "git", @@ -60,4 +60,4 @@ "nginnever ", "npmcdn-to-unpkg-bot " ] -} \ No newline at end of file +}