Skip to content

Sync config-file-options documentation with schema.json and source code#1683

Merged
bluwy merged 2 commits intochangesets:mainfrom
kaisermann:patch-1
May 4, 2026
Merged

Sync config-file-options documentation with schema.json and source code#1683
bluwy merged 2 commits intochangesets:mainfrom
kaisermann:patch-1

Conversation

@kaisermann
Copy link
Copy Markdown
Contributor

Like #1649, I run my changeset version command via yarn dlx and started getting an issue with my prettier preset not being installed. The prettier config should be documented in the config-file-options.md file so users don't need to dive into multiple issues and PRs.

I took the liberty to also document the other remaining missing configs and updating the "default config" example at the top of the file.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 3, 2025

⚠️ No Changeset found

Latest commit: d9b3081

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

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.05%. Comparing base (8acf5ca) to head (d9b3081).
⚠️ Report is 56 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1683   +/-   ##
=======================================
  Coverage   81.05%   81.05%           
=======================================
  Files          54       54           
  Lines        2264     2264           
  Branches      679      684    +5     
=======================================
  Hits         1835     1835           
  Misses        424      424           
  Partials        5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

"linked": [],
"access": "restricted",
"baseBranch": "main",
"baseBranch": "master",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I guess this should be updated to main in the source code at some point, but this would be a major change 🤔

Comment on lines 5 to 10
```json
{
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The JSON shows the default config from changeset init, hence baseBranch default is "main" here. But personally I'm fine with converting this to show the defaults in general.

harrisonhoward added a commit to harrisonhoward/changesets that referenced this pull request Dec 6, 2025
harrisonhoward added a commit to harrisonhoward/changesets that referenced this pull request Dec 7, 2025
harrisonhoward added a commit to harrisonhoward/changesets that referenced this pull request Mar 28, 2026
@bluwy bluwy added this pull request to the merge queue May 4, 2026
Merged via the queue into changesets:main with commit ff767d2 May 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants