Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-upgrade to @salesforce/cli #108

Merged
merged 10 commits into from
Aug 18, 2023
Merged

Auto-upgrade to @salesforce/cli #108

merged 10 commits into from
Aug 18, 2023

Conversation

nvuillam
Copy link
Member

@nvuillam nvuillam commented Jul 22, 2023

Fixes #107

Fixes #109

BREAKING CHANGE: Only for some CI scripts, please read sfdx-hardis v4.0.0 release notes

  • Automatically uninstall sfdx-cli then install @salesforce/cli to follow Salesforce recommendations
  • Add @salesforce/plugin-packaging in default plugins
  • Fix false positive error when nvm has been used to install @salesforce/cli (thanks @anthonygiuliano :))
  • Upgrade npm dependencies
  • Upgrade MegaLinter

@github-actions
Copy link

github-actions bot commented Jul 22, 2023

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 2 0 0.02s
⚠️ BASH bash-exec 1 1 0.01s
✅ BASH shellcheck 1 0 0.01s
✅ BASH shfmt 1 0 0 0.04s
✅ COPYPASTE jscpd yes no 2.6s
✅ JAVASCRIPT eslint 1 1 0 2.25s
✅ JAVASCRIPT standard 1 0 0 2.07s
✅ JSON eslint-plugin-jsonc 5 0 0 1.15s
✅ JSON jsonlint 5 0 0.21s
✅ JSON npm-package-json-lint yes no 0.65s
✅ JSON prettier 5 0 0 0.5s
✅ JSON v8r 5 0 7.0s
⚠️ MARKDOWN markdownlint 2 0 2 1.61s
✅ MARKDOWN markdown-link-check 2 0 19.34s
✅ MARKDOWN markdown-table-formatter 2 0 0 0.33s
✅ REPOSITORY checkov yes no 21.71s
✅ REPOSITORY gitleaks yes no 0.53s
✅ REPOSITORY git_diff yes no 0.0s
⚠️ REPOSITORY grype yes 1 11.86s
✅ REPOSITORY secretlint yes no 1.17s
⚠️ REPOSITORY trivy yes 1 6.68s
✅ REPOSITORY trivy-sbom yes no 1.12s
✅ REPOSITORY trufflehog yes no 3.32s
✅ SPELL cspell 33 0 4.63s
✅ SPELL lychee 11 0 15.41s
✅ TYPESCRIPT eslint 16 0 0 3.98s
✅ TYPESCRIPT prettier 16 0 0 2.79s
✅ YAML prettier 4 0 0 0.52s
✅ YAML v8r 4 0 7.44s
✅ YAML yamllint 4 0 0.28s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@nvuillam nvuillam merged commit 5d7a7aa into main Aug 18, 2023
@nvuillam nvuillam deleted the upgrade-to-sf-cli branch August 18, 2023 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sfdx-cli v (missing) (WRONGLY INSTALLED) [email protected]: sfdx-cli is deprecated
1 participant