From 773d9c62003b36132183e20a5997f5db9ffab9fc Mon Sep 17 00:00:00 2001 From: Danny van Velzen Date: Mon, 16 Dec 2024 12:18:58 -0800 Subject: [PATCH 1/2] Add extra info to lage info for #815 --- packages/cli/src/commands/info/action.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/packages/cli/src/commands/info/action.ts b/packages/cli/src/commands/info/action.ts index 0775e707..20866b93 100644 --- a/packages/cli/src/commands/info/action.ts +++ b/packages/cli/src/commands/info/action.ts @@ -37,6 +37,10 @@ interface PackageTask { workingDirectory: string; package: string; task: string; + inputs?: string[]; + outputs?: string[]; + options?: Record; + weight?: number; } /** @@ -61,7 +65,10 @@ interface PackageTask { * "workingDirectory": "packages/foo", * "dependencies": [ * "bar##build" - * ] + * ], + * "weight": 3, + * "inputs": ["src//**/ /*.ts"], + * "inputs": ["lib//**/ /*.js", "lib//**/ /*.d.ts]" * }, * { * "id": "foo##test", @@ -153,6 +160,10 @@ function generatePackageTask( workingDirectory, package: target.packageName ?? "", task: target.task, + inputs: target.inputs, + outputs: target.outputs, + options: target.options, + weight: target.weight, }; return packageTask; From 26a44404ab2b534bbcab6f7844123bcd0d1d256d Mon Sep 17 00:00:00 2001 From: Danny van Velzen Date: Mon, 16 Dec 2024 12:29:45 -0800 Subject: [PATCH 2/2] Change files --- .../change-5bc46cd9-d053-4ee9-a42a-2ee5c5c0fd03.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 change/change-5bc46cd9-d053-4ee9-a42a-2ee5c5c0fd03.json diff --git a/change/change-5bc46cd9-d053-4ee9-a42a-2ee5c5c0fd03.json b/change/change-5bc46cd9-d053-4ee9-a42a-2ee5c5c0fd03.json new file mode 100644 index 00000000..8c53a7f1 --- /dev/null +++ b/change/change-5bc46cd9-d053-4ee9-a42a-2ee5c5c0fd03.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "type": "minor", + "comment": "Add extra info to lage info: inputs, outputs, weight and options for #815", + "packageName": "@lage-run/cli", + "email": "dannyvv@microsoft.com", + "dependentChangeType": "patch" + } + ] +} \ No newline at end of file