zetavg/Yarn Workspaces List
Outputs a list of Yarn Workspace which matches a certain condition.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| condition | The condition to match against the workspaces in shell script. Example: `[ -f "$workspace_path/package.json" ] && jq -e ".scripts.test" "$workspace_path/package.json"` | yes | true |
| workspace-root | The root directory of the Yarn Workspace. Default: `.` | no | . |
Outputs
| name | description |
|---|---|
| workspace-paths | A list of matched yarn workspace paths |
| workspace-names | A list of matched yarn workspace names |
| workspace-lines | A list of matched yarn workspace JSON lines |