@itasis/oasis-tools
v1.6.0
Published
The tool for OASIS services # Prerequisites - NodeJS >= 14 (Recommend Node 16) - [email protected] (Not using npm due to the workspaces feature) # How to use? ## Create docker file - Script to execute: ```bash yarn oasis-tools create-docker ``` - Options(opt
Downloads
3
Readme
oasis-tools
The tool for OASIS services
Prerequisites
- NodeJS >= 14 (Recommend Node 16)
- [email protected] (Not using npm due to the workspaces feature)
How to use?
Create docker file
- Script to execute:
yarn oasis-tools create-docker
- Options(optional):
- "--functions-dir": The directory containing the functions
- "--root-dir": The root directory
Create index.ts files for services
- Script to execute:
npx ts-node --transpile-only --prefer-ts-exts node_modules/oasis-tools/cli.ts create-handler
- Options(optional):
- "--functions-dir": The directory containing the functions
- "--excludes": The services exclude when generating actions
Create actions for moleculer service
- Script to execute:
yarn oasis-tools create-moleculer
- Options(optional):
- "--functions-dir": The directory containing the functions
- "--packages-dir": The directory containing the packages
- "--excludes": The services exclude when generating actions
Create a user or get token from existing user
- Script to execute:
yarn oasis-tools create-user --email [email protected] --password test123456 --clientId xyz --poolId ap-southeast-1_AABBCC --region ap-southeast-1