Skip to content

Bump @babel/preset-typescript to 7.2.0 - #9181

Closed
kevinmarrec wants to merge 1 commit into
babel:masterfrom
kevinmarrec:bump-preset-typescript
Closed

kevinmarrec wants to merge 1 commit into
babel:masterfrom
kevinmarrec:bump-preset-typescript

Conversation

@kevinmarrec

@kevinmarrec kevinmarrec commented Dec 13, 2018 •

Copy link
Copy Markdown
Q                       A
Fixed Issues? No
Patch: Bug Fix? No
Major: Breaking Change? No
Minor: New Feature? No
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes? Yes
License MIT

Bumps the @babel/preset-typescript to 7.2.0
=> Upgraded @babel/plugin-transform-typescript dependency to ^7.2.0
=> Upgraded @babel/core devDependency to ^7.2.0

I'm not sure how to test this version bump locally, so I let the CI pipeline decide.
EDIT : Tests passed

I'm submitting this PR as the preset doesn't seem to be kept up to date. (Maybe there is a reason ?)

@babel-bot

Copy link
Copy Markdown
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/9610/

@existentialism

existentialism commented Dec 13, 2018 •

Copy link
Copy Markdown
Member

I'm submitting this PR as the preset doesn't seem to be kept up to date.

FWIW, our versioning is handled via lerna.

It is a little strange that @babel/plugin-transform-typescript didn't get bumped when we released 7.2, but the current setup doesn't prevent the latest from being installed due to semver?

> npm i @babel/preset-typescript
> npm ls @babel/plugin-transform-typescript
└─┬ @babel/[email protected]
  └── @babel/[email protected]

@kevinmarrec

kevinmarrec commented Dec 13, 2018 •

Copy link
Copy Markdown
Author

Alright, then what should we do ? Wait for 7.3.0 and see if everything is updated ?
It felt weird having everything in 7.2.0 but only this package in 7.1.0 within my app, so I created this PR.

@nicolo-ribaudo

nicolo-ribaudo commented Dec 13, 2018 •

Copy link
Copy Markdown
Member

We only publish packages which have changes: 7.2.0 contained a lot of new packages because of a PR which touched almost every plugin, but usually we only release 5-10 packages (e.g. 7.2.1 only contains three of them)

@kevinmarrec

kevinmarrec commented Dec 17, 2018 •

Copy link
Copy Markdown
Author

Well alright, I close my PR has anyway the changes are not really relevant, as there is a behavior used to automatically bump and release the packages.

nicolo-ribaudo pushed a commit that referenced this pull request Feb 15, 2019
…pescript@^7.3.2 (#9497) [skip ci]

Bumps to 7.3.2 the version of `@babel/plugin-transform-typescript` used by `@babel/preset-typescript`.

This allows us to use `@babel/preset-typescript` and pick up at least one useful bug fix (#9095).

A similar PR (#9181) was closed as it bumped to a version that didn't have changes. However reading the comments from that PR, I get the sense that bumping the version in this manner should not be necessary, and should be handled by Lerna. Is this correct?

Please let me know if I can make any improvements to this PR, the description or if there's anything else I can do to help.
@lock lock Bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 4, 2019
@lock lock Bot locked as resolved and limited conversation to collaborators Oct 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants