You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ Question ] publishConfig package.json object support not documented #733
I went digging for a solution to only publish a certain folder, and I found in the code that changesets supports the publishConfig package.json object that tools like lerna use/support also, but its not documented anywhere.
I'm posting this issue just for awareness, but I also may send in a docs update PR if you'd be open to it!
changed the title [-][ Question ] `changeset publish` config option for folder to publish[/-][+][ Question ] `publishConfig` package.json object support not documented[/+]on Jan 11, 2022
I was just researching trying to find this exact feature, couldn't find anything until actually digging into the code. I was also really curious about what all is going on here, this would be really useful to have documented for sure.
I can open a PR to do some basic documentation once I figure everything out here but admittedly I don't follow everything going on with the publishConfig, I'll have to do a bit more digging.
we delegate packing (where publishConfig overrides are applied) and publishing to package managers, so support for publishConfig overrides depends on them.
should we add a note somewhere in the new docs about this?
as for publishConfig.registry specifically, the new docs mention it in various places, like here or here
Activity
[-][ Question ] `changeset publish` config option for folder to publish[/-][+][ Question ] `publishConfig` package.json object support not documented[/+]Andarist commentedon Jan 11, 2022
Definitely, we'd appreciate such PR :)
slinkardbrandon commentedon Jul 6, 2022
I was just researching trying to find this exact feature, couldn't find anything until actually digging into the code. I was also really curious about what all is going on here, this would be really useful to have documented for sure.
I can open a PR to do some basic documentation once I figure everything out here but admittedly I don't follow everything going on with the
publishConfig, I'll have to do a bit more digging.beeequeue commentedon Jun 8, 2026
we delegate packing (where
publishConfigoverrides are applied) and publishing to package managers, so support forpublishConfigoverrides depends on them.should we add a note somewhere in the new docs about this?
as for
publishConfig.registryspecifically, the new docs mention it in various places, like here or herebluwy commentedon Jun 8, 2026
It looks like it's an added support in Changesets since #428. So it works in like npm even if it doesn't support
publishConfig.directory.So I think we have to document it, but I don't really like that Changesets is adding arbitrary support like this.
Document `publishConfig.directory`
bluwy commentedon Jun 30, 2026
This is documented on the site at fef8c9c now
Add new docs site (changesets#1979)