2.0.0 • Published 4 years ago

subscription-messaging-common v2.0.0

Weekly downloads
1
License
UNLICENSED
Repository
-
Last release
4 years ago

subscription-messaging-common

Source code for building MEDITECH's RestAPI Subscription Messaging Common Package.

Production Build

From the root of the repository, run the following to build a production package into packages/subscription-messaging-common/package:

scripts/build-pkg.sh smc

Cutting a release

  1. Use the Bump Package command to tag a release of this package.
  2. Generate the package MTAD.

Develop

Build & Load

Before developing in the subscription messaging package, you must build and load the package into the REST infrastructure running on your machine. You'll also want to run the build and load script anytime you make changes to definitions or are running newer code from master.

From the root of the repository, run the following to build a development package into packages/subscription-messaging-common/package and load it into the REST installation running from packages/server/build:

scripts/build-pkg.sh smc -d -l

Build & Watch

When developing in the subscription messaging common package, you'll want to run the build and watch script anytime you make changes to Typescript files in source.

From the root of the repository, run the following to build a development package and watch for changes in order to rebuild the native handlers:

scripts/watch-pkg.sh smc