1.0.14 • Published 3 years ago
sphdomain v1.0.14
npm run test npm run test-single
To publish package to npm:
- change version
- npm run build
- npm publish
During development link domain localy:
- Remove sphdomain from package.json dependencies
- rm node_modules
- npm i
- npm link ../domain - sphere_web
- npm link ../../domain - eth-interface/app
To update domain during dev in target project:
- Remove sphdomain from package.json dependencies - sphere_web || eth-interface/app
- rm -rf dist
- npm run build
- npm unlink sphdomain - sphere_web || eth-interface/app
- npm link ../domain - sphere_web
- npm link ../../domain - eth-interface/app
Using on local dev link this proj as explained here: https://www.tsmean.com/articles/how-to-write-a-typescript-library/local-consumer/
To push new changes to master or staging:
- publish package
- npm unlink sphdomain - sphere_web & eth-interface/app
- npm i sphdomain - sphere_web & eth-interface/app