-
Notifications
You must be signed in to change notification settings - Fork 4k
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
feat(cli): skip bundling for operations where stack is not needed #9889
Merged
Merged
Changes from 24 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
2e6f65f
feat(cli): skip bundling for operations where stack is not needed
jogold 6140dab
move custom default and test it
jogold cb40202
add tests in core
jogold f51f73a
README
jogold 86c35c4
tests
jogold 41c480e
Merge branch 'master' into skip-bundling
jogold ac2cc2d
Merge branch 'master' into skip-bundling
jogold cebbdb1
revert change in tag-aspect
jogold cf2f0e7
correct default
jogold f29fe68
Merge branch 'skip-bundling' of github.com:jogold/aws-cdk into skip-b…
jogold b9d3809
Merge branch 'master' into skip-bundling
jogold dc923ef
Merge branch 'master' into skip-bundling
jogold 88efc5d
Merge branch 'master' into skip-bundling
jogold e00548b
Merge branch 'master' into skip-bundling
jogold 5e44f79
remove CLI option
jogold bd704f4
dummy hash in case of BUNDLE
jogold 9849358
revert changes in bin/cdk.ts
jogold 23c5b60
Merge branch 'master' into skip-bundling
jogold 8217cff
Merge branch 'master' into skip-bundling
jogold cb926b4
Merge branch 'master' into skip-bundling
jogold 266e40b
Merge branch 'master' into skip-bundling
jogold 6132e72
improve typing
jogold 749f02b
Merge branch 'skip-bundling' of github.com:jogold/aws-cdk into skip-b…
jogold 4e1457f
Merge branch 'master' into skip-bundling
jogold 44b401b
Merge branch 'master' into skip-bundling
mergify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This stringly-typed coupling to the
yargs
configuration in a completely different file is making me very nervous.Can we at least add these to the definition of
Arguments
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I type the first element of
_
,Then I'm not sure how I can make the TS compiler happy here?
aws-cdk/packages/aws-cdk/bin/cdk.ts
Line 139 in 0653e6b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, the typing of
_
might be tricky.But for example,
exclusively
can be added, and TSC knows the type ofargv
(that it has anexclusively: boolean | undefined
field).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also if you wanted to force it to accept your definition of
_
you could do something like this:(Which is a wacko type, btw. I didn't even know you could do that :) )