Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm probably just one more person among the hundreds who are missing something here but: if the big thing about deno is that you can directly fetch dependencies from source with, for example, a GitHub repo URL, instead of going to a package registry like npm, where the package is decoupled from the source, why don't you simply do this already by changing the package.json and swapping the npm identifier with a URL to the repo?

You can already do decentralisation with npm by simply not using`npm i some-package --save` and instead, modify the package.json yourself.

Now the problem with deno is that if I import 5 packages (locked to a specific version) across 50 files and I want to update them to a new version, am I really gonna need to go into every single file and change the URLs??

That's just insane, I get the whole idea of decentralisation but why can't we concentrate all packages into a single file??

Sire this is all good for distribution because you won't have to run `npm i` every time you want to run your program, but more often than not, I'm the one that's going to use my program and I don't mind running `npm i` beforehand and feel safe that I have all my packages downloaded and ready to go, instead of worrying that my program will fail at run-time because the URL for one of my packages is down..



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: