Conflict resolutions:
1. NewNotifications test files (4 modify/delete conflicts):
- Bar/__tests__/notifications-bar.test.tsx
- NotificationView/notification.test.tsx
- NotificationsList/notification-list.test.tsx
- notification.test.tsx
Resolution: Accepted main's deletions. The feat(Notifications): rework commit
(#1034) intentionally removed the old NewNotifications test structure as part
of a full architectural rework. The Vitest migrations on this branch for those
files are superseded by the deletion.
2. Notifications.test.tsx (new file from main):
The new Notifications.test.tsx introduced by the rework commit still used
Jest APIs (jest.mock, jest.fn, jest.useFakeTimers, etc.). Updated all
references to vi.* equivalents to stay consistent with this branch's
Jest -> Vitest migration.
3. package.json and .size-limit.cjs (auto-merged):
- package.json: version bumped from 0.113.1 to 0.114.0 (from main)
- .size-limit.cjs: bundle size limit reduced from 395kB to 370kB (from main)
Both auto-merged cleanly with no intervention needed.
Co-authored-by: Cursor <cursoragent@cursor.com>
Note
Medium Risk
Build/test tooling and package export changes can break consumer imports or publishing if the new
distlayout differs from expectations, but changes are largely configuration-focused with limited runtime code impact.Overview
Switches the library build pipeline to
tsdownwith unbundled ESM output and generated DTS, updating package entrypoints/exports, publishedfiles, andsize-limitpaths to match the newdistlayout.Migrates testing from Jest to Vitest: removes
jest.config.cjs, updates scripts/CI to runvitest, addsvitest.config.ts(including global__UIKIT_VERSION__define), and updates testing docs/mocks/examples fromjest.*tovi.*(including.test.tsdiscovery). Storybook is updated to ensure the Vite React plugin is configured consistently and to expose__UIKIT_VERSION__at build time.Written by Cursor Bugbot for commit b1b932d. This will update automatically on new commits. Configure here.