Re:Trex: A package manager for Deno
by 29athrowaway on Saturday July 11, 2020 @05:49PM
(#23806378)
Was not one of the main motivations for deno to not use a package manager?
[ Parent
| on HN ]
Re:Trex: A package manager for Deno
by desert_boi on Saturday July 11, 2020 @05:53PM
(#23806421)
I believe so. I always wondered why `go mod` existed until we had dependencies break fairly frequently from a certain domain and were forced to vend the dependency.
Indeed, this is a massive issue with any url based imports. Because Trex supports nest.land, this is not an issue. nest.land is actually a first-of-its-kind blockchain module registry and CDN. Because we use the blockchain for storing modules, they can never be deleted or altered in any way. This also means that they are permanently and indefinitely resolvable from the web. Because of this, module vendoring is no longer an issue!
Re:Trex: A package manager for Deno
by buttercubz on Saturday July 11, 2020 @11:01PM
(#23808421)
what trex does is, downloads and caches the modules and stores them within the name aliases provided by the import map