@travetto/cli 4.0.0-rc.3 → 4.0.0-rc.5

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/cli",
3
- "version": "4.0.0-rc.3",
3
+ "version": "4.0.0-rc.5",
4
4
  "description": "CLI infrastructure for Travetto framework",
5
5
  "keywords": [
6
6
  "cli",
@@ -29,11 +29,12 @@
29
29
  "directory": "module/cli"
30
30
  },
31
31
  "dependencies": {
32
- "@travetto/schema": "^4.0.0-rc.3",
33
- "@travetto/terminal": "^4.0.0-rc.3"
32
+ "@travetto/schema": "^4.0.0-rc.5",
33
+ "@travetto/terminal": "^4.0.0-rc.5"
34
34
  },
35
35
  "travetto": {
36
- "displayName": "Command Line Interface"
36
+ "displayName": "Command Line Interface",
37
+ "workspaceInclude": true
37
38
  },
38
39
  "publishConfig": {
39
40
  "access": "public"
package/src/error.ts CHANGED
@@ -5,7 +5,7 @@ import { CliValidationError } from './types';
5
5
  const COMMAND_PACKAGE = [
6
6
  [/^test(:watch)?$/, 'test', false],
7
7
  [/^service$/, 'command', true],
8
- [/^lint(:register)?$/, 'lint', true],
8
+ [/^lint(:register)?$/, 'eslint', true],
9
9
  [/^model:(install|export)$/, 'model', true],
10
10
  [/^openapi:(spec|client)$/, 'openapi', true],
11
11
  [/^email:(compile|editor)$/, 'email-compiler', false],
package/src/execute.ts CHANGED
@@ -85,6 +85,7 @@ export class ExecutionManager {
85
85
  await CliUtil.listenForResponse(result);
86
86
  }
87
87
  } catch (err) {
88
+ process.exitCode ??= 1;
88
89
  console.error!(err);
89
90
  console.error!();
90
91
  } finally {
@@ -1,2 +1,3 @@
1
+ // @trv-no-transform
1
2
  import { ExecutionManager } from '@travetto/cli';
2
3
  ExecutionManager.run(process.argv);