Skip to content

Using lerna as a library #74

Closed
Closed

Description

@thatjessicakelly

Hi, I'm trying to build a couple of tools on top of lerna, but I don't want to duplicate logic inside of lerna. Especially since it seems to be in flux right now and I don't want to keep updating things.

It would be cool if you could require("lerna") and call methods like getPackagesDirectory() or getPackages().

I can open a PR for this

Activity

  1. sebmck commented on Mar 2, 2016

    @sebmck
    Contributor

    This would be awesome, a PR would be appreciated!

  2. thatjessicakelly commented on Mar 2, 2016

    @thatjessicakelly
    ContributorAuthor

    Is there anyway things could be changed to not rely on process.cwd()? That's kinda weird when using lerna as a normal node module.

  3. hzoo commented on Mar 2, 2016

    @hzoo
    Contributor

    👍 Yeah @thejameskyle mentioned he wanted to build tools on top of it as well

  4. jamiebuilds commented on Mar 2, 2016

    @jamiebuilds
    Contributor

    Cool, moving discussion to that PR

  5. lock commented on Dec 28, 2018

    @lock

    This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  6. locked as resolved and limited conversation to collaborators on Dec 28, 2018
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