-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CU] July Dependency Updates #405
Conversation
…svg-transformer, storybook, eslint-plugin-deprecate, prettier
…tment-of-veterans-affairs/va-mobile-library into chore/378-narin-dependency-updates
@@ -1,3 +1,4 @@ | |||
// @ts-nocheck |
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.
FYI @TimRoe, Had to add this because when I tried testing in the app, I would get the following TS error:
node_modules/@department-of-veterans-affairs/mobile-component-library/src/components/Snackbar/Snackbar.tsx(57,34): error TS7017: Element implicitly has an 'any' type because type 'typeof globalThis' has no index signature.
error Command failed with exit code 2.
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.
Hmmm, that's fine for this ticket but we should figure out something better long term where one doesn't need the config in global.d.ts to not get errors when not even using the component. Perhaps create a ticket just for that nearer the end of Snackbar implementation to figure out the least invasive way to go about it.
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.
Yeah, I was implying that this is a temporary fix and assume we'd fix it as part of the implementation.
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.
Created ticket to make sure we don't miss this: #412
@@ -18,6 +18,7 @@ module.exports = { | |||
}, | |||
core: { | |||
builder: 'webpack5', | |||
disableWhatsNewNotifications: true, |
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.
Not related to dependency updates but kept seeing this pop up as I was testing and decided to disable it.
export const SnackbarProvider: React.FC<SnackbarProviderProps> = ( | ||
{ | ||
// globalSnackbar, | ||
}, | ||
) => { |
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.
Autoformatting
"typescript": "^5.3.3" | ||
"eslint-plugin-tsdoc": "^0.3.0", | ||
"prettier": "3.3.3", | ||
"typescript": "~5.3.3" |
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.
Why'd this go ^
to ~
?
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.
This is to satisfy the following expo warning:
The following packages should be updated for best compatibility with the installed expo version:
[email protected] - expected version: ~5.3.3
Leaving it as a carat will install v5.5.4
which causes the warning to reappear.
"react-i18next": "^14.1.2", | ||
"@os-team/i18next-react-native-language-detector": "^1.0.34", | ||
"i18next": "^23.12.2", | ||
"react-i18next": "^15.0.0", |
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.
Probably fine, but may be good to double check use cases in the app if you didn't since this is the package that broke from a minor update recently. So double checking the external link prompt to leave the app and "# of #" screen reading for Segmented control. Good confirmation they didn't do anything breaking with a major increment since they broke things with a minor increment.
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.
Confirmed with voiceover in the app that these translations are still working properly.
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.
Approving with a couple notes in addition to comments:
- See a Storybook Web heading, but not any video run through
- Probably good to propagate the following info to the ACs on the ticket as well:
style-dictionary
andeslint
have major version updates with breaking changes that need to be resolved. I've created a separate ticket for them: #404
Description of Change
Updates all available dependencies in our mono repo using
yarn upgrade-interactive
with the exception of a handful of packages.style-dictionary
andeslint
have major version updates with breaking changes that need to be resolved. I've created a separate ticket for them: #404Storybook related dependencies have been updated to the highest v7 version available since react native is not supported on Storybook 8 yet
The following packages have newer version available, but have been updated to the latest version compatible with expo (51.0.22):
Testing Packages
Screenshots/Video
Storybook iOS
screen-20240723-114108.mp4
Storybook Web
App (iOS)
Simulator.Screen.Recording.-.iPhone.15.-.2024-07-23.at.10.36.18.mp4
App (Android)
Screen_recording_20240723_111334.mp4
Testing
PR Checklist
Code reviewer validation:
changelog
label applied if it's to be included in the changelogPublish
If changes warrant a new version per the versioning guidelines and the PR is approved and ready to merge:
main
into branchmain