Skip to content

Expect changesets to run NPM related hook functions #1145

Closed as not planned
Closed as not planned

Description

@duowb

Affected Packages

I am not sure...

Example: https://github.com/duowb/pnpm-changsets-monorepo-example

Problem

  1. Modify any content in the package/a ;
  2. run changeset, select @duobo/pkg-a;
  3. run changeset version. Expected to output the content in packages/a/b. js, Because the script in package/a is listening for preversion
  4. run changeset publish. Expected to output the content in packages/a/a. js, Because the script in package/a is listening for prepublish

Proposed solution

If I make a mistake, please guide me. thank you

Activity

  1. bluwy commented on Oct 6, 2024

    @bluwy
    Member

    I wonder if this has something to do with #886, which perhaps the script runs but the logs are not logged.

  2. bluwy commented on Oct 6, 2024

    @bluwy
    Member

    Looks like there's an issue already open at #982 that describes this. I'll close this in favour of that as it has a little more activity.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions