0.0.98 • Published 3 years ago
@snsdomains/connect v0.0.98
Ethos Connect
Documentation
For full documentation on Ethos Connect please visit Ethos Connect.
Setting up local development
From the root folder of the project you are working on (not this project)
yarn remove ethos-connect
cd node_modules/react
yarn unlink
yarn link
cd ../react-dom
yarn unlink
yarn link
cd ../..From the root directory of this project:
yarn unlink react
yarn unlink react-dom
yarn link
yarn install
yarn link react
yarn link react-dom
yarn buildFrom the root folder of the project you are working on (not this project)
yarn link ethos-connectTo reset local
To reset your UI (consumer of the NPM package)
yarn unlink ethos-connect
yarn unlink react
yarn unlink react-dom
yarn add ethos-connect react react-domTo reset and unlink in the NPM package repo
yarn unlink
yarn unlink react
yarn unlink react-dom
yarn add react react-domYou 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 -ForcePublishing
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 publishThis will run the prepublishOnly script and publish the new version to NPM.