Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lambda-nodejs): incorrect working directory for local bundling #9870

Merged
merged 3 commits into from
Aug 26, 2020

Conversation

jogold
Copy link
Contributor

@jogold jogold commented Aug 20, 2020

Execute local bundling from the directory containing the entry file.

Without this change, in a monorepo with multiple package.json files
or when consuming a module exposing a construct, Parcel doesn't look for
the right package.json.

Also fix a regression introduced in #9632 for the working directory in
the container.


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

Execute local bundling from the directory containing the entry file.

Without this change, in a monorepo with multiple `package.json` files
Parcel doesn't look for the right one.

Also fix a regression introduced in aws#9632 for the working directory in
the container.
@jogold
Copy link
Contributor Author

jogold commented Aug 21, 2020

@eladb this fix is important.

eladb
eladb previously approved these changes Aug 26, 2020
@mergify mergify bot dismissed eladb’s stale review August 26, 2020 14:01

Pull request has been modified.

@mergify
Copy link
Contributor

mergify bot commented Aug 26, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 04cbc6c
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Aug 26, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit a4185a0 into aws:master Aug 26, 2020
@jogold jogold deleted the lambda-nodejs-local-cwd branch August 26, 2020 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants