-
Notifications
You must be signed in to change notification settings - Fork 12
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
Pin @types/bluebird to the last version that worked with TS v3 #52
Conversation
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.
🙏
package.json
Outdated
@@ -41,7 +41,7 @@ | |||
"sudo-prompt": "^8.2.3", | |||
"susie": "^3.0.0", | |||
"ts-node": "^8.10.1", | |||
"typescript": "^3.8.3", | |||
"typescript": "^3.9.10", |
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.
would it make sense to use ~
for typescript
given we're pinning it as well and it doesn't follow semver strictly?
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.
yep i think so 👍
575c9fb
to
d7aa290
Compare
🎉 This PR is included in version 3.1.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
The fix from #52 didn't work because I think they configured their `typesVersions` wrong in v3.5.36.
## [3.1.5](v3.1.4...v3.1.5) (2023-02-17) ### Bug Fixes * Downgrade @types/bluebird to v3.5.34 ([899f03b](899f03b)), closes [#52](#52)
Scope
Intervene currently supports
3.5.x
versions of@types/bluebird
. The latest3.5.x
versions drop support for TS v3 in favor of TS v4: https://www.npmjs.com/package/@types/bluebird?activeTab=versionsSince Intervene uses TS v3, we need to pin the version of
@types/bluebird
to one that is compatible. Otherwise you will see a lot of TS errors when running a fresh install of Intervene.Pinning is a band-aid fix; obviously in the long term we should upgrade Intervene to TS v4.
How to test
@types/bluebird
to3.5.38
(without^
) in package.json.make build
. It should fail with lots of TS errors.make build
again. It should succeed with no errors.