@travetto/cli 5.0.4 → 5.0.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/README.md +1 -0
- package/package.json +3 -3
- package/src/module.ts +2 -2
package/README.md
CHANGED
|
@@ -44,6 +44,7 @@ Commands:
|
|
|
44
44
|
repo:version Version all changed dependencies
|
|
45
45
|
repo:version-sync Enforces all packages to write out their versions and dependencies
|
|
46
46
|
rest:client Run client rest operation
|
|
47
|
+
rest:rpc Run client rest operation
|
|
47
48
|
run:double Doubles a number
|
|
48
49
|
run:rest Run a rest server as an application
|
|
49
50
|
scaffold Command to run scaffolding
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/cli",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.5",
|
|
4
4
|
"description": "CLI infrastructure for Travetto framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"directory": "module/cli"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@travetto/schema": "^5.0.
|
|
32
|
-
"@travetto/terminal": "^5.0.
|
|
31
|
+
"@travetto/schema": "^5.0.5",
|
|
32
|
+
"@travetto/terminal": "^5.0.5"
|
|
33
33
|
},
|
|
34
34
|
"travetto": {
|
|
35
35
|
"displayName": "Command Line Interface",
|
package/src/module.ts
CHANGED
|
@@ -44,10 +44,10 @@ export class CliModuleUtil {
|
|
|
44
44
|
* @param transitive
|
|
45
45
|
* @returns
|
|
46
46
|
*/
|
|
47
|
-
static async findModules(mode: 'all' | 'changed', fromHash?: string, toHash?: string): Promise<IndexedModule[]> {
|
|
47
|
+
static async findModules(mode: 'all' | 'changed' | 'workspace', fromHash?: string, toHash?: string): Promise<IndexedModule[]> {
|
|
48
48
|
return (mode === 'changed' ?
|
|
49
49
|
await this.findChangedModulesRecursive(fromHash, toHash, true) :
|
|
50
|
-
[...RuntimeIndex.getModuleList(
|
|
50
|
+
[...RuntimeIndex.getModuleList(mode)].map(x => RuntimeIndex.getModule(x)!)
|
|
51
51
|
).filter(x => x.sourcePath !== Runtime.workspace.path);
|
|
52
52
|
}
|
|
53
53
|
|