Beta version of the Ethos Wallet NPM Package
npm install ethos-wallet-betaFrom the root directory of this project:
```
yarn link
yarn install
cd node_modules/react
yarn link
cd ../../node_modules/react-dom
yarn link
cd ../..
yarn build
The last line of the previous commands will watch for changes and the UI will automatically update after you link.
Then, from the root directory of the UI project
``
yarn link ethos-wallet-beta
yarn link react
yarn link react-dom
yarn dev
``
yarn unlink ethos-wallet-beta
yarn unlink react
yarn unlink react-dom
yarn add ethos-wallet-beta react react-dom
``
yarn unlink
cd node_modules/react
yarn unlink
cd ../../node_modules/react-dom
yarn unlink
cd ../..
You can also reset all your linked packages by running (mac only):
``
rm -rf cd ~/.config/yarn/*
Or, for windows powershell:
``
Remove-Item C:\Users\
When you're ready to publish your changes, update the package.json file with a new version number following Semantic Versioning guidelines. Then run:
``
npm publish
This will run the prepublishOnly` script and publish the new version to NPM.