1.0.0 • Published 2 years ago
oats-docker v1.0.0
oats-docker
A runner of dockerized oats.
Dependencies
- nodejs - see
.node-versionfile (probably will work with many other versions) - pnpm - most likely works with other package managers too
Installation
pnpm i -D oats-dockerSetup
Put oats version into .oats-version file.
echo 1.4.1 > .oats-versionUsage
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 oatsor
pnpm gen-apiOr in the case of npm probably something like this (not tested):
npm run oatsor
npm run gen-apiDevelopment
pnpm iFor 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.jsLicense
GPLv3