swc-project / jest

Super-fast alternative for babel-jest or ts-jest without type checking. Please use main repository for issues
758 stars 37 forks source link

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

Closed benjaminblack closed 1 year ago

benjaminblack commented 2 years ago

Steps to reproduce:

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

Introduced here

npearson72 commented 2 years ago

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

MasterOdin commented 1 year ago

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.