jagenjo / rendeer.js

Light-weight 3D Scene graph library with renderer in WebGL
MIT License
88 stars 16 forks source link

Publish rendeer.js to NPM registry? #2

Open kaosko opened 4 years ago

kaosko commented 4 years ago

Have you thought about publishing rendeer.js to NPM registry? Looks like you'd only need package.json, plus perhaps a tag or two. LiteGL is there already (https://www.npmjs.com/package/litegl/v/0.0.2) though not sure which version - I don't see the corresponding tag in Github). It would make it much easier to consumer rendeer.js for downstream projects.

jagenjo commented 4 years ago

Ok, I will give it a look.

kaosko commented 4 years ago

Appreciated, for example https://zellwk.com/blog/publish-to-npm/. Looks like litegl was published from a forked repo (https://github.com/julio-pixelements/litegl), may need to reserve different names.

jagenjo commented 4 years ago

That sounds tricky, so another person uploaded a forked version, so if I upload my version I cannot use my name, but then my dependencies would have to be to that other name, which messes up all my pipelines :S

kaosko commented 4 years ago

Given litegl npm packages have not being maintained (last release 5 years ago), might be easiest to request transfer of ownership from him (https://docs.npmjs.com/transferring-a-package-from-a-user-account-to-another-user-account). Took the liberty of asking the owner of the fork about transferring ownership (https://github.com/julio-pixelements/litegl/issues/1) .

jagenjo commented 4 years ago

But the problem is that all the work he has done to port litegl to npm wont be in my version, and Rendeer uses lots of new features of litegl, so the only solution would be to merge both repositories and that would be complex...

Maybe it would be easy to bundle litegl and rendeer together as a package for NPM

kaosko commented 4 years ago

I think that work is all mechanical and can be redone. Your call of course, but I might not merge/bundle - keeping them separately versioned allows them to continue evolving independently.

kaosko commented 4 years ago

@jagenjo please check npm registry, you should have the rights now (I asked Julio directly):

Sorry for the late reply. I just transferred the package to your user. Best regards, Julio M. López Myou Software

kaosko commented 4 years ago

Thanks for https://www.npmjs.com/package/rendeer.js (you should really mention it somewhere!). I see zero tags at https://github.com/jagenjo/rendeer.js, would be great if github tags and npmjs versions would match. What about litegl?

jagenjo commented 4 years ago

Im a little bit lost now. So the NPM repo is mine, but Julio did some port of the library to work with modern JS, so with my repo version it will require some work I guess.