Skip to content

chore(cli): convert dynamic commands to static#18913

Merged
mergify[bot] merged 8 commits intomasterfrom
epolon/cli-dynamic-commands
Feb 10, 2022
Merged

chore(cli): convert dynamic commands to static#18913
mergify[bot] merged 8 commits intomasterfrom
epolon/cli-dynamic-commands

Conversation

@iliapolo
Copy link
Copy Markdown
Contributor

We had a few commands defined dynamically through yargs commandsDir option. This dynamic loading prevents bundling tools from detecting these imports and thus fails to run on a bundled package.

Explicitly define those commands just like all our other commands.


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

@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Feb 10, 2022

@github-actions github-actions bot added the package/tools Related to AWS CDK Tools or CLI label Feb 10, 2022
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Feb 10, 2022
@iliapolo iliapolo marked this pull request as ready for review February 10, 2022 11:11
@iliapolo iliapolo marked this pull request as draft February 10, 2022 11:11
@iliapolo iliapolo requested a review from rix0rrr February 10, 2022 11:12
@iliapolo iliapolo marked this pull request as ready for review February 10, 2022 16:41
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 10, 2022

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
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: cf0a25f
  • 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 0feb05a into master Feb 10, 2022
@mergify mergify bot deleted the epolon/cli-dynamic-commands branch February 10, 2022 18:22
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 10, 2022

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

moelasmar pushed a commit to moelasmar/aws-cdk that referenced this pull request Feb 15, 2022
We had a few commands defined dynamically through `yargs` [commandsDir](https://www.tabnine.com/code/javascript/functions/yargs/Argv/commandDir) option. This dynamic loading prevents bundling tools from detecting these imports and thus fails to run on a bundled package.

Explicitly define those commands just like all our other commands.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
We had a few commands defined dynamically through `yargs` [commandsDir](https://www.tabnine.com/code/javascript/functions/yargs/Argv/commandDir) option. This dynamic loading prevents bundling tools from detecting these imports and thus fails to run on a bundled package.

Explicitly define those commands just like all our other commands.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
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. package/tools Related to AWS CDK Tools or CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants