# oats-docker

> runner of dockerized [oats](https://gitlab.com/monnef/oats)

Latest version **1.0.0** (published 2023-09-11) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install oats-docker
pnpm add oats-docker
yarn add oats-docker
bun add oats-docker
```

Provides the command `oats-docker`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-09-11 |
| First published | 2023-08-30 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 54.4 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Author | monnef |
| Maintainers | monnef |

## Links

- npm: https://www.npmjs.com/package/oats-docker
- npm.io page: https://npm.io/package/oats-docker

## Dependencies (8)

- [chalk](https://npm.io/package/chalk.md) 4.1.2
- [yargs](https://npm.io/package/yargs.md) 17.7.2
- [lodash](https://npm.io/package/lodash.md) 4.17.21
- [ts-opt](https://npm.io/package/ts-opt.md) 5.0.0
- [shelljs](https://npm.io/package/shelljs.md) 0.8.5
- [stripbom](https://npm.io/package/stripbom.md) 3.0.0
- [ts-matcher](https://npm.io/package/ts-matcher.md) 0.1.4
- [@types/chalk](https://npm.io/package/@types/chalk.md) 2.2.0

## Recent versions

- 1.0.0 (latest) — 2023-09-11
- 1.0.0-alpha.3 — 2023-08-30
- 1.0.0-alpha.2 — 2023-08-30

## README

# oats-docker

A runner of dockerized [oats](https://gitlab.com/monnef/oats).

# Dependencies

* [nodejs](https://nodejs.org/en/) - see `.node-version` file (probably will work with many other versions)
* [pnpm](https://pnpm.io/) - most likely works with other package managers too

# Installation

```sh
pnpm i -D oats-docker
```

# Setup

Put oats version into `.oats-version` file.

```sh
echo 1.4.1 > .oats-version
```

# Usage

Add to `scripts` in your `package.json` something like this:

```json
    "oats": "oats-docker"
```

or

```json
    "gen-api": "oats-docker"
```

and then use as usual (depending on how you named the script):

```sh
pnpm oats
```

or

```sh
pnpm gen-api
```

Or in the case of npm probably something like this (not tested):

```sh
npm run oats
```

or

```sh
npm run gen-api
```

# Development

```sh
pnpm i
```

For testing, you can navigate into your (typically front-end) project and use with relative path.

For example assuming your project is located at `frontend` in the same parent directory as `oats-docker` and you are currently in `oats-docker` directory:
```sh
cd ../frontend
node ../oats-docker/index.js
```

# License

GPLv3

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