@tap-payments/os-micro-frontend-shared 0.0.24 → 0.0.25

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.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Tap Payments
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Tap Payments
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # os-micro-frontend-shared
2
-
3
- ## Publishing Workflow
4
-
5
- 1. Update version in package.json
6
- 2. Commit changes
7
- 3. Create and push a tag:
8
-
9
- ```bash
10
- npm version patch # or minor, major
11
- git push origin main --tags
12
- ```
1
+ # os-micro-frontend-shared
2
+
3
+ ## Publishing Workflow
4
+
5
+ 1. Update version in package.json
6
+ 2. Commit changes
7
+ 3. Create and push a tag:
8
+
9
+ ```bash
10
+ npm version patch # or minor, major
11
+ git push origin main --tags
12
+ ```
@@ -0,0 +1,12 @@
1
+ interface FlagDetailsProps {
2
+ flags?: Array<{
3
+ id: string;
4
+ status: 'OPEN' | 'CLEARED';
5
+ amount: number;
6
+ created: number;
7
+ note: string;
8
+ ishold: boolean;
9
+ }>;
10
+ }
11
+ declare function FlagDetails({ flags }: FlagDetailsProps): import("react/jsx-runtime").JSX.Element;
12
+ export default FlagDetails;
@@ -0,0 +1,31 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import dayjs from 'dayjs';
3
+ import { RefundTooltipView } from '../TableCells';
4
+ import { formatFlagDate, formatPayoutDate } from '../../utils/index.js';
5
+ function FlagDetails({ flags }) {
6
+ const isAllFlagsClosed = flags === null || flags === void 0 ? void 0 : flags.every((flag) => flag.status === 'CLEARED');
7
+ const openedFlags = (flags === null || flags === void 0 ? void 0 : flags.filter((flag) => flag.status === 'OPEN')) || [];
8
+ const holdFlags = (openedFlags === null || openedFlags === void 0 ? void 0 : openedFlags.filter((flag) => flag.ishold)) || [];
9
+ const firstOpenFlag = openedFlags === null || openedFlags === void 0 ? void 0 : openedFlags[0];
10
+ const firstHoldFlag = holdFlags === null || holdFlags === void 0 ? void 0 : holdFlags[0];
11
+ const renderFlagTooltip = () => {
12
+ var _a;
13
+ if (isAllFlagsClosed) {
14
+ return _jsx("div", { children: "Previously Flagged & Closed" });
15
+ }
16
+ if (openedFlags.length === 1 && ((_a = openedFlags === null || openedFlags === void 0 ? void 0 : openedFlags[0]) === null || _a === void 0 ? void 0 : _a.ishold)) {
17
+ return _jsx("div", { children: `Flagged & Balance Held ${formatPayoutDate(firstHoldFlag === null || firstHoldFlag === void 0 ? void 0 : firstHoldFlag.created)}` });
18
+ }
19
+ if (openedFlags.length > 1 && (holdFlags === null || holdFlags === void 0 ? void 0 : holdFlags.length) > 0) {
20
+ const isTheSameFlag = (firstOpenFlag === null || firstOpenFlag === void 0 ? void 0 : firstOpenFlag.id) === (firstHoldFlag === null || firstHoldFlag === void 0 ? void 0 : firstHoldFlag.id);
21
+ const isSameDay = dayjs(firstOpenFlag === null || firstOpenFlag === void 0 ? void 0 : firstOpenFlag.created).isSame(firstHoldFlag === null || firstHoldFlag === void 0 ? void 0 : firstHoldFlag.created);
22
+ return isTheSameFlag ? (_jsx("div", { children: `Flagged & Balance Held ${formatFlagDate(firstHoldFlag === null || firstHoldFlag === void 0 ? void 0 : firstHoldFlag.created)}` })) : (_jsxs("div", { children: [_jsx("div", { children: `Flagged ${formatFlagDate(firstOpenFlag === null || firstOpenFlag === void 0 ? void 0 : firstOpenFlag.created)}` }), _jsxs("div", { children: ["& Balance Held ", formatFlagDate(firstHoldFlag === null || firstHoldFlag === void 0 ? void 0 : firstHoldFlag.created, isSameDay)] })] }));
23
+ }
24
+ if (!isAllFlagsClosed && openedFlags.length > 1) {
25
+ return (_jsxs("div", { children: [`Flagged ${formatFlagDate(firstOpenFlag === null || firstOpenFlag === void 0 ? void 0 : firstOpenFlag.created)}`, " - ", _jsx(RefundTooltipView, { children: "View" })] }));
26
+ }
27
+ return _jsx("div", { children: `Flagged ${formatFlagDate(firstOpenFlag === null || firstOpenFlag === void 0 ? void 0 : firstOpenFlag.created)}` });
28
+ };
29
+ return renderFlagTooltip();
30
+ }
31
+ export default FlagDetails;
@@ -0,0 +1,2 @@
1
+ import FlagDetails from './FlagDetails';
2
+ export default FlagDetails;
@@ -0,0 +1,2 @@
1
+ import FlagDetails from './FlagDetails';
2
+ export default FlagDetails;
@@ -1 +1,2 @@
1
1
  export { default as DestinationCell } from './DestinationCell';
