0.0.0 • Published 1 year ago

clinical-noting v0.0.0

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

App Monorepo

Welcome to the IMS Web App Monorepo. This repository contains the various apps and libraries created by the team.

Install

To get started, install:

Node 14+
npm 6+

After these are installed, run :

npm ci
npm i -g nx

Usage

NX provides a set of CLI tools for managing our monorepo. To run an app, simply run nx serve app-name , such as nx serve clinical-noting

Build

To build an app, simply run nx build app-name. You can pass any additional parameters to this, such as nx build clinical-noting --prod

Test

Run npm test to execute the unit tests via Karma.

Dependency Graph

Use nx dep-graph to view a graph of the various dependencies between the libs and projects

Features App and Libraries

MHEALTH

1 - this script build a specific feature and replace it in mhealth.

Needs a manual npm i in mHealth after (which must be executed with node 10)

FEATURE_NAME=featNameHere MHEALTH_FOLDER=/your/mhealth/path/folder npm run app-build-replace:mhealth-local

2 - this script build all the features and replace them in mHealth.

Needs a manual npm i in mHealth after (which must be executed with node 10)

MHEALTH_FOLDER=/your/mhealth/path/folder npm run app-build-replace-all:mhealth-local

MONOREPO

1 - this script build and publish a feature (available for DEV and PROD envs)

FEATURE_NAME=featNameHere npm run app-build-publish:dev
FEATURE_NAME=featNameHere npm run app-build-publish:prod

2 - this script build and publish a lib (available for DEV and PROD envs)

LIB_NAME=featNameHere npm run lib-build-publish:dev
LIB_NAME=featNameHere npm run lib-build-publish:prod