ethos-wallet-beta
v0.0.170
Published
Beta version of the Ethos Wallet NPM Package
Downloads
26
Readme
Setting up local development
From 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
To reset local
To reset your UI (consumer of the NPM package)
yarn unlink ethos-wallet-beta
yarn unlink react
yarn unlink react-dom
yarn add ethos-wallet-beta react react-dom
To reset and unlink in the NPM package repo
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\<USERNAME>\AppData\Local\Yarn\Data\link\* -Recurse -Force
Publishing
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.