Skip to content

chore(deps): bump @h6s/calendar to 2.2.0 and drop unused date-fns#1089

Open
vineethasok wants to merge 2 commits into
mainfrom
chore/bump-h6s-calendar-drop-date-fns
Open

chore(deps): bump @h6s/calendar to 2.2.0 and drop unused date-fns#1089
vineethasok wants to merge 2 commits into
mainfrom
chore/bump-h6s-calendar-drop-date-fns

Conversation

@vineethasok

@vineethasok vineethasok commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

What

  • Bump @h6s/calendar 2.0.12.2.0
  • Remove date-fns 4.1.0 from dependencies

Why

date-fns was only present to satisfy @h6s/calendar@2.0.1's peer dependency (date-fns: ">= 2"). No source file imports it directly.

@h6s/calendar@2.2.0 drops that peer requirement (peers are now just react: ">= 18"), so date-fns is no longer needed.

🤖 Generated with Claude Code


Note

Low Risk
Dependency-only change with a single property rename in DatePicker; low blast radius if calendar behavior is unchanged.

Overview
Upgrades @h6s/calendar from 2.0.1 to 2.2.0 and removes the date-fns dev dependency, which was only there to satisfy the old calendar peer requirement and is not imported anywhere in this repo.

The calendar API rename is reflected in DatePicker/Common.tsx: weekday headers now read from headers.weekdays instead of headers.weekDays. Lockfile entries are updated accordingly.

Reviewed by Cursor Bugbot for commit d0bd4b5. Bugbot is set up for automated code reviews on this repo. Configure here.

@h6s/calendar 2.2.0 no longer declares date-fns as a peer dependency
(react-only peer now), and nothing in src imports date-fns directly,
so it can be removed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jun 19, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d0bd4b5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vineethasok vineethasok self-assigned this Jun 19, 2026
…r 2.2.0

The 2.1.0 release (which dropped the date-fns peer dep) renamed the
useCalendar headers key from weekDays to weekdays. Update the single
usage in Common.tsx to match.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@workflow-authentication-public

Copy link
Copy Markdown
Contributor

Storybook Preview Deployed

✅ Preview URL: https://click-ok5tnzk5y-clickhouse.vercel.app

Built from commit: d949b0b75e4dd25d510a776a4a3c87ad1190c48a

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