This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
ci: add new grpc js client stubs generation CI workflow #229
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds JavaScript client stub generation and packaging in a @topos-network/topos-grpc-client-stub npm package.
Client stubs can then be used in web applications for interactions with the gRPC API of a
topos
node.Additions and Changes
package.json
andpackage-lock.json
files in theproto
directory to identify and version the npm packageNote: Packages are built and published on new Github
releases
. It's important to remember that the version of the package (specified in itspackage.json
file) needs to be updated priori to the creation of the release on Github (otherwise package publication will fail and the release will have to be recreated).Tagging @Freyskeyd @atanmarko @hadjiszs @gruberb to double-check this point above ⬆️
PR Checklist: