-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update dependencies and ipld (#287)
* 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 <[email protected]>
- Loading branch information
1 parent
4508ccb
commit 4a1e16a
Showing
18 changed files
with
11,791 additions
and
7,311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,21 @@ | ||
version: 2 | ||
version: 2.1 | ||
orbs: | ||
browser-tools: circleci/[email protected] | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'], | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.