rockcarver / frodo-cli

A CLI to manage ForgeRock platform deployments supporting Identity Cloud tenants, ForgeOps deployments, and classic deployments.
MIT License
17 stars 14 forks source link

Update build process to output single file so we can include ESM dependencies from the library side (like latest Axios versions) #368

Closed vscheuber closed 2 weeks ago

vscheuber commented 5 months ago

Our current build process does not bundle dependent libraries but installs them This leads to breakage in our binary releases if any of the dependencies are ESM (vs CJS) modules. I we change our transpilation step to bundle the dependencies, we should be able to compile everything to CJS and and update all dependencies to their latest versions. Primary reason for this is that our version of axios is flagged with security issues.