unlock icon indicating copy to clipboard operation
unlock copied to clipboard

Automate the release of the abi npm modules

Open julien51 opened this issue 5 years ago • 2 comments

Our smart contract code is packaged inside of npm modules for each version. We should automate the release of these npm modules from CI. This will bring the following benefits:

  • "clean" environment when compiling/building
  • reduced cycles and latency between smart contract changes and corresponding changes in the front end code.

The first step is to "normalize" our versions. Rather than have 1.X we should from now, create modules for each version used at the smart contract level.

The CI job should automatically compile the ABI, and create the npm module corresponding. If a module exists for the current ABI version, we should publish a new version. If it does not exist, we should deploy a new npm module.

julien51 avatar Feb 27 '20 15:02 julien51

@clemsos What do you think?

julien51 avatar Jan 28 '22 02:01 julien51

yes absolutely. We need first #8055 which will also close #7659 - will add rollup and some various check.

clemsos avatar Jan 28 '22 11:01 clemsos

We finally have this! Thanks for this @searchableguy !

julien51 avatar Oct 27 '22 01:10 julien51