Created by: Timer
This removes a lot of the painful trickery we do via setting up a local registry and actually publishes the modules.
We can now test as if we're an end-user. This means our tests actually mean something now.
verdaccio
is used to spin up a lightweight local registry. It allows you to publish packages and uses npm as its fallback.
verdaccio
supports an anonymous publishing mode, but I'd rather not ship a config file with this.
Since we use verdaccio
's defaults, you must login to publish a package.
Due to long standing npm issue, we have to use npm-cli-login
to login (over standard npm adduser
).
Packages are released using our release.sh
script.
The create_react_app
function, our install_package
npm link workaround, and npm pack
of react-scripts
are all gone
In hindsight, I can't believe we ever did it different than this. Seriously.