@webiny/cli-core 6.5.3-beta.1 → 6.5.4-beta.0
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.
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { listWorkspaces } from "@webiny/stdlib/node";
|
|
2
2
|
class ListAllPackages {
|
|
3
3
|
list(paths) {
|
|
4
4
|
const results = [];
|
|
5
|
-
for (const p of paths)
|
|
5
|
+
for (const p of paths){
|
|
6
|
+
const workspaces = listWorkspaces({
|
|
7
|
+
cwd: p
|
|
8
|
+
});
|
|
9
|
+
for (const workspace of workspaces)results.push(workspace.path);
|
|
10
|
+
}
|
|
6
11
|
return results;
|
|
7
12
|
}
|
|
8
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"features/DepsSync/ListAllPackages.js","sources":["../../../src/features/DepsSync/ListAllPackages.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"features/DepsSync/ListAllPackages.js","sources":["../../../src/features/DepsSync/ListAllPackages.ts"],"sourcesContent":["import { listWorkspaces } from \"@webiny/stdlib/node\";\n\nexport class ListAllPackages {\n public list(paths: string[]): string[] {\n const results: string[] = [];\n for (const p of paths) {\n const workspaces = listWorkspaces({\n cwd: p\n });\n for (const workspace of workspaces) {\n results.push(workspace.path);\n }\n }\n return results;\n }\n}\n"],"names":["ListAllPackages","paths","results","p","workspaces","listWorkspaces","workspace"],"mappings":";AAEO,MAAMA;IACF,KAAKC,KAAe,EAAY;QACnC,MAAMC,UAAoB,EAAE;QAC5B,KAAK,MAAMC,KAAKF,MAAO;YACnB,MAAMG,aAAaC,eAAe;gBAC9B,KAAKF;YACT;YACA,KAAK,MAAMG,aAAaF,WACpBF,QAAQ,IAAI,CAACI,UAAU,IAAI;QAEnC;QACA,OAAOJ;IACX;AACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/cli-core",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.4-beta.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.js",
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@webiny/di": "1.1.0",
|
|
17
|
-
"@webiny/feature": "6.5.
|
|
18
|
-
"@webiny/project": "6.5.
|
|
19
|
-
"@webiny/pulumi-sdk": "6.5.
|
|
20
|
-
"@webiny/
|
|
17
|
+
"@webiny/feature": "6.5.4-beta.0",
|
|
18
|
+
"@webiny/project": "6.5.4-beta.0",
|
|
19
|
+
"@webiny/pulumi-sdk": "6.5.4-beta.0",
|
|
20
|
+
"@webiny/stdlib": "0.0.20",
|
|
21
|
+
"@webiny/telemetry": "6.5.4-beta.0",
|
|
21
22
|
"chalk": "6.0.1",
|
|
22
23
|
"ci-info": "4.5.0",
|
|
23
24
|
"execa": "5.1.1",
|
|
24
25
|
"fast-glob": "3.3.3",
|
|
25
26
|
"find-up": "8.0.0",
|
|
26
|
-
"get-yarn-workspaces": "1.0.2",
|
|
27
27
|
"humanize-duration": "3.35.1",
|
|
28
28
|
"inquirer": "14.3.1",
|
|
29
29
|
"load-json-file": "7.0.1",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/lodash": "4.17.27",
|
|
42
|
-
"@webiny/build-tools": "6.5.
|
|
42
|
+
"@webiny/build-tools": "6.5.4-beta.0",
|
|
43
43
|
"rimraf": "6.1.4",
|
|
44
44
|
"typescript": "7.0.2"
|
|
45
45
|
},
|