yarnpkg/yarn

Future enhancement idea: Easy way of making custom repositories

Open

#773 ouverte le 12 oct. 2016

Voir sur GitHub
 (3 commentaires) (6 réactions) (0 assignés)JavaScript (2 731 forks)batch import
cat-featurehelp wantedtriaged

Métriques du dépôt

Stars
 (41 514 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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)

Guide contributeur