Skip to content

Conversation

@mildaniel
Copy link
Contributor

@mildaniel mildaniel commented Jun 2, 2022

Issue #, if available:
aws/aws-sam-cli#3707

Description of changes:

  • Remove node_modules before source-artifact comparison so that node_modules can be packaged in an auto-dependency layer.
  • Create a dependency manager class to reduce some of the code duplication

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@mndeveci mndeveci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good in general, left some comments regarding styling.

Copy link
Contributor

@qingchm qingchm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@qingchm
Copy link
Contributor

qingchm commented Jun 8, 2022

Side note: at the review session we confirmed that the app builder changes were run locally against CLI integration tests and passed. Discussed the necessity to add in an integration test on this, we will assign new task points to design an integration test.

@mildaniel mildaniel merged commit b317c5d into aws:develop Jun 8, 2022
@mildaniel mildaniel deleted the fix-sync-with-installed-deps branch June 8, 2022 18:51
calavera pushed a commit to calavera/aws-lambda-builders that referenced this pull request Jul 10, 2022
* fix: Allow sync to work with dependencies in source

* Use Path for assertions

* Add type annotations and make class members protected

* Test through public method only

* Compare paths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants