Skip to content
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

Fix build break caused by @types/bluebird #258

Merged
merged 3 commits into from
Jul 3, 2017
Merged

Conversation

octogonz
Copy link
Collaborator

@octogonz octogonz commented Jul 1, 2017

Someone recently published a new @types/bluebird that relies on TypeScript 2.3 syntax, which breaks our projects. We don't use @types/bluebird (and in fact recommend against using it), however it's an indirect dependency of the @types/karma package. Since it's an unconstrained dependency, the only way to lock its version it to add an explicit dependency on @types/bluebird.

I opened DefinitelyTyped issue #360 to discuss this policy on their end. In the meantime, this PR will unblock rush generate for web-build-tools.

@@ -38,6 +38,7 @@
"devDependencies": {
"@microsoft/node-library-build": "~3.0.1",
"@types/gulp": "3.8.32",
"@types/karma": "0.13.33"
"@types/karma": "0.13.33",
"@types/bluebird": "3.5.3"
Copy link
Member

Choose a reason for hiding this comment

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

Should this be a pinnedVersion in rush.json instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No. That approach would break anybody who tries to use gulp-core-build-karma without re-solving this problem themselves.

@iclanton
Copy link
Member

iclanton commented Jul 3, 2017

Approved

Approved with PullApprove

@octogonz octogonz merged commit cf46e2f into master Jul 3, 2017
@octogonz octogonz deleted the pgonzal/fix-bluebird branch July 3, 2017 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants