Skip to content

Commit 7534ae2

Browse files
committed
(chore) Update dependencies and remove unused
1 parent 6decffa commit 7534ae2

9 files changed

Lines changed: 2720 additions & 4649 deletions

File tree

.yarn/releases/yarn-4.13.0.cjs

Lines changed: 940 additions & 0 deletions
Large diffs are not rendered by default.

.yarn/releases/yarn-4.9.2.cjs

Lines changed: 0 additions & 942 deletions
This file was deleted.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
nodeLinker: node-modules
22

3-
yarnPath: .yarn/releases/yarn-4.9.2.cjs
3+
yarnPath: .yarn/releases/yarn-4.13.0.cjs

package.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"packages/*"
88
],
99
"scripts": {
10-
"start": "openmrs develop --sources 'packages/esm-*-app/' --backend http://lime-mosul-uat.madiro.org",
10+
"start": "openmrs develop --sources 'packages/esm-*-app/' --backend https://lime-mosul-uat.madiro.org",
1111
"ci:publish": "yarn workspaces foreach --all --topological --exclude @madiro/openmrs-esm-lime npm publish --access public --tag latest",
1212
"ci:prepublish": "yarn workspaces foreach --all --topological --exclude @madiro/openmrs-esm-lime npm publish --access public --tag next",
1313
"release": "yarn workspaces foreach --all --topological version",
@@ -39,7 +39,6 @@
3939
"babel-preset-minify": "^0.5.2",
4040
"concurrently": "^8.2.1",
4141
"cross-env": "^7.0.3",
42-
"css-loader": "^6.8.1",
4342
"dayjs": "^1.11.10",
4443
"dotenv": "^16.3.1",
4544
"eslint": "^8.50.0",
@@ -65,17 +64,13 @@
6564
"react-i18next": "^11.18.6",
6665
"react-router-dom": "^6.16.0",
6766
"rxjs": "^6.6.7",
68-
"swc-loader": "^0.2.3",
6967
"swr": "^2.2.4",
7068
"turbo": "^2.5.0",
71-
"typescript": "^4.9.5",
72-
"webpack": "^5.99.9",
73-
"webpack-cli": "^6.0.1",
74-
"webpack-dev-server": "^5.2.1"
69+
"typescript": "^5.0.0"
7570
},
7671
"lint-staged": {
7772
"packages/**/src/**/*.{ts,tsx}": "eslint --cache --fix --max-warnings 0",
7873
"*.{css,scss,ts,tsx}": "prettier --cache --write --list-different"
7974
},
80-
"packageManager": "yarn@4.9.2"
75+
"packageManager": "yarn@4.13.0"
8176
}

packages/esm-mental-health-app/package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,10 @@
4343
"yup": "^0.32.11"
4444
},
4545
"peerDependencies": {
46-
"@openmrs/esm-framework": "8.x",
46+
"@openmrs/esm-framework": "9.x",
4747
"react": "18.x",
48-
"react-i18next": "11.x",
48+
"react-i18next": "16.x",
4949
"react-router-dom": "6.x",
5050
"swr": "2.x"
51-
},
52-
"devDependencies": {
53-
"webpack": "^5.99.9"
5451
}
5552
}

packages/esm-nutrition-app/package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,12 @@
4444
"yup": "^0.32.11"
4545
},
4646
"peerDependencies": {
47-
"@openmrs/esm-framework": "8.x",
48-
"@openmrs/esm-patient-common-lib": "11.x",
47+
"@openmrs/esm-framework": "9.x",
48+
"@openmrs/esm-patient-common-lib": "12.x",
4949
"dayjs": "1.x",
5050
"react": "18.x",
51-
"react-i18next": "11.x",
51+
"react-i18next": "16.x",
5252
"react-router-dom": "6.x",
5353
"swr": "2.x"
54-
},
55-
"devDependencies": {
56-
"webpack": "^5.99.9"
5754
}
5855
}

packages/esm-nutrition-app/webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const config = (module.exports = require('openmrs/default-webpack-config'));
2-
config.scriptRuleConfig.exclude = /(node_modules(?![\/\\]@(?:openmrs)))/;
32
config.overrides.resolve = {
43
extensions: ['.tsx', '.ts', '.jsx', '.js', '.scss'],
54
alias: {

webpack.config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
const config = (module.exports = require('openmrs/default-webpack-config'));
2-
config.scriptRuleConfig.exclude = /(node_modules(?![\/\\]@(?:openmrs)))/;
3-
4-
module.exports = config;
1+
module.exports = require('openmrs/default-webpack-config');

0 commit comments

Comments
 (0)