permaweb-sdk
Development
npm install
yarn build
Local
Linking
- SDK repo:
yarn link
- App repo:
yarn link permaweb-sdk
Developing
- SDK repo:
- Make changes
yarn build
- App repo:
- Kill existing debug session
yarn --force && yarn start
Unlinking
- SDK repo:
yarn unlink
- App repo:
yarn unlink permaweb-sdk
yarn --force
Push Changes
- SDK repo:
- push changes to git as usual
- App repo:
- update git+ssh commit hash in
package.json
.
- update git+ssh commit hash in
Use
import { item } from 'permaweb-sdk/dist/{submodule}