1.3.13 • Published 3 months ago

@talentprise/auth-connector v1.3.13

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

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

  1. Run $ yarn install for install dependencies
  2. Run $ yarn build from generate TypeScript 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:

  1. Switch to a new feature branch. Make changes to .ptoro
  2. Run $ yarn build
  3. Change package version in package.json
  4. Commit changes
  5. Push to the remote
  6. 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