Skip to content

Commit 7d8ca9f

Browse files
committed
chore: update deps
1 parent 8639847 commit 7d8ca9f

File tree

7 files changed

+983
-794
lines changed

7 files changed

+983
-794
lines changed

package.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -28,91 +28,91 @@
2828
"@ant-design/icons-svg": "^4.2.1",
2929
"@commitlint/cli": "^17.1.2",
3030
"@commitlint/config-conventional": "^17.1.0",
31-
"@nrwl/cli": "14.7.8",
32-
"@nrwl/eslint-plugin-nx": "14.7.8",
33-
"@nrwl/jest": "14.7.8",
34-
"@nrwl/linter": "14.7.8",
35-
"@nrwl/nx-cloud": "14.6.2",
36-
"@nrwl/react": "14.7.8",
37-
"@nrwl/tao": "14.7.8",
38-
"@nrwl/web": "14.7.8",
39-
"@nrwl/workspace": "14.7.8",
31+
"@nrwl/cli": "14.8.4",
32+
"@nrwl/eslint-plugin-nx": "14.8.4",
33+
"@nrwl/jest": "14.8.4",
34+
"@nrwl/linter": "14.8.4",
35+
"@nrwl/nx-cloud": "14.7.0",
36+
"@nrwl/react": "14.8.4",
37+
"@nrwl/tao": "14.8.4",
38+
"@nrwl/web": "14.8.4",
39+
"@nrwl/workspace": "14.8.4",
4040
"@stackblitz/sdk": "^1.8.0",
4141
"@testing-library/jest-dom": "^5.16.5",
4242
"@testing-library/react": "^13.4.0",
4343
"@types/fs-extra": "^9.0.13",
4444
"@types/glob": "^8.0.0",
4545
"@types/jest": "^27.4.1",
46-
"@types/lodash": "^4.14.185",
46+
"@types/lodash": "^4.14.186",
4747
"@types/marked": "^4.0.7",
48-
"@types/mocha": "^9.1.1",
49-
"@types/node": "^18.7.18",
50-
"@types/react": "^18.0.20",
48+
"@types/mocha": "^10.0.0",
49+
"@types/node": "^18.8.5",
50+
"@types/react": "^18.0.21",
5151
"@types/react-dom": "^18.0.6",
52-
"@types/vscode": "^1.71.0",
52+
"@types/vscode": "^1.72.0",
5353
"@types/yaml-front-matter": "^4.1.0",
54-
"@typescript-eslint/eslint-plugin": "^5.38.0",
55-
"@typescript-eslint/parser": "^5.38.0",
54+
"@typescript-eslint/eslint-plugin": "^5.40.0",
55+
"@typescript-eslint/parser": "^5.40.0",
5656
"@vscode/test-electron": "^2.1.5",
57-
"axios": "^0.27.2",
57+
"axios": "^1.1.2",
5858
"axios-mock-adapter": "^1.21.2",
59-
"babel-jest": "^27.5.1",
59+
"babel-jest": "^29.1.2",
6060
"bootstrap": "^5.2.2",
6161
"codesandbox": "^2.2.3",
6262
"colors": "^1.4.0",
63-
"core-js": "^3.25.2",
63+
"core-js": "^3.25.5",
6464
"dayjs": "^1.11.5",
65-
"echarts": "^5.3.3",
66-
"eslint": "^8.23.1",
65+
"echarts": "^5.4.0",
66+
"eslint": "^8.25.0",
6767
"eslint-config-prettier": "^8.5.0",
6868
"eslint-plugin-import": "^2.26.0",
6969
"eslint-plugin-jsdoc": "^39.3.6",
7070
"eslint-plugin-jsx-a11y": "^6.6.1",
7171
"eslint-plugin-markdown": "^3.0.0",
7272
"eslint-plugin-prettier": "^4.2.1",
73-
"eslint-plugin-react": "^7.31.8",
73+
"eslint-plugin-react": "^7.31.10",
7474
"eslint-plugin-react-hooks": "^4.6.0",
7575
"eslint-plugin-tsdoc": "^0.2.17",
7676
"fs-extra": "^10.1.0",
7777
"glob": "^8.0.3",
7878
"highlight.js": "^11.6.0",
7979
"husky": "^8.0.1",
80-
"i18next": "^21.9.2",
80+
"i18next": "^21.10.0",
8181
"immer": "^9.0.15",
8282
"is-builtin-module": "^3.2.0",
8383
"jest": "^27.5.1",
8484
"jest-environment-jsdom": "28.1.1",
85-
"lerna": "^5.5.2",
85+
"lerna": "^6.0.0",
8686
"lodash": "^4.17.21",
87-
"marked": "^4.1.0",
87+
"marked": "^4.1.1",
8888
"mocha": "^10.0.0",
89-
"nx": "14.7.8",
89+
"nx": "14.8.4",
9090
"postcss-html": "^1.5.0",
9191
"postcss-markdown": "^1.2.0",
9292
"prettier": "^2.7.1",
9393
"react": "^18.2.0",
9494
"react-dom": "^18.2.0",
9595
"react-i18next": "^11.18.6",
96-
"react-router-dom": "^6.4.0",
96+
"react-router-dom": "^6.4.2",
9797
"react-test-renderer": "^18.2.0",
9898
"regenerator-runtime": "^0.13.9",
9999
"rfs": "^9.0.6",
100-
"rxjs": "^7.5.6",
100+
"rxjs": "^7.5.7",
101101
"rxjs-for-await": "^1.0.0",
102-
"sass": "^1.54.9",
103-
"sort-package-json": "^1.57.0",
104-
"stylelint": "^14.12.0",
102+
"sass": "^1.55.0",
103+
"sort-package-json": "^2.0.0",
104+
"stylelint": "^14.13.0",
105105
"stylelint-config-prettier": "^9.0.3",
106106
"stylelint-config-recess-order": "^3.0.0",
107107
"stylelint-config-recommended-scss": "^7.0.0",
108108
"stylelint-config-standard": "^28.0.0",
109109
"stylelint-scss": "^4.3.0",
110-
"swiper": "^8.4.2",
110+
"swiper": "^8.4.4",
111111
"table": "^6.8.0",
112112
"ts-jest": "^27.1.4",
113113
"ts-node": "^10.9.1",
114114
"tslib": "^2.4.0",
115-
"typescript": "~4.8.3",
115+
"typescript": "~4.8.4",
116116
"yaml-front-matter": "^4.1.1"
117117
},
118118
"engines": {

packages/hooks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"lodash": "^4.17.21",
2828
"react": "^18.2.0",
2929
"react-dom": "^18.2.0",
30-
"rxjs": "^7.5.6"
30+
"rxjs": "^7.5.7"
3131
},
3232
"publishConfig": {
3333
"access": "public",

packages/platform/package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,18 @@
2525
"@react-devui/icons": "file:../icons",
2626
"@react-devui/ui": "file:../ui",
2727
"@react-devui/utils": "file:../utils",
28-
"axios": "^0.27.2",
28+
"axios": "^1.1.2",
2929
"axios-mock-adapter": "^1.21.2",
30-
"core-js": "^3.25.1",
31-
"i18next": "^21.9.0",
30+
"bootstrap": "^5.2.2",
31+
"core-js": "^3.25.5",
32+
"echarts": "^5.4.0",
33+
"i18next": "^21.10.0",
3234
"lodash": "^4.17.21",
3335
"react": "^18.2.0",
3436
"react-dom": "^18.2.0",
35-
"react-i18next": "^11.18.5",
36-
"react-router-dom": "^6.3.0",
37+
"react-i18next": "^11.18.6",
38+
"react-router-dom": "^6.4.2",
3739
"regenerator-runtime": "^0.13.9",
38-
"rxjs": "^7.5.6"
40+
"rxjs": "^7.5.7"
3941
}
4042
}

