Skip to content

fix(@a2ui/markdown-it): widen web_core peer dep to >=0.9.2#1931

Open
eugenelim wants to merge 1 commit into
a2ui-project:mainfrom
eugenelim:fix/markdown-it-web-core-peer-dep
Open

fix(@a2ui/markdown-it): widen web_core peer dep to >=0.9.2#1931
eugenelim wants to merge 1 commit into
a2ui-project:mainfrom
eugenelim:fix/markdown-it-web-core-peer-dep

Conversation

@eugenelim

Copy link
Copy Markdown

Fixes #1930.

@a2ui/markdown-it@0.0.4 was published when web_core was at 0.9.2, so prepare-publish.mjs baked in ^0.9.2 as the peer dep. Since then web_core shipped 0.10.x, and any project that pulls in @a2ui/react@^0.10 alongside @a2ui/web_core@^0.10 gets an ERESOLVE override warning on every install:

npm warn ERESOLVE overriding peer dependency
npm warn peer @a2ui/web_core@"^0.9.2" from @a2ui/markdown-it@0.0.4

The fix: change peerDependencies["@a2ui/web_core"] from workspace:* (which prepare-publish.mjs resolves to ^<current-version> at publish time) to an explicit >=0.9.2. This bypasses the workspace replacement and produces a wide range in the published package — no more peer conflict when web_core bumps again. Bumps to 0.0.5.

The devDependencies entry is left as workspace:* so local builds continue to use the monorepo copy.

@google-cla

google-cla Bot commented Jul 6, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the package.json for @a2ui/markdown-it, bumping the version to 0.0.5 and changing the peer dependency of @a2ui/web_core from workspace:* to >=0.9.2. There are no review comments, and I have no feedback to provide.

@github-actions github-actions Bot added the status: needs-triage auto-managed: https://github.com/a2ui-project/a2ui/blob/main/scripts/triage.mjs label Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: needs-triage auto-managed: https://github.com/a2ui-project/a2ui/blob/main/scripts/triage.mjs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@a2ui/markdown-it peer dep on web_core is pinned to ^0.9.2, conflicts with web_core 0.10.x

1 participant