
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@golemio/core
Advanced tools
This module is intended for use with Golemio services.
Install all prerequisites
Install all dependencies using command:
npm install
from the application's root directory.
To compile typescript code into js one-time
npm run build
or run this, to watch all changes
npm run build-watch
from the application's root directory.
In your project's package.json
set dependency to @golemio/core
npm install --save @golemio/core
Then import module, e.g.
import * as core from "@golemio/core";
For the local development use the npx link to link the @golemio/core with other service e.g. @golemio/integration-engine
or module e.g. @golemio/pid
.
At the @golemio/core root directory:
npm run build-watch
At the @golemio/pid root directory:
npx link /path/to/golemio/modules/core
npm run build-watch
At the @golemio/integration-engine root directory:
npx link /path/to/golemio/modules/core
npx link /path/to/golemio/modules/pid
npm run dev-start
Now you can change code and immediately see the results.
To run all test defined in /test directory simply run this command:
npm run test
from the application's root directory. All tests should pass.
Core module defines main exchange in rabbit mq and its name is dependent on .env setting. Also it contains definition of queue for dead messages. All other queues are defined in separate modules and loaded dynamically by QueueProcessor.ts
.
Core module also defines alternate exchange for messages that are unroutable. Name of the exchage is created from name of the main one with suffix -alt
and it contains 1 queue named alt-routes
.
Please read CONTRIBUTING.md
.
Contact vyvoj@operatorict.cz
FAQs
Golemio Core Module
The npm package @golemio/core receives a total of 1,084 weekly downloads. As such, @golemio/core popularity was classified as popular.
We found that @golemio/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.