Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update dependencies and ipld #287

Merged
merged 12 commits into from
Apr 2, 2021
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/[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
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