You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
the update of globby to version v11 #112 has broken the compatibility with windows.
The reason for that is a change of globby's transitive dependency fast-glob which requires a convertion of the Windows-style path to a Unix-style path.
I just tried a quick and dirty fix on my machine and everything worked as expected if I replace all backslashes at the resolved path with the following regex.
Hi,
the update of
globby
to version v11 #112 has broken the compatibility with windows.The reason for that is a change of
globby
's transitive dependencyfast-glob
which requires a convertion of the Windows-style path to a Unix-style path.Quote:
Recommendation
fast-glob
:https://github.com/mrmlnc/fast-glob#how-to-write-patterns-on-windows
I just tried a quick and dirty fix on my machine and everything worked as expected if I replace all backslashes at the resolved path with the following regex.
defaultPackagesGlobs.map(glob => resolve(projectDir, glob, "package.json").replace(/\\/g, '/')),
Line: index.js#L89
The text was updated successfully, but these errors were encountered: