Open paulbalomiri opened 8 years ago
@paulbalomiri thank you. I just applied your fix and it will be available in next version (0.9.58).
There is no public repo for this, but plan is to open kitchen-cli source code and it will be available here: https://github.com/perak/kitchen-cli
:+1:
I understand that you keep the cli closed source until polished, but would you consider putting in this repo the distributed source stuff from .meteor-kitchen
? I mean it's already distributed.
oh, and one other thing:
i saw that there are 2 object_utils.js
files:
./templates/blaze/code/object_utils.js
./templates/react/code/object_utils.js
@paulbalomiri /react/code/object_utils.js
is currently changed in latest (not published yet) version and is rewritten to ES6. Next version (0.9.58) of meteor kitchen will be capable of generating both "blaze" and "react".
All code from templates/react/
is written in ES6 and... I didn't have a time to play with it - can ES6 code be converted to coffee in the same manner?
I just converted /react/code/object_utils.js
on js2.coffee and aside from the fact that this transpilation error remains it compiles.
That being said i think it makes no sense to keep ES6 code backwards compatible just be be able to use js2coffee (which is not a big help anyways, as you usually don't edit generated code).
Right now, i have read this and looked at decaffeinate. So if i only could predict the future :smile:. At the moment it looks bad for ES6
->
cs
. Sad for me as a colon-braces-legasthenic.
Hum... "decoffeinate"... I'm decoffeinated too - now I need a coffee! :D
Because of the js2coffee issue #362 the copied code from
~/.meteor-kitchen
does not transpile to coffeescript. In particular i have to apply this patchafter the trans-compilationin the~/.meteor-kitchen
directory:I would have generated a PR, but i cannot find any public repo to fork from. Cheers & great package