Skip to content

chore: remove nodeunit from the repo and support for it in cdk-build#16596

Merged
mergify[bot] merged 8 commits intomasterfrom
nija-at/remove-nodeunit
Sep 22, 2021
Merged

chore: remove nodeunit from the repo and support for it in cdk-build#16596
mergify[bot] merged 8 commits intomasterfrom
nija-at/remove-nodeunit

Conversation

@nija-at
Copy link
Copy Markdown
Contributor

@nija-at nija-at commented Sep 22, 2021

Now that all modules are in jest, remove nodeunit and
@types/nodeunit everywhere.

Finally, remove remove support for nodeunit in cdk-build.
This means that the special "jest" flag is no longer required
in the "cdk-build" section of package.json.


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

@nija-at nija-at self-assigned this Sep 22, 2021
@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Sep 22, 2021

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Sep 22, 2021
@nija-at nija-at requested review from a team, kaizencc and rix0rrr September 22, 2021 09:49
@njlynch njlynch added the pr/do-not-merge This PR should not be merged at this time. label Sep 22, 2021
Copy link
Copy Markdown
Contributor

@njlynch njlynch left a comment

Choose a reason for hiding this comment

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

Two minor nitpicks; otherwise looks good!

"cdk-build": {
"jest": true
},
"cdk-build": {},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If we no longer have/need any config for "cdk-build", can we just remove this entirely? (Same throughout).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I believe that this change may have something to do with the build failure in aws-cdk-lib.

aws-cdk-lib: An error occurred:  TypeError: Cannot read property 'cloudformation' of undefined

if (pkgJson['cdk-build'].cloudformation) {

@nija-at nija-at removed the pr/do-not-merge This PR should not be merged at this time. label Sep 22, 2021
@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: dac10d4
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify mergify bot merged commit e0671a8 into master Sep 22, 2021
@mergify mergify bot deleted the nija-at/remove-nodeunit branch September 22, 2021 16:21
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Sep 22, 2021

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).

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

Labels

contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants