@travetto/cli 5.0.18 → 5.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
@@ -501,7 +501,7 @@ export class RunRestCommand implements CliCommandShape {
501
501
  }
502
502
  ```
503
503
 
504
- As noted in the example above, `fields` is specified in this execution, with support for `module`, and `env`. These env flag is directly tied to the [Runtime](https://github.com/travetto/travetto/tree/main/module/runtime/src/env.ts#L111) `name` defined in the [Runtime](https://github.com/travetto/travetto/tree/main/module/runtime#readme "Runtime for travetto applications.") module.
504
+ As noted in the example above, `fields` is specified in this execution, with support for `module`, and `env`. These env flag is directly tied to the [Runtime](https://github.com/travetto/travetto/tree/main/module/runtime/src/env.ts#L114) `name` defined in the [Runtime](https://github.com/travetto/travetto/tree/main/module/runtime#readme "Runtime for travetto applications.") module.
505
505
 
506
506
  The `module` field is slightly more complex, but is geared towards supporting commands within a monorepo context. This flag ensures that a module is specified if running from the root of the monorepo, and that the module provided is real, and can run the desired command. When running from an explicit module folder in the monorepo, the module flag is ignored.
507
507
 
@@ -552,7 +552,7 @@ Available Services
552
552
  * elasticsearch@8.17.0
553
553
  * firestore@latest
554
554
  * mongodb@8.0
555
- * mysql@8.0
555
+ * mysql@9.1
556
556
  * postgresql@17.2
557
557
  * redis@7.4
558
558
  * s3@3.12.0
@@ -570,7 +570,7 @@ dynamodb 2.5.3 Running 93af422e793a
570
570
  elasticsearch 8.17.0 Running ed76ee063d13
571
571
  firestore latest Running feec2e5e95b4
572
572
  mongodb 8.0 Running 5513eba6734e
573
- mysql 8.0 Running 307bc66d442a
573
+ mysql 9.1 Running 307bc66d442a
574
574
  postgresql 17.2 Running e78291e71040
575
575
  redis 7.4 Running 77ba279b4e30
576
576
  s3 3.12.0 Running fdacfc55b9e3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/cli",
3
- "version": "5.0.18",
3
+ "version": "5.1.0",
4
4
  "description": "CLI infrastructure for Travetto framework",
5
5
  "keywords": [
6
6
  "cli",
@@ -24,12 +24,12 @@
24
24
  "trv": "bin/trv.js"
25
25
  },
26
26
  "repository": {
27
- "url": "https://github.com/travetto/travetto.git",
27
+ "url": "git+https://github.com/travetto/travetto.git",
28
28
  "directory": "module/cli"
29
29
  },
30
30
  "dependencies": {
31
- "@travetto/schema": "^5.0.15",
32
- "@travetto/terminal": "^5.0.17"
31
+ "@travetto/schema": "^5.1.0",
32
+ "@travetto/terminal": "^5.1.0"
33
33
  },
34
34
  "travetto": {
35
35
  "displayName": "Command Line Interface",
package/src/service.ts CHANGED
@@ -36,7 +36,8 @@ export type ServiceAction = 'start' | 'stop' | 'status' | 'restart';
36
36
  */
37
37
  export class ServiceRunner {
38
38
 
39
- constructor(public svc: ServiceDescriptor) { }
39
+ svc: ServiceDescriptor;
40
+ constructor(svc: ServiceDescriptor) { this.svc = svc; }
40
41
 
41
42
  async #isRunning(full = false): Promise<boolean> {
42
43
  const port = ports(this.svc.port!)[0];
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2020 ArcSine Technologies
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.