1.1.0 • Published 1 year ago

oasis-tools v1.1.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

oasis-tools

The tool for OASIS services

Prerequisites

  • NodeJS >= 14 (Recommend Node 16)
  • yarn@1.19.0 (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 your@mail.com --password test123456 --clientId xyz --poolId ap-southeast-1_AABBCC --region ap-southeast-1
1.1.0

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago