damoebius / haxe-npm

The Cross-Platform Toolkit
19 stars 4 forks source link

Simplify this package #5

Closed clemos closed 8 years ago

clemos commented 9 years ago

Hi, I'd very much like to use / promote your npm (through https://github.com/clemos/haxe-js-kit and https://github.com/clemos/generator-haxe-webapp), and possibly contribute and help you maintain it. But I feel it should be simplified; mainly, I think it shouldn't include third parties, only the compiler. Also, what's the plan in terms of releases ? Can you follow haxe releases "automatically" ?

damoebius commented 9 years ago

Agree, we will talk about the roadmap at wwx2015

clemos commented 9 years ago

Hey David, I was working back on the topic. As discussed, I still think the externs should be removed from this NPM package. What do you think ? If you want, I can make a PR to remove them, but you probably want to put them somewhere else ;) Cheers

damoebius commented 9 years ago

There is about 100 haxe packages on npm now, so we can clean this one. I give you push access to this repo

lexoyo commented 9 years ago

Hi Same interest here, this is great to have haxe on npm with versions following the compiler versions.

How can I help, maybe remove the lib folder to get started?

Should the template/ folder stay?

What is std/ for?

damoebius commented 9 years ago

Hi Alex, you have an access too. You can remove the /lib and /template directory but if you do that, don't forget to remove -use and -create support in haxe-cli.js

/std is for the haxe std lib

lexoyo commented 9 years ago

With @clemos we are talking about this

And we talked about how we could avoid to require neko (if it is a good idea, this is to discuss further), maybe by compiling neko on postinstall, or even compile haxelib in C

damoebius commented 9 years ago

Downloading binaries sounds good :-) But i'm not sure for haxelib... We can work on a clean release and look for haxelib after that

clemos commented 9 years ago

FYI I started something from scratch, to try and make the package as simple as possible: https://github.com/clemos/npm-haxe It's still very rough (untested on Mac or Windows), but feel free to give it a try and provide feedback ;)

fullofcaffeine commented 8 years ago

I never really got the point of this project (don't want to sound harsh, not the intention, so bear with me!) -- What does this project have that haxe-js-kit doesn't? What are the use cases?

damoebius commented 8 years ago

Have a look on this : https://prezi.com/m/gwjzktjor3zf/npm-haxe-at-the-heart-of-javascript-ecosystem/ Our goal is to use haxe from npm as typescript, cofeescript, etc...

damoebius commented 8 years ago

And this https://m.youtube.com/watch?v=YgbxqFx9qak

dmouton commented 8 years ago

Hi @clemos , can you test this new release ? I update this project with a part of your work.

clemos commented 8 years ago

Hi @damoebius I reviewed your commit, your changes seem to go in the right direction (IMHO) ;) I'll test it on a real world project next year :D

damoebius commented 8 years ago

@clemos Is it working ?

clemos commented 8 years ago

Sorry, I haven't had the chance to test it yet. Also, I need sandboxed haxelib, and I don't think your package supports it, does it ?

damoebius commented 8 years ago

There's no haxelib support, only npm libs

damoebius commented 8 years ago

I published it on npm