0.0.1 • Published 2 years ago

dexio-rn-sdk v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

dexio-rn-sdk

npm init - creates new package

Link on npm package (shared constants, utils, etc): https://www.npmjs.com/package/dexio-rn-sdk

To become a Collaborator of this package do the following:

  1. Create an npm account: https://www.npmjs.com/
  2. Login to your npm account in terminal
npm adduser
  1. Ask one of the collaborators to add you to the list of npm package collaborators. Add another user to collaborators (works for existing collaborators of the package):
npm owner add [npm account username]

To work with package in real time, without republishing after any updates, do the following:

  1. Create a link to the package
yarn link
  1. in the application where we will use the sdk (links to your local dexio-rn-sdk):
yarn link dexio-rn-sdk
  1. Compile sdk after any changes, watch changes
yarn start
  1. ...add code
  2. run prettier:
yarn lint-prettier
  1. Make build, if the build was successful, go to the next
yarn build
  1. Publish a new version of the package to npm
yarn publish
  1. commit, push changes to main
  2. in the application unlink form local sdk, re-install the package that was linked, update sdk version:
yarn unlink dexio-rn-sdk
yarn install --force
yarn add dexio-rn-sdk

npm unpublish <package-name>@<version> // Remove specific version