2
+ export { generateDestinationTooltip } from './utils';
@@ -1 +1,2 @@
1
1
  export { default as DestinationCell } from './DestinationCell';
2
+ export { generateDestinationTooltip } from './utils';
@@ -1,2 +1,3 @@
1
1
  export { default as PayoutStatusCell } from './PayoutStatusCell';
2
2
  export type { ChargeStatusType } from './type';
3
+ export { RefundTooltipView } from './style';
@@ -1 +1,2 @@
1
1
  export { default as PayoutStatusCell } from './PayoutStatusCell';
2
+ export { RefundTooltipView } from './style';
@@ -3,4 +3,5 @@ export declare const segmentsIcons: {
3
3
  institution: string;
4
4
  payment: string;
5
5
  developmentHouse: string;
6
+ platform: string;
6
7
  };
@@ -1,7 +1,8 @@
1
- import { segmentTechnologyIcon, segmentInstitutionIcon, segmentDevelopmentHouseIcon, transactionIcon } from '../../../../constants/index.js';
1
+ import { segmentTechnologyIcon, segmentInstitutionIcon, segmentDevelopmentHouseIcon, transactionIcon, lightPlatformSegmentIcon } from '../../../../constants/index.js';
2
2
  export const segmentsIcons = {
3
3
  technology: segmentTechnologyIcon,
4
4
  institution: segmentInstitutionIcon,
5
5
  payment: transactionIcon,
6
6
  developmentHouse: segmentDevelopmentHouseIcon,
7
+ platform: lightPlatformSegmentIcon,
7
8
  };
@@ -6,5 +6,6 @@ export interface SegmentsCellProps extends TableCellProps {
6
6
  institution?: string;
7
7
  payment?: string;
8
8
  developmentHouse?: string;
9
+ platform?: string;
9
10
  isTextShown?: boolean;
10
11
  }
@@ -81,3 +81,4 @@ export { default as ControlPanelContainer } from './ControlPanelContainer';
81
81
  export { default as CopyImage } from './CopyImage';
82
82
  export { default as AccountDropdown } from './AccountDropdown';
83
83
  export { default as OTPInput } from './OTPInput';
84
+ export { default as FlagDetails } from './FlagDetails';
@@ -81,3 +81,4 @@ export { default as ControlPanelContainer } from './ControlPanelContainer';
81
81
  export { default as CopyImage } from './CopyImage';
82
82
  export { default as AccountDropdown } from './AccountDropdown';
83
83
  export { default as OTPInput } from './OTPInput';
84
+ export { default as FlagDetails } from './FlagDetails';
@@ -160,6 +160,7 @@ export declare const providerSegmentIcon: string;
160
160
  export declare const financialSegmentIcon: string;
161
161
  export declare const developmentSegmentIcon: string;
162
162
  export declare const platformSegmentIcon: string;
163
+ export declare const lightPlatformSegmentIcon: string;
163
164
  export declare const grayBrandIcon: string;
164
165
  export declare const jsonIcon: string;
165
166
  export declare const jsonBlackIcon: string;
@@ -161,6 +161,7 @@ export const providerSegmentIcon = `${lightUrl}/other/provider.svg`;
161
161
  export const financialSegmentIcon = `${lightUrl}/other/financial.svg`;
162
162
  export const developmentSegmentIcon = `${lightUrl}/other/development.svg`;
163
163
  export const platformSegmentIcon = `${lightUrl}/other/platform.svg`;
164
+ export const lightPlatformSegmentIcon = `${lightUrl}/other/light_platform.svg`;
164
165
  export const grayBrandIcon = `${lightUrl}/other/brandGray.svg`;
165
166
  export const jsonIcon = `${lightUrl}/other/json.svg`;
166
167
  export const jsonBlackIcon = `${lightUrl}/other/jsonBlackIcon.svg`;
