mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
625f529fe9
* docs(website): new translation for puppet.md in Filipino * docs(website): new translation for puppet.md in Serbian (Latin) * docs(website): new translation for puppet.md in Tajik * docs(website): new translation for puppet.md in Yoruba * docs(website): new translation for repositories.md in Romanian * docs(website): new translation for repositories.md in Spanish * docs(website): new translation for repositories.md in Chinese Traditional * docs(website): new translation for repositories.md in Arabic * docs(website): new translation for repositories.md in Czech * docs(website): new translation for repositories.md in German * docs(website): new translation for repositories.md in Italian * docs(website): new translation for repositories.md in Japanese * docs(website): new translation for repositories.md in Korean * docs(website): new translation for repositories.md in Polish * docs(website): new translation for repositories.md in Portuguese * docs(website): new translation for repositories.md in Russian * docs(website): new translation for repositories.md in Serbian (Cyrillic) * docs(website): new translation for repositories.md in Chinese Simplified * docs(website): new translation for reverse-proxy.md in Hindi * docs(website): new translation for reverse-proxy.md in Serbian (Latin) * docs(website): new translation for puppet.md in Russian * docs(website): new translation for server.md in Chinese Traditional * docs(website): new translation for server.md in Czech * docs(website): new translation for server.md in German * docs(website): new translation for server.md in Italian * docs(website): new translation for server.md in Japanese * docs(website): new translation for server.md in Korean * docs(website): new translation for server.md in Polish * docs(website): new translation for server.md in Portuguese * docs(website): new translation for server.md in Russian * docs(website): new translation for server.md in Serbian (Cyrillic) * docs(website): new translation for server.md in Chinese Simplified * docs(website): new translation for server.md in Vietnamese * docs(website): new translation for server.md in Spanish * docs(website): new translation for server.md in Galician * docs(website): new translation for server.md in Portuguese, Brazilian * docs(website): new translation for server.md in Hindi * docs(website): new translation for server.md in Filipino * docs(website): new translation for server.md in Serbian (Latin) * docs(website): new translation for server.md in Tajik * docs(website): new translation for server.md in Yoruba * docs(website): new translation for ssl.md in Romanian * docs(website): new translation for ssl.md in French * docs(website): new translation for ssl.md in Spanish * docs(website): new translation for ssl.md in Arabic * docs(website): new translation for server.md in Arabic * docs(website): new translation for server.md in French * docs(website): new translation for reverse-proxy.md in Tajik * docs(website): new translation for reverse-proxy.md in Yoruba * docs(website): new translation for server.md in Romanian * docs(website): new translation for puppet.md in Serbian (Cyrillic) * docs(website): new translation for puppet.md in Portuguese * docs(website): new translation for plugins.md in French * docs(website): new translation for plugins.md in Romanian * docs(website): new translation for plugins.md in Spanish * docs(website): new translation for puppet.md in Polish * docs(website): new translation for protect-your-dependencies.md in Filipino * docs(website): new translation for protect-your-dependencies.md in Polish * docs(website): new translation for protect-your-dependencies.md in Portuguese * docs(website): new translation for protect-your-dependencies.md in Russian * docs(website): new translation for protect-your-dependencies.md in Serbian (Cyrillic) * docs(website): new translation for protect-your-dependencies.md in Chinese Simplified * docs(website): new translation for protect-your-dependencies.md in Chinese Traditional * docs(website): new translation for protect-your-dependencies.md in Vietnamese * docs(website): new translation for protect-your-dependencies.md in Galician * docs(website): new translation for protect-your-dependencies.md in Portuguese, Brazilian * docs(website): new translation for protect-your-dependencies.md in Hindi * docs(website): new translation for protect-your-dependencies.md in Serbian (Latin) * docs(website): new translation for protect-your-dependencies.md in Japanese * docs(website): new translation for protect-your-dependencies.md in Tajik * docs(website): new translation for protect-your-dependencies.md in Yoruba * docs(website): new translation for puppet.md in Romanian * docs(website): new translation for puppet.md in French * docs(website): new translation for puppet.md in Spanish * docs(website): new translation for puppet.md in Arabic * docs(website): new translation for puppet.md in Czech * docs(website): new translation for puppet.md in German * docs(website): new translation for puppet.md in Italian * docs(website): new translation for puppet.md in Japanese * docs(website): new translation for puppet.md in Korean * docs(website): new translation for protect-your-dependencies.md in Korean * docs(website): new translation for protect-your-dependencies.md in Italian * docs(website): new translation for plugins.md in Arabic * docs(website): new translation for plugins.md in Vietnamese * docs(website): new translation for plugins.md in Czech * docs(website): new translation for plugins.md in German * docs(website): new translation for plugins.md in Italian * docs(website): new translation for plugins.md in Japanese * docs(website): new translation for plugins.md in Korean * docs(website): new translation for plugins.md in Polish * docs(website): new translation for plugins.md in Portuguese * docs(website): new translation for plugins.md in Russian * docs(website): new translation for plugins.md in Serbian (Cyrillic) * docs(website): new translation for plugins.md in Chinese Simplified * docs(website): new translation for plugins.md in Chinese Traditional * docs(website): new translation for plugins.md in Galician * docs(website): new translation for protect-your-dependencies.md in German * docs(website): new translation for plugins.md in Portuguese, Brazilian * docs(website): new translation for plugins.md in Hindi * docs(website): new translation for plugins.md in Filipino * docs(website): new translation for plugins.md in Serbian (Latin) * docs(website): new translation for plugins.md in Tajik * docs(website): new translation for plugins.md in Yoruba * docs(website): new translation for protect-your-dependencies.md in Romanian * docs(website): new translation for protect-your-dependencies.md in French * docs(website): new translation for protect-your-dependencies.md in Spanish * docs(website): new translation for protect-your-dependencies.md in Arabic * docs(website): new translation for protect-your-dependencies.md in Czech * docs(website): new translation for install.md in Czech * docs(website): new translation for linking.md in Portuguese, Brazilian * docs(website): new translation for install.md in Spanish * docs(website): new translation for caching.md in Serbian (Cyrillic) * docs(website): new translation for caching.md in Spanish * docs(website): new translation for caching.md in Arabic * docs(website): new translation for caching.md in Czech * docs(website): new translation for caching.md in German * docs(website): new translation for caching.md in Italian * docs(website): new translation for caching.md in Japanese * docs(website): new translation for caching.md in Korean * docs(website): new translation for caching.md in Polish * docs(website): new translation for caching.md in Portuguese * docs(website): new translation for caching.md in Russian * docs(website): new translation for caching.md in Chinese Simplified * docs(website): new translation for caching.md in Romanian * docs(website): new translation for caching.md in Chinese Traditional * docs(website): new translation for caching.md in Vietnamese * docs(website): new translation for caching.md in Galician * docs(website): new translation for caching.md in Portuguese, Brazilian * docs(website): new translation for caching.md in Hindi * docs(website): new translation for caching.md in Filipino * docs(website): new translation for caching.md in Serbian (Latin) * docs(website): new translation for install.md in French * docs(website): new translation for caching.md in Yoruba * docs(website): new translation for chef.md in Romanian * docs(website): new translation for chef.md in French * docs(website): new translation for caching.md in French * docs(website): new translation for best-practices.md in Yoruba * docs(website): new translation for chef.md in Arabic * docs(website): new translation for best-practices.md in Korean * docs(website): new translation for best-practices.md in Romanian * docs(website): new translation for who-is-using.md in Russian * docs(website): new translation for windows.md in Serbian (Latin) * docs(website): new translation for windows.md in Tajik * docs(website): new translation for windows.md in Yoruba * docs(website): new translation for windows.md in Hindi * docs(website): new translation for en.json in Chinese Simplified * docs(website): new translation for windows.md in Filipino * docs(website): new translation for windows.md in Portuguese, Brazilian * docs(website): new translation for who-is-using.md in Serbian (Cyrillic) * docs(website): new translation for windows.md in Spanish * docs(website): new translation for who-is-using.md in Chinese Simplified * docs(website): new translation for who-is-using.md in Chinese Traditional * docs(website): new translation for who-is-using.md in Vietnamese * docs(website): new translation for who-is-using.md in Galician * docs(website): new translation for who-is-using.md in Portuguese, Brazilian * docs(website): new translation for who-is-using.md in Hindi * docs(website): new translation for who-is-using.md in Filipino * docs(website): new translation for who-is-using.md in Serbian (Latin) * docs(website): new translation for who-is-using.md in Tajik * docs(website): new translation for who-is-using.md in Yoruba * docs(website): new translation for windows.md in Romanian * docs(website): new translation for windows.md in French * docs(website): new translation for windows.md in Arabic * docs(website): new translation for windows.md in Galician * docs(website): new translation for windows.md in Czech * docs(website): new translation for windows.md in German * docs(website): new translation for windows.md in Italian * docs(website): new translation for windows.md in Japanese * docs(website): new translation for windows.md in Korean * docs(website): new translation for windows.md in Polish * docs(website): new translation for windows.md in Portuguese * docs(website): new translation for windows.md in Russian * docs(website): new translation for windows.md in Serbian (Cyrillic) * docs(website): new translation for windows.md in Chinese Simplified * docs(website): new translation for windows.md in Chinese Traditional * docs(website): new translation for windows.md in Vietnamese * docs(website): new translation for best-practices.md in French * docs(website): new translation for amazon.md in Spanish * docs(website): new translation for iis-server.md in Vietnamese * docs(website): new translation for install.md in Romanian * docs(website): new translation for iis-server.md in Yoruba * docs(website): new translation for iis-server.md in Tajik * docs(website): new translation for iis-server.md in Serbian (Latin) * docs(website): new translation for iis-server.md in Filipino * docs(website): new translation for iis-server.md in Hindi * docs(website): new translation for iis-server.md in Portuguese, Brazilian * docs(website): new translation for iis-server.md in Galician * docs(website): new translation for iis-server.md in Chinese Traditional * docs(website): new translation for iis-server.md in Chinese Simplified * docs(website): new translation for iis-server.md in Serbian (Cyrillic) * docs(website): new translation for iis-server.md in Russian * docs(website): new translation for iis-server.md in Portuguese * docs(website): new translation for iis-server.md in Polish * docs(website): new translation for iis-server.md in Korean * docs(website): new translation for iis-server.md in Japanese * docs(website): new translation for iis-server.md in Italian * docs(website): new translation for iis-server.md in German * docs(website): new translation for iis-server.md in Czech * docs(website): new translation for iis-server.md in Arabic * docs(website): new translation for iis-server.md in Spanish * docs(website): new translation for iis-server.md in French * docs(website): new translation for iis-server.md in Romanian * docs(website): new translation for e2e.md in Czech * docs(website): new translation for e2e.md in Hindi * docs(website): new translation for e2e.md in Portuguese, Brazilian * docs(website): new translation for e2e.md in Galician * docs(website): new translation for e2e.md in Vietnamese * docs(website): new translation for e2e.md in Chinese Traditional * docs(website): new translation for e2e.md in Chinese Simplified * docs(website): new translation for e2e.md in Serbian (Cyrillic) * docs(website): new translation for e2e.md in Russian * docs(website): new translation for e2e.md in Portuguese * docs(website): new translation for e2e.md in Polish * docs(website): new translation for e2e.md in Korean * docs(website): new translation for e2e.md in Japanese * docs(website): new translation for e2e.md in Italian * docs(website): new translation for e2e.md in German * docs(website): new translation for e2e.md in Arabic * docs(website): new translation for e2e.md in Serbian (Latin) * docs(website): new translation for e2e.md in Spanish * docs(website): new translation for e2e.md in French * docs(website): new translation for e2e.md in Romanian * docs(website): new translation for docker.md in Yoruba * docs(website): new translation for docker.md in Tajik * docs(website): new translation for docker.md in Serbian (Latin) * docs(website): new translation for docker.md in Filipino * docs(website): new translation for docker.md in Hindi * docs(website): new translation for docker.md in Portuguese, Brazilian * docs(website): new translation for docker.md in Galician * docs(website): new translation for docker.md in Vietnamese * docs(website): new translation for docker.md in Chinese Traditional * docs(website): new translation for docker.md in Chinese Simplified * docs(website): new translation for docker.md in Serbian (Cyrillic) * docs(website): new translation for e2e.md in Filipino * docs(website): new translation for e2e.md in Tajik * docs(website): new translation for github-actions.md in Galician * docs(website): new translation for github-actions.md in Yoruba * docs(website): new translation for github-actions.md in Tajik * docs(website): new translation for github-actions.md in Serbian (Latin) * docs(website): new translation for github-actions.md in Filipino * docs(website): new translation for github-actions.md in Hindi * docs(website): new translation for github-actions.md in Portuguese, Brazilian * docs(website): new translation for github-actions.md in Vietnamese * docs(website): new translation for e2e.md in Yoruba * docs(website): new translation for github-actions.md in Italian * docs(website): new translation for github-actions.md in Romanian * docs(website): new translation for github-actions.md in French * docs(website): new translation for github-actions.md in Spanish * docs(website): new translation for github-actions.md in Arabic * docs(website): new translation for github-actions.md in Czech
2.9 KiB
2.9 KiB
id | title |
---|---|
e2e | End to End testing |
Some projects organize packages in multi-packages repositories or monorepos. E2E testing is a topic that usually is only relevant for User Interfaces, but from a Node.js perspective, publishing packages also need to be tested.
Solution: a local npm registry. https://t.co/kvcyVANVSK
— Dan Abramov (@dan_abramov) 11 de enero de 2018
Such approach has been really hard to achieve considering:
- Populate canary packages on public services seems not to be a good idea
- Some self-hosted OSS registries are too heavy
- Offline environments (private networks)
Verdaccio is a lightweight registry with zero-configuration that fits perfectly in any E2E + CI workflow.
Implementation
There is no a silver bullet yet, each implementation seems to be specific for each project, you can check some of them in the following thread clicking here.
Example using Bash
This is the most simple example using Verdaccio in a bash script (extracted from create-react-app).
#!/bin/sh
set -e
local_registry="http://0.0.0.0:4873"
# start local registry
tmp_registry_log=`mktemp`
sh -c "mkdir -p $HOME/.config/verdaccio"
sh -c "cp --verbose /config.yaml $HOME/.config/verdaccio/config.yaml"
sh -c "nohup verdaccio --config $HOME/.config/verdaccio/config.yaml &>$tmp_registry_log &"
# wait for `verdaccio` to boot
grep -q 'http address' <(tail -f $tmp_registry_log)
# login so we can publish packages
sh -c "npm-auth-to-token -u test -p test -e test@test.com -r $local_registry"
# Run nmp command
sh -c "npm --registry $local_registry publish"
Who is using it for E2E?
- create-react-app (+73.5k ⭐️)
- Storybook (+44k ⭐️)
- Gatsby *(+40k ⭐️)
- Babel.js (+35k ⭐️)
- Uppy (+21k ⭐️)
- Aurelia Framework (+12k ⭐️)
- ethereum/web3.js (+8k ⭐️)
- bit (+6k ⭐️)
- pnpm (+6k ⭐️)
- Mozilla Neutrino (+3k ⭐️)
- Embark (+3k ⭐️)
- Hyperledger Composer (+1.6k ⭐️)
- Wix Yoshi