Maintenance: make layer-publisher
part of the main npm workspace
#1226
Labels
automation
This item relates to automation
completed
This item is complete and has been merged/shipped
internal
PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
Milestone
Summary
The
layer-publisher
folder contains the utilities and tests used to publish AWS Lambda Layers for Powertools. When this was developed, it was developed in isolation and with its own dependency tree. Now that the component is somewhat stable, and the dependencies of the main npm workspace has been recently updated, we can bring the folder in the npm workspace so that the dependencies are shared.Why is this needed?
Because if the two dependency trees are not aligned we risk incurring in the issue described in #1227 every time one of the two trees change. Both trees depend on
aws-cdk-lib
which has a weekly release cadence so, while the issue is now fixed, it's likely it'll happen again.Additionally, by having the
layer-publisher
in the main npm workspace we can decrease the project's footprint on development & CI hosts (because of sharing dependencies) and also simplify some of the workflow that are now disjointed.Which area does this relate to?
Automation, Other
Solution
No response
Acknowledgment
The text was updated successfully, but these errors were encountered: