@travetto/cli 3.1.0-rc.8 → 3.1.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.
package/README.md CHANGED
@@ -41,8 +41,6 @@ Commands:
41
41
  repo:list Allows for listing of modules
42
42
  repo:publish Publish all pending modules
43
43
  repo:version Version all changed dependencies
44
- repo:version copy Version all changed dependencies
45
- repo:version-one Version all changed dependencies
46
44
  repo:version-sync Enforces all packages to write out their versions and dependencies
47
45
  run:double Doubles a number
48
46
  run:rest Run a rest server as an application
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/cli",
3
- "version": "3.1.0-rc.8",
3
+ "version": "3.1.0",
4
4
  "description": "CLI infrastructure for Travetto framework",
5
5
  "keywords": [
6
6
  "cli",
@@ -24,8 +24,8 @@
24
24
  "directory": "module/cli"
25
25
  },
26
26
  "dependencies": {
27
- "@travetto/schema": "^3.1.0-rc.5",
28
- "@travetto/terminal": "^3.1.0-rc.1"
27
+ "@travetto/schema": "^3.1.0",
28
+ "@travetto/terminal": "^3.1.0"
29
29
  },
30
30
  "travetto": {
31
31
  "displayName": "Command Line Interface"
package/src/execute.ts CHANGED
@@ -7,7 +7,6 @@ import { ConsoleManager, defineGlobalEnv, ShutdownManager } from '@travetto/base
7
7
  import { HelpUtil } from './help';
8
8
  import { CliCommandShape, CliValidationResultError } from './types';
9
9
  import { CliCommandRegistry } from './registry';
10
- import { cliTpl } from './color';
11
10
  import { CliCommandSchemaUtil } from './schema';
12
11
 
13
12
  /**
@@ -116,7 +115,7 @@ export class ExecutionManager {
116
115
  console.error(await HelpUtil.renderValidationError(command, err));
117
116
  console.error!(await HelpUtil.renderHelp(command));
118
117
  } else {
119
- console.error!(cliTpl`${{ failure: err.message }}`);
118
+ console.error!(err);
120
119
  console.error!();
121
120
  }
122
121
  }
package/src/scm.ts CHANGED
@@ -47,7 +47,7 @@ export class CliScmUtil {
47
47
  */
48
48
  static async findChangedModulesSince(hash: string): Promise<IndexedModule[]> {
49
49
  const ws = RootIndex.manifest.workspacePath;
50
- const res = await ExecUtil.spawn('git', ['diff', '--name-only', `HEAD..${hash}`, ':!**/DOC.tsx', ':!**/DOC.html', ':!**/README.md'], { cwd: ws }).result;
50
+ const res = await ExecUtil.spawn('git', ['diff', '--name-only', `HEAD..${hash}`, ':!**/DOC.*', ':!**/README.*'], { cwd: ws }).result;
51
51
  const out = new Set<IndexedModule>();
52
52
  for (const line of res.stdout.split(/\n/g)) {
53
53
  const mod = RootIndex.getFromSource(path.resolve(ws, line));