Closed szerintedmi closed 5 years ago
Deploy preview for augmint ready!
Built with commit 0495d9896361809aac996a12f52380ed9f802412
Would be nice to see an actual call being made from the JS code (a simple ping/hello world would suffice).
It's coming (i.e. FE could use matchMultipleOrders
already) but it's a bit more complicated because web3 connection object differences :) Also it might have effect on the bundle size (see PR descr.) . Anyways I want to keep this PR quick and small to see how the release workflow works with augmint-contracts
release coming very soon.
Also, what’s the developer UX for making changes in augmint-js and augmint-web at the same time (i.e. depending on an unreleased local version)?
yarn link
in the augmint-js
local repo and yarn link @augmint/js
in the dependent package. if you want to go back to the published version then yarn unlink
It's coming (i.e. FE could use
matchMultipleOrders
already) but it's a bit more complicated because web3 connection object differences :) Also it might have effect on the bundle size (see PR descr.) . Anyways I want to keep this PR quick and small to see how the release workflow works withaugmint-contracts
release coming very soon.
Ok, though I think making a call would be the actual end-to-end test of this integration :)
yarn link
in theaugmint-js
local repo andyarn link @augmint/js
in the dependent package. if you want to go back to the published version thenyarn unlink
Might want to add this to developer docs.
@phraktle : agree that calling is the ultimate end2end test but augmint-cli and the container release workflow test is the first test. step by step...
that yarn linking is only required to augmint-js devs so it should to the augmint-js docs. right?
that yarn linking is only required to augmint-js devs so it should to the augmint-js docs. right?
either one is fine as long as a developer will find it when needed ;)
Nature of the PR: chore
This is a (hopefully) non intrusive addition of
augmint-js
package. First step on a long journey. For now it only brings the benefit that you won't need to worry about upgrades of the ganache docker containers. Any timeaugmint-js
upgraded (via greenkeeper PR)yarn ganache:start
will start the right version of the ganache container, the right way, specified byaugmint-js
Background
yarn ganache:start
now calls newaugmint cli ganache {start|stop}
instead of specifying the whole launch command line (which included the the container version).augmint-cli
is part of theaugmint-js
package.Package size
augmint-js
uses a different web3.js version now thanaugmint-web
. It's doesn't affect the bundle size yet because there is no import of@augmint/js
in the code yet. We will need to check the effect of this when we start to use it.