@hansevision/tp-global-consumer-services
v2.13.0
Published
Provides TP-Specific consumer services
Downloads
117
Readme
Global consumer services
Provides logic to provide and consume global services
Installation
npm install --save @hansevision/tp-global-consumer-servicesTest global-consumer-service locally with 'npm link/unlink'
Creating local package of global-consumer-service
in git-Repository of global-consumer-service
- increase version number in 'package.json' - if not already done
- run the following PowerShell command
npm linkin git-Repositories that need to use the local global-consumer-service
- increase version number in 'package.json'
- run the following PowerShell command
npm link @hansevision/tp-global-consumer-services --force- the flag '--force' can be omitted, if the node-version of the global-consumer-service is higher of equal to the git-Repository which needs to use it
Reverting usage of local packaging
- run the following PowerShell command in the git-Repository of global-consumer-service
npm unlink- expected output
success: package '@hansevision/tp-global-consumer-services' uninstalledin git-Repositories that need to use the local global-consumer-service
- run the following PowerShell command
npm unlink @hansevision/tp-global-consumer-services- revert any unwanted changes to 'package.json' in regards to '@hansevision/tp-global-consumer-services'
