diff --git a/package.json b/package.json index a2e14df5f..89bb36f0d 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "rxjs": "^6.6.3", "sass": "^1.54.3", "swc-loader": "^0.1.15", - "swr": "^2.1.0", + "swr": "^2.2.4", "systemjs-webpack-interop": "^2.3.7", "turbo": "^1.5.5", "typescript": "^4.6.3", diff --git a/packages/esm-cervical-cancer-app/package.json b/packages/esm-cervical-cancer-app/package.json index a65001435..71d3182ca 100644 --- a/packages/esm-cervical-cancer-app/package.json +++ b/packages/esm-cervical-cancer-app/package.json @@ -21,7 +21,9 @@ "extends browserslist-config-openmrs" ], "keywords": [ - "openmrs" + "openmrs", + "ohri", + "cervical cancer" ], "publishConfig": { "access": "public" @@ -39,9 +41,10 @@ "peerDependencies": { "@openmrs/esm-framework": "5.x", "@openmrs/esm-patient-common-lib": "6.x", - "dayjs": "^1.8.16", - "react": "^18.2.0", - "react-i18next": "^11.18.6" + "dayjs": "1.x", + "react": "18.x", + "react-i18next": "11.x", + "swr": "2.x" }, "devDependencies": { "webpack": "^5.74.0" diff --git a/packages/esm-commons-lib/package.json b/packages/esm-commons-lib/package.json index 2a4c0cc89..9e8554df4 100644 --- a/packages/esm-commons-lib/package.json +++ b/packages/esm-commons-lib/package.json @@ -43,9 +43,10 @@ "peerDependencies": { "@openmrs/esm-framework": "5.x", "@openmrs/esm-patient-common-lib": "6.x", - "dayjs": "^1.8.16", - "react": "^18.2.0", - "react-i18next": "^11.18.6" + "dayjs": "1.x", + "react": "18.x", + "react-i18next": "11.x", + "swr": "2.x" }, "devDependencies": { "enzyme": "^3.11.0", diff --git a/packages/esm-covid-app/package.json b/packages/esm-covid-app/package.json index 9c04ecf04..93ce7e7e6 100644 --- a/packages/esm-covid-app/package.json +++ b/packages/esm-covid-app/package.json @@ -21,7 +21,9 @@ "extends browserslist-config-openmrs" ], "keywords": [ - "openmrs" + "openmrs", + "covid", + "ohri" ], "publishConfig": { "access": "public" @@ -41,10 +43,10 @@ "peerDependencies": { "@openmrs/esm-framework": "5.x", "@openmrs/esm-patient-common-lib": "6.x", - "dayjs": "^1.8.16", - "react": "^18.2.0", - "react-i18next": "^11.7.0", - "webpack": "^5.74.0" + "dayjs": "1.x", + "react": "18.x", + "react-i18next": "11.x", + "swr": "2.x" }, "devDependencies": { "webpack": "^5.74.0" diff --git a/packages/esm-form-render-app/package.json b/packages/esm-form-render-app/package.json index 5b2e580ea..b06dc3c3f 100644 --- a/packages/esm-form-render-app/package.json +++ b/packages/esm-form-render-app/package.json @@ -7,7 +7,9 @@ "license": "MIT", "homepage": "https://github.com/UCSF-IGHS/openmrs-esm-ohri#readme", "keywords": [ - "openmrs" + "openmrs", + "form render", + "ohri" ], "bugs": { "url": "https://github.com/UCSF-IGHS/openmrs-esm-ohri/issues" @@ -43,8 +45,8 @@ "peerDependencies": { "@openmrs/esm-framework": "5.x", "@openmrs/openmrs-form-engine-lib": "1.x", - "react": "^18.2.0", - "react-i18next": "^11.18.6" + "react": "18.x", + "react-i18next": "11.x" }, "devDependencies": { "@openmrs/openmrs-form-engine-lib": "next", diff --git a/packages/esm-hiv-app/package.json b/packages/esm-hiv-app/package.json index 56b75ddef..849d1d7d5 100644 --- a/packages/esm-hiv-app/package.json +++ b/packages/esm-hiv-app/package.json @@ -21,7 +21,9 @@ "extends browserslist-config-openmrs" ], "keywords": [ - "openmrs" + "openmrs", + "hiv", + "ohri" ], "publishConfig": { "access": "public" @@ -41,10 +43,10 @@ "peerDependencies": { "@openmrs/esm-framework": "5.x", "@openmrs/esm-patient-common-lib": "6.x", - "dayjs": "^1.8.16", - "react": "^18.2.0", - "react-i18next": "^11.7.0", - "webpack": "^5.74.0" + "dayjs": "1.x", + "react": "18.x", + "react-i18next": "11.x", + "swr": "2.x" }, "devDependencies": { "webpack": "^5.74.0" diff --git a/packages/esm-ohri-core-app/package.json b/packages/esm-ohri-core-app/package.json index 59ccd087d..47024b369 100644 --- a/packages/esm-ohri-core-app/package.json +++ b/packages/esm-ohri-core-app/package.json @@ -21,7 +21,8 @@ "extends browserslist-config-openmrs" ], "keywords": [ - "openmrs" + "openmrs", + "ohri" ], "publishConfig": { "access": "public" @@ -41,10 +42,10 @@ "peerDependencies": { "@openmrs/esm-framework": "5.x", "@openmrs/esm-patient-common-lib": "6.x", - "dayjs": "^1.8.16", - "react": "^18.2.0", - "react-i18next": "^11.7.0", - "webpack": "^5.74.0" + "dayjs": "1.x", + "react": "18.x", + "react-i18next": "11.x", + "swr": "2.x" }, "devDependencies": { "webpack": "^5.74.0" diff --git a/packages/esm-ohri-pmtct-app/package.json b/packages/esm-ohri-pmtct-app/package.json index 6c2b8d0a2..5f59b88e8 100644 --- a/packages/esm-ohri-pmtct-app/package.json +++ b/packages/esm-ohri-pmtct-app/package.json @@ -21,7 +21,9 @@ "extends browserslist-config-openmrs" ], "keywords": [ - "openmrs" + "openmrs", + "ohri", + "maternal child health" ], "publishConfig": { "access": "public" @@ -39,10 +41,10 @@ "peerDependencies": { "@openmrs/esm-framework": "5.x", "@openmrs/esm-patient-common-lib": "6.x", - "dayjs": "^1.8.16", - "react": "^18.2.0", - "react-i18next": "^11.7.0", - "webpack": "^5.74.0" + "dayjs": "1.x", + "react": "18.x", + "react-i18next": "11.x", + "swr": "2.x" }, "devDependencies": { "webpack": "^5.74.0" diff --git a/packages/esm-tb-app/package.json b/packages/esm-tb-app/package.json index 961bbdfca..77b03b08f 100644 --- a/packages/esm-tb-app/package.json +++ b/packages/esm-tb-app/package.json @@ -21,7 +21,9 @@ "extends browserslist-config-openmrs" ], "keywords": [ - "openmrs" + "openmrs", + "ohri", + "tuberclosis" ], "publishConfig": { "access": "public" @@ -39,9 +41,10 @@ "peerDependencies": { "@openmrs/esm-framework": "5.x", "@openmrs/esm-patient-common-lib": "6.x", - "dayjs": "^1.8.16", - "react": "^18.2.0", - "react-i18next": "^11.18.6" + "dayjs": "1.x", + "react": "18.x", + "react-i18next": "11.x", + "swr": "2.x" }, "devDependencies": { "webpack": "^5.74.0" diff --git a/yarn.lock b/yarn.lock index 56173da02..b8db48eda 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3647,9 +3647,10 @@ __metadata: peerDependencies: "@openmrs/esm-framework": 5.x "@openmrs/esm-patient-common-lib": 6.x - dayjs: ^1.8.16 - react: ^18.2.0 - react-i18next: ^11.18.6 + dayjs: 1.x + react: 18.x + react-i18next: 11.x + swr: 2.x languageName: unknown linkType: soft @@ -3672,9 +3673,10 @@ __metadata: peerDependencies: "@openmrs/esm-framework": 5.x "@openmrs/esm-patient-common-lib": 6.x - dayjs: ^1.8.16 - react: ^18.2.0 - react-i18next: ^11.18.6 + dayjs: 1.x + react: 18.x + react-i18next: 11.x + swr: 2.x languageName: unknown linkType: soft @@ -3689,10 +3691,10 @@ __metadata: peerDependencies: "@openmrs/esm-framework": 5.x "@openmrs/esm-patient-common-lib": 6.x - dayjs: ^1.8.16 - react: ^18.2.0 - react-i18next: ^11.7.0 - webpack: ^5.74.0 + dayjs: 1.x + react: 18.x + react-i18next: 11.x + swr: 2.x languageName: unknown linkType: soft @@ -3707,10 +3709,10 @@ __metadata: peerDependencies: "@openmrs/esm-framework": 5.x "@openmrs/esm-patient-common-lib": 6.x - dayjs: ^1.8.16 - react: ^18.2.0 - react-i18next: ^11.7.0 - webpack: ^5.74.0 + dayjs: 1.x + react: 18.x + react-i18next: 11.x + swr: 2.x languageName: unknown linkType: soft @@ -3731,8 +3733,8 @@ __metadata: peerDependencies: "@openmrs/esm-framework": 5.x "@openmrs/openmrs-form-engine-lib": 1.x - react: ^18.2.0 - react-i18next: ^11.18.6 + react: 18.x + react-i18next: 11.x languageName: unknown linkType: soft @@ -3747,10 +3749,10 @@ __metadata: peerDependencies: "@openmrs/esm-framework": 5.x "@openmrs/esm-patient-common-lib": 6.x - dayjs: ^1.8.16 - react: ^18.2.0 - react-i18next: ^11.7.0 - webpack: ^5.74.0 + dayjs: 1.x + react: 18.x + react-i18next: 11.x + swr: 2.x languageName: unknown linkType: soft @@ -3763,10 +3765,10 @@ __metadata: peerDependencies: "@openmrs/esm-framework": 5.x "@openmrs/esm-patient-common-lib": 6.x - dayjs: ^1.8.16 - react: ^18.2.0 - react-i18next: ^11.7.0 - webpack: ^5.74.0 + dayjs: 1.x + react: 18.x + react-i18next: 11.x + swr: 2.x languageName: unknown linkType: soft @@ -3779,9 +3781,10 @@ __metadata: peerDependencies: "@openmrs/esm-framework": 5.x "@openmrs/esm-patient-common-lib": 6.x - dayjs: ^1.8.16 - react: ^18.2.0 - react-i18next: ^11.18.6 + dayjs: 1.x + react: 18.x + react-i18next: 11.x + swr: 2.x languageName: unknown linkType: soft @@ -3837,7 +3840,7 @@ __metadata: rxjs: ^6.6.3 sass: ^1.54.3 swc-loader: ^0.1.15 - swr: ^2.1.0 + swr: ^2.2.4 systemjs-webpack-interop: ^2.3.7 turbo: ^1.5.5 typescript: ^4.6.3 @@ -8301,6 +8304,13 @@ __metadata: languageName: node linkType: hard +"client-only@npm:^0.0.1": + version: 0.0.1 + resolution: "client-only@npm:0.0.1" + checksum: 0c16bf660dadb90610553c1d8946a7fdfb81d624adea073b8440b7d795d5b5b08beb3c950c6a2cf16279365a3265158a236876d92bce16423c485c322d7dfaf8 + languageName: node + linkType: hard + "cliui@npm:^7.0.2": version: 7.0.4 resolution: "cliui@npm:7.0.4" @@ -19582,14 +19592,15 @@ __metadata: languageName: node linkType: hard -"swr@npm:^2.1.0": - version: 2.1.0 - resolution: "swr@npm:2.1.0" +"swr@npm:^2.2.4": + version: 2.2.4 + resolution: "swr@npm:2.2.4" dependencies: + client-only: ^0.0.1 use-sync-external-store: ^1.2.0 peerDependencies: react: ^16.11.0 || ^17.0.0 || ^18.0.0 - checksum: 7de1799f319c7ebfb996cb843279169144b7087215ce7318dd6011590908341ac7d5bca93a197666557c2450b0297d9efbc610fd069b82dc3387130c619965fc + checksum: d1398f89fd68af0e0cb6100a5769b1e17c0dbe8a778898643ad28456acda64add43344754c7d919e3f2ca82854adf86ff7d465aba25a2d555bcb669e457138f8 languageName: node linkType: hard