jest icon indicating copy to clipboard operation
jest copied to clipboard

Installing the latest version of this package results in yarn warnings about workspaces

Open matshadow opened this issue 3 years ago • 1 comments

Hey team,

I have noticed a warning message stemming from your dependency in our codebase.

Before adding @swc/jest to our dependencies

yarn install v1.22.17
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
success Already up-to-date.

After including it

yarn install v1.22.17
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
[3/5] 🚚  Fetching packages...
[4/5] 🔗  Linking dependencies...
warning Workspaces can only be enabled in private projects.
[5/5] 🔨  Building fresh packages...
success Saved lockfile.

I can link similar issues in other places: https://github.com/reduxjs/react-redux/issues/1815 and https://github.com/webpack/webpack-cli/issues/479

matshadow avatar Jan 13 '22 14:01 matshadow

We're also seeing this issue.

The issue seems to have appeared in 0.2.21 and comes from adding workspaces to package.json in this commit: https://github.com/swc-project/jest/commit/9aba014efa761d1c7b545b0a9f00d7d834e35ba5

koggdal avatar May 12 '22 14:05 koggdal