vuejs / babel-plugin-transform-vue-jsx

babel plugin for vue 2.0 jsx
1.85k stars 132 forks source link

Migrate to Babel Scoped Packages #127

Open mattdesl opened 6 years ago

mattdesl commented 6 years ago

Babel made a pretty massive (and rather unfortunate) change in that it's moved everything to scoped packages. This module should probably migrate over to v7 (and fix #112), but also should upgrade its peer dependence on babel-plugin-syntax-jsx to the new scoped @babel/plugin-syntax-jsx. This would be a breaking change for this module.

nickmessing commented 6 years ago

@yyx990803, can I start working on this?

yyx990803 commented 6 years ago

@nickmessing actually, I've thought about collecting the following packages into a monorepo:

Also we can move them towards scoped packages as well, under @vue.

If you are interested to work on this I can create a new repo for you (vuejs/jsx)

nickmessing commented 6 years ago

@yyx990803, yes, I'd love to

shadowcodex commented 6 years ago

@yyx990803 I'll be helping @nickmessing with this as well. Will get a game plan setup tomorrow.

mattdesl commented 6 years ago

Hi @yyx990803 – it seems like everything is almost ready, but the npm is still stuck on @3.x versions. Or is it still WIP?

yyx990803 commented 6 years ago

@mattdesl 4.x is published and available via the next dist-tag

mattdesl commented 6 years ago

Great, thanks ! 😊

On Jun 11, 2018, at 4:30 PM, Evan You notifications@github.com wrote:

@mattdesl 4.x is published and available via the next dist-tag

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

daniele-orlando commented 5 years ago

I just moved to use JSX inside Vue and it is not clear what path to follow, why and which is best (now that Babel 7 is released and stable) and what are the differences between these two repos: vuejs/babel-plugin-transform-vue-jsx and vuejs/jsx.

I know vuejs/jsx is a mono-repo, but from the point of view of the user what is the difference between them: are them aligned to the same features?

@vue/babel-preset-jsx is broken at the moment.

I hope in a unification of the efforts in one unique, stable, clear and maintained direction, inline with overall Vue high quality standards.

Similar issue: #136