zth/rescript-generated-js-diff
Generated a diff of the generated JS files for a PR of a ReScript project
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| project_dir | Directory of the ReScript project to scan (where `rescript.json` or `bsconfig.json` is located) | yes | — |
| target_branch | Branch to compare against | no | main |
| html_artifact_name | Name for the HTML diff artifact (no placeholders). If omitted, a default based on branches will be used. | no | "" |
| diff_style | Diff style for diff2html: side or line | no | side |
Outputs
| name | description |
|---|---|
| zip_path | Absolute path to the created zip file for the current branch |
| diff_html_path | Absolute path to the produced diff HTML (if previous artifact was found) |
| diff_patch_path | Absolute path to the produced unified diff patch (if previous artifact was found) |