Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"$schema": "https://unpkg.com/@changesets/config@4.0.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@ jobs:

- name: Create Release Pull Request or Publish to NPM
id: changesets
uses: changesets/action@v1
uses: changesets/action@v2
with:
publish: pnpm run release
publish-script: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Changesets shells out to `npm info` (there is no pnpm equivalent it
# can use) to determine what is already published. npm ≥ 11 checks the
# root package.json's "devEngines" on every command and errors with
# EBADDEVENGINES because we require pnpm as the package manager, which
# fails the publish before it starts. Passing force downgrades that
# check to a warning; the actual publishing still runs through
# `pnpm publish`. Changesets v3 fixes this properly by running
# `pnpm info` when pnpm is detected, but it needs changesets/action v2
# to go with it and both are prereleases for now — remove this once we
# upgrade to those.
# changeset publish detects the pnpm lockfile and correctly shells out
# to `pnpm info`/`pnpm pack`/`pnpm publish` instead of npm's — but
# `pnpm info` is itself a documented passthrough to the real npm CLI
# (confirmed by strace: `pnpm info <pkg>` execs `npm info <pkg>`), so
# it still runs into npm ≥ 11 validating this repo's own root
# package.json on every invocation and failing with EBADDEVENGINES
# (we declare devEngines.packageManager: pnpm, but the process
# running is npm). `pnpm pack`/`pnpm publish` don't shell out to npm
# and are unaffected. Passing force downgrades the devEngines error
# to a warning; this is pnpm's own `info` implementation, so there's
# no changesets- or pnpm-version bump that removes the need for it.
npm_config_force: true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
],
"license": "MIT",
"devDependencies": {
"@changesets/cli": "^2.29.5",
"@changesets/cli": "^3.0.0",
"@eslint/js": "^9.32.0",
"@prettier/plugin-oxc": "^0.0.4",
"@reporters/github": "^1.7.2",
Expand Down
Loading
Loading