1.0.2 • Published 9 months ago

permaweb-sdk v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

permaweb-sdk

Development

npm install yarn build

Local

Linking

  1. SDK repo:
    • yarn link
  2. App repo:
    • yarn link permaweb-sdk

Developing

  1. SDK repo:
    • Make changes
    • yarn build
  2. App repo:
    • Kill existing debug session
    • yarn --force && yarn start

Unlinking

  1. SDK repo:
    • yarn unlink
  2. 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.

Use

import { item } from 'permaweb-sdk/dist/{submodule}