Lightning-Flow-Scanner / lightning-flow-scanner-sfdx

A Salesforce CLI Plugin designed to pinpoint deviations from Industry Best Practices in Salesforce Flows, ensuring standards of business automation excellence.
https://www.npmjs.com/package/lightning-flow-scanner
GNU Affero General Public License v3.0
112 stars 11 forks source link

chore: migrate from deprecated packages, add dependabot job #96

Closed k-capehart closed 2 months ago

k-capehart commented 2 months ago

Somehow I went down this rabbit hole of updating packages, and realized we had a number of deprecated dependencies.

Naturally, I then had to make some updates to the scan command to match the new dependencies. I ran into some issues with CommonJS, so migrated the projected to an ES Module. I'm not 100% confident in that decision, but it fixed the problem after some more configuring.

Lastly, I added a dependabot.yaml so we can get notified of dependency updates and maybe avoid problems like this in the future. I followed the documentation here: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates

junners commented 2 months ago

I've bumped all the dependencies here as well as added an alias -o for the -u flag since the wider sf cli uses -o for target org

junners commented 2 months ago

Always appreciate the support and contribution @k-capehart ❤️

junners commented 2 months ago

:tada: This PR is included in version 2.27.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: