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 babel preset-env and other dependancies #3175

Merged
merged 10 commits into from
May 17, 2024
Merged

Conversation

rmccar
Copy link
Contributor

@rmccar rmccar commented May 3, 2024

What is the context of this PR?

Fixes: ONSdigital/design-team#56

This updates @babel/preset-env to remove the caniuse-lite warning. It also updates the lock file so there will be other dependencies within that that are updated unless they are pinned to a specific version but this will be limited minor updates within the rules set in the package.json.

I have also deleted my local lock file and re run yarn to check for any warnings when recreating that, there were a few so I have fixed as many as I could and now there are only a few that can only be fixed by new releases of dependancies which we will have to wait for.

The node version has also been updated and there are some minor formatting/documentation fixes.

Some VR test images needed updating. These seem to only be minor changes. The main one seems to be the lower case "g" is now a open g on links/buttons and not a closed one. But this actually means its more consistent with the non link font as this uses an open g. This may need to be discussed with Joe and Dina to see if it is a problem. It will have come from one of the minor updates that will have been made within the lock file.

How to review this PR

  • Run yarn start on main, see that the warning is printed in the terminal
  • Run yarn start on this branch, see that the warning is now gone
  • Delete your local yarn.lock file and run yarn on main, see the number of warnings
  • Delete your local yarn.lock file and run yarn on this branch, see there are fewer warnings

Checklist

This needs to be completed by the person raising the PR.

  • I have selected the correct Assignee
  • I have linked the correct Issue

@rmccar rmccar added the Dependencies Pull requests that update a dependency file label May 3, 2024
@rmccar rmccar self-assigned this May 3, 2024
Copy link

netlify bot commented May 3, 2024

Deploy Preview for ons-design-system-preview ready!

Name Link
🔨 Latest commit 67eb371
🔍 Latest deploy log https://app.netlify.com/sites/ons-design-system-preview/deploys/66471daf158f600008f267c5
😎 Deploy Preview https://deploy-preview-3175--ons-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@rmccar rmccar changed the title Update babel preset-env Update babel preset-env and other dependancies May 3, 2024
@rmccar rmccar mentioned this pull request May 3, 2024
2 tasks
@rmccar rmccar marked this pull request as ready for review May 4, 2024 21:21
@rmccar rmccar requested a review from a team May 7, 2024 07:38
@rmccar rmccar merged commit 71aa23b into main May 17, 2024
9 checks passed
@rmccar rmccar deleted the update-babel-preset-env branch May 17, 2024 22:19
@rmccar rmccar restored the update-babel-preset-env branch May 24, 2024 13:47
@rmccar rmccar deleted the update-babel-preset-env branch May 24, 2024 13:54
@rmccar rmccar restored the update-babel-preset-env branch May 24, 2024 13:54
rmccar added a commit that referenced this pull request May 24, 2024
@rmccar rmccar deleted the update-babel-preset-env branch May 24, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix caniuse-lite warning and update other dependancies
4 participants