1.0.1 • Published 3 months ago

@genesislcap/pbc-notify v1.0.1

Weekly downloads
-
License
SEE LICENSE IN li...
Repository
-
Last release
3 months ago

Client (Web)

:hammer_and_wrench: Development

  • Do the npm link between the projects:
    • On pbc-notify: npm i and npm link
    • On client app: npm i and npm link @genesislcap/pbc-notify
  • On package.json change the following lines:
    • "main": "dist/esm/index.js", to "main": "src/index.ts",
    • "default": "./dist/esm/index.js" to "default": "./src/index.ts"
  • OPTIONAL On client app (blank-seed, position-seed, etc.), create a file in /src with the name global.d.ts with this line inside declare module '@genesislcap/pbc-notify';
  • :warning: Always do a git rollback on the package.json before a commit or just don't commit it

:package: Build

  • The recommended build command to be used is genx build -b ts
  • Undo the following lines on package.json:
    • "main": "src/index.ts", to "main": "dist/esm/index.js",
    • "default": "./src/index.ts" to "default": "./dist/esm/index.js"
  • Do a npm run build on pbc-notify
  • Do a npm run build on client app
  • A dist folder will be generated
1.0.1

3 months ago

1.0.0

5 months ago