DEV-1796: Upgrade to dwolla-web.js v3, React 19, Storybook 8, and refresh dependencies#20
Merged
Conversation
…resh dependencies Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
spencerhunter
approved these changes
Apr 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v3.0.0and enforces the new breaking requirement that<DwollaCustomerCreate type="receive-only">must includeprivacyandtermsprops (regulatory compliance). TheCreateCustomerPropstype is now a discriminated union — TypeScript will catch missing props at compile time.peerDependenciesto^18.0.0 || ^19.0.0for bothreactandreact-dom(fixes install warnings for React 19 users, closes Support React 19 as a Peer Dependency #19).Introduction.stories.mdxto MDX2-compatible.mdx.@typescript-eslint5 → 8, Prettier 2 → 3, Rollup 3 → 4, Husky 8 → 9, lint-staged 13 → 15, React devDeps 18 → 19. CI pnpm version bumped from 7 → 8.react-test-renderer(removed in React 19) to@testing-library/react. Snapshots regenerated.Breaking change for consumers
<DwollaCustomerCreate type="receive-only">now requiresprivacyandtermsprops:Test plan
pnpm install— no peer dependency errorspnpm test:ci— 12 suites, 24 tests, 19 snapshots all passpnpm build:check— TypeScript 5 compilation cleanpnpm checks— lint and format passpnpm bundle— Rollup 4 produces clean CJS + ESM output inbundle/pnpm build-storybook— Storybook 8 builds without errorspnpm storybook— open http://localhost:6006, verify Introduction page renders with styled link cards, and all 11 component stories load in the sidebarpnpm audit— "No known vulnerabilities found"<DwollaCustomerCreate type="receive-only" />withoutprivacy/termsto any.tsxfile and confirm a type error is reported, then add the props and confirm it resolves🤖 Generated with Claude Code