Skip to content

Commit f9d1203

Browse files
committed
[optimize] upgrade to MobX-GitHub 0.6 & other latest Upstream packages
1 parent b8b3dc1 commit f9d1203

File tree

6 files changed

+1352
-1416
lines changed

6 files changed

+1352
-1416
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ NEXT_PUBLIC_LOGO = /idea2app.svg
55
NEXT_PUBLIC_CACHE_HOST = https://cache.idea2.app
66
CACHE_REPOSITORY = idea2app/OWS-cache
77

8+
NEXT_PUBLIC_API_HOST = https://service.idea2.app
9+
810
NEXT_PUBLIC_SENTRY_DSN = https://03e5d951172f411a04c1bab44022e22b@o4506471366852608.ingest.sentry.io/4506484563705856
911
SENTRY_ORG = idea2app
1012
SENTRY_PROJECT = ows

components/Git/Card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Button, Chip, Divider, IconButton, Tooltip } from '@mui/material';
1+
import { Button, Chip, IconButton, Tooltip } from '@mui/material';
22
import { GitRepository } from 'mobx-github';
33
import { observer } from 'mobx-react';
44
import Link from 'next/link';

components/Git/Issue/Card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Avatar, Box, Card, CardContent, CardProps, Chip } from '@mui/material';
1+
import { Avatar, Box, CardProps, Chip } from '@mui/material';
22
import { marked } from 'marked';
33
import { Issue } from 'mobx-github';
44
import { FC } from 'react';

models/Translation.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import { loadLanguageMapFrom, parseCookie, TranslationMap, TranslationModel } from 'mobx-i18n';
1+
import { loadLanguageMapFrom, TranslationMap, TranslationModel } from 'mobx-i18n';
22
import { DataObject } from 'mobx-restful';
33
import { NextPageContext } from 'next';
44
import { createContext } from 'react';
5+
import { parseCookie } from 'web-utility';
56

67
import zhCN from '../translation/zh-CN';
78

package.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -13,71 +13,71 @@
1313
"@emotion/styled": "^11.14.1",
1414
"@giscus/react": "^3.1.0",
1515
"@koa/bodyparser": "^6.0.0",
16-
"@mui/lab": "^7.0.0-beta.17",
17-
"@mui/material": "^7.3.2",
18-
"@mui/material-nextjs": "^7.3.2",
16+
"@mui/lab": "^7.0.1-beta.18",
17+
"@mui/material": "^7.3.4",
18+
"@mui/material-nextjs": "^7.3.3",
1919
"@passwordless-id/webauthn": "^2.3.1",
20-
"@sentry/nextjs": "^10.11.0",
20+
"@sentry/nextjs": "^10.19.0",
2121
"file-type": "^21.0.0",
2222
"idb-keyval": "^6.2.2",
2323
"jsonwebtoken": "^9.0.2",
2424
"koa": "^3.0.1",
2525
"koa-jwt": "^4.0.4",
2626
"koajax": "^3.1.2",
2727
"lodash.debounce": "^4.0.8",
28-
"marked": "^16.2.1",
29-
"mime": "^4.0.7",
30-
"mobx": "^6.13.7",
31-
"mobx-github": "^0.5.1",
32-
"mobx-i18n": "^0.7.1",
33-
"mobx-lark": "^2.4.1",
34-
"mobx-react": "^9.2.0",
28+
"marked": "^16.4.0",
29+
"mime": "^4.1.0",
30+
"mobx": "^6.15.0",
31+
"mobx-github": "^0.6.0",
32+
"mobx-i18n": "^0.7.2",
33+
"mobx-lark": "^2.4.3",
34+
"mobx-react": "^9.2.1",
3535
"mobx-react-helper": "^0.5.1",
36-
"mobx-restful": "^2.1.0",
37-
"next": "^15.5.2",
36+
"mobx-restful": "^2.1.3",
37+
"next": "^15.5.5",
3838
"next-pwa": "~5.6.0",
3939
"next-ssr-middleware": "^1.0.3",
40-
"react": "^19.1.1",
41-
"react-dom": "^19.1.1",
42-
"web-utility": "^4.5.3",
43-
"webpack": "^5.101.3"
40+
"react": "^19.2.0",
41+
"react-dom": "^19.2.0",
42+
"web-utility": "^4.6.2",
43+
"webpack": "^5.102.1"
4444
},
4545
"devDependencies": {
4646
"@babel/plugin-proposal-decorators": "^7.28.0",
4747
"@babel/plugin-transform-typescript": "^7.28.0",
4848
"@babel/preset-react": "^7.27.1",
4949
"@cspell/eslint-plugin": "^9.2.1",
50-
"@eslint/compat": "^1.3.2",
51-
"@eslint/js": "^9.35.0",
50+
"@eslint/compat": "^1.4.0",
51+
"@eslint/js": "^9.37.0",
5252
"@idea2app/data-server": "1.0.0-rc.1",
53-
"@next/eslint-plugin-next": "^15.5.2",
54-
"@stylistic/eslint-plugin": "^5.3.1",
55-
"@tailwindcss/postcss": "^4.1.13",
56-
"@tailwindcss/typography": "^0.5.16",
53+
"@next/eslint-plugin-next": "^15.5.5",
54+
"@stylistic/eslint-plugin": "^5.4.0",
55+
"@tailwindcss/postcss": "^4.1.14",
56+
"@tailwindcss/typography": "^0.5.19",
5757
"@types/eslint-config-prettier": "^6.11.3",
5858
"@types/jsonwebtoken": "^9.0.10",
5959
"@types/koa": "^3.0.0",
6060
"@types/lodash.debounce": "^4.0.9",
6161
"@types/next-pwa": "^5.6.9",
62-
"@types/node": "^22.18.1",
63-
"@types/react": "^19.1.12",
64-
"eslint": "^9.35.0",
65-
"eslint-config-next": "^15.5.2",
62+
"@types/node": "^22.18.10",
63+
"@types/react": "^19.2.2",
64+
"eslint": "^9.37.0",
65+
"eslint-config-next": "^15.5.5",
6666
"eslint-config-prettier": "^10.1.8",
6767
"eslint-plugin-react": "^7.37.5",
6868
"eslint-plugin-simple-import-sort": "^12.1.1",
6969
"git-utility": "^0.2.0",
7070
"globals": "^16.4.0",
7171
"husky": "^9.1.7",
72-
"jiti": "^2.5.1",
73-
"lint-staged": "^16.1.6",
72+
"jiti": "^2.6.1",
73+
"lint-staged": "^16.2.4",
7474
"postcss": "^8.5.6",
7575
"prettier": "^3.6.2",
7676
"prettier-plugin-css-order": "^2.1.2",
7777
"prettier-plugin-tailwindcss": "^0.6.14",
78-
"tailwindcss": "^4.1.13",
79-
"typescript": "~5.9.2",
80-
"typescript-eslint": "^8.43.0"
78+
"tailwindcss": "^4.1.14",
79+
"typescript": "~5.9.3",
80+
"typescript-eslint": "^8.46.1"
8181
},
8282
"resolutions": {
8383
"mobx-github": "$mobx-github",

0 commit comments

Comments
 (0)