Ninetales is two things:
-
a new way to create modern JavaScript websites and applications
-
an experimental project designed to raise the performance bar for similar frameworks
You can develop and test Ninetales locally using Verdaccio.
-
Install and start Verdaccio:
yarn global add verdaccio verdaccio
-
In a new terminal, create a user and log in:
npm adduser --registry http://localhost:4873
-
Finally, build all packages and publish them:
cd <project root> yarn build yarn verdaccio
-
You can also build and/or publish a particular package by running the same commands inside its directory:
cd packages/ninetales yarn build yarn verdaccio
You can install a package from Verdaccio in a project by specifying its registry URL on the command line. For example:
yarn add @ninetales/ninetales --registry http://localhost:4873
You can also configure Yarn to use the Verdaccio registry by default, instead of specifying it for each add/install command:
yarn config set registry http://localhost:4873
To revert back to the default registry, use yarn config delete registry
.