Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit c646389

Browse files
committed
fix(command): Add extends options to run multi commands
1 parent a00d124 commit c646389

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

src/commands/base.command.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,18 @@ export class BaseCommand extends Base {
1616
if (!this.options.lib && !this.options.app) {
1717
this.log('process').info('Detect: target=apps (' + this.project.appsConfigs.map((item: any) => item.name).join(', ') + ')');
1818
this.log('process').info('Detect: target=libs (' + this.project.libsConfigs.map((item: any) => item.name).join(', ') + ')');
19-
await this.processApps({ folders: this.project.appsPaths, rootFolder: this.rootFolder });
20-
await this.processLibs({ folders: this.project.libsPaths, rootFolder: this.rootFolder });
19+
await this.processApps({
20+
folders: this.project.appsPaths,
21+
rootFolder: this.rootFolder,
22+
packages: this.project.appsConfigs,
23+
project: this.project
24+
});
25+
await this.processLibs({
26+
folders: this.project.libsPaths,
27+
rootFolder: this.rootFolder,
28+
packages: this.project.libsConfigs,
29+
project: this.project
30+
});
2131
}
2232
if (this.options.lib) {
2333
if (this.options.lib === true) {

0 commit comments

Comments
 (0)