oats-docker

1.0.0 • Public • Published

oats-docker

A runner of dockerized oats.

Dependencies

  • nodejs - see .node-version file (probably will work with many other versions)
  • pnpm - most likely works with other package managers too

Installation

pnpm i -D oats-docker

Setup

Put oats version into .oats-version file.

echo 1.4.1 > .oats-version

Usage

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

    "oats": "oats-docker"

or

    "gen-api": "oats-docker"

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

pnpm oats

or

pnpm gen-api

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

npm run oats

or

npm run gen-api

Development

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:

cd ../frontend
node ../oats-docker/index.js

License

GPLv3

Readme

Keywords

none

Package Sidebar

Install

npm i oats-docker

Weekly Downloads

21

Version

1.0.0

License

GPL-3.0

Unpacked Size

55.7 kB

Total Files

9

Last publish

Collaborators

  • monnef