Skip to content

chore(deps): bump production dependencies (stylex 0.19, recharts 3.9.2, clack 1.7) - #3841

Merged
cixzhang merged 1 commit into
mainfrom
fix/deps-production
Jul 11, 2026
Merged

cixzhang merged 1 commit into
mainfrom
fix/deps-production

Conversation

@cixzhang

Copy link
Copy Markdown
Contributor

Supersedes #3835 (the Dependabot production-dependencies group PR), which failed CI.

What

Bumps the production dependencies to latest:

  • @stylexjs/stylex 0.18.3 → 0.19.0 (across all packages + example apps)
  • recharts 3.8.1 → 3.9.2
  • @clack/prompts 1.5.1 → 1.7.0

Why the Dependabot PR failed

Dependabot bumped @stylexjs/stylex in the apps and packages/core, but the
>=0.10.0 peer ranges in packages/charts and packages/lab kept resolving a
stale 0.18.3 copy. Two copies of stylex in the tree produce two distinct
StyleXClassName opaque types, so passing a style from one package to a
component typed against the other fails typechecking (Types of property '_opaque' are incompatible). This broke the storybook typecheck and the
packages/lab build.

Fix

Add a workspace overrides entry pinning @stylexjs/stylex to ^0.19.0 so the
entire monorepo resolves a single stylex version, and bump the direct specifiers
consistently. Verified locally: pnpm build, the storybook/core/cli typechecks,
and pnpm check:sync all pass.

…2, @clack/prompts 1.7)

Bump @stylexjs/stylex 0.18.3 -> 0.19.0 across all packages and apps and add a
workspace override so the whole tree resolves a single stylex version. Without
the override the >=0.10.0 peer ranges in charts/lab kept a stale 0.18.3 copy,
producing two incompatible StyleXClassName opaque types and breaking the build.

Also bump recharts 3.8.1 -> 3.9.2 and @clack/prompts 1.5.1 -> 1.7.0.
@cixzhang
cixzhang requested a review from imdreamrunner as a code owner July 11, 2026 20:44
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 11, 2026
@vercel

vercel Bot commented Jul 11, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
astryx Ready Ready Preview, Comment Jul 11, 2026 8:45pm

Request Review

@thedjpetersen thedjpetersen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

@josephfarina

Copy link
Copy Markdown
Contributor

One thing worth a look: this bumps the @stylexjs/stylex peerDependency on @astryxdesign/core (0.18.3 → 0.19.0) and the @clack/prompts dep on @astryxdesign/cli, both published packages, but there's no changeset in the PR. Without one those peer/dep bumps won't ship a version bump to consumers. If that's intentional (deps-only chore) ignore me, otherwise a patch changeset for core + cli would be good.

github-actions Bot added a commit that referenced this pull request Jul 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR Analysis Report

📚 Storybook Preview

View Storybook for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

🧪 Sandbox Preview

View Sandbox for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

No new or modified components detected.

Bundle Size Summary

Package Size (ESM) Size (CJS) Gzipped
@astryxdesign/core N/A 4.6KB 0B

Accessibility Audit

Status: No accessibility violations detected.


Generated by PR Enrichment workflow | Storybook | Sandbox | View full report

@cixzhang
cixzhang merged commit c0ad433 into main Jul 11, 2026
20 checks passed
@github-actions
github-actions Bot deleted the fix/deps-production branch July 12, 2026 06:57

This branch was successfully deployed

1 active deployment
Preview — b902ba08 Deployed Jul 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants