Skip to content

Commit 7604771

Browse files
goyaldivijmohan-13
authored andcommitted
BAH-1986 | Added engine version validation
Co-authored-by: MOHANKUMAR T <mohan13081999@gmail.com>
1 parent 9037470 commit 7604771

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "0.0.4",
44
"description": "An appointment app for bahmni/openmrs.",
55
"license": "AGPLv3",
6+
"engines": {
7+
"node": ">=12 <15"
8+
},
69
"scripts": {
710
"build-react": "cd ui && npm run build-react",
811
"build": "npm run build-react && webpack --mode=development",

ui/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

ui/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "0.0.3",
44
"description": "React Appointments Frontend",
55
"main": "dist/reactAngularAdaptor.js",
6+
"engines": {
7+
"node": ">=12 <15"
8+
},
69
"directories": {
710
"test": "test"
811
},

0 commit comments

Comments
 (0)