@kalix-io/kalix-scripts

1.1.0 • Public • Published

kalix-scripts

This package includes scripts and configuration used by the create-kalix-entity tool.

Configuration is pulled from the config section of your project's package.json, and the command will fail if any required configuration is not present. For example:

{
 ...
  "config": {
    "dockerImage": "my-docker-repo/my-image",
    "sourceDir": "./src",
    "testSourceDir": "./test",
    "protoSourceDir": "./proto",
    "generatedSourceDir": "./lib/generated",
    "compileDescriptorArgs": []
  },
  ...
}

Install

On install, this downloads the latest version of the JavaScript codegen CLI

Scripts

Build

  • Builds Protobuf descriptor file
  • Runs Kalix JS codegen

Package

  • Builds Docker image of the service

Deploy

  • Deploys Docker image to specified repository
  • Invokes Kalix deploy via kalix CLI

Readme

Keywords

none

Package Sidebar

Install

npm i @kalix-io/kalix-scripts

Weekly Downloads

1

Version

1.1.0

License

Copyright (c) Lightbend Inc. 2021

Unpacked Size

11.4 kB

Total Files

5

Last publish

Collaborators

  • pvlugter
  • kalix-io-bot
  • ennru
  • johanandren