Skip to content
This repository was archived by the owner on Aug 25, 2023. It is now read-only.

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 24, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@lerna/package (source) 4.0.0 -> 6.4.1 age adoption passing confidence
@lerna/project (source) ^4.0.0 -> ^6.0.0 age adoption passing confidence
@lerna/project (source) 4.0.0 -> 6.4.1 age adoption passing confidence
lerna (source) 4.0.0 -> 7.1.5 age adoption passing confidence

Release Notes

lerna/lerna (@​lerna/package)

v6.4.1

Compare Source

Bug Fixes

v6.4.0

Compare Source

Bug Fixes
Features

v6.3.0

Compare Source

Features

v6.2.0

Compare Source

Bug Fixes
  • core: more detailed error message when version cannot be found (#​3424) (b729b0c)
  • schema: add the other format changelogPreset can assume (#​3441) (d286973)
  • utils: check validity of bundledDependencies before iteration (#​2960) (2517ffb)
Features

v6.1.0

Compare Source

Bug Fixes
  • run: detect target configuration in package.json files (#​3432) (798aae1)
Features
  • version: bump prerelease versions from conventional commits (#​3362) (2288b3a)

6.0.3 (2022-11-07)

Bug Fixes
  • publish: support inconsistent workspace prefix usage (#​3413) (da2274b)
  • version: only apply prettier if it was explicitly installed (#​3406) (0161bbe)

6.0.2 (2022-11-02)

Bug Fixes

6.0.1 (2022-10-14)

Bug Fixes

v6.0.3

Compare Source

Bug Fixes
  • publish: support inconsistent workspace prefix usage (#​3413) (da2274b)
  • version: only apply prettier if it was explicitly installed (#​3406) (0161bbe)

v6.0.2

Compare Source

Bug Fixes

v6.0.1

Compare Source

Bug Fixes

v6.0.0

Compare Source

Super fast, modern task-runner implementation for lerna run

As of version 6.0.0, Lerna will now delegate the implementation details of the lerna run command to the super fast, modern task-runner (powered by Nx) by default.

If for some reason you wish to opt in to the legacy task-runner implementation details (powered by p-map and p-queue), you can do so by setting "useNx": false in your lerna.json. (Please let us know via a Github issue if you feel the need to do that, however, as in general the new task-runner should just work how you expect it to as a lerna user).

Interactive configuration for lerna run caching and task pipelines via the new lerna add-caching command

When using the modern task-runner implementation described above, the way to get the most out of it is to tell it about the outputs of your various scripts, and also any relationships that exist between them (such as needing to run the build script before the test, for example).

Simply run lerna add-caching and follow the instructions in order to generate all the relevant configuration for your workspace.

You can learn more about the configuration it generates here: https://lerna.js.org/docs/concepts/task-pipeline-configuration

Automatic loading of .env files in lerna run with the new task-runner implementation

By default the modern task runner powered by Nx will automatically load .env files for you. You can set --load-env-files to false if you want to disable this behavior for any reason.

For more details about what .env files will be loaded by default please see: https://nx.dev/recipes/environment-variables/define-environment-variables

Obsolete options in lerna run with the new task-runner implementation

There are certain legacy options for lerna run which are no longer applicable to the modern task-runner. Please see full details about those flags, and the reason behind their obselence, here:

https://lerna.js.org/docs/lerna6-obsolete-options

New lerna repair command

When configuration changes over time as new versions of a tool are published it can be tricky to keep up with the changes and sometimes it's possible to miss out on optimizations as a result.

When you run the new command lerna repair, lerna will execute a series of code migrations/codemods which update your workspace to the latest and greatest best practices for workspace configuration.

The actual codemods which run will be added to over time, but for now one you might see run on your workspace is that it will remove any explicit "useNx": true references from lerna.json files, because that is no longer necessary and it's cleaner not to have it.

We are really excited about this feature and how we can use it to help users keep their workspaces up to date.

v5.6.2

Compare Source

Bug Fixes
  • bootstrap: reject-cycles when using workspaces (#​3168) (8a47a6d)
  • core: fix "cannot read property 'version' of undefined" for pnpm + independent versioning (#​3358) (31e4c98)
  • core: replace "red" color with "brightBlue" on package's output prefix (#​2774) (d7c1b87)
  • create: remove unused globby dep (#​3360) (e873f0c)
  • npm-publish: Allows disabling of strict SSL checks (#​2952) (eec3207)
  • run: always set env LERNA_PACKAGE_NAME environment variable (#​3359) (012d31d)

v5.6.1

Compare Source

Bug Fixes
  • add-caching: ensure lerna.json is configured automatically (9677cda)

v5.6.0

Compare Source

Bug Fixes
  • run: only defer to Nx when targetDefaults are defined in nx.json (#​3349) (51f80d9)
Features

5.5.4 (2022-09-28)

Note: Version bump only for package lerna-monorepo

5.5.3 (2022-09-28)

Bug Fixes
  • run: fully defer to Nx for dep detection when nx.json exists (#​3345) (fef2ae6)

5.5.2 (2022-09-20)

Bug Fixes

5.5.1 (2022-09-09)

Bug Fixes
  • core: prevent validation error in version/publish with workspace: prefix (#​3322) (746ce33)
  • run: exclude dependencies with --scope when nx.json is not present (#​3316) (99a13a9)

v5.5.4

Compare Source

Note: Version bump only for package lerna-monorepo

v5.5.3

Compare Source

Bug Fixes
  • run: fully defer to Nx for dep detection when nx.json exists (#​3345) (fef2ae6)

v5.5.2

Compare Source

Bug Fixes

v5.5.1

Compare Source

Bug Fixes
  • core: prevent validation error in version/publish with workspace: prefix (#​3322) (746ce33)
  • run: exclude dependencies with --scope when nx.json is not present (#​3316) (99a13a9)

v5.5.0

Compare Source

Bug Fixes
Features

5.4.3 (2022-08-16)

Bug Fixes
  • version: ignore npm lifecycle scripts on package lock update (#​3295) (1ba2b8a)

5.4.2 (2022-08-14)

Bug Fixes
  • version: update package-lock at the root if it exists (#​3290) (7f62bab)

5.4.1 (2022-08-12)

Bug Fixes

v5.4.3

Compare Source

Bug Fixes
  • version: ignore npm lifecycle scripts on package lock update (#​3295) (1ba2b8a)

v5.4.2

Compare Source

Bug Fixes
  • version: update package-lock at the root if it exists (#​3290) (7f62bab)

v5.4.1

Compare Source

Bug Fixes

v5.4.0

Compare Source

Bug Fixes
Features

v5.3.0

Compare Source

Bug Fixes
  • run-lifecycle: lifecycle events should run to completion in series (#​3262) (2f51588)
  • version: inherit stdio for lerna version lifecycle scripts (#​3264) (9083a23)
Features
  • publish: include all dependencies in package graph by default, allow no-sort (#​3263) (3b0c79c)

v5.2.0

Compare Source

Bug Fixes
  • prompt: update inquirer to v8.2.4 (80c17d8)
Features

5.1.8 (2022-07-07)

Bug Fixes

5.1.7 (2022-07-06)

Bug Fixes
  • run: add double quotes around script target containing colon (#​3218) (ead461e)

5.1.6 (2022-06-24)

Bug Fixes
  • lerna run parallel should maximize concurrency with useNx (#​3205) (f80d03c)

5.1.5 (2022-06-24)

Bug Fixes
  • bootstrap: preserve indentation style in package-lock.json when running bootstrap (#​2955) (04cfa52)

5.1.4 (2022-06-15)

Bug Fixes
  • correctly detect if target dependencies are set (5845f6b)

5.1.3 (2022-06-15)

Bug Fixes

5.1.2 (2022-06-13)

Bug Fixes

5.1.1 (2022-06-09)

Bug Fixes
  • allow maintenance LTS node 14 engines starting at 14.15.0 (#​3161) (72305e4)

v5.1.8

Compare Source

Bug Fixes

v5.1.7

Compare Source

Bug Fixes
  • run: add double quotes around script target containing colon (#​3218) (ead461e)

v5.1.6

Compare Source

Bug Fixes
  • lerna run parallel should maximize concurrency with useNx (#​3205) (f80d03c)

v5.1.5

Compare Source

Bug Fixes
  • bootstrap: preserve indentation style in package-lock.json when running bootstrap (#​2955) (04cfa52)

v5.1.4

Compare Source

Bug Fixes
  • correctly detect if target dependencies are set (5845f6b)

v5.1.3

Compare Source

Bug Fixes

v5.1.1

Compare Source

Bug Fixes
  • allow maintenance LTS node 14 engines starting at 14.15.0 (#​3161) (72305e4)

v5.1.0

Compare Source

Bug Fixes
  • utils: orphaned child process on Windows (#​3156) (7e69e9e)
  • handle the edge cases in the lerna-nx integration (c6808fc)
Features
  • add experimental support to run tasks via Nx (1c35828)

v5.0.0

Compare Source

Lerna workspaces no longer have dependency deprecation warnings.

Bug Fixes
BREAKING CHANGES
  • Node v10.x and v12.x are no longer supported.

    • Please upgrade to the latest LTS release of Node (we recommend either v14 or v16).
  • Internally npm lifecycle scripts are now invoked using @npmcli/run-script instead of npm-lifecycle in order to modernize the package and fix package vulnerabilities and deprecations.

    • We are classing this as a breaking change because the APIs of npm-lifecycle and @npmcli/run-script are significantly different, despite @npmcli/run-script being the official successor to npm-lifecycle.

      We have successfully made the integration test suite we inherited pass with this change, but there may potentially be aspects related to it which are not covered by the tests and are breaking. If you encounter any issues you believe are related to this change please open a new issue with a dedicated reproduction for us to look into!

lerna/lerna (lerna)

v7.1.5

Compare Source

Note: Version bump only for package lerna

v7.1.4

Compare Source

Bug Fixes

v7.1.3

Compare Source

Bug Fixes
  • changelog entries for 7.1.2 (f61b087)

v7.1.2

Compare Source

v7.1.1

Compare Source

Bug Fixes
  • schema: add missing ref to changelogEntryAdditionalMarkdown (b41afab)

v7.1.0

Compare Source

Features
  • core: export detectProjects utility function (#​3740) (641fecb)
  • repair: add migration to remove unused "lerna" field from lerna.json (#​3734) (4fb0427)
  • version: add --changelog-entry-additional-markdown option (#​3751) (63671df)

7.0.2 (2023-06-15)

Note: Version bump only for package lerna

7.0.1 (2023-06-13)

Note: Version bump only for package lerna

v7.0.2

Compare Source

Note: Version bump only for package lerna

v7.0.1

Compare Source

Note: Version bump only for package lerna

v7.0.0

Compare Source

Bug Fixes
Features
  • add migration for adding $schema, increase some strictness (73ceac3)

v6.6.2

Compare Source

Bug Fixes
  • deps: bump pacote to latest to remove install warning (#​3624) (7c34521)
  • remove non-functional schema properties starting with "no" (#​3645) (43c2a48)

v6.6.1

Compare Source

Bug Fixes
  • build-metadata reference in lerna schema (e2349ad)
  • deps: update to rimraf v4, remove path-exists (#​3616) (2f2ee2a)
  • lerna schema type for contents should be string (1625757)

v6.6.0

Compare Source

Bug Fixes
  • update arborist package to get rid of deprecated warning (#​3559) (aff38a7)
Features

6.5.1 (2023-02-14)

Bug Fixes
  • add missing dependency on js-yaml (187f480)

v6.5.1

Compare Source

Bug Fixes
  • add missing dependency on js-yaml (187f480)

v6.5.0

Compare Source

Features
  • publish: add --include-private option for testing private packages (#​3503) (fa1f490)

6.4.1 (2023-01-12)

Bug Fixes

v6.4.1

Compare Source

Bug Fixes

v6.4.0

Compare Source

Features

v6.3.0

Compare Source

Features
  • version: use npmClientArgs in npm install after lerna version (#​3434) (e019e3f)

v6.2.0

Compare Source

Bug Fixes
  • schema: add the other format changelogPreset can assume (#​3441) (d286973)
Features

v6.1.0

Compare Source

Features
  • version: bump prerelease versions from conventional commits (#​3362) (2288b3a)

6.0.3 (2022-11-07)

Note: Version bump only for package lerna

6.0.2 (2022-11-02)

Note: Version bump only for package lerna

6.0.1 (2022-10-14)

Bug Fixes

v6.0.3

Compare Source

Note: Version bump only for package lerna

v6.0.2

Compare Source

Note: Version bump only for package lerna

v6.0.1

Compare Source

Bug Fixes

v6.0.0

Compare Source

Note: Version bump only for package lerna

v5.6.2

Compare Source

Note: Version bump only for package lerna

v5.6.1

Compare Source

Bug Fixes
  • add-caching: ensure lerna.json is configured automatically (9677cda)

v5.6.0

Compare Source

Features

5.5.4 (2022-09-28)

Note: Version bump only for package lerna

5.5.3 (2022-09-28)

Note: Version bump only for package lerna

5.5.2 (2022-09-20)

Note: Version bump only for package lerna

5.5.1 (2022-09-09)

Bug Fixes
  • run: exclude dependencies with --scope when nx.json is not present (#​3316) (99a13a9)

v5.5.4

Compare Source

Note: Version bump only for package lerna

v5.5.2

Compare Source

Note: Version bump only for package lerna

v5.5.1

Compare Source

Bug Fixes
  • run: exclude dependencies with --scope when nx.json is not present (#​3316) (99a13a9)

v5.5.0

Compare Source

Features
Reverts

5.4.3 (2022-08-16)

Note: Version bump only for package lerna

5.4.2 (2022-08-14)

Note: Version bump only for package lerna

5.4.1 (2022-08-12)

Note: Version bump only for package lerna

v5.4.3

Compare Source

Note: Version bump only for package lerna

v5.4.2

Compare Source

Note: Version bump only for package lerna

v5.4.1

Compare Source

Note: Version bump only for package lerna

v5.4.0

Compare Source

Bug Fixes

v5.3.0

Compare Source

Features
  • publish: include all dependencies in package graph by default, allow no-sort (#​3263) (3b0c79c)

v5.2.0

Compare Source

Features

5.1.8 (2022-07-07)

Note: Version bump only for package lerna

5.1.7 (2022-07-06)

Note: Version bump only for package lerna

5.1.6 (2022-06-24)

Note: Version bump only for package lerna

5.1.5 (2022-06-24)

Note: Version bump only for package lerna

5.1.4 (2022-06-15)

Note: Version bump only for package lerna

5.1.3 (2022-06-15)

Note: Version bump only for package lerna

5.1.2 (2022-06-13)

Bug Fixes

5.1.1 (2022-06-09)

Bug Fixes
  • allow maintenance LTS node 14 engines starting at 14.15.0 (#​3161) (72305e4)

v5.1.8

Compare Source

Note: Version bump only for package lerna

v5.1.7

Compare Source

Note: Version bump only for package lerna

v5.1.6

Compare Source

Note: Version bump only for package lerna

v5.1.5

Compare Source

Note: Version bump only for package lerna

v5.1.4

Compare Source

Note: Version bump only for package lerna

v5.1.3

Compare Source

Note: Version bump only for package lerna

v5.1.2

Compare Source

Bug Fixes

v5.1.1

Compare Source

Bug Fixes
  • allow maintenance LTS node 14 engines starting at 14.15.0 (#​3161) (72305e4)

v5.1.0

Compare Source

Note: Version bump only for package lerna

v5.0.0

Compare Source

Note: Version bump only for package lerna


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-lerna-monorepo branch from 291c7ae to 929c8aa Compare May 25, 2022 14:40
@renovate renovate bot force-pushed the renovate/major-lerna-monorepo branch 3 times, most recently from 1ae2c4f to 4c77a75 Compare June 13, 2022 13:39
@renovate renovate bot force-pushed the renovate/major-lerna-monorepo branch 2 times, most recently from fa5eff9 to b305375 Compare June 15, 2022 19:15
@renovate renovate bot force-pushed the renovate/major-lerna-monorepo branch 3 times, most recently from c017ada to 63d5bc0 Compare June 24, 2022 21:05
@renovate renovate bot force-pushed the renovate/major-lerna-monorepo branch from 63d5bc0 to f0357ab Compare September 25, 2022 23:02
@renovate renovate bot force-pushed the renovate/major-lerna-monorepo branch from f0357ab to 0735e96 Compare November 20, 2022 15:15
@renovate renovate bot changed the title Update lerna monorepo to v5 (major) Update lerna monorepo to v6 (major) Nov 20, 2022
@renovate renovate bot force-pushed the renovate/major-lerna-monorepo branch 3 times, most recently from a6112b2 to 2d26ecb Compare March 24, 2023 20:05
@renovate renovate bot force-pushed the renovate/major-lerna-monorepo branch from 2d26ecb to e96367f Compare May 28, 2023 10:25
@renovate renovate bot force-pushed the renovate/major-lerna-monorepo branch from e96367f to b397191 Compare June 8, 2023 14:25
@renovate renovate bot changed the title Update lerna monorepo to v6 (major) Update lerna monorepo (major) Jun 8, 2023
@renovate renovate bot force-pushed the renovate/major-lerna-monorepo branch 2 times, most recently from 9930f51 to b0844d9 Compare June 15, 2023 13:49
@renovate renovate bot force-pushed the renovate/major-lerna-monorepo branch 2 times, most recently from 2b8d67c to a7d9dd8 Compare June 28, 2023 14:04
@renovate renovate bot force-pushed the renovate/major-lerna-monorepo branch 2 times, most recently from 06259ca to e62c889 Compare July 15, 2023 12:16
@renovate renovate bot force-pushed the renovate/major-lerna-monorepo branch from e62c889 to 0f9f9df Compare August 9, 2023 21:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant