Skip to content

chore: avoid an unwanted mdx major bump#16977

Merged
ocavue merged 2 commits into
mainfrom
ocavue/peer-major3
Jun 5, 2026
Merged

chore: avoid an unwanted mdx major bump#16977
ocavue merged 2 commits into
mainfrom
ocavue/peer-major3

Conversation

@ocavue

@ocavue ocavue commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Changes

Unblock #16972 (review)

Before this PR, Changesets will make the following change in #16972:

  {
    "name": "@astrojs/markdown-satteri",
-   "version": "0.2.2",
+   "version": "0.3.0",
  }
  {
    "name": "@astrojs/mdx",
-   "version": "6.0.2",
+   "version": "7.0.0",
    "peerDependencies": {
-     "@astrojs/markdown-satteri": "0.2.2"
+     "@astrojs/markdown-satteri": "0.3.0"
    }
  }

After this PR, changesets will make the following change:

  {
    "name": "@astrojs/markdown-satteri",
-   "version": "0.2.2",
+   "version": "0.3.0",
  }
  {
    "name": "@astrojs/mdx",
-   "version": "6.0.2",
+   "version": "6.0.3",
    "peerDependencies": {
      "@astrojs/markdown-satteri": "0.3.0"
    }
  }

This is just a workaround. We can revert the change in this PR and reuse workspace:* once we have merged Changeset release and published new versions.

Testing

Tested locally with ./node_modules/.bin/changeset version to ensure that Changeset won't crash and won't bump @astrojs/mdx to a major version after my change.

Green CI. In other words, tools like pnpm and turbo accept "@astrojs/markdown-satteri": "0.3.0" in the peerDependencies, even though packages/markdown/satteri/package.json only has "version": "0.2.2".

Docs

N/A

@changeset-bot

changeset-bot Bot commented Jun 5, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 86b0484

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

@github-actions github-actions Bot added the pkg: integration Related to any renderer integration (scope) label Jun 5, 2026
@ocavue ocavue changed the title chore: avoid an unwanted mdx major bump from the satteri peer dependency chore: avoid an unwanted mdx major bump Jun 5, 2026
@ocavue ocavue marked this pull request as ready for review June 5, 2026 11:06
@ocavue ocavue requested a review from Princesseuh June 5, 2026 11:06
@ocavue ocavue merged commit 7e8d371 into main Jun 5, 2026
24 checks passed
@ocavue ocavue deleted the ocavue/peer-major3 branch June 5, 2026 15:18
@ocavue ocavue mentioned this pull request Jun 5, 2026
matthewp pushed a commit that referenced this pull request Jun 8, 2026
* fix(errors): correct param key in getStaticPaths error-doc examples (slug → id) (#16976)

* fix(cloudflare): defer createApp/setGetEnv in fetch.ts to avoid circular import crash (#16956) (#16968)

* fix(fetch): sync request.url with forwarded headers in FetchState (#16947)

* fix(fetch): sync request.url with forwarded headers in FetchState (#16945)

* chore: improve tests and solution

---------

Co-authored-by: astrobot-houston <fred+astrobot@astro.build>

* chore: avoid an unwanted mdx major bump (#16977)

* chore(renovate): bump max memory (#16993)

---------

Co-authored-by: Minh Lê <115204145+DucMinhNe@users.noreply.github.com>
Co-authored-by: Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <estoppa@cloudflare.com>
Co-authored-by: astrobot-houston <fred+astrobot@astro.build>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: integration Related to any renderer integration (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants