1.3.13 • Published 3 months ago
@talentprise/auth-connector v1.3.13
Talentprise (Auth Connector)
Description
The NPM package which is the gRPC connector for the use of the Auth Service.
Store interfaces for communication between services and provides code generation from .proto
to TypeScript
Installation & Build
- Run
$ yarn install
for install dependencies - Run
$ yarn build
from generateTypeScript
interfaces from .proto
Use for local development
After making changes to the .proto files, the new interfaces need to be generated for communication
$ yarn build
After 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/auth-connector@{{ VERSION }}
After Once the pipelining is completed, the package can be installed as a third-party dependency
Before installing to other services, the
.npmrc
must be configured
Links
1.3.13
3 months ago