prassoai/should-build
Determine which build targets need rebuilding after a code change. Runs on Linux and macOS. Windows is not supported.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| base | Base commit SHA (e.g. from nrwl/nx-set-shas). | yes | — |
| head | Head commit SHA. | yes | — |
| config | Path to config file, relative to repo root. | no | should-build.yaml |
| only | Comma-separated target names to evaluate (no whitespace). Empty evaluates all. | no | "" |
| repo | Repository root path. | no | . |
| verbose | Include per-file match rules in JSON and table output. | no | false |
Outputs
| name | description |
|---|---|
| targets | JSON array of target names that need rebuilding, e.g. '["api","web"]'. |
| any | "true" if any target needs rebuilding, "false" otherwise. |
| json | Full JSON output from should-build. |