-
Notifications
You must be signed in to change notification settings - Fork 69
refactor(cli): re-organize api and utils #82
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
Conversation
|
|
||
| cli.preCompileTask.prependExec('./generate.sh'); | ||
| cli.preCompileTask.prependExec('ts-node scripts/user-input-gen.ts'); | ||
| cli.preCompileTask.prependExec('ts-node --prefer-ts-exts scripts/user-input-gen.ts'); |
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 was need to make the build more manageable. Otherwise the script would always use the js file and you would need to manually delete it.
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.
There were 2 separate test files in different directories for this. I have consolidated into a single file.
|
Overriding merge. |
This is in preparation of splitting out certain parts of the code into a separate library that can than be shared between
aws-cdk(the CLI) andtoolkit-lib(the Toolkit lib).No functional changes! Only moving files and updating imports.
Specifically prepares for:
ioHostinwork-graphioHostinstack-eventsutilsinto a the shared libraryBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license