Description
We currently expect that packages[].workspaces[] is array with paths to workspace dirs.
But npm also supports packages[].workspaces.packages object.
See https://github.com/npm/map-workspaces#usage
Example:
"node_modules/feelers": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/feelers/-/feelers-1.4.0.tgz",
"integrity": "sha512-CGa/7ILuqoqTaeYeoKsg/4tzu2es9sEEJTmSjdu0lousZBw4V9gcYhHYFNmbrSrKmbAVfOzj6/DsymGJWFIOeg==",
"license": "MIT",
"dependencies": {
...
},
"engines": {
"node": "*"
},
"workspaces": {
"packages": [
"feelers-playground"
]
}
Description
We currently expect that
packages[].workspaces[]is array with paths to workspace dirs.But npm also supports
packages[].workspaces.packagesobject.See https://github.com/npm/map-workspaces#usage
Example: