@openmrs/esm-home-app 5.0.1-pre.260 → 5.0.1-pre.264

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,4 +30,4 @@ This can impact web performance.
30
30
  Assets:
31
31
  130.js (497 KiB)
32
32
 
33
- webpack 5.88.2 compiled with 1 warning in 13839 ms
33
+ webpack 5.88.2 compiled with 1 warning in 23364 ms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-home-app",
3
- "version": "5.0.1-pre.260",
3
+ "version": "5.0.1-pre.264",
4
4
  "description": "Homepage microfrontend for the OpenMRS SPA",
5
5
  "browser": "dist/openmrs-esm-home-app.js",
6
6
  "main": "src/index.ts",
@@ -12,8 +12,9 @@
12
12
  "debug": "npm run serve",
13
13
  "build": "webpack --mode production",
14
14
  "analyze": "webpack --mode=production --env.analyze=true",
15
- "lint": "eslint src --ext tsx",
15
+ "lint": "cross-env TIMING=1 eslint src --ext ts,tsx --fix --max-warnings=0 --color",
16
16
  "typescript": "tsc",
17
+ "verify": "turbo lint typescript test --color",
17
18
  "extract-translations": "i18next 'src/**/*.{component.tsx,tsx}' --config ../../tools/i18next-parser.config.js",
18
19
  "test": "cross-env TZ=UTC jest --config jest.config.js --verbose false --passWithNoTests",
19
20
  "coverage": "yarn test --coverage"
@@ -27,11 +28,6 @@
27
28
  "publishConfig": {
28
29
  "access": "public"
29
30
  },
30
- "husky": {
31
- "hooks": {
32
- "pre-commit": "pretty-quick --staged && concurrently 'npm:test' 'npm:typescript' 'npm:lint'"
33
- }
34
- },
35
31
  "repository": {
36
32
  "type": "git",
37
33
  "url": "git+https://github.com/openmrs/openmrs-esm-home.git"
@@ -45,5 +41,5 @@
45
41
  "react-i18next": "11.x",
46
42
  "react-router-dom": "6.x"
47
43
  },
48
- "gitHead": "ff7e0d2bfee91192cf2044d35e744d64be21b5ec"
44
+ "gitHead": "19de11bab41937f85ece048f022424b4444cce17"
49
45
  }
@@ -3,4 +3,4 @@ declare module '*.css';
3
3
  declare module '*.scss';
4
4
  declare module '*.png';
5
5
 
6
- declare type SideNavProps = {};
6
+ declare interface SideNavProps {}
package/tsconfig.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "extends": "../../tsconfig.json",
3
3
  "include": ["src/**/*"],
4
- "exclude": ["src/**/*.test.tsx", "src/**/*.outdated.tsx"]
4
+ "exclude": ["src/**/*.test.tsx"]
5
5
  }
package/src/root.test.tsx DELETED
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { render } from '@testing-library/react';
3
- import Root from './root.component';
4
-
5
- window.spaBase = '/';
6
-
7
- describe(`<Root />`, () => {
8
- it(`renders without dying`, () => {
9
- render(<Root />);
10
- });
11
- });