Socket
Socket
Sign inDemoInstall

@lerna/link

Package Overview
Dependencies
1
Maintainers
2
Versions
110
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @lerna/link

Symlink together all packages that are dependencies of each other


Version published
Weekly downloads
488K
decreased by-1.23%
Maintainers
2
Created
Weekly downloads
 

Changelog

Source

6.6.2 (2023-05-04)

Bug Fixes

  • deps: bump pacote to latest to remove install warning (#3624) (7c34521)
  • remove non-functional schema properties starting with "no" (#3645) (43c2a48)
  • run: only use run-one when not passing multiple scripts (#3620) (9db1572)

Features

  • publish: support npm provenance (9c8bb4e)

Readme

Source

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

FAQs

Last updated on 04 May 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc