loopbackio / loopbackio/loopback-next

Spike: Switch from lerna to pnpm workspaces

Open
#5,671 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Internal Tooling spike
Dominant language
TypeScript
Stars
5.1k
Forks
1.1k
Avg merge
2d 21h
Merged PRs (30d)
27

Description

Our current lerna-based setup is very inefficient. Most of the pull requests in this repository are created by RenovateBot to update package-lock files, our git history is full of RenovateBot commits that make it difficult to spot relevant changes.

Let's investigate how to switch from lerna to pnpm and use a single root package-lock file for the entire monorepo.

References:

Topics to investigate:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the pnpm workspaces and Travis CI references in the issue, then examine the current Lerna, package-lock, RenovateBot, and release workflows. Done means documenting a viable migration plan, including release handling and dependency-update support, rather than making an implementation change.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
build-system, devops, release, tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.