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
3 changes: 3 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Every PR that changes the published package needs a changeset, which becomes the release note in `CHANGELOG.md`.

CI only requires it when the PR changes the published code (`index.js`, `index.d.ts`, `configs/` or `lib/`, see `changedFilePatterns` in `config.json`).
It does not detect changes of `package.json`: add a changeset yourself when changing `dependencies`, `peerDependencies` or `engines`.

```sh
pnpm changeset # choose major / minor / patch and write the summary
pnpm changeset --empty # for a PR that should not appear in the release notes (CI, docs, ...)
Expand Down
8 changes: 7 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@
"access": "public",
"changelog": "@changesets/cli/changelog",
"commit": false,
"format": false
"format": false,
"changedFilePatterns": [
"index.js",
"index.d.ts",
"configs/**",
"lib/**"
]
}
2 changes: 2 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
env:
# only measure: the action compares the base branch and the PR by itself
BENCH_NO_ASSERT: 1
# the base commit may pin another pnpm version in `devEngines.packageManager` (e.g. on a PR upgrading pnpm)
pnpm_config_pm_on_fail: ignore
with:
dir: ${{ runner.temp }}/bench
source: bench/results
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lint-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ jobs:
run: tar -tzf "$RUNNER_TEMP"/*.tgz

changeset:
# every PR needs a changeset (`pnpm changeset`, or `pnpm changeset --empty` for changes without a release note)
# every PR changing the published code (`changedFilePatterns` in .changeset/config.json) needs a changeset
# (`pnpm changeset`, or `pnpm changeset --empty` for changes without a release note)
if: github.event_name == 'pull_request' && github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "11.3.0",
"version": "11.28.5",
"onFail": "error"
}
},
Expand Down
80 changes: 35 additions & 45 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading