yarnpkg/yarn

Future enhancement idea: Easy way of making custom repositories

Open

#773 建立於 2016年10月12日

在 GitHub 查看
 (3 留言) (6 反應) (0 負責人)JavaScript (41,514 star) (2,731 fork)batch import
cat-featurehelp wantedtriaged

描述

One of the things I love about Linux repositories (such as Debian and RPM repositories) is that it just consists of plain files and there's no custom server-side component at all. There's a few files that contain metadata about all the packages, along with the actual binaries themselves (eg. .deb for Debian, .rpm for CentOS). This makes it super easy to host a repository as long as the metadata is built correctly. You can even host a package repo on a plain basic webhost such as Github Pages.

It would be awesome to have something like this for Yarn too, a simple way of making a custom package server. "Throw these files onto a server somewhere" is a much easier deployment strategy than running some custom server software and having to worry about keeping it up-to-date with security patches etc.

Related: #547 (support for multiple servers), #606 (number of stars on this issue means a lot of people are using custom servers already)

貢獻者指南