Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

refactor(packaging): use @salesforce/packaging lib instead of sfdx-cli - #1161

Merged
azlam-abdulsalam merged 5 commits into
developfrom
issue/1121
Dec 1, 2022
Merged

azlam-abdulsalam merged 5 commits into
developfrom
issue/1121

Conversation

@azlam-abdulsalam

@azlam-abdulsalam azlam-abdulsalam commented Nov 30, 2022 •

Copy link
Copy Markdown
Contributor

Use @salesforce/packaging lib which is stable and used behind the scenes in sfdx-cli. This would
aling to the earlier DR where sfpowerscripts will not wrap around cli anymore and use the native
libraries instead for more control

fix #1121

Checklist

All items have to be completed before a PR is merged

  • Adhere to Contribution Guidelines
  • Updates to Decision Records considered?
  • Updates to documentation at DX@Scale Guide considered?
  • Tested changes?
  • Unit Tests new and existing passing locally?

azlam-abdulsalam added 2 commits November 30, 2022 17:56
Use @salesforce/packaging lib which is stable and used behind the scenes in sfdx-cli. This would
aling to the earlier DR where sfpowerscripts will not wrap around cli anymore and use the native
libraries instead for more control

fix #1121
@azlam-abdulsalam azlam-abdulsalam changed the title issue/1121 refactor(packaging): use @salesforce/packaging lib instead of sfdx-cli Nov 30, 2022
@codecov-commenter

codecov-commenter commented Nov 30, 2022 •

Copy link
Copy Markdown

Codecov Report

Base: 52.07% // Head: 53.66% // Increases project coverage by +1.59% 🎉

Coverage data is based on head (73f7eb8) compared to base (bd13352).
Patch coverage: 15.38% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1161      +/-   ##
===========================================
+ Coverage    52.07%   53.66%   +1.59%     
===========================================
  Files           75       70       -5     
  Lines         3401     3175     -226     
  Branches       725      680      -45     
===========================================
- Hits          1771     1704      -67     
+ Misses        1630     1471     -159     
Impacted Files Coverage Δ
...ckage/packageCreators/CreateUnlockedPackageImpl.ts 12.80% <15.38%> (-0.41%) ⬇️
packages/core/src/command/SFDXCommand.ts 14.28% <0.00%> (-19.05%) ⬇️
packages/core/src/git/Git.ts
packages/core/src/git/GitIdentity.ts
...dependencies/ExternalPackage2DependencyResolver.ts

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@zhebinliu
zhebinliu self-requested a review December 1, 2022 00:24
@azlam-abdulsalam
azlam-abdulsalam merged commit 7e25ed2 into develop Dec 1, 2022
@azlam-abdulsalam
azlam-abdulsalam deleted the issue/1121 branch December 1, 2022 20:42
azlam-abdulsalam added a commit that referenced this pull request Dec 1, 2022
#1161)

* refactor(packaging): use @salesforce/packaging lib instead of sfdx-cli

Use @salesforce/packaging lib which is stable and used behind the scenes in sfdx-cli. This would
aling to the earlier DR where sfpowerscripts will not wrap around cli anymore and use the native
libraries instead for more control

fix #1121

* chore(install2): remove test class

* Update packages/core/src/package/packageInstallers/InstallUnlockedPackage.ts
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor package installation implementation to use packaging lib

3 participants