Skip to content

Choosing all packages to bump also includes ignored packages and results in error during version phase #436

Closed

Description

@dotansimha

Affected Packages

  • not sure, guess cli

Problem

I tried to create a changeset using yarn chageset. I needed to bump all packages in your monorepo. So I choose all changes package and all unchanged packages. It results in adding ignored packages (defined in ignore in the config files) to the list of changes.

When trying to run yarn changesets version command, it now thrown an errors:

Mixed changesets that contain both ignored and not ignored packages are not allowed

Proposed solution

Remove ignored packages from the selection list in yarn changeset command? 🤔

Activity

  1. Andarist commented on Aug 11, 2020

    @Andarist
    Member

    Good suggestion - we probably should filter out any dependants of ignored packages as IIRC we don't allow them to be published because it would possibly result in a broken release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions