Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(chore) updates package name and readme #23

Merged
merged 4 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## Requirements

- [ ] This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a [conventional commit](https://o3-dev.docs.openmrs.org/#/getting_started/contributing?id=your-pr-title-should-indicate-the-type-of-change-it-is) label. See existing PR titles for inspiration.
- [ ] My work conforms to the [OpenMRS 3.0 Styleguide](https://om.rs/styleguide) and [design documentation](https://zeroheight.com/23a080e38/p/880723-introduction).
- [ ] My work includes tests or is validated by existing tests.

## Summary
<!-- Please describe what problems your PR addresses. -->

## Screenshots
<!-- Required if you are making UI changes. -->

## Related Issue
<!-- Paste the link to the Jira ticket here if one exists. -->
<!-- https://issues.openmrs.org/browse/O3- -->

## Other
<!-- Anything not covered above -->
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
types:
- created
env:
ESM_NAME: "@ugandaemr/openmrs-esm-laboratory-app"
ESM_NAME: "@openmrs/esm-laboratory-app"
JS_NAME: "openmrs-esm-laboratory-app.js"

jobs:
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,21 @@
A frontend module for managing laboratory requests and queues built on OpenMRS 3.x

For more information, please refer to the
[OpenMRS 3.x Frontend Documentation](https://openmrs.github.io/openmrs-esm-core/#/).
[OpenMRS 3.x Frontend Documentation](https://o3-docs.openmrs.org/).

### Dashboard

<img src="https://raw.githubusercontent.com/openmrs/openmrs-esm-laboratory/chore/updates-package-name/assets/screenshots/labs_general_dashboard.png" />

### Adding Results

<img src="https://raw.githubusercontent.com/openmrs/openmrs-esm-laboratory/chore/updates-package-name/assets/screenshots/labs_enter_results.png" />

# Getting Started

```sh
# Clone the repository
git clone [email protected]:METS-Programme/openmrs-esm-laboratory.git
git clone [email protected]:openmrs/openmrs-esm-laboratory.git

# to install dependencies
yarn
Expand Down
Binary file added assets/screenshots/labs_enter_results.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshots/labs_general_dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@ugandaemr/openmrs-esm-laboratory-app",
"version": "1.0.1",
"name": "@openmrs/esm-laboratory-app",
"version": "1.0.0",
"license": "MPL-2.0",
"description": "Laboratory microfrontend for OpenMRS 3.x",
"browser": "dist/openmrs-esm-laboratory-app.js",
"main": "src/index.ts",
"source": true,
"scripts": {
"start": "openmrs develop --backend http://194.163.171.253:8282",
"start": "openmrs develop",
"serve": "webpack serve --mode=development",
"build": "webpack --mode production",
"analyze": "webpack --mode=production --env analyze=true",
Expand Down Expand Up @@ -35,14 +35,14 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/METS-Programme/openmrs-esm-laboratory.git"
"url": "git+https://github.com/openmrs/openmrs-esm-laboratory.git"
},
"homepage": "https://github.com/METS-Programme/openmrs-esm-laboratory#readme",
"homepage": "https://github.com/openmrs/openmrs-esm-laboratory#readme",
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/METS-Programme/openmrs-esm-laboratory/issues"
"url": "https://github.com/openmrs/openmrs-esm-laboratory/issues"
},
"dependencies": {
"@carbon/react": "^1.14.0",
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const moduleName = "@ugandaemr/openmrs-esm-laboratory-app";
export const moduleName = "@openmrs/esm-laboratory-app";

export const LABORATARORY_ENCOUNTER_TYPE =
"cbf01392-ca29-11e9-a32f-2a2ae2dbcce4";
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { configSchema } from "./config-schema";
import { createHomeDashboardLink } from "./components/create-dashboard-link.component";
import { createDashboardLink } from "@openmrs/esm-patient-common-lib";

const moduleName = "@ugandaemr/esm-laboratory-app";
const moduleName = "@openmrs/esm-laboratory-app";

const options = {
featureName: "ugandaemr-laboratory",
Expand Down
142 changes: 71 additions & 71 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4174,6 +4174,77 @@ __metadata:
languageName: node
linkType: hard

"@openmrs/esm-laboratory-app@workspace:.":
version: 0.0.0-use.local
resolution: "@openmrs/esm-laboratory-app@workspace:."
dependencies:
"@carbon/react": ^1.14.0
"@ohri/openmrs-esm-ohri-commons-lib": next
"@openmrs/esm-extensions": next
"@openmrs/esm-framework": next
"@openmrs/esm-patient-common-lib": next
"@openmrs/esm-react-utils": next
"@openmrs/esm-styleguide": next
"@swc/cli": ^0.1.62
"@swc/core": ^1.3.62
"@swc/jest": ^0.2.26
"@testing-library/dom": ^8.20.0
"@testing-library/jest-dom": ^5.16.5
"@testing-library/react": ^13.4.0
"@testing-library/user-event": ^14.4.3
"@types/jest": ^28.1.8
"@types/react": ^18.2.8
"@types/react-dom": ^18.2.4
"@types/react-router": ^5.1.20
"@types/react-router-dom": ^5.3.3
"@types/webpack-env": ^1.18.1
"@typescript-eslint/parser": ^5.59.9
carbon-components-react: ^8.34.0
concurrently: ^7.6.0
css-loader: ^6.8.1
dayjs: ^1.11.9
eslint: ^8.42.0
eslint-config-prettier: ^8.8.0
eslint-config-ts-react-important-stuff: ^3.0.0
eslint-plugin-prettier: ^4.2.1
file-saver: ^2.0.5
husky: ^8.0.0
identity-obj-proxy: ^3.0.0
jest: ^28.1.3
jest-cli: ^28.1.3
jest-environment-jsdom: ^28.1.3
lerna: ^5.6.1
lodash-es: ^4.17.21
openmrs: next
plotly.js: ^2.24.3
prettier: ^2.8.8
pretty-quick: ^3.1.3
raw-loader: ^4.0.2
react: ^18.2.0
react-csv: ^2.2.2
react-dom: ^18.2.0
react-i18next: ^11.18.6
react-pivottable: ^0.11.0
react-plotly.js: ^2.0.0
react-router-dom: ^6.11.2
react-table: ^7.8.0
react-to-print: ^2.14.15
rxjs: ^6.6.7
swc-loader: ^0.2.3
turbo: ^1.10.12
typescript: ^4.9.5
webpack: ^5.88.1
webpack-cli: ^5.1.3
peerDependencies:
"@openmrs/esm-framework": "*"
dayjs: 1.x
react: 18.x
react-i18next: 11.x
react-router-dom: 6.x
rxjs: 6.x
languageName: unknown
linkType: soft

"@openmrs/esm-offline@npm:^5.2.1-pre.1120":
version: 5.2.1-pre.1129
resolution: "@openmrs/esm-offline@npm:5.2.1-pre.1129"
Expand Down Expand Up @@ -6535,77 +6606,6 @@ __metadata:
languageName: node
linkType: hard

"@ugandaemr/openmrs-esm-laboratory-app@workspace:.":
version: 0.0.0-use.local
resolution: "@ugandaemr/openmrs-esm-laboratory-app@workspace:."
dependencies:
"@carbon/react": ^1.14.0
"@ohri/openmrs-esm-ohri-commons-lib": next
"@openmrs/esm-extensions": next
"@openmrs/esm-framework": next
"@openmrs/esm-patient-common-lib": next
"@openmrs/esm-react-utils": next
"@openmrs/esm-styleguide": next
"@swc/cli": ^0.1.62
"@swc/core": ^1.3.62
"@swc/jest": ^0.2.26
"@testing-library/dom": ^8.20.0
"@testing-library/jest-dom": ^5.16.5
"@testing-library/react": ^13.4.0
"@testing-library/user-event": ^14.4.3
"@types/jest": ^28.1.8
"@types/react": ^18.2.8
"@types/react-dom": ^18.2.4
"@types/react-router": ^5.1.20
"@types/react-router-dom": ^5.3.3
"@types/webpack-env": ^1.18.1
"@typescript-eslint/parser": ^5.59.9
carbon-components-react: ^8.34.0
concurrently: ^7.6.0
css-loader: ^6.8.1
dayjs: ^1.11.9
eslint: ^8.42.0
eslint-config-prettier: ^8.8.0
eslint-config-ts-react-important-stuff: ^3.0.0
eslint-plugin-prettier: ^4.2.1
file-saver: ^2.0.5
husky: ^8.0.0
identity-obj-proxy: ^3.0.0
jest: ^28.1.3
jest-cli: ^28.1.3
jest-environment-jsdom: ^28.1.3
lerna: ^5.6.1
lodash-es: ^4.17.21
openmrs: next
plotly.js: ^2.24.3
prettier: ^2.8.8
pretty-quick: ^3.1.3
raw-loader: ^4.0.2
react: ^18.2.0
react-csv: ^2.2.2
react-dom: ^18.2.0
react-i18next: ^11.18.6
react-pivottable: ^0.11.0
react-plotly.js: ^2.0.0
react-router-dom: ^6.11.2
react-table: ^7.8.0
react-to-print: ^2.14.15
rxjs: ^6.6.7
swc-loader: ^0.2.3
turbo: ^1.10.12
typescript: ^4.9.5
webpack: ^5.88.1
webpack-cli: ^5.1.3
peerDependencies:
"@openmrs/esm-framework": "*"
dayjs: 1.x
react: 18.x
react-i18next: 11.x
react-router-dom: 6.x
rxjs: 6.x
languageName: unknown
linkType: soft

"@ungap/structured-clone@npm:^1.2.0":
version: 1.2.0
resolution: "@ungap/structured-clone@npm:1.2.0"
Expand Down
Loading