Skip to content

Maintenance: make layer-publisher part of the main npm workspace #1226

Closed
@dreamorosi

Description

@dreamorosi

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

Metadata

Metadata

Assignees

Labels

automationThis item relates to automationcompletedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions