Skip to content

Commit

Permalink
chore: update dependencies and ipld (#287)
Browse files Browse the repository at this point in the history
* chore: update dependencies and ipld
* fix(cid-info): multihash in hex
* fix: cidv1base32 + support raw blocks
* style: use prominent color only for raw leaves

The accent color is already used for raw leaves in the d3 graph,
this makes sure we remove confusion between git-raw and raw

* chore: run ci with node 14.x
* ci: simplify ci, only test+build

IPFS publishing is broken atm and does not seem to be very useful in
this repo anyway – actual website is build at
https://github.com/ipfs/explore.ipld.io

* chore: update i18next setup

This aims to match all the changes that happened in ipfs-webui over past year.

* chore: bump multicodec lib
* chore: update ipfs-unixfs
* chore: update multihashes
* chore: update multibase
* chore: bump ipfs-css, remove unused multiaddr

Co-authored-by: Marcin Rataj <lidel@lidel.org>
  • Loading branch information
rafaelramalho19 and lidel committed Apr 2, 2021
1 parent 4508ccb commit 4a1e16a
Show file tree
Hide file tree
Showing 18 changed files with 11,791 additions and 7,311 deletions.
41 changes: 8 additions & 33 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,21 @@
version: 2
version: 2.1
orbs:
browser-tools: circleci/browser-tools@1.1.0
jobs:
build:
docker:
- image: circleci/node:10.15.1
- image: cimg/node:14.15.4-browsers
environment:
NO_SANDBOX: true
steps:
- checkout
- run:
command: npm ci
- run:
command: npm run lint
- run:
command: npm test
- run:
command: npm run build
- run:
command: npm run storybook:build
- persist_to_workspace:
root: .
paths:
- build

deploy:
docker:
- image: olizilla/ipfs-dns-deploy
environment:
BUILD_DIR: build
steps:
- attach_workspace:
at: /tmp/workspace
command: npm run lint
- run:
name: Add to IPFS
command: |
pin_name="ipld-explorer-components build $CIRCLE_BUILD_NUMBER"
hash=$(pin-to-cluster.sh "$pin_name" /tmp/workspace/$BUILD_DIR)
echo "Website added to IPFS: https://cluster.ipfs.io/ipfs/$hash"
workflows:
version: 2
build-deploy:
jobs:
- build
- deploy:
context: ipfs-dns-deploy
requires:
- build
command: npm run storybook:build
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
parser: 'babel-eslint',
extends: ['react-app', 'standard'],
plugins: ['jsx-a11y'],
}

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export {
There are `peerDependencies` so that the parent app can pick the versions of common deps. You'll need to add the following deps to your project.

```js
"@loadable/component": "^5.14.1",
"i18next": "^17.0.11",
"i18next-browser-languagedetector": "^3.0.3",
"i18next-icu": "^1.1.2",
Expand All @@ -56,7 +57,6 @@ There are `peerDependencies` so that the parent app can pick the versions of com
"react-dom": "^16.9.0",
"react-helmet": "^5.2.1",
"react-i18next": "^10.12.1",
"react-loadable": "^5.5.0",
"react-virtualized": "^9.21.1",
"redux-bundler": "^25.0.0",
"redux-bundler-react": "^1.1.1",
Expand Down
Loading

0 comments on commit 4a1e16a

Please sign in to comment.