Skip to content

Commit c6eca6e

Browse files
juanpicadoTimer
authored andcommitted
Add information for usage custom registries on e2e testing #4488 (#5767)
1 parent 1548e39 commit c6eca6e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,16 @@ and then run `yarn start` or `yarn build`.
107107

108108
More detailed information are in the dedicated [README](/packages/react-scripts/fixtures/kitchensink/README.md).
109109

110+
### CI testing with private packages
111+
112+
**create-react-app** relies on main registry to fetch all dependencies, but, if you are in the need to usage of custom private packages that need to be fetch while running E2E test you might need a different configuration.
113+
114+
#### Customizing E2E registry configuration
115+
116+
We use [verdaccio](https://github.com/verdaccio/verdaccio) to emulate packages publishing in a registry using a default configuration. You might modify the current behaviour just editing the file `task/verdaccio.yaml`.
117+
118+
For more information about the configuration check out the [Verdaccio documentation](https://verdaccio.org/docs/en/configuration).
119+
110120
## Tips for contributors using Windows
111121

112122
The scripts in tasks folder and other scripts in `package.json` will not work in Windows out of the box. However, using [Bash on windows](https://msdn.microsoft.com/en-us/commandline/wsl/about) makes it easier to use those scripts without any workarounds. The steps to do so are detailed below:

0 commit comments

Comments
 (0)