-
Notifications
You must be signed in to change notification settings - Fork 81
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
feat!: Webpack/Jest to Vite/Vitest migration #2716
Commits on Jan 18, 2024
-
- react/react-dom and other react-related depdencies updated - @testing-library/react-hooks removed as it is now merged into @testing-library/react - focus-trap-react updated to 9.0.2 (upgrading beyond this version will break IE11 compatibility) - tabbable.js mock file added to fix JSDom testing compatibility issues with Modal (with a comment added to Modal test file) - DatePicker tests updated to wait on the next expect after async actions such as open/close/unmount - Various type fixes including... - SocialLink logic tweaked to fix type issues - Prop typing on InPageNavigation updated to omit the content property from the joined JSX.IntrinsicElements['div'] type as it is being overidden (not combined) to prevent type issues
Configuration menu - View commit details
-
Copy full SHA for a6c80ff - Browse repository at this point
Copy the full SHA a6c80ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for b008312 - Browse repository at this point
Copy the full SHA b008312View commit details
Commits on Jan 19, 2024
-
match webpack output plus more
- match original package output - add all other possible bundle formats
Configuration menu - View commit details
-
Copy full SHA for 260eadf - Browse repository at this point
Copy the full SHA 260eadfView commit details -
- jest and related jest dependencies and config removed - vitest and plugins added - styleMock no longer needed (vitest has css option) - other mocks updated to ESM syntax - project custom types updated - snapshots updated (comments and label format differences) - tests updated to reference vi instead of jest - tests' usage of mocking updated (async with helper for importActual) - tests' usage of creating mocked vars updated (vi has helper function `mocked` for typescript typing) - bad path for a uswds svg fixed - other minor fixes due to jest/vitest variances
Configuration menu - View commit details
-
Copy full SHA for 6e56622 - Browse repository at this point
Copy the full SHA 6e56622View commit details
Commits on Jan 20, 2024
-
refresh yarn.lock, fix configs, fix tests
- yarn.lock recreated from scratch - type fixes - FocusTrap component mocked (fix JSDom incompatibility) - test fixes - linting fixes - test coverage options added
Configuration menu - View commit details
-
Copy full SHA for 6ee0620 - Browse repository at this point
Copy the full SHA 6ee0620View commit details
Commits on Jan 21, 2024
-
first pass storybook webpack to vite
- sb init ran which added some new defaults such as... - addons: interactions, links, onboarding, blocks, react-vite, test - eslint plugin with extension of recommended rules - sb config replacement for vite
Configuration menu - View commit details
-
Copy full SHA for b737ffd - Browse repository at this point
Copy the full SHA b737ffdView commit details -
dependency updates, sb config fixes
- babel dependencies removed - sb onboarding addon removed - focus-trap-react updated to latest - happo dependencies updated to latest - all sb dependencies on latest version - vite svgr config fixed to target `*.svg?svgr` urls - sb `custom-styles.scss` updated to use project's `styles/_uswds-theme.scss` file for settings - sb `public` folder added to refreshed sb config
Configuration menu - View commit details
-
Copy full SHA for a9e04fd - Browse repository at this point
Copy the full SHA a9e04fdView commit details -
- remove sb dependencies from dependabot ignore - remove node 16 from build-and-test matrix - package.json engine updated to node >= 18
Configuration menu - View commit details
-
Copy full SHA for fd11498 - Browse repository at this point
Copy the full SHA fd11498View commit details -
Configuration menu - View commit details
-
Copy full SHA for a67a0b9 - Browse repository at this point
Copy the full SHA a67a0b9View commit details
Commits on Feb 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e06aa28 - Browse repository at this point
Copy the full SHA e06aa28View commit details -
Configuration menu - View commit details
-
Copy full SHA for e47ccec - Browse repository at this point
Copy the full SHA e47ccecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c4a2c9 - Browse repository at this point
Copy the full SHA 1c4a2c9View commit details
Commits on Feb 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cffed19 - Browse repository at this point
Copy the full SHA cffed19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d9e4b3 - Browse repository at this point
Copy the full SHA 4d9e4b3View commit details -
- precommit checks for lint, format:fix, and test (changed only)
Configuration menu - View commit details
-
Copy full SHA for adbc25d - Browse repository at this point
Copy the full SHA adbc25dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 729df12 - Browse repository at this point
Copy the full SHA 729df12View commit details -
add vitest linting, fix lint warn/err
- pascalCase for story names - identical test names in same block - expect methods not being properly called
Configuration menu - View commit details
-
Copy full SHA for 290c0ba - Browse repository at this point
Copy the full SHA 290c0baView commit details -
- fix FooterExtendedNavList tests to render with css definition of "hidden" class in order to assert visibility on elements - missing testid added to masthead test - filepreview skipped test area for generic previews updated to test across all types/extensions scenarios properly and no longer skipped
Configuration menu - View commit details
-
Copy full SHA for fd32f3d - Browse repository at this point
Copy the full SHA fd32f3dView commit details
Commits on Feb 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e1931c2 - Browse repository at this point
Copy the full SHA e1931c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f2ed1e - Browse repository at this point
Copy the full SHA 2f2ed1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c5d6bf - Browse repository at this point
Copy the full SHA 7c5d6bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2872cf8 - Browse repository at this point
Copy the full SHA 2872cf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b8b7e8 - Browse repository at this point
Copy the full SHA 2b8b7e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f01f417 - Browse repository at this point
Copy the full SHA f01f417View commit details -
Revert "update happo config to esm syntax"
This reverts commit 729df12.
Configuration menu - View commit details
-
Copy full SHA for 03cdc59 - Browse repository at this point
Copy the full SHA 03cdc59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dcc376 - Browse repository at this point
Copy the full SHA 6dcc376View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61863f7 - Browse repository at this point
Copy the full SHA 61863f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e82459 - Browse repository at this point
Copy the full SHA 1e82459View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b49b4a - Browse repository at this point
Copy the full SHA 2b49b4aView commit details
Commits on Feb 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c721823 - Browse repository at this point
Copy the full SHA c721823View commit details -
add bundles test, fix test warnings
- added bundles test that is ran after build to do import and render checks - some act() warnings were fixed in tests - some rendering in root warnings were fixed (affected tests altered to expect on container element)
Configuration menu - View commit details
-
Copy full SHA for 1fe2374 - Browse repository at this point
Copy the full SHA 1fe2374View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2918dc2 - Browse repository at this point
Copy the full SHA 2918dc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 199de2f - Browse repository at this point
Copy the full SHA 199de2fView commit details -
- control firing of loadend event for filepreview test to prevent race condition
Configuration menu - View commit details
-
Copy full SHA for b5b0ec9 - Browse repository at this point
Copy the full SHA b5b0ec9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92be343 - Browse repository at this point
Copy the full SHA 92be343View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33f9a42 - Browse repository at this point
Copy the full SHA 33f9a42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ed071f - Browse repository at this point
Copy the full SHA 2ed071fView commit details
Commits on Feb 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fc1545f - Browse repository at this point
Copy the full SHA fc1545fView commit details
Commits on Mar 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dce3ae8 - Browse repository at this point
Copy the full SHA dce3ae8View commit details
Commits on Mar 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ad1f4fa - Browse repository at this point
Copy the full SHA ad1f4faView commit details