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

Updated frontend-build to v12 #962

Merged
merged 2 commits into from
Jan 30, 2023

Conversation

BilalQamar95
Copy link
Contributor

Ticket:
42: Upgrade eslint to v8.x

What changed?

  • Updated frontend-build to v12 (Eslint was updated in frontend-build version resulting in it's version being bumped to v12. This PR updates frontend-build to reciprocate eslint version update)
  • Resolved eslint issues post update

@BilalQamar95 BilalQamar95 self-assigned this Aug 15, 2022
@codecov
Copy link

codecov bot commented Aug 15, 2022

Codecov Report

Base: 86.68% // Head: 86.83% // Increases project coverage by +0.15% 🎉

Coverage data is based on head (612906a) compared to base (b500546).
Patch coverage: 97.77% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #962      +/-   ##
==========================================
+ Coverage   86.68%   86.83%   +0.15%     
==========================================
  Files         252      252              
  Lines        4295     4329      +34     
  Branches     1097     1096       -1     
==========================================
+ Hits         3723     3759      +36     
+ Misses        553      551       -2     
  Partials       19       19              
Impacted Files Coverage Δ
.../access-expiration-alert/AccessExpirationAlert.jsx 0.00% <0.00%> (ø)
src/alerts/enrollment-alert/EnrollmentAlert.jsx 0.00% <0.00%> (ø)
src/alerts/enrollment-alert/clickHook.js 100.00% <ø> (ø)
...rc/alerts/logistration-alert/LogistrationAlert.jsx 0.00% <0.00%> (ø)
src/course-home/live-tab/LiveTab.jsx 0.00% <0.00%> (ø)
src/generic/notices/NoticesProvider.jsx 100.00% <ø> (ø)
src/generic/tabs/useIndexOfLastVisibleChild.js 95.65% <ø> (ø)
src/generic/user-messages/hooks.js 100.00% <ø> (ø)
src/alerts/access-expiration-alert/hooks.js 66.66% <50.00%> (+1.96%) ⬆️
src/product-tours/ProductTours.jsx 59.01% <75.00%> (+0.68%) ⬆️
... and 138 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@arbrandes
Copy link

arbrandes commented Jan 23, 2023

@BilalQamar95, do you mind resolving conflicts? Thanks!

@@ -12,11 +12,13 @@ jobs:
strategy:
matrix:
node: [16]
npm: [8.5.x]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to check this? I think it is probably more reasonable to check just 8. Not all of node@16 correspond to npm@8.5.

Copy link
Contributor Author

@BilalQamar95 BilalQamar95 Jan 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check was added to resolve ci dependency issues

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be some issue with your package-lock.json if the ci fail. For example, this pr no longer have package.json change and yet package-lock.json persist. I would suggest remove this and package-lock.json.

@leangseu-edx
Copy link
Contributor

There is recent change to upgrade frontend-build@12. https://github.com/openedx/frontend-app-learning/pull/1017/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 I appreciate you taking your time to fix the linting. If you rebase this pr to master, I definitely can help getting this merge.

@leangseu-edx leangseu-edx force-pushed the bilalqamar95/frontend-build-upgrade branch from 9d56d84 to 24d3345 Compare January 30, 2023 16:52
Copy link
Contributor

@leangseu-edx leangseu-edx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made a couple change by rebasing the change then remove package-lock.json and .github/workflows/validate.yml. I tested with everything working.

@leangseu-edx leangseu-edx merged commit b3d3366 into master Jan 30, 2023
@leangseu-edx leangseu-edx deleted the bilalqamar95/frontend-build-upgrade branch January 30, 2023 17:20
bra-i-am pushed a commit to eduNEXT/frontend-app-learning that referenced this pull request Nov 9, 2023
* feat: rebase previous frontend-build upgrade

* chore: make welcome message to default to empty
bra-i-am pushed a commit to eduNEXT/frontend-app-learning that referenced this pull request Nov 9, 2023
* feat: rebase previous frontend-build upgrade

* chore: make welcome message to default to empty
moonesque pushed a commit to edSPIRIT/frontend-app-learning that referenced this pull request Nov 11, 2023
* feat: rebase previous frontend-build upgrade

* chore: make welcome message to default to empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants