Closed jrson83 closed 7 months ago
@jrson83 thanks, I got it. To fix this bug, Is it possible to detect there is a package.json file before we use glob?
@Geocld I think the fix is to remove the map function and instead use a parameter onlyDirectories
or something similar for the glob function.
So it will search for as example packages/*
.
@jrson83 okey, i will try fix it in next version! you can also fix it If you have more smart idea :)
@Geocld it is all totally broken at the moment and ruined my changelog and npm release.
Description
Before the recent changes we used read-yaml-file:
I fixed this changing:
Now the problem is that pnpm-workspace.yaml can have multiple entries, with and without globs
*
and with and without excludes!
.After reading the yml,
pnpmWorkspace
is:After the map function
folders
is:Now the glob function fails and throws: