Skip to content

chore(deps): update dependency storybook-addon-mock-date to v3#1760

Open
k8o-bot[bot] wants to merge 1 commit into
mainfrom
renovate/storybook-addon-mock-date-3.x
Open

chore(deps): update dependency storybook-addon-mock-date to v3#1760
k8o-bot[bot] wants to merge 1 commit into
mainfrom
renovate/storybook-addon-mock-date-3.x

Conversation

@k8o-bot
Copy link
Copy Markdown
Contributor

@k8o-bot k8o-bot Bot commented May 15, 2026

This PR contains the following updates:

Package Change Age Confidence
storybook-addon-mock-date 2.0.03.0.1 age confidence

Release Notes

k35o/storybook-addon-mock-date (storybook-addon-mock-date)

v3.0.1

Compare Source

Patch Changes
  • #​47 e84f2e1 Thanks @​k35o! - Fix the addon catalog metadata so the package can be discovered and
    categorised on storybook.js.org/addons.

    • Reorder keywords so that storybook-addon is the first entry
      (the catalog requires this) and add data-state as the category
      keyword. Also include searchable terms (mocking, date, time,
      fake-timers).
    • Drop storybook.supportedFrameworks: ["supported-frameworks"],
      which was the literal placeholder string from the addon-kit
      template and confused the catalog parser. The decorator is
      renderer-agnostic, so omitting the field reflects reality.
    • Replace the addon-kit placeholder GIF in storybook.icon with a
      custom clock icon committed at .github/icon.png.
    • Tighten the package description from "Storybook addon to mocking
      date" to "Storybook addon that mocks the JavaScript Date for
      individual stories.".

v3.0.0

Compare Source

Major Changes
  • #​44 f1af2d7 Thanks @​k35o! - Switch the bundler from tsup to vp pack (powered by tsdown) and bump
    @vitejs/plugin-react to 6.0.1 with vite 8.0.10. The published bundle
    output keeps the same shape (dist/preview.js + dist/preview.d.ts).

    @sinonjs/fake-timers is now declared in dependencies and externalized
    from the bundle, so consumers receive upstream patches directly and the
    addon ships ~140 kB lighter.

    The previously broken "." export entry (which pointed at a dist/index.js
    that the build never emitted) has been removed from package.json.

  • #​44 f1af2d7 Thanks @​k35o! - Drop the legacy manager surface and addon-kit scaffolding leftovers.

    • The ./manager subpath export and the dist/manager.js bundle have
      been removed. The previous manager entry only registered the addon
      with an empty callback (addons.register(ADDON_ID, () => {})), so it
      never contributed any UI or behaviour. Storybook 10's addon loader
      resolves <name>/manager via the package's exports map and
      gracefully no-ops when that export is missing, which matches the
      peerDependencies.storybook: ^10.0.0 range this addon already
      declares.
    • The root manager.js and preview.js bridge files have also been
      removed. Storybook 10 reads the ./preview entry from exports
      directly and no longer needs the legacy root bridges.
  • #​35 d6a7176 Thanks @​k35o! - Bump minimum Node.js requirement to >=24.13.0 (was >=22.0.0) and update packageManager to pnpm@10.33.2.

    Development environment is now pinned via mise.toml, and the pnpm workspace adds blockExoticSubdeps and verifyDepsBeforeRun for safer installs. CI workflows were consolidated behind a shared composite action and a new typecheck job runs on pull requests.

Minor Changes
  • #​46 e74cbe9 Thanks @​k35o! - Add a toolbar override and accept ISO 8601 strings for mockingDate.

    • A new clock icon in the Storybook toolbar opens a date/time picker
      that writes to a global mockingDate value. The decorator now
      honours globals.mockingDate first and falls back to
      parameters.mockingDate, so the toolbar can override any story
      without editing source.
    • parameters.mockingDate and the toolbar both accept a string in
      addition to Date and number. Strings are parsed with
      new Date(value), so anything Date understands works (e.g.
      '2024-01-01', '2024-01-01T00:00:00Z').

    The ./manager subpath export and the dist/manager.js bundle have
    been re-introduced to host the toolbar entry point.

    If you want the date mocking without the toolbar icon, you can opt into
    "decorator-only" mode by importing the preview entry directly from
    .storybook/preview.ts and leaving 'storybook-addon-mock-date' out of
    your .storybook/main.ts addons list. The README's "Disabling the
    toolbar" section walks through the snippet.


Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • "every weekend"
  • Automerge
    • Only on Sunday and Saturday (* * * * 0,6)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@k8o-bot k8o-bot Bot added the renovate label May 15, 2026
@k8o-bot k8o-bot Bot requested a review from k35o May 15, 2026 15:48
@k8o-bot
Copy link
Copy Markdown
Contributor Author

k8o-bot Bot commented May 15, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
Scope: all 7 workspace projects
Progress: resolved 1, reused 0, downloaded 0, added 0
 ERR_PNPM_MISSING_TIME  The metadata of @types/node is missing the "time" field

This error happened while installing a direct dependency of /tmp/renovate/repos/github/k35o/k8o

If you cannot fix this registry issue, then set "resolution-mode" to "highest".

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
k8o Ignored Ignored May 15, 2026 3:48pm
k8o-admin Ignored Ignored Preview May 15, 2026 3:48pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants