@travetto/cli 8.0.0-alpha.31 → 8.0.0-alpha.33
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 +14 -10
- package/package.json +15 -15
- package/src/scm.ts +1 -0
- package/src/trv.d.ts +5 -5
package/README.md
CHANGED
|
@@ -29,8 +29,10 @@ Commands:
|
|
|
29
29
|
email:editor Start the email template editor service for interactive preview and testing.
|
|
30
30
|
email:test Render and send a template file to a target recipient for quick validation.
|
|
31
31
|
firestore:indexes Generate the Firestore composite indexes JSON for all registered models.
|
|
32
|
-
lint
|
|
33
|
-
lint:
|
|
32
|
+
lint:check Run oxlint linter for the workspace or changed files.
|
|
33
|
+
lint:format Run oxfmt formatter for the workspace or changed files.
|
|
34
|
+
lint:register Generate the workspace oxlint, oxfmt, and cspell configuration entry files.
|
|
35
|
+
lint:spell Run cspell spell checker for the workspace or changed files.
|
|
34
36
|
llm:support:execute Execute llm-support operations with dry-run by default.
|
|
35
37
|
llm:support:inline Inline and compile reference snippets for llm-support packaging.
|
|
36
38
|
llm:support:mcp Minimal MCP stdio server for llm-support tools.
|
|
@@ -582,12 +584,12 @@ Options:
|
|
|
582
584
|
Available Services
|
|
583
585
|
--------------------
|
|
584
586
|
* dynamodb@3.3.0
|
|
585
|
-
* elasticsearch@9.2
|
|
587
|
+
* elasticsearch@9.5.2
|
|
586
588
|
* firestore@latest
|
|
587
589
|
* mongodb@8.3
|
|
588
|
-
* mysql@9.
|
|
589
|
-
* postgresql@18.
|
|
590
|
-
* redis@8.
|
|
590
|
+
* mysql@9.7
|
|
591
|
+
* postgresql@18.6
|
|
592
|
+
* redis@8.10
|
|
591
593
|
* s3@4.12.4
|
|
592
594
|
```
|
|
593
595
|
|
|
@@ -600,12 +602,12 @@ $ trv service status
|
|
|
600
602
|
Service Version Status
|
|
601
603
|
-------------------------------------------------
|
|
602
604
|
dynamodb 3.3.0 Running 93af422e793a
|
|
603
|
-
elasticsearch 9.2
|
|
605
|
+
elasticsearch 9.5.2 Running ed76ee063d13
|
|
604
606
|
firestore latest Running feec2e5e95b4
|
|
605
607
|
mongodb 8.3 Running 5513eba6734e
|
|
606
|
-
mysql 9.
|
|
607
|
-
postgresql 18.
|
|
608
|
-
redis
|
|
608
|
+
mysql 9.7 Running 307bc66d442a
|
|
609
|
+
postgresql 18.6 Running e78291e71040
|
|
610
|
+
redis 8.10 Running 77ba279b4e30
|
|
609
611
|
s3 4.12.4 Running fdacfc55b9e3
|
|
610
612
|
```
|
|
611
613
|
|
|
@@ -618,6 +620,8 @@ import type { ServiceDescriptor } from '@travetto/cli';
|
|
|
618
620
|
|
|
619
621
|
const version = process.env.MONGO_VERSION || '8.3';
|
|
620
622
|
|
|
623
|
+
/* cspell:words orbstack pthread rseq glibc TUNABLES */
|
|
624
|
+
|
|
621
625
|
export const service: ServiceDescriptor = {
|
|
622
626
|
name: 'mongodb',
|
|
623
627
|
version,
|
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/cli",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
4
|
-
"type": "module",
|
|
3
|
+
"version": "8.0.0-alpha.33",
|
|
5
4
|
"description": "CLI infrastructure for Travetto framework",
|
|
6
5
|
"keywords": [
|
|
7
6
|
"cli",
|
|
@@ -11,8 +10,15 @@
|
|
|
11
10
|
"homepage": "https://travetto.io",
|
|
12
11
|
"license": "MIT",
|
|
13
12
|
"author": {
|
|
14
|
-
"
|
|
15
|
-
"
|
|
13
|
+
"name": "Travetto Framework",
|
|
14
|
+
"email": "travetto.framework@gmail.com"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"url": "git+https://github.com/travetto/travetto.git",
|
|
18
|
+
"directory": "module/cli"
|
|
19
|
+
},
|
|
20
|
+
"bin": {
|
|
21
|
+
"trv": "bin/trv.js"
|
|
16
22
|
},
|
|
17
23
|
"files": [
|
|
18
24
|
"__index__.ts",
|
|
@@ -20,23 +26,17 @@
|
|
|
20
26
|
"src",
|
|
21
27
|
"support"
|
|
22
28
|
],
|
|
29
|
+
"type": "module",
|
|
23
30
|
"main": "__index__.ts",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
},
|
|
27
|
-
"repository": {
|
|
28
|
-
"url": "git+https://github.com/travetto/travetto.git",
|
|
29
|
-
"directory": "module/cli"
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
30
33
|
},
|
|
31
34
|
"dependencies": {
|
|
32
|
-
"@travetto/schema": "^8.0.0-alpha.
|
|
33
|
-
"@travetto/terminal": "^8.0.0-alpha.
|
|
35
|
+
"@travetto/schema": "^8.0.0-alpha.27",
|
|
36
|
+
"@travetto/terminal": "^8.0.0-alpha.24"
|
|
34
37
|
},
|
|
35
38
|
"travetto": {
|
|
36
39
|
"displayName": "Command Line Interface",
|
|
37
40
|
"workspaceInclude": true
|
|
38
|
-
},
|
|
39
|
-
"publishConfig": {
|
|
40
|
-
"access": "public"
|
|
41
41
|
}
|
|
42
42
|
}
|
package/src/scm.ts
CHANGED
|
@@ -38,6 +38,7 @@ export class CliScmUtil {
|
|
|
38
38
|
* @returns
|
|
39
39
|
*/
|
|
40
40
|
static async findLastRelease(): Promise<string | undefined> {
|
|
41
|
+
// cspell:words oneline
|
|
41
42
|
const result = await ExecUtil.getResult(spawn('git', ['log', '--pretty=oneline'], { cwd: Runtime.workspace.path }));
|
|
42
43
|
return result.stdout
|
|
43
44
|
.split(/\n/)
|
package/src/trv.d.ts
CHANGED
|
@@ -2,18 +2,18 @@ import '@travetto/runtime';
|
|
|
2
2
|
|
|
3
3
|
declare module '@travetto/runtime' {
|
|
4
4
|
interface EnvData {
|
|
5
|
-
/**
|
|
6
|
-
* Provides an IPC http url for the CLI to communicate with.
|
|
5
|
+
/**
|
|
6
|
+
* Provides an IPC http url for the CLI to communicate with.
|
|
7
7
|
* This facilitates cli-based invocation for external usage.
|
|
8
8
|
*/
|
|
9
9
|
TRV_CLI_IPC: string;
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
11
|
* Signals to the child they are the restart target
|
|
12
12
|
*/
|
|
13
13
|
TRV_RESTART_TARGET: boolean;
|
|
14
|
-
/**
|
|
14
|
+
/**
|
|
15
15
|
* Overrides behavior for triggering debug session via IPC
|
|
16
16
|
*/
|
|
17
17
|
TRV_DEBUG_IPC: boolean;
|
|
18
18
|
}
|
|
19
|
-
}
|
|
19
|
+
}
|