# @mvf/servicer-exec

> ## Usage

Latest version **1.9.6** (published 2025-04-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mvf/servicer-exec
pnpm add @mvf/servicer-exec
yarn add @mvf/servicer-exec
bun add @mvf/servicer-exec
```

## Health

**Score 40/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.9.6 |
| Published | 2025-04-16 |
| First published | 2022-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 191.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | dovydas.rupsys, michaelkingmvf, john.felton, jrrsmvf, russellwind-mvf, laleh.koupaei, arnicsm, gijserensteinmvf, btmvf |

## Links

- npm: https://www.npmjs.com/package/@mvf/servicer-exec
- npm.io page: https://npm.io/package/@mvf/servicer-exec

## Dependencies (6)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [inquirer](https://npm.io/package/inquirer.md) ^8.2.0
- [@mvf/logger](https://npm.io/package/@mvf/logger.md) ^1.0.3
- [@mvf/servicer](https://npm.io/package/@mvf/servicer.md) ^5.9.4
- [camelcase-keys](https://npm.io/package/camelcase-keys.md) ^7.0.0
- [snakecase-keys](https://npm.io/package/snakecase-keys.md) ^5.1.2

## Recent versions

- 1.9.6 (latest) — 2025-04-16
- 1.9.5 — 2025-04-15
- 1.9.4 — 2025-04-15
- 1.9.3 — 2025-04-15
- 1.9.2 — 2025-04-15
- 1.9.1 — 2025-04-10
- 1.9.0 — 2024-11-28
- 1.8.2 — 2024-04-03
- 1.8.1 — 2024-04-02
- 1.8.0 — 2024-04-02
- 1.7.1 — 2024-04-02
- 1.7.0 — 2023-04-09
- 1.6.0 — 2022-04-05
- 1.5.2 — 2022-04-05
- 1.5.1 — 2022-04-04
- … 5 more at https://npm.io/package/@mvf/servicer-exec/versions

## README

# MVF Servicer Exec

## Usage

TODO

### To install the package

Run `npm install @mvf/servicer-exec`

### Configuration

Set the following environment variables in your project

- `ENVIRONMENT_FILE` should be set to `development` | `testing` | `staging` | `production`

## Servicer Exec
To setup Servicer Exec you will need an entrypoint.ts or equivalent file.
```ts
import { Application } from "@mvf/servicer";
import { ExecCommand } from "@mvf/servicer-exec";
import { GenericEventSources } from "./EventSources/GenericEventSources";

const setupApplication = async (): Promise<void> => {
  const application = new Application();

  application.addCommands(
    new ExecCommand(GenericEventSources),
  );

  await application.run();
};

void setupApplication();
```


## Contributing

### Setup

- Run `make` to build the container
- Run `make shell` to enter the container
- Run `npm install` to install dependencies

Refer to package.json for commands

### After merging

After you have merged a PR to master, you need to rebuild and publish your changes.

1. Checkout master `git checkout master && git pull`
2. Use one of the following make publish commands to publish changes:
   - `make publish kind=patch` - Use this if your change is a bug fix and is backwards compatible.
   - `make publish kind=minor` - Use this if your change adds new functionality and is backwards compatible.
   - `make publish kind=major` - Use this if your change is not backwards compatible.

---
_Source: https://npm.io/package/@mvf/servicer-exec · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
