Skip to content

Commit

Permalink
removed auto generate helper function from namibia-emr (#25)
Browse files Browse the repository at this point in the history
* removed auto generate helper function from namibia-emr

* removed the form engine dependency from the package.json

* update yarn lock
  • Loading branch information
Herobiam authored Oct 11, 2023
1 parent c8df42b commit f0ef3f4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"devDependencies": {
"@ohri/openmrs-esm-ohri-commons-lib": "next",
"@openmrs/esm-framework": "next",
"@openmrs/openmrs-form-engine-lib": "next",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.6",
"@swc/jest": "^0.2.23",
Expand Down
11 changes: 0 additions & 11 deletions src/helpers/ptracker-form-helpers.ts

This file was deleted.

6 changes: 0 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { getAsyncLifecycle, defineConfigSchema } from "@openmrs/esm-framework";
import { configSchema } from "./config-schema";
import { registerExpressionHelper } from "@openmrs/openmrs-form-engine-lib";
import { generateInfantPTrackerId } from "./helpers/ptracker-form-helpers";

require("./root.scss");

Expand All @@ -20,10 +18,6 @@ const options = {

export function startupApp() {
defineConfigSchema(moduleName, configSchema);
registerExpressionHelper(
"customGenerateInfantPTrackerId",
generateInfantPTrackerId
);
}

export const mnchClinicalDashboard = getAsyncLifecycle(
Expand Down
1 change: 0 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2653,7 +2653,6 @@ __metadata:
"@carbon/react": ^1.15.0
"@ohri/openmrs-esm-ohri-commons-lib": next
"@openmrs/esm-framework": next
"@openmrs/openmrs-form-engine-lib": next
"@swc/cli": ^0.1.57
"@swc/core": ^1.3.6
"@swc/jest": ^0.2.23
Expand Down

0 comments on commit f0ef3f4

Please sign in to comment.