@mxpicture/build-api 0.2.30 → 0.2.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -45,7 +45,9 @@ export class UpdatePackages {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
async getPackages() {
|
|
48
|
-
const
|
|
48
|
+
const ws = workspace();
|
|
49
|
+
await ws.read();
|
|
50
|
+
const pkgs = [...ws.packages, ws.rootPackage];
|
|
49
51
|
const packageNames = new Set();
|
|
50
52
|
this.filterPackages(pkgs.map((p) => p.content), packageNames);
|
|
51
53
|
return packageNames;
|