Skip to content

Commit

Permalink
Add extra info to lage info for microsoft#815
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvv committed Dec 16, 2024
1 parent 626b6b6 commit c5876f2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/cli/src/commands/info/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ interface PackageTask {
workingDirectory: string;
package: string;
task: string;
inputs?: string[];
outputs?: string[];
options?: Record<string, any>;
weight?: number;
}

/**
Expand All @@ -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",
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit c5876f2

Please sign in to comment.