packages/platform/src/app/Routes.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Control, ControlMode } from '../core/useACL';
22
import type { DBreadcrumbItem } from '@react-devui/ui/components/breadcrumb';
33
import type { DId } from '@react-devui/ui/utils/types';
4-
import type { RouteObject } from 'react-router-dom';
4+
import type { IndexRouteObject, NonIndexRouteObject, RouteMatch } from 'react-router-dom';
55

66
import { isUndefined, nth } from 'lodash';
77
import React, { useEffect } from 'react';
@@ -24,7 +24,7 @@ const AppACLRoute = React.lazy(() => import('./routes/test/acl/ACL'));
2424
const AppHttpRoute = React.lazy(() => import('./routes/test/http/Http'));
2525

2626
export interface RouteStateContextData {
27-
matchRoutes: ReturnType<typeof matchRoutes<RouteItem>>;
27+
matchRoutes: RouteMatch<string, RouteItem>[] | null;
2828
}
2929
export const RouteStateContext = React.createContext<RouteStateContextData>({
3030
matchRoutes: null,
@@ -48,10 +48,14 @@ export interface RouteData {
4848
cache?: string;
4949
}
5050

51-
export interface RouteItem extends Omit<RouteObject, 'children'> {
52-
children?: RouteItem[];
51+
export interface IndexRouteItem extends IndexRouteObject {
5352
data?: RouteData;
5453
}
54+
export interface NonIndexRouteItem extends Omit<NonIndexRouteObject, 'children'> {
55+
children?: NonIndexRouteItem[];
56+
data?: RouteData;
57+
}
58+
export type RouteItem = IndexRouteItem | NonIndexRouteItem;
5559

5660
// I have a great implementation of route caching, but considering the synchronization of data between pages (like modifying list or detail page data), I ended up not introducing route caching.
5761
export function AppRoutes() {

packages/platform/src/app/routes/dashboard/echarts/ECharts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function ECharts(): JSX.Element | null {
2323
<div className={styles['app-echarts']}>
2424
<div className="row" style={{ gap: 'var(--bs-gutter-x) 0' }}>
2525
{options.map((option, index) => (
26-
<div key={index} className="col-6">
26+
<div key={index} className="col-12 col-xxl-6">
2727
<DCard>
2828
<DCard.Content>
2929
<AppChart style={{ height: 320 }} aOption={option} />

packages/ui/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"react": "^18.2.0",
3232
"react-dom": "^18.2.0",
3333
"rfs": "^9.0.6",
34-
"rxjs": "^7.5.6",
35-
"swiper": "^8.3.2"
34+
"rxjs": "^7.5.7",
35+
"swiper": "^8.4.4"
3636
},
3737
"publishConfig": {
3838
"access": "public",

0 commit comments

Comments
 (0)