2.0.1 • Published 6 months ago
@talentprise/scoring-connector v2.0.1
Talentprise (Scoring Connector)
Description
The NPM package which is the gRPC connector for the use of the Scoring Service.
Store interfaces for communication between services and provides code generation from .proto to TypeScript
Installation & Build
- Run
$ yarn installfor install dependencies - Run
$ yarn buildfrom generateTypeScriptinterfaces from .proto
Use for local development
After making changes to the .proto files, the new interfaces need to be generated for communication
$ yarn buildAfter generation, the package can be installed as a dependency for the service in which it will be used
# ex: yarn add file:./../talent-connector
$ yarn add file:{{ PATH_TO_PACKAGE }}Publish
To publish to the current repository:
- Switch to a new feature branch. Make changes to
.ptoro - Run
$ yarn build - Change package version in
package.json - Commit changes
- Push to the remote
- Merge feature branch to develop. (GitLab Pipeline for publication will start automatically)
$ yarn add @talentprise/scoring-connector@{{ VERSION }}After Once the pipelining is completed, the package can be installed as a third-party dependency
Before installing to other services, the
.npmrcmust be configured
Links
2.0.1
6 months ago