Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
brandones committed Apr 19, 2024
1 parent f416292 commit 91c93b4
Show file tree
Hide file tree
Showing 3 changed files with 858 additions and 1,394 deletions.
25 changes: 9 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,18 @@
"workspaces": [
"packages/*"
],
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --cache --fix"
},
"scripts": {
"ci:publish": "yarn workspaces foreach --all --topological --exclude @openmrs/esm-home npm publish --access public --tag latest",
"ci:prepublish": "yarn workspaces foreach --all --topological --exclude @openmrs/esm-home npm publish --access public --tag next",
"release": "yarn workspaces foreach --all --topological version",
"prettier": "prettier --config prettier.config.js --write \"packages/**/*.{ts,tsx}\" --list-different",
"postinstall": "husky install",
"start": "openmrs develop --sources 'packages/esm-*-app/'",
"verify": "turbo lint typescript test"
},
"devDependencies": {
"@babel/core": "^7.22.17",
"@carbon/react": "^1.37.0",
"@openmrs/esm-framework": "^5.5.1-pre.1665",
"@openmrs/esm-framework": "next",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.84",
"@swc/jest": "^0.2.29",
Expand All @@ -37,9 +33,7 @@
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-ts-react-important-stuff": "^3.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"i18next": "^23.5.1",
"i18next-parser": "^8.7.0",
Expand All @@ -48,7 +42,7 @@
"jest-cli": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^14.0.1",
"openmrs": "^5.5.1-pre.1665",
"openmrs": "next",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand All @@ -60,12 +54,11 @@
"turbo": "^1.10.13",
"typescript": "^4.9.5",
"webpack": "^5.88.2",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.15.1"
"webpack-cli": "^5.1.4"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --cache --fix --max-warnings 0",
"*.{css,scss,ts,tsx}": "prettier --write --list-different"
},
"packageManager": "[email protected]",
"resolutions": {
"@openmrs/esm-styleguide": "portal:/home/brandon/Code/pih/mf/openmrs-esm-core/packages/framework/esm-styleguide",
"@openmrs/esm-translations": "portal:/home/brandon/Code/pih/mf/openmrs-esm-core/packages/framework/esm-translations"
}
"packageManager": "[email protected]"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ExtensionSlot } from '@openmrs/esm-framework';
import styles from './dashboard-view.scss';

const DashboardView: React.FC<{ dashboardSlot: string; title: string }> = ({ dashboardSlot, title }) => {
return <ExtensionSlot className={styles.dashboardView} name={dashboardSlot} state={{ dashboardTitle: title }} />
return <ExtensionSlot className={styles.dashboardView} name={dashboardSlot} state={{ dashboardTitle: title }} />;
};

export default DashboardView;
Loading

0 comments on commit 91c93b4

Please sign in to comment.