Skip to content

Commit

Permalink
upgrade @rumblefishdev/ui and move it to the root package.json + upda…
Browse files Browse the repository at this point in the history
…te workflows to use `--legacy-peer-deps` option
  • Loading branch information
stkrolikiewicz committed Jan 22, 2025
1 parent 91c3cdf commit fb49845
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ jobs:
- name: Install dependencies
run: |
npm i
npm i --legacy-peer-deps
node_modules/.bin/lerna bootstrap
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Check if @rumblefishdev/ui installed
run: |
if [[ ! -d packages/frontend/node_modules/@rumblefishdev/ui ]]; then
if [[ ! -d node_modules/@rumblefishdev/ui ]]; then
echo "Error: @rumblefishdev/ui not installed"
exit 1
fi
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ jobs:
- name: Install dependencies
run: |
npm i
npm i --legacy-peer-deps
node_modules/.bin/lerna bootstrap
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}


- name: Check if @rumblefishdev/ui installed
run: |
if [[ ! -d packages/frontend/node_modules/@rumblefishdev/ui ]]; then
if [[ ! -d node_modules/@rumblefishdev/ui ]]; then
echo "Error: @rumblefishdev/ui not installed"
exit 1
fi
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
},
"dependencies": {
"@fontsource/inter": "^5.0.3",
"@rumblefishdev/ui": "^0.1.26",
"ethers": "^5.7.2",
"hardhat": "^2.14.1",
"node-jq": "^2.3.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"webpack-dev-server": "^4.3.1"
},
"optionalDependencies": {
"@rumblefishdev/ui": "0.1.24"
"@rumblefishdev/ui": "0.1.26"
},
"jest": {
"verbose": true,
Expand Down

0 comments on commit fb49845

Please sign in to comment.