@lerna/link

    4.0.0 • Public • Published

    @lerna/link

    Symlink together all packages that are dependencies of each other

    Install lerna for access to the lerna CLI.

    Usage

    $ lerna link

    Symlink together all Lerna packages that are dependencies of each other in the current Lerna repo.

    Options

    --force-local

    $ lerna link --force-local

    When passed, this flag causes the link command to always symlink local dependencies regardless of matching version range.

    publishConfig.directory

    This non-standard field allows you to customize the symlinked subdirectory that will be the source directory of the symlink, just like how the published package would be consumed.

      "publishConfig": {
        "directory": "dist"
      }

    In this example, when this package is linked, the dist directory will be the source directory (e.g. package-1/dist => node_modules/package-1).

    Keywords

    Install

    npm i @lerna/link

    DownloadsWeekly Downloads

    1,276,998

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    16.7 kB

    Total Files

    6

    Last publish

    Collaborators

    • hzoo
    • evocateur