Skip to content

Commit 4b0ddeb

Browse files
author
perlinson
committed
Fix lerna bootstrap peer dependency conflicts
🔧 Fix lerna bootstrap issues: - Add --legacy-peer-deps to npx lerna bootstrap commands - Update both ci.yml and npm-publish.yml workflows - Resolve ERESOLVE errors during package bootstrapping 📦 Dependencies conflict: - connected-react-router@6.9.3 requires react@^16.4.0 || ^17.0.0 - modernx requires react@>=18 - Using --legacy-peer-deps to resolve conflicts
1 parent 286ee49 commit 4b0ddeb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: npm install --legacy-peer-deps
2828

2929
- name: Bootstrap packages
30-
run: npx lerna bootstrap --no-ci
30+
run: npx lerna bootstrap --no-ci --legacy-peer-deps
3131

3232
- name: Build packages
3333
run: |

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: npm install --legacy-peer-deps
2727

2828
- name: Bootstrap packages
29-
run: npx lerna bootstrap --no-ci
29+
run: npx lerna bootstrap --no-ci --legacy-peer-deps
3030

3131
- name: Build packages
3232
run: |

0 commit comments

Comments
 (0)