2.4.0-rc2 • Published 6 years ago
@micro-fleet/service-communication v2.4.0-rc2
Micro Fleet - Backend Service Communication library
Belongs to Micro Fleet framework, provides methods for microservices to communicate with each other.
See more examples and usage guide in unit tests.
INSTALLATION
- Stable version:
npm i @micro-fleet/service-communication - Edge (development) version:
npm i git://github.com/gennovative/micro-fleet-service-communication.git
DEVELOPMENT
- Install packages in
peerDependenciessection with commandnpm i --no-save {package name}@{version}. Or if you want to use directly neighbor packages, excutenpm run linkPackages. npm run buildto transpile TypeScript then run unit tests (if any) (equiv.npm run compile+npm run test(if any)).npm run compile: To transpile TypeScript into JavaScript.npm run watch: To transpile without running unit tests, then watch for changes in *.ts files and re-transpile on save.npm run test: To run unit tests.One of the quickest way to set up the test environment is to use Docker:
docker run -d --name rabbitmq -p 15672:15672 -p 5672:5672 rabbitmq:3.6-management-alpineAfter tests finish, open file
/coverage/index.htmlwith a web browser to see the code coverage report which is mapped to TypeScript code.
RELEASE
npm run release: To transpile and createapp.d.tsdefinition file.- Note: Please commit transpiled code in folder
distand definition fileapp.d.tsrelevant to the TypeScript version.
2.4.0-rc2
6 years ago
2.4.0-rc1
6 years ago
2.3.0-rc6
6 years ago
2.3.0-rc5
6 years ago
2.3.0-rc4
6 years ago
2.3.0-rc3
6 years ago
2.3.0-rc1
6 years ago
0.3.0
6 years ago
0.3.1-rc3
7 years ago
0.3.1-rc2
7 years ago
0.3.1-rc1
7 years ago
0.2.4
7 years ago
0.2.3
7 years ago
0.2.2-rc1
8 years ago
0.2.2
8 years ago
0.2.2-rc.1
8 years ago