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

Update JS build dependencies #9410

Merged
merged 2 commits into from
Jun 19, 2024
Merged

Conversation

cdrini
Copy link
Collaborator

@cdrini cdrini commented Jun 7, 2024

While investigating #2340 . Also updates some dependencies needed for #7547 .

Also remove:

  • @babel/plugin-syntax-dynamic-import: No longer needed since babel 7.8.0
  • @babel/register: Not referenced anywhere

Technical

Testing

Website worked as before on FF, IE11 (using as a metre stick to test all our JS build/bundling/transpiling is working)

Screenshot

Stakeholders

@RayBB

Also remove:
- @babel/plugin-syntax-dynamic-import: No longer needed since babel
  7.8.0
- @babel/register: Not referenced anywhere
@cdrini cdrini marked this pull request as draft June 7, 2024 19:30
@cdrini cdrini added the On testing.openlibrary.org This PR has been deployed to testing.openlibrary.org for testing label Jun 17, 2024
@cdrini cdrini marked this pull request as ready for review June 17, 2024 16:40
@RayBB
Copy link
Collaborator

RayBB commented Jun 19, 2024

@cdrini I have gone through the site a good bit on testing but haven't see any new console errors or issues when editing books/authors/profiles or using bookreader.
Any thoughts on what else should be checked?

vue-loader v17:

  • require vue@^3.2.13
  • Maybe this is an issue for us but I assume it would be a compile time issue.

css-loader v7 and v6 have breaking changes but none of them seem particularly likely to be effecting our project.

less-loader v7 -> v12. changelog here

  • again seems like it wouldn't have important breaking changes (mostly min node/webpack version)

style-loader changelog

  • Also mostly minor versions

@cdrini
Copy link
Collaborator Author

cdrini commented Jun 19, 2024

Awesome sleuthing, than you @RayBB !! That seems good to me; I also did some QA'ing around things seemed to be ok!

@cdrini cdrini merged commit 3cb7cfe into internetarchive:master Jun 19, 2024
5 checks passed
@cdrini cdrini deleted the update-js-build branch June 19, 2024 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
On testing.openlibrary.org This PR has been deployed to testing.openlibrary.org for testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants