@lerna/legacy-package-management
Legacy package management concerns provided by lerna. Please migrate to use npm/yarn/pnpm workspaces instead.
Last updated 2 years ago by jameshenry .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @lerna/legacy-package-management 
SYNC missed versions from official npm registry.

@lerna/legacy-package-management

This package contains the legacy lerna add, lerna bootstrap and lerna link commands which deal with things better handled by your package manager npm/yarn/pnpm.

This package can be thought of as being in maintenance mode only - no new features will be considered for legacy package management concerns, and we will only look to merge critical patches and security updates.

See below for full context as to why this exists.

Background

Lerna is the original monorepo/workspace tool in the JavaScript ecosystem. When it was created in 2015/2016 the ecosystem looked totally different, and there were no built in capabilities to handle working with multiple packages in a single repository (a "workspace"). Commands like lerna bootstrap, lerna add and lerna link were all a critical part of the lerna project, because there were no other options.

However, now that we find ourselves in 2023, the fact is that - for many years now - the package managers we know and love (npm, yarn and pnpm) all fully support that concept of workspaces as a first-class use-case.

They have battle tested implementations covering adding, removing and linking local packages, and combining them with third party dependencies in a natural way.

This is the reason why, for the past several years of his tenure as lead maintainer of Lerna @evocateur has been encouraging folks to strongly reconsider their use of the legacy package management commands in lerna, and instead leverage their package manager of choice to do what it does best.

We on the Nx Team knew about this context from afar, but as new stewards of the project we did not want to jump straight in and start removing capabilities without first taking the time to get familiar with the reality up close. Now that we have been actively maintaining the project for half a year, we are in full agreement with Daniel and others that the legacy package management commands in lerna need to be retired.

By removing these legacy pieces which have better alternatives natively in package managers, we and the rest of the lerna community will be freed up to concentrate our efforts on things which are uniquely valuable about lerna (such as, but not limited to, versioning and publishing), and making them the best they can be!

We of course want to make sure that folks who are perhaps less aware of the modern capabilities of their package manager are not left confused by this change, so we will be building out comprehensive migration guides on https://lerna.js.org to help them transition their thinking from a legacy lerna command to its equivalent for npm, yarn or pnpm.

Current Tags

  • 8.1.8                                ...           latest (5 months ago)
  • 8.1.8                                ...           lerna-temp (5 months ago)
  • 7.0.0-alpha.8                                ...           next (2 years ago)

40 Versions

  • 8.1.8                                ...           5 months ago
  • 8.1.7                                ...           5 months ago
  • 8.1.6                                ...           6 months ago
  • 8.1.5                                ...           6 months ago
  • 8.1.4                                ...           7 months ago
  • 8.1.3                                ...           7 months ago
  • 8.1.2                                ...           a year ago
  • 8.1.1                                ...           a year ago
  • 8.1.0                                ...           a year ago
  • 8.0.2                                ...           a year ago
  • 8.0.1                                ...           a year ago
  • 8.0.0                                ...           a year ago
  • 8.0.0-alpha.0                                ...           a year ago
  • 7.4.2                                ...           a year ago
  • 7.4.1                                ...           a year ago
  • 7.4.0                                ...           a year ago
  • 7.3.1                                ...           a year ago
  • 7.3.0                                ...           a year ago
  • 7.2.0                                ...           a year ago
  • 7.1.5                                ...           a year ago
  • 7.1.4                                ...           a year ago
  • 7.1.3                                ...           a year ago
  • 7.1.2                                ...           a year ago
  • 7.1.1                                ...           a year ago
  • 7.1.0                                ...           a year ago
  • 7.0.2                                ...           2 years ago
  • 7.0.1                                ...           2 years ago
  • 7.0.0                                ...           2 years ago
  • 7.0.0-alpha.8                                ...           2 years ago
  • 7.0.0-alpha.7                                ...           2 years ago
  • 7.0.0-alpha.6                                ...           2 years ago
  • 7.0.0-alpha.5                                ...           2 years ago
  • 7.0.0-alpha.4                                ...           2 years ago
  • 7.0.0-alpha.3                                ...           2 years ago
  • 7.0.0-alpha.2                                ...           2 years ago
  • 7.0.0-alpha.1                                ...           2 years ago
  • 7.0.0-alpha.0                                ...           2 years ago
  • 6.6.2                                ...           2 years ago
  • 6.6.1                                ...           2 years ago
  • 6.6.0                                ...           2 years ago
Downloads
Total 2
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (61)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE