For internal scripts, we largely follow the convention of:
.mjs JavaScript files for data transformation scripts for rules
.sh scripts for publishing related rules
- Anything else (such as NexusStagingCli.kt) as needed
But we should formalize this convention and our approach for writing the scripts in the format we agree on.
Additionally, the current/potential reliance of shell scripts does have an impact on these rules usage on non-unix systems and we should clearly denote that in the docs and also make an effort to fix that compatibility issue so our rules can be used on non-unix systems.
For internal scripts, we largely follow the convention of:
.mjsJavaScript files for data transformation scripts for rules.shscripts for publishing related rulesBut we should formalize this convention and our approach for writing the scripts in the format we agree on.
Additionally, the current/potential reliance of shell scripts does have an impact on these rules usage on non-unix systems and we should clearly denote that in the docs and also make an effort to fix that compatibility issue so our rules can be used on non-unix systems.