Skip to content

Changeset only detects the root package.json in a pnpm-workspace monorepo #1209

@brad-mccormick

Description

@brad-mccormick

Discussed in #1208

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:

packages:
- 'packages/ui',
- 'packages/core',
- 'packages/icons',

When I run pnpm changeset it only picks up the root package.json, which is private, and ignores the workspace and packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions