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
Changeset only detects the root package.json in a pnpm-workspace monorepo #1209
Originally posted by brad-mccormick August 8, 2023
This seems more like an issue than user error. New to changesets and running into an issue. I have a monorepo using pnpm-workspaces.yaml with a root level package.json, which just contains scripts, and package.json files for each package under the packages directory.
Here's what my pnpm-workspaces.yaml file looks like:
Came across this while looking for another issue, but my workspace setup seems to be pulling in all packages properly using this syntax in pnpm-workspace.yaml:
Activity
danez commentedon Aug 14, 2023
I had a similar problem with
I solved it myself by changing to
I noticed this in the error message of the changeset app: reactjs/react-docgen#826 (comment)
brad-mccormick commentedon Aug 21, 2023
@danez
Are you saying you moved your individual packages out of the packages/ directory?
Ziothh commentedon Oct 25, 2023
I also have the same problem.
Here is a minimal reproduction of the issue: https://github.com/Ziothh/changeset-pnpm-workspace-issue
Tried multiple variants of
pnpm-workspace.yamlbut no dice.I get this output:
kylebenji commentedon Nov 16, 2023
Hey y'all,
Came across this while looking for another issue, but my workspace setup seems to be pulling in all packages properly using this syntax in pnpm-workspace.yaml:
Ziothh commentedon Nov 17, 2023
@kylebenji
Doesn't seem to work for packages in the root directory instead of a ̀̀̀̀/packages` directory, sadly.