-
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
chore: enable project references in build #1466
Conversation
…ing jsii change Creating project references enables quick (and more correct) full-repo rebuilds, as well as allowing Visual Studio to do Find References across all packages in the repository.
packages/@aws-cdk/tsconfig.json
Outdated
"__comment__": "This file is necessary to make transitive Project References in TypeScript work", | ||
"files": [], | ||
"references": [ | ||
{ "path": "alexa-ask" }, |
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.
Can we generate this file upon install.sh
?
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.
Hmm, potentially. Better to do it in build.sh
I think then, otherwise adding a package will break the build until you run install.sh
which is going to be very unintuitive.
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.
Anything but manually requiring people to edit this
fwiw, the build is failing because the Maven release of jsii 0.7.13 hasn't completely propagated through the system yet. |
Nexus release:
and yet:
|
Creating project references enables quick (and more correct) full-repo
rebuilds.
This change brings in the new JSII version with aws/jsii#343
Pull Request Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.