@travetto/repo 3.4.8 → 3.4.9

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/repo",
3
- "version": "3.4.8",
3
+ "version": "3.4.9",
4
4
  "description": "Monorepo utilities",
5
5
  "keywords": [
6
6
  "travetto",
@@ -22,7 +22,7 @@
22
22
  "directory": "module/repo"
23
23
  },
24
24
  "dependencies": {
25
- "@travetto/cli": "^3.4.8",
25
+ "@travetto/cli": "^3.4.9",
26
26
  "@travetto/worker": "^3.4.2"
27
27
  },
28
28
  "peerDependenciesMeta": {
@@ -1,7 +1,7 @@
1
- import { CliCommand, CliCommandShape, CliParseUtil } from '@travetto/cli';
1
+ import { CliCommand, CliCommandShape, ParsedState } from '@travetto/cli';
2
2
  import { WorkPool } from '@travetto/worker';
3
3
  import { ExecUtil, defineEnv } from '@travetto/base';
4
- import { Max, Min } from '@travetto/schema';
4
+ import { Ignore, Max, Min } from '@travetto/schema';
5
5
 
6
6
  import { RepoExecUtil } from './bin/exec';
7
7
 
@@ -11,6 +11,9 @@ import { RepoExecUtil } from './bin/exec';
11
11
  @CliCommand()
12
12
  export class RepoExecCommand implements CliCommandShape {
13
13
 
14
+ @Ignore()
15
+ _parsed: ParsedState;
16
+
14
17
  /** Only changed modules */
15
18
  changed = false;
16
19
 
@@ -29,7 +32,7 @@ export class RepoExecCommand implements CliCommandShape {
29
32
  }
30
33
 
31
34
  async main(cmd: string, args: string[] = []): Promise<void> {
32
- const finalArgs = [...args, ...CliParseUtil.getState(this)?.unknown ?? []];
35
+ const finalArgs = [...args, ...this._parsed.unknown];
33
36
 
34
37
  await RepoExecUtil.execOnModules(
35
38
  this.changed ? 'changed' : 'all',