jest icon indicating copy to clipboard operation
jest copied to clipboard

Yarn (1.22.17) throws warning "Workspaces can only be enabled in private projects" when installing `@swc/jest` (~0.2.21)

Open benjaminblack opened this issue 2 years ago • 2 comments

Steps to reproduce:

  1. mkdir test-swc && cd test-swc
  2. yarn init -y
  3. yarn add -D @swc/core @swc/jest

benjaminblack avatar May 29 '22 20:05 benjaminblack

Introduced here

jkbmat avatar May 30 '22 12:05 jkbmat

Yep, seeing the same. Hoping more comments will get some attention.

npearson72 avatar Oct 05 '22 18:10 npearson72

I've opened #153 which strips out the workspaces key/value on publishing, which I think gives the best of both worlds in terms that developing the library can utilize workspaces for the example, but consumers of the library won't be affected.

MasterOdin avatar Jul 19 '23 18:07 MasterOdin