Skip to content

Maintenance: revert changes to dependencies & fix e2e tests #1614

Closed
@dreamorosi

Description

@dreamorosi

Summary

In #1611, #1612, and #1613 we removed some dependencies from the package-lock.json and package.json files in an effort to remove deprecated dependencies. While removing them, the team assumed they weren't being used in the project, however this was a mistake as at least one of the dependencies (http-proxy) is used by an internal module of CDK, which is used to run our integration/e2e tests.

After merging the PR I ran our test suite, which resulted in failures across the board: https://github.com/aws-powertools/powertools-lambda-typescript/actions/runs/5558549980/jobs/10153776837

While we continue looking for alternatives (#1314), we need to restore the dependencies.

Why is this needed?

So that we are able to continue running our integration tests while we look for an alternative to these dependencies.

Which area does this relate to?

Tests

Solution

Restore the content of the package.json & package-lock.json to the one found in this commit.

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)testsPRs that add or change tests

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions