Skip to content

chore: update dependencies and add comprehensive coverage for bug fixes#65

Merged
Jaganath-MSJ merged 4 commits intodevfrom
version_2
Apr 11, 2026
Merged

chore: update dependencies and add comprehensive coverage for bug fixes#65
Jaganath-MSJ merged 4 commits intodevfrom
version_2

Conversation

@Jaganath-MSJ
Copy link
Copy Markdown
Owner

Pull Request Checklist

  • My code follows the code guidelines of this project
  • I have updated the documentation accordingly (if applicable)
  • Tests and builds pass locally

Description

This PR focuses on establishing a strong foundation of test coverage for recent fixes and upgrading project dependencies to optimize performance, compatibility, and type safety constraints.

Key Changes:

  • Comprehensive Test Coverage: Added automated test coverage targeting critical bug fixes and edge cases (especially regarding custom grid bounds and the recent Luxon migration).
    • Added coverage for useMonthGrid array logic.
    • Added coverage for Popover portal UI rendering.
    • Added thorough date parsing and formatting tests.
  • Dependency Upgrades: Bumped versions for react, eslint, and playground dependencies.
  • Type Safety improvements: Enhanced internal type definitions to prevent regressions.

Fixes #

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

  • Tested via Storybook
  • Tested via local playground application
  • Verified build bundle (npm run build)
  • Executed new unit & integration test suites

- Remove legacy-peer-deps flag from .npmrc to use standard npm resolution
- Add CSS module declaration to support plain CSS imports
- Add ignoreDeprecations flag to TypeScript config for smoother upgrade to v6
- Replace global.ResizeObserver with globalThis for better compatibility
- Update all dev dependencies to latest versions
- Add overrides for eslint and esbuild to ensure consistent versions
- Upgrade @eslint/js, @types/node, @vitejs/plugin-react, eslint, and related packages to newer minor/patch versions.
- Update TypeScript to ~6.0.2.
- Add override for eslint to use the project's version.
Update peer dependencies and playground dependencies to React 19.2.5.
Also update various eslint packages to their latest versions:
- @eslint/config-array: 0.23.4 → 0.23.5
- @eslint/config-helpers: 0.5.4 → 0.5.5
- @eslint/core: 1.2.0 → 1.2.1
- @eslint/object-schema: 3.0.4 → 3.0.5
- @eslint/plugin-kit: 0.7.0 → 0.7.1
- @microsoft/api-extractor: 7.58.1 → 7.58.2
- @microsoft/api-extractor-model: 7.33.5 → 7.33.6
- @rushstack/node-core-library: 5.21.0 → 5.22.0
- @rushstack/terminal: 0.22.4 → 0.22.5
- @rushstack/ts-command-line: 5.3.4 → 5.3.5
- @napi-rs/wasm-runtime: 1.1.2 → 1.1.3
- caniuse-lite: 1.0.30001786 → 1.0.30001787
- electron-to-chromium: 1.5.332 → 1.5.334
- lru-cache: 11.3.2 → 11.3.3
- side-channel-list: 1.0.0 → 1.0.1
- Add test for useMonthGrid to handle custom 5-day week bounds without array out-of-bounds crash
- Add test for Popover to verify content renders via createPortal into document.body
- Add tests for formatting utils to verify correct date token usage and ISO string generation
- Add comprehensive tests for date utils covering Luxon parsing, duration operations, native conversion, and day index mapping
@Jaganath-MSJ Jaganath-MSJ merged commit 22f051a into dev Apr 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant