yarn2nix: support new yarn workspace json
This commit is contained in:
parent
3c745c05fb
commit
e3a60c19f8
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ in rec {
|
|||
let
|
||||
package = lib.importJSON packageJSON;
|
||||
|
||||
packageGlobs = package.workspaces;
|
||||
packageGlobs = if lib.isList package.workspaces then package.workspaces else package.workspaces.packages;
|
||||
|
||||
globElemToRegex = lib.replaceStrings ["*"] [".*"];
|
||||
|
||||
|
|
Loading…
Reference in a new issue