-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[React] Migration to React Version-18 #5732
Changes from all commits
8bc24cf
8ab7724
bd430fc
9d58fc1
8e69351
6f4899f
f099445
b71e4b7
16ebd53
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
|
||
- name: Install and Build 🔧 | ||
run: | | ||
npm install | ||
npm install --legacy-peer-deps | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. reason? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have included this because some packages do not support React 18. Therefore, during the installation process, it will skip those packages. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. but is it safe? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is not permanent change we will revert this when all the packages which currently do not support React - 18 are replaced. It is just to bypass those dependencies. I can build the site successfully after these changes. Also major dependency is Meshery-embed-design package i think when it will be upgraded we can remove this. |
||
npm run noIndex | ||
|
||
- name: Zip Site | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 19 | ||
- run: npm install && npm install -g @lhci/[email protected] | ||
- run: npm install --legacy-peer-deps && npm install -g @lhci/[email protected] | ||
- run: CI=false npm run build | ||
- run: lhci collect --config=.desktop-lighthouserc.js | ||
- run: lhci assert --config=.desktop-lighthouserc.js | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reason?