Comments (14)
https://github.com/babel/babylon/releases/tag/v6.8.0
from babel-plugin-angular2-annotations.
@tsm91 Thanks for letting me know! I'll enable the parameter decorators on this plugin!
from babel-plugin-angular2-annotations.
@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.
Made a pull request for babel-types. I'm still not sure when the separate-repo babylon is going to be released though.
from babel-plugin-angular2-annotations.
Here's a pull request for babylon to parse parameter decorators. When it's merged, I'll restore the deleted transformer.
from babel-plugin-angular2-annotations.
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.
Commented at babel's phabricator. Let's see how it goes.
from babel-plugin-angular2-annotations.
Looks like a thumbs up! Love to see what you come up with!
from babel-plugin-angular2-annotations.
Looks like we are good to go @shuhei !
from babel-plugin-angular2-annotations.
@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:
Hopefully they cut a release soon because right now we need this to use angular 1 services in 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.
@shuhei I echo @jonricaurte comments. Do you have any ideas when the bablyon release will be cut?
from babel-plugin-angular2-annotations.
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.
Thanks @shuhei ! Will keep an eye on that related issue.
from babel-plugin-angular2-annotations.
Thanks for waiting everyone! Now it's supported. 7221f85
from babel-plugin-angular2-annotations.
Related Issues (19)
- Broken on babel 5.0.13 HOT 2
- Remove the temporary class properties transformer
- Token must be define. HOT 1
- using @Query HOT 2
- Drop support of parameter decorators HOT 2
- @ViewChild HOT 3
- Support metadata reflection of parameters and design:paramtypes HOT 1
- @Inject() Throwing Unexpected Token HOT 3
- Constructor setter support? HOT 3
- Not working on services HOT 3
- Upgrade angular dependencies HOT 1
- Eslint no-unused-vars error on parameter decorators
- using jspm, babel, angular2, constructor parameters HOT 2
- Type Annotations for Constructor Parameters don't Work HOT 1
- Babel 7 HOT 2
- webpack integration HOT 2
- Update to Babel 6.0 HOT 11
- Issue in Babel-Angular2-App HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from babel-plugin-angular2-annotations.