Skip to content

Commit

Permalink
(chore) release 2.1.x (#1732)
Browse files Browse the repository at this point in the history
  • Loading branch information
pirupius authored Dec 21, 2023
1 parent 48c424f commit c72a2e2
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 32 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ OpenMRS HIV Reference Implementation (OHRI) packages built on top of OpenMRS Fro
- [esm-covid-app](https://github.com/UCSF-IGHS/openmrs-esm-ohri/tree/master/packages/esm-covid-app) (COVID-19 App)
- [esm-cervical-cancer-app](https://github.com/UCSF-IGHS/openmrs-esm-ohri/tree/master/packages/esm-cervical-cancer-app) (Cervical Cancer App)
- [esm-ohri-pmtct-app](https://github.com/UCSF-IGHS/openmrs-esm-ohri/tree/master/packages/esm-ohri-pmtct-app) (PMTCT App)
- [esm-ohri-tb-app](https://github.com/UCSF-IGHS/openmrs-esm-ohri/tree/master/packages/esm-tb-app) (TB App)

## Installation

Expand Down Expand Up @@ -88,7 +89,7 @@ yarn test

TBD

## Configuration
## Configuration

This module is designed to be driven by configuration files. These files define the look and functionality required to drive the OHRI module.

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "2.0.2",
"version": "2.1.0",
"command": {
"publish": {
"verifyAccess": false,
Expand Down
4 changes: 2 additions & 2 deletions packages/esm-cervical-cancer-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ohri/openmrs-esm-ohri-cervical-cancer-app",
"version": "2.0.2",
"version": "2.1.0",
"description": "Cervical cancer microfrontend for OpenMRS HIV Reference Implementation (OHRI)",
"browser": "dist/openmrs-esm-ohri-cervical-cancer-app.js",
"main": "src/index.ts",
Expand Down Expand Up @@ -38,7 +38,7 @@
},
"peerDependencies": {
"@openmrs/esm-framework": "5.x",
"@openmrs/esm-patient-common-lib": "5.x",
"@openmrs/esm-patient-common-lib": "6.x",
"dayjs": "^1.8.16",
"react": "^18.2.0",
"react-i18next": "^11.18.6"
Expand Down
4 changes: 2 additions & 2 deletions packages/esm-commons-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ohri/openmrs-esm-ohri-commons-lib",
"version": "2.0.2",
"version": "2.1.0",
"description": "Commons library microfrontend of shared assets for OpenMRS HIV Reference Implementation (OHRI)",
"browser": "dist/ohri-commons-lib.js",
"main": "src/index.ts",
Expand Down Expand Up @@ -42,7 +42,7 @@
},
"peerDependencies": {
"@openmrs/esm-framework": "5.x",
"@openmrs/esm-patient-common-lib": "5.x",
"@openmrs/esm-patient-common-lib": "6.x",
"dayjs": "^1.8.16",
"react": "^18.2.0",
"react-i18next": "^11.18.6"
Expand Down
4 changes: 2 additions & 2 deletions packages/esm-covid-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ohri/openmrs-esm-ohri-covid-app",
"version": "2.0.2",
"version": "2.1.0",
"description": "COVID Microfrontend for OpenMRS HIV Reference Implementation (OHRI)",
"browser": "dist/openmrs-esm-ohri-covid-app.js",
"main": "src/index.ts",
Expand Down Expand Up @@ -40,7 +40,7 @@
},
"peerDependencies": {
"@openmrs/esm-framework": "5.x",
"@openmrs/esm-patient-common-lib": "5.x",
"@openmrs/esm-patient-common-lib": "6.x",
"dayjs": "^1.8.16",
"react": "^18.2.0",
"react-i18next": "^11.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-form-render-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ohri/openmrs-esm-ohri-form-render-app",
"version": "2.0.2",
"version": "2.1.0",
"description": "A Forms Rendering microfrontend for OpenMRS HIV Reference Implementation (OHRI)",
"browser": "dist/openmrs-esm-ohri-form-render-app.js",
"main": "src/index.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/esm-hiv-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ohri/openmrs-esm-ohri-hiv-app",
"version": "2.0.2",
"version": "2.1.0",
"description": "HIV microfrontend for OpenMRS HIV Reference Implementation (OHRI)",
"browser": "dist/openmrs-esm-ohri-hiv-app.js",
"main": "src/index.ts",
Expand Down Expand Up @@ -40,7 +40,7 @@
},
"peerDependencies": {
"@openmrs/esm-framework": "5.x",
"@openmrs/esm-patient-common-lib": "5.x",
"@openmrs/esm-patient-common-lib": "6.x",
"dayjs": "^1.8.16",
"react": "^18.2.0",
"react-i18next": "^11.7.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/esm-ohri-core-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ohri/openmrs-esm-ohri-core-app",
"version": "2.0.2",
"version": "2.1.0",
"description": "A custom microfrontend for OpenMRS HIV Reference Implementation (OHRI)",
"browser": "dist/ohri-core-app.js",
"main": "src/index.ts",
Expand Down Expand Up @@ -40,7 +40,7 @@
},
"peerDependencies": {
"@openmrs/esm-framework": "5.x",
"@openmrs/esm-patient-common-lib": "5.x",
"@openmrs/esm-patient-common-lib": "6.x",
"dayjs": "^1.8.16",
"react": "^18.2.0",
"react-i18next": "^11.7.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/esm-ohri-pmtct-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ohri/openmrs-esm-ohri-pmtct",
"version": "2.0.2",
"version": "2.1.0",
"description": "PMTCT microfrontend for OpenMRS HIV Reference Implementation (OHRI)",
"browser": "dist/ohri-pmtct-app.js",
"main": "src/index.ts",
Expand Down Expand Up @@ -38,7 +38,7 @@
},
"peerDependencies": {
"@openmrs/esm-framework": "5.x",
"@openmrs/esm-patient-common-lib": "5.x",
"@openmrs/esm-patient-common-lib": "6.x",
"dayjs": "^1.8.16",
"react": "^18.2.0",
"react-i18next": "^11.7.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/esm-tb-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ohri/openmrs-esm-ohri-tb-app",
"version": "2.0.2",
"version": "2.1.0",
"description": "Tuberclosis microfrontend for OpenMRS HIV Reference Implementation (OHRI)",
"browser": "dist/openmrs-esm-ohri-tb-app.js",
"main": "src/index.ts",
Expand Down Expand Up @@ -38,7 +38,7 @@
},
"peerDependencies": {
"@openmrs/esm-framework": "5.x",
"@openmrs/esm-patient-common-lib": "5.x",
"@openmrs/esm-patient-common-lib": "6.x",
"dayjs": "^1.8.16",
"react": "^18.2.0",
"react-i18next": "^11.18.6"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import React, { useMemo } from 'react';
import { useTranslation } from 'react-i18next';
import {
getObsFromEncounter,
OHRIPatientListTabs,
} from '@ohri/openmrs-esm-ohri-commons-lib';
import { getObsFromEncounter, OHRIPatientListTabs } from '@ohri/openmrs-esm-ohri-commons-lib';
import { moduleName } from '../../../index';
import { useConfig } from '@openmrs/esm-framework';

Expand All @@ -30,22 +27,22 @@ function TbHomePatientTabs() {
{
key: 'caseID',
header: t('caseID', 'Case ID'),
getValue: ( { latestEncounter }) => {
getValue: ({ latestEncounter }) => {
return getObsFromEncounter(latestEncounter, config.obsConcepts.caseID);
},
index: 1,
},
{
key: 'drugSensitivity',
header: t('drugSensitivity', 'Drug Sensitivity'),
getValue: ({ latestEncounter }) => {
getValue: ({ latestEncounter }) => {
return getObsFromEncounter(latestEncounter, config.obsConcepts.drugSensitivity);
},
},
{
key: 'site',
header: t('siteOfTb,', 'Site of TB'),
getValue: ( { latestEncounter } ) => {
getValue: ({ latestEncounter }) => {
return getObsFromEncounter(latestEncounter, config.obsConcepts.site);
},
},
Expand All @@ -64,7 +61,7 @@ function TbHomePatientTabs() {
},
},
],
viewPatientProgramSummary:true
viewPatientProgramSummary: true,
},
],
[],
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3646,7 +3646,7 @@ __metadata:
webpack: ^5.74.0
peerDependencies:
"@openmrs/esm-framework": 5.x
"@openmrs/esm-patient-common-lib": 5.x
"@openmrs/esm-patient-common-lib": 6.x
dayjs: ^1.8.16
react: ^18.2.0
react-i18next: ^11.18.6
Expand All @@ -3671,7 +3671,7 @@ __metadata:
yup: ^0.29.1
peerDependencies:
"@openmrs/esm-framework": 5.x
"@openmrs/esm-patient-common-lib": 5.x
"@openmrs/esm-patient-common-lib": 6.x
dayjs: ^1.8.16
react: ^18.2.0
react-i18next: ^11.18.6
Expand All @@ -3688,7 +3688,7 @@ __metadata:
webpack: ^5.74.0
peerDependencies:
"@openmrs/esm-framework": 5.x
"@openmrs/esm-patient-common-lib": 5.x
"@openmrs/esm-patient-common-lib": 6.x
dayjs: ^1.8.16
react: ^18.2.0
react-i18next: ^11.7.0
Expand All @@ -3706,7 +3706,7 @@ __metadata:
webpack: ^5.74.0
peerDependencies:
"@openmrs/esm-framework": 5.x
"@openmrs/esm-patient-common-lib": 5.x
"@openmrs/esm-patient-common-lib": 6.x
dayjs: ^1.8.16
react: ^18.2.0
react-i18next: ^11.7.0
Expand Down Expand Up @@ -3746,7 +3746,7 @@ __metadata:
webpack: ^5.74.0
peerDependencies:
"@openmrs/esm-framework": 5.x
"@openmrs/esm-patient-common-lib": 5.x
"@openmrs/esm-patient-common-lib": 6.x
dayjs: ^1.8.16
react: ^18.2.0
react-i18next: ^11.7.0
Expand All @@ -3762,7 +3762,7 @@ __metadata:
webpack: ^5.74.0
peerDependencies:
"@openmrs/esm-framework": 5.x
"@openmrs/esm-patient-common-lib": 5.x
"@openmrs/esm-patient-common-lib": 6.x
dayjs: ^1.8.16
react: ^18.2.0
react-i18next: ^11.7.0
Expand All @@ -3778,7 +3778,7 @@ __metadata:
webpack: ^5.74.0
peerDependencies:
"@openmrs/esm-framework": 5.x
"@openmrs/esm-patient-common-lib": 5.x
"@openmrs/esm-patient-common-lib": 6.x
dayjs: ^1.8.16
react: ^18.2.0
react-i18next: ^11.18.6
Expand Down

0 comments on commit c72a2e2

Please sign in to comment.