CLI 不能与工作空间以及没有 hoisting 的 yarn pnp 或 pnpm 兼容

作者: anomiex创建于 2024年6月13日更新于 2025年1月12日

With yarn:

  1. Create a temporary directory and cd into it.
  2. Create the following files:
package.json
json
{
  "private": true,
  "workspaces": [
    "a"
  ]
}
</details>

<details><summary>a/index.js</summary>

Contents don't matter, even an empty file is ok.