pnpm/pnpm

When linking workspace packages, if a matching version cannot be found, and it cannot be found in registry, show available versions in workspace

クローズ

#1,379 opened on 2018/09/20

 (5 件のコメント) (2 件のリアクション) (0 人の担当者)TypeScript (1,063 件のフォーク)batch import
area: monorepoarea: reportinggood first issuesize: S

Repository metrics

Stars
 (30,787 個のスター)
PR merge metrics
 (平均マージ 2d 7h) (30d で 398 merged PRs)

説明

I ran into a case where I had a dependency on my package but the version was wrong.

It shows the error "Cannot find in registry", which can be super confusing to someone coming into the codebase.

  • If there is a package in the workspace that matches, but the version is different, it should show a warning about this.
  • There should be an option to fail if workspace package exists with non-matching version.

コントリビューターガイド