Open clemos opened 8 years ago
Also, I highly doubt most of the npm packages published via haxelib.js will work.
For instance : https://www.npmjs.com/package/haxe-react
has its source set to src/lib
:
https://github.com/massiveinteractive/haxe-react/blob/master/haxelib.json
Have you tested it ?
IMO, it's better to let Haxe handle the libs as it does in @clemos package. Haxe would be just a sandbox in the node_modules. This way, it doesn't break the user system and let Haxe magic untouched.
For instance : https://www.npmjs.com/package/haxe-react has its source set to src/lib : https://github.com/massiveinteractive/haxe-react/blob/master/haxelib.json
tried it, it does not work with my setup not sure why
There is many good things in your module and as i said i have no problems to use yours. I'll go to the next wwx, can we talk about it there ?
I'd really like to solve this quickly, so I guess wwx would be too late...
But actually your module doesn't work on my ubuntu. Maybe you should fix it first ?
@lexoyo you have to use -lib with the path to the source folder like "-lib haxereact/src"
Please file an issue on my repo
I'll :-) Why wwx is too late ?
I think we've waited long enough, and the situation is pretty urgent, now. IMO, the Haxe presence on NPM currently hurts its own credibility.
Regarding the bugs you seem to encounter using my package: It's been 2 times you've raised bugs without even starting to report them. Not to mention your first tweet was obviously more an attempt to publicly discredit my work than constructive criticism. I'm ok with you including parts of my work into yours, as I'm all for OSS, but please try to be helpful and to show some respect.
I would love to see joint effort on that matter!
I think we've waited long enough, and the situation is pretty urgent, now. IMO, the Haxe presence on NPM currently hurts its own credibility.
Waited for what ? We have been using haxe on npm in production for 2 years This is your opinion, l never heard something like that before. As a collaborator, why are you reporting it just now ?
Regarding the bugs you seem to encounter using my package: It's been 2 times you've raised bugs without even starting to report them. Not to mention your first tweet was obviously more an attempt to publicly discredit my work than constructive criticism.
Are you kidding me ? I hope so because this is very hurtful. I always wanted to work with you, i offered to, i gave you all access to this repo, i asked you to test some work https://github.com/damoebius/haxe-npm/issues/5 but you never did it, you never commited anything.
I told you that i don't care about my work and i want the best for people even if i should give up my module for yours.
Are you really asking for some respect ???
I have been raising criticism about this package for 1 year, as documented in issue #5. At first, it was only about removing unneeded/out-of-scope features (externs and bootstrap) from the package. As stated in the issue, despite having access to your repo, I wouldn't take the responsability to remove features that you or your users might be using.
In september, I really needed a package with haxelib and custom haxe version. We (with lexoyo) quickly reviewed your package again then, saw it still had the unneeded features, but none of the features we wanted. We reported these problems in issue #5 and #11.
That's when I decided to start experimenting on an alternative package in a separate/personnal repo: there was no progress on yours, and I didn't have the time or envy to do the cleaning on your project. I informed you in october that I had an alternative package working, and that I needed help to test it. Instead of helping me, you integrated parts of it to your package, and then asked me to test your new package, while it still didn't have the features I needed.
And then there was this https://github.com/damoebius/haxe-npm-lib/issues/1 This one really annoyed me even more...
All in all, I'm sorry if I hurt you, but I think we need to solve all this urgently.
Ok, can i call you to talk about it ?
According our phone call we have to :
Agree ?
Yep.
Tell me when you publish the haxe-dev module
Thanks for the access :)
I hadn't understood you meant haxe-dev
was another separate npm package.
How about publishing my package on haxe
under a dev
or beta
tag (https://docs.npmjs.com/cli/dist-tag) ?
Because it seems that you cannot version un tag. So if you need to update the dev version, it could be difficult.
As you want
Le 15.03.2016 14:03, Clément Charmet a écrit :
Thanks for the access :) I hadn't understood you meant haxe-dev was another separate npm package. How about publishing my package on haxe under a dev or beta tag (https://docs.npmjs.com/cli/dist-tag) ?
You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/damoebius/haxe-npm/issues/12#issuecomment-196807224
I published it here, for testing purposes (I'm pretty new to npm publishing...) :
https://www.npmjs.com/package/haxe-dev
I'll give tags a try to see if haxe@next
would be a good option.
Perfect, i'll test it as sson as possible on one of our project. Don't forget to push sources on the dev branch (or not ? )
Ok I've added the repository
field.
Using tags on haxe
seems like a good option.
From what I understand, an npm tag is pretty much like a "channel", and you can publish successive versions to it.
So I guess publishing it to haxe@next
or something would be nicer than haxe-dev
.
Let me know if it's ok for you.
Ok, but how target a specific version of @next ?
The package.json's version
field is still valid:
For example, if latest
is 0.0.5
and next
has 0.0.6
, 0.0.7
and 0.0.8
, one can :
npm install haxe
=> 0.0.5
npm install haxe@next
=> 0.0.8
npm install haxe@0.0.7
=> 0.0.7
Agree so if you publish a new version on haxe@next i'll get npm install haxe@next => 0.0.9 without the ability to go back to next 0.0.8 ?
Yes, you will be able to install haxe@0.0.8
https://github.com/clemos/npm-haxe has more features :
IMHO the way you handle
-lib
to avoidhaxelib
dependency is just wrong : https://github.com/damoebius/haxe-npm/blob/master/bin/haxe-cli.js#L20-L22-cp
is not at all the same as-lib
:extraParams.hxml
inclusionhaxelib.json
definitions can set the source directory (tosrc
, for example)I think this is extremely confusing to transform / break the user's command like this...
also, the npm page is not up to date https://www.npmjs.com/package/haxe (still refers to old externs + bootstrapping)
So, how about publishing my package to npm.org/haxe ?