orbitdb-archive / ipfs-log

Append-only log CRDT on IPFS
https://orbitdb.github.io/ipfs-log/
MIT License
398 stars 55 forks source link

preparations for js-ipfs 0.33 #183

Closed alanshaw closed 6 years ago

alanshaw commented 6 years ago

👋 I upgraded ipfs to 0.33.0-rc.4, datastore-level to ^0.9.0, ipfs-repo to ^0.24.0 and ran the tests and they all passed \o/

https://github.com/ipfs/js-ipfs/issues/1635

aphelionz commented 6 years ago

First ran the tests with master:

$ git fetch && git pull origin master
From https://github.com/orbitdb/ipfs-log
 * branch            master     -> FETCH_HEAD
Already up to date.
$ rm -rf node_modules && npm install && npm run test
290 passing (2m) # All tests pass!

Then I applied @alanshaw's upgrades...

diff --git a/package.json b/package.json
index ca68ee2..935d980 100644
--- a/package.json
+++ b/package.json
@@ -24,7 +24,7 @@
     "babel-loader": "^8.0.2",
     "babel-plugin-transform-runtime": "^6.23.0",
     "babel-preset-env": "^1.6.1",
-    "datastore-level": "~0.8.0",
+    "datastore-level": "^0.9.0",
     "eslint": "^5.4.0",
     "eslint-config-standard": "^12.0.0",
     "eslint-plugin-import": "^2.14.0",
@@ -32,8 +32,8 @@
     "eslint-plugin-promise": "^4.0.0",
     "eslint-plugin-standard": "^4.0.0",
     "go-ipfs-dep": "~0.4.17",
-    "ipfs": "~0.31.4",
-    "ipfs-repo": "~0.23.1",
+    "ipfs": "~0.33.0",
+    "ipfs-repo": "^0.24.0",
     "ipfsd-ctl": "~0.39.1",
     "istanbul": "^0.4.5",
     "mocha": "^5.2.0",

...and ran npm install again:

$ rm -rf node_modules && npm install && npm run test
290 passing (1m) # All tests pass, and perhaps a bit faster?

Looks good! Confirmed that this is all working. Addressed in #185