Giter VIP home page Giter VIP logo

Comments (14)

aegyed91 avatar aegyed91 commented on May 23, 2024 4

https://github.com/babel/babylon/releases/tag/v6.8.0

from babel-plugin-angular2-annotations.

shuhei avatar shuhei commented on May 23, 2024 4

@tsm91 Thanks for letting me know! I'll enable the parameter decorators on this plugin!

from babel-plugin-angular2-annotations.

shuhei avatar shuhei commented on May 23, 2024 3

@jonricaurte @amcdnl I'm not sure when the release will be but at least I have to add new fields decorators to babel-types and the core team probably has to make sure that the extracted babylon repo works well with the other babel modules before the release. I've been busy these days but will try to make a PR to add the new fields to babel-types this weekend.

from babel-plugin-angular2-annotations.

shuhei avatar shuhei commented on May 23, 2024 2

Made a pull request for babel-types. I'm still not sure when the separate-repo babylon is going to be released though.

babel/babel#3470

from babel-plugin-angular2-annotations.

shuhei avatar shuhei commented on May 23, 2024 1

Here's a pull request for babylon to parse parameter decorators. When it's merged, I'll restore the deleted transformer.

babel/babylon#12

from babel-plugin-angular2-annotations.

shuhei avatar shuhei commented on May 23, 2024

Hi Hannah,

My pleasure to hear that!

It's a good idea to implement only parsing. The stage 0 proposal seems too vague even about syntax but we can assume that it's same as the class decorator's.

Shuhei

from babel-plugin-angular2-annotations.

shuhei avatar shuhei commented on May 23, 2024

Commented at babel's phabricator. Let's see how it goes.

from babel-plugin-angular2-annotations.

amcdnl avatar amcdnl commented on May 23, 2024

Looks like a thumbs up! Love to see what you come up with!

from babel-plugin-angular2-annotations.

amcdnl avatar amcdnl commented on May 23, 2024

Looks like we are good to go @shuhei !

from babel-plugin-angular2-annotations.

jonricaurte avatar jonricaurte commented on May 23, 2024

@shuhei Looks like your PR was merged into babylon, but they have not cut a new release. I'm guessing this is why you haven't reverted this change:

847b140

Hopefully they cut a release soon because right now we need this to use angular 1 services in angular 2:

https://angular.io/docs/ts/latest/guide/upgrade.html#!#making-angular-1-dependencies-injectable-to-angular-2

Awesome job on the plugin though! We were already using babel in angular 1 and this makes it easier to migrate to angular 2 since we just needed to modify our gulp build to add the angular 2 transformer plugins.

from babel-plugin-angular2-annotations.

amcdnl avatar amcdnl commented on May 23, 2024

@shuhei I echo @jonricaurte comments. Do you have any ideas when the bablyon release will be cut?

from babel-plugin-angular2-annotations.

jonricaurte avatar jonricaurte commented on May 23, 2024

Good news is that the angular team just pushed out beta 15 which supports 1.5 components. Seems like this is now the last thing needed in order for users to migrate from angular 1 to angular 2 using babel. @shuhei I know you said you were busy and sorry for asking again, but do you have some kind of time frame when you think you will get to this? Trying to see when we should go for it and start our migration to angular 2. Thanks!

from babel-plugin-angular2-annotations.

jonricaurte avatar jonricaurte commented on May 23, 2024

Thanks @shuhei ! Will keep an eye on that related issue.

from babel-plugin-angular2-annotations.

shuhei avatar shuhei commented on May 23, 2024

Thanks for waiting everyone! Now it's supported. 7221f85

from babel-plugin-angular2-annotations.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.