News for hackers. Stuff that matters.
Re:NPM Is Joining GitHub by oefrha on Monday March 16, 2020 @02:28PM (#22595735)
Repos have been able to provide artifacts since forever ago; they just don’t sit in the tree. While you can commit from an action, I’m not sure that’s a great idea.
Re:NPM Is Joining GitHub by lioeters on Monday March 16, 2020 @02:57PM (#22596142)
You're right, artifacts in GitHub repos have been around a long time. I suppose what I was missing was a way to point to a specific built artifact (like a tar.gz from a release) as a dependency, from package.json. As far as I know, it's not possible yet with npm. I can imagine that will be covered somehow with deeper integration of GitHub and the NPM package repository.
Re:NPM Is Joining GitHub by IsaacSchlueter on Monday March 16, 2020 @06:56PM (#22599113)
Yes, this has always been possible. Just specify the tarball url instead of a version or range.
Re:NPM Is Joining GitHub by lioeters on Tuesday March 17, 2020 @03:32AM (#22602600)
Thank you, learned something new - from none other than the founder of npm! :) Congratulations on the acquisition, bright future ahead for the whole ecosystem.