You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe what should be investigated or refactored
Currently our message library has the following shortcomings for library users:
it is relatively large and pulls in more than it should - it is also used in other utils and pkg code where it should use a logger interface instead (like the k8s package) - this would help library users keep their code small and light.
it prints more than it should impacting the UX of other CLIs / programs that use Zarf as a library.
Links to any relevant code
Additional context
This would help with other projects using Zarf like compiling Zarf as a library in WASM modules for Pepr
The text was updated successfully, but these errors were encountered:
## Description
This reduces the size of the dependencies in the transform lib by over
~45Mb.
## Related Issue
Fixes #
<!-- or -->
Relates to #1882
## Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Other (security config, docs update, etc)
## Checklist before merging
- [x] Test, docs, adr added or updated as needed
- [x] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
followed
---------
Signed-off-by: Case Wylie <[email protected]>
Co-authored-by: Wayne Starr <[email protected]>
Racer159
changed the title
Reduce message library size
Improve interaction with Zarf messaging for library users
Oct 26, 2023
Describe what should be investigated or refactored
Currently our message library has the following shortcomings for library users:
utils
andpkg
code where it should use a logger interface instead (like thek8s
package) - this would help library users keep their code small and light.Links to any relevant code
Additional context
This would help with other projects using Zarf like compiling Zarf as a library in WASM modules for Pepr
The text was updated successfully, but these errors were encountered: