Closed jan-stehlik closed 2 years ago
Add support for nohoist key for yarn workspaces in package.json. Following this blog, yarn workspaces can follow these formats:
nohoist
package.json
workspaces are defined as an array of strings (legacy)
"workspaces": [ "packages/*" ]
workspaces are defined in packages key
packages
"workspaces": { "packages": [ "packages/*" ] }
workspaces are defined in nohoist key
"workspaces": { "nohoist": [ "**/puppeteer", "**/puppeteer/**" ] }
workspaces are defined as a combination of packages and nohoist
"workspaces": { "packages": [ "packages/*" ], "nohoist": [ "**/puppeteer", "**/puppeteer/**" ] }
closing as there is additional work required to make nohoist work in SCM
Add support for
nohoist
key for yarn workspaces inpackage.json
. Following this blog, yarn workspaces can follow these formats:workspaces are defined as an array of strings (legacy)
workspaces are defined in
packages
keyworkspaces are defined in
nohoist
keyworkspaces are defined as a combination of
packages
andnohoist