@@ -36,9 +36,13 @@ export interface BusinessMerchant {
36
36
  entity: {
37
37
  id: string;
38
38
  status: VerificationStatus;
39
+ legal_name: {
40
+ en: string;
41
+ };
39
42
  merchant: {
40
43
  id: string;
41
44
  status: MerchantStatus;
45
+ marketplace: boolean;
42
46
  commerceplatform: {
43
47
  id: string;
44
48
  name: {
@@ -47,6 +51,15 @@ export interface BusinessMerchant {
47
51
  logo: string;
48
52
  operator_id: string;
49
53
  };
54
+ platforms: Array<{
55
+ id: string;
56
+ brand: {
57
+ name: Array<{
58
+ lang: string;
59
+ text: string;
60
+ }>;
61
+ };
62
+ }>;
50
63
  wallet: {
51
64
  id: string;
52
65
  status: MerchantStatus;
@@ -0,0 +1,21 @@
1
+ type FlagType = 'GRAY' | 'ORANGE' | 'RED';
2
+ export declare function getFlagDetails(flags?: Array<{
3
+ id: string;
4
+ status: 'OPEN' | 'CLEARED';
5
+ amount: number;
6
+ created: number;
7
+ note: string;
8
+ ishold: boolean;
9
+ }>): {
10
+ statusFlag: string;
11
+ holdFlag: FlagType;
12
+ openedFlags: {
13
+ id: string;
14
+ status: 'OPEN' | 'CLEARED';
15
+ amount: number;
16
+ created: number;
17
+ note: string;
18
+ ishold: boolean;
19
+ }[];
20
+ };
21
+ export {};
@@ -0,0 +1,13 @@
1
+ export function getFlagDetails(flags) {
2
+ const isAllFlagsClosed = flags === null || flags === void 0 ? void 0 : flags.every((flag) => flag.status === 'CLEARED');
3
+ const openedFlags = (flags === null || flags === void 0 ? void 0 : flags.filter((flag) => flag.status === 'OPEN')) || [];
4
+ const holdFlags = (openedFlags === null || openedFlags === void 0 ? void 0 : openedFlags.filter((flag) => flag.ishold)) || [];
5
+ const hasAnyHoldFlag = (holdFlags === null || holdFlags === void 0 ? void 0 : holdFlags.length) > 0;
6
+ const statusFlag = isAllFlagsClosed ? 'GRAY' : 'ORANGE';
7
+ const holdFlag = hasAnyHoldFlag && !isAllFlagsClosed ? 'RED' : statusFlag;
8
+ return {
9
+ statusFlag,
10
+ holdFlag,
11
+ openedFlags,
12
+ };
13
+ }
@@ -38,3 +38,4 @@ export * from './source';
38
38
  export * from './geography';
39
39
  export * from './billing';
40
40
  export * from './toggleOptions';
41
+ export * from './flag';
@@ -38,3 +38,4 @@ export * from './source';
38
38
  export * from './geography';
39
39
  export * from './billing';
40
40
  export * from './toggleOptions';
41
+ export * from './flag';
package/package.json CHANGED
@@ -1,121 +1,126 @@
1
- {
2
- "name": "@tap-payments/os-micro-frontend-shared",
3
- "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.0.24",
5
- "type": "module",
6
- "main": "build/index.js",
7
- "module": "build/index.js",
8
- "types": "build/index.d.ts",
9
- "exports": {
10
- ".": {
11
- "import": "./build/index.js",
12
- "require": "./build/index.js",
13
- "types": "./build/index.d.ts"
14
- },
15
- "./constants": {
16
- "import": "./build/constants/index.js",
17
- "require": "./build/constants/index.js",
18
- "types": "./build/constants/index.d.ts"
19
- },
20
- "./components": {
21
- "import": "./build/components/index.js",
22
- "require": "./build/components/index.js",
23
- "types": "./build/components/index.d.ts"
24
- },
25
- "./hooks": {
26
- "import": "./build/hooks/index.js",
27
- "require": "./build/hooks/index.js",
28
- "types": "./build/hooks/index.d.ts"
29
- },
30
- "./utils": {
31
- "import": "./build/utils/index.js",
32
- "require": "./build/utils/index.js",
33
- "types": "./build/utils/index.d.ts"
34
- },
35
- "./theme": {
36
- "import": "./build/theme/index.js",
37
- "require": "./build/theme/index.js",
38
- "types": "./build/theme/index.d.ts"
39
- }
40
- },
41
- "license": "MIT",
42
- "author": {
43
- "name": "Ahmed Sharkawy",
44
- "email": "a.elsharkawy@tap.company"
45
- },
46
- "files": [
47
- "build",
48
- "readme.md"
49
- ],
50
- "scripts": {
51
- "ts:build": "rm -rf build && tsc -p tsconfig.npm.json && tsc-alias -p tsconfig.npm.json",
52
- "push": "npm run ts:build && npm publish --access public",
53
- "dev": "vite",
54
- "build": "tsc -b && vite build ",
55
- "prettier": "prettier --list-different \"src/**/*.{md,mdx,ts,js,tsx,jsx,json}\"",
56
- "prettier:fix": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md,css,json}\"",
57
- "lint": "eslint . --color",
58
- "lint:fix": "eslint src --fix --color",
59
- "preview": "vite preview",
60
- "prepare": "husky"
61
- },
62
- "dependencies": {
63
- "@emotion/react": "^11.11.0",
64
- "@emotion/styled": "^11.11.0",
65
- "@hookform/resolvers": "^3.3.1",
66
- "@mui/material": "^5.12.3",
67
- "@uiw/react-json-view": "^2.0.0-alpha.16",
68
- "axios": "^1.4.0",
69
- "dayjs": "^1.11.8",
70
- "framer-motion": "10.11.0",
71
- "i18next": "^22.4.15",
72
- "memoize-one": "^6.0.0",
73
- "re-resizable": "^6.9.9",
74
- "react": "^18.2.0",
75
- "react-currency-input-field": "^3.6.11",
76
- "react-dom": "^18.2.0",
77
- "react-draggable": "^4.4.6",
78
- "react-dropzone": "^14.2.3",
79
- "react-hook-form": "^7.45.4",
80
- "react-hot-toast": "^2.4.1",
81
- "react-i18next": "^12.2.2",
82
- "react-multi-date-picker": "^4.1.2",
83
- "react-query": "^3.39.3",
84
- "react-router-dom": "^6.14.2",
85
- "react-virtualized-auto-sizer": "^1.0.20",
86
- "react-window": "^1.8.9",
87
- "react-window-infinite-loader": "^1.0.9",
88
- "react18-input-otp": "^1.1.4",
89
- "recharts": "^2.15.1"
90
- },
91
- "devDependencies": {
92
- "@eslint/js": "^9.17.0",
93
- "@testing-library/jest-dom": "^5.16.5",
94
- "@types/lodash": "^4.17.15",
95
- "@types/react": "^18.2.6",
96
- "@types/react-dom": "^18.3.5",
97
- "@types/react-virtualized-auto-sizer": "^1.0.8",
98
- "@types/react-window": "^1.8.5",
99
- "@types/react-window-infinite-loader": "^1.0.6",
100
- "@vitejs/plugin-react": "^4.3.4",
101
- "eslint": "^9.17.0",
102
- "eslint-plugin-react-hooks": "^5.0.0",
103
- "eslint-plugin-react-refresh": "^0.4.16",
104
- "globals": "^15.14.0",
105
- "husky": "^8.0.3",
106
- "lint-staged": "^13.2.2",
107
- "prettier": "^2.8.8",
108
- "tsc-alias": "^1.8.16",
109
- "typescript": "5.0.2",
110
- "typescript-eslint": "^8.18.2",
111
- "vite": "6.0.5",
112
- "vite-plugin-svgr": "^4.3.0",
113
- "vite-tsconfig-paths": "^4.2.0"
114
- },
115
- "lint-staged": {
116
- "src/**/*.{ts,tsx,json,js,jsx}": [
117
- "yarn run prettier:fix",
118
- "yarn run lint"
119
- ]
120
- }
121
- }
1
+ {
2
+ "name": "@tap-payments/os-micro-frontend-shared",
3
+ "description": "Shared components and utilities for Tap Payments micro frontends",
4
+ "version": "0.0.25",
5
+ "type": "module",
6
+ "main": "build/index.js",
7
+ "module": "build/index.js",
8
+ "types": "build/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./build/index.js",
12
+ "require": "./build/index.js",
13
+ "types": "./build/index.d.ts"
14
+ },
15
+ "./constants": {
16
+ "import": "./build/constants/index.js",
17
+ "require": "./build/constants/index.js",
18
+ "types": "./build/constants/index.d.ts"
19
+ },
20
+ "./components": {
21
+ "import": "./build/components/index.js",
22
+ "require": "./build/components/index.js",
23
+ "types": "./build/components/index.d.ts"
24
+ },
25
+ "./hooks": {
26
+ "import": "./build/hooks/index.js",
27
+ "require": "./build/hooks/index.js",
28
+ "types": "./build/hooks/index.d.ts"
29
+ },
30
+ "./utils": {
31
+ "import": "./build/utils/index.js",
32
+ "require": "./build/utils/index.js",
33
+ "types": "./build/utils/index.d.ts"
34
+ },
35
+ "./theme": {
36
+ "import": "./build/theme/index.js",
37
+ "require": "./build/theme/index.js",
38
+ "types": "./build/theme/index.d.ts"
39
+ },
40
+ "./types": {
41
+ "import": "./build/types/index.js",
42
+ "require": "./build/types/index.js",
43
+ "types": "./build/types/index.d.ts"
44
+ }
45
+ },
46
+ "license": "MIT",
47
+ "author": {
48
+ "name": "Ahmed Sharkawy",
49
+ "email": "a.elsharkawy@tap.company"
50
+ },
51
+ "files": [
52
+ "build",
53
+ "readme.md"
54
+ ],
55
+ "scripts": {
56
+ "ts:build": "rm -rf build && tsc -p tsconfig.npm.json && tsc-alias -p tsconfig.npm.json",
57
+ "push": "npm run ts:build && npm publish --access public",
58
+ "dev": "vite",
59
+ "build": "tsc -b && vite build ",
60
+ "prettier": "prettier --list-different \"src/**/*.{md,mdx,ts,js,tsx,jsx,json}\"",
61
+ "prettier:fix": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md,css,json}\"",
62
+ "lint": "eslint . --color",
63
+ "lint:fix": "eslint src --fix --color",
64
+ "preview": "vite preview",
65
+ "prepare": "husky"
66
+ },
67
+ "dependencies": {
68
+ "@emotion/react": "^11.11.0",
69
+ "@emotion/styled": "^11.11.0",
70
+ "@hookform/resolvers": "^3.3.1",
71
+ "@mui/material": "^5.12.3",
72
+ "@uiw/react-json-view": "^2.0.0-alpha.16",
73
+ "axios": "^1.4.0",
74
+ "dayjs": "^1.11.8",
75
+ "framer-motion": "10.11.0",
76
+ "i18next": "^22.4.15",
77
+ "memoize-one": "^6.0.0",
78
+ "re-resizable": "^6.9.9",
79
+ "react": "^18.2.0",
80
+ "react-currency-input-field": "^3.6.11",
81
+ "react-dom": "^18.2.0",
82
+ "react-draggable": "^4.4.6",
83
+ "react-dropzone": "^14.2.3",
84
+ "react-hook-form": "^7.45.4",
85
+ "react-hot-toast": "^2.4.1",
86
+ "react-i18next": "^12.2.2",
87
+ "react-multi-date-picker": "^4.1.2",
88
+ "react-query": "^3.39.3",
89
+ "react-router-dom": "^6.14.2",
90
+ "react-virtualized-auto-sizer": "^1.0.20",
91
+ "react-window": "^1.8.9",
92
+ "react-window-infinite-loader": "^1.0.9",
93
+ "react18-input-otp": "^1.1.4",
94
+ "recharts": "^2.15.1"
95
+ },
96
+ "devDependencies": {
97
+ "@eslint/js": "^9.17.0",
98
+ "@testing-library/jest-dom": "^5.16.5",
99
+ "@types/lodash": "^4.17.15",
100
+ "@types/react": "^18.2.6",
101
+ "@types/react-dom": "^18.3.5",
102
+ "@types/react-virtualized-auto-sizer": "^1.0.8",
103
+ "@types/react-window": "^1.8.5",
104
+ "@types/react-window-infinite-loader": "^1.0.6",
105
+ "@vitejs/plugin-react": "^4.3.4",
106
+ "eslint": "^9.17.0",
107
+ "eslint-plugin-react-hooks": "^5.0.0",
108
+ "eslint-plugin-react-refresh": "^0.4.16",
109
+ "globals": "^15.14.0",
110
+ "husky": "^8.0.3",
111
+ "lint-staged": "^13.2.2",
112
+ "prettier": "^2.8.8",
113
+ "tsc-alias": "^1.8.16",
114
+ "typescript": "5.0.2",
115
+ "typescript-eslint": "^8.18.2",
116
+ "vite": "6.0.5",
117
+ "vite-plugin-svgr": "^4.3.0",
118
+ "vite-tsconfig-paths": "^4.2.0"
119
+ },
120
+ "lint-staged": {
121
+ "src/**/*.{ts,tsx,json,js,jsx}": [
122
+ "yarn run prettier:fix",
123
+ "yarn run lint"
124
+ ]
125
+ }
126
+ }