Skip to content

Commit d01dbc6

Browse files
committed
workspace: upgrade to mantine@9 and cordis@4-rc
1 parent 19d278f commit d01dbc6

23 files changed

Lines changed: 93 additions & 90 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,4 @@ __*
6464
.monokle
6565

6666
packages/*/public/assets
67+
node_modules.*

framework/eslint-config/base.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const base = (option, ...args) => antfu(
3333
lessOpinionated: true,
3434
plugins: {
3535
'@eslint-react': eslintReact,
36+
github,
3637
'react-refresh': reactRefresh,
3738
'simple-import-sort': simpleImportSort,
3839
...(option.plugins || {}),
@@ -68,7 +69,6 @@ const base = (option, ...args) => antfu(
6869
'func-names': 0,
6970
'function-call-argument-newline': 0,
7071
'function-paren-newline': 0,
71-
'github/a11y-svg-has-accessible-name': 0,
7272
'github/array-foreach': 1,
7373
'global-require': 0,
7474
'guard-for-in': 0,
@@ -338,7 +338,6 @@ const base = (option, ...args) => antfu(
338338
...(typeof option.stylistic === 'object' ? option.stylistic : {}),
339339
},
340340
},
341-
github.getFlatConfigs().react,
342341
deMorgan.configs.recommended,
343342
...((option.vue ?? true) ? [{
344343
files: ['**/*.vue'],

framework/eslint-config/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"main": "base.mjs",
66
"repository": "https://github.com/hydro-dev/Hydro",
77
"dependencies": {
8-
"@antfu/eslint-config": "^7.7.3",
9-
"@eslint-react/eslint-plugin": "^3.0.0",
10-
"@typescript-eslint/eslint-plugin": "^8.57.2",
11-
"@typescript-eslint/parser": "^8.57.2",
8+
"@antfu/eslint-config": "^8.0.0",
9+
"@eslint-react/eslint-plugin": "^4.2.3",
10+
"@typescript-eslint/eslint-plugin": "^8.58.0",
11+
"@typescript-eslint/parser": "^8.58.0",
1212
"eslint-plugin-de-morgan": "^2.1.1",
1313
"eslint-plugin-github": "^6.0.0",
1414
"eslint-plugin-react-hooks": "^7.0.1",

framework/framework/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@
99
},
1010
"dependencies": {
1111
"@hydrooj/utils": "workspace:^",
12-
"@koa/router": "^15.3.0",
12+
"@koa/router": "^15.4.0",
1313
"@mongodb-js/saslprep": "^1.4.6",
1414
"emoji-regex": "^10.6.0",
15-
"fs-extra": "^11.3.3",
16-
"koa": "^3.1.2",
15+
"fs-extra": "^11.3.4",
16+
"koa": "^3.2.0",
1717
"koa-body": "^7.0.1",
1818
"koa-compress": "5.1.1",
19-
"path-to-regexp": "^8.3.0",
20-
"sanitize-filename": "^1.6.3",
21-
"schemastery": "^3.17.2",
19+
"path-to-regexp": "^8.4.2",
20+
"sanitize-filename": "^1.6.4",
21+
"schemastery": "^3.18.0",
2222
"shorty.js": "^1.0.1",
23-
"ws": "^8.19.0"
23+
"ws": "^8.20.0"
2424
},
2525
"devDependencies": {
2626
"@types/fs-extra": "^11.0.4",
27-
"@types/koa": "^3.0.1",
27+
"@types/koa": "^3.0.2",
2828
"@types/koa-compress": "^4.0.7",
2929
"@types/koa__router": "^12.0.5",
3030
"@types/ws": "^8.18.1"

framework/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"dependencies": {
1616
"@hydrooj/register": "workspace:^",
17-
"cac": "^6.7.14",
17+
"cac": "^7.0.0",
1818
"fs-extra": "^11.3.4",
1919
"js-yaml": "^4.1.1",
2020
"reggol": "^2.1.0",

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,25 +38,25 @@
3838
"@types/node": "24.10.13",
3939
"@types/semver": "^7.7.1",
4040
"autocannon": "^8.0.0",
41-
"cac": "^6.7.14",
41+
"cac": "^7.0.0",
4242
"chai": "^6.2.2",
4343
"cross-env": "^10.1.0",
4444
"cross-spawn": "^7.0.6",
4545
"esbuild": "0.25.2",
46-
"eslint": "^9.39.3",
46+
"eslint": "^9.39.4",
4747
"eslint-import-resolver-typescript": "^4.4.4",
48-
"eslint-import-resolver-webpack": "^0.13.10",
49-
"fs-extra": "^11.3.3",
50-
"globals": "^17.3.0",
48+
"eslint-import-resolver-webpack": "^0.13.11",
49+
"fs-extra": "^11.3.4",
50+
"globals": "^17.4.0",
5151
"globby": "~14.0.2",
5252
"inspectpack": "^4.7.1",
5353
"mongodb-memory-server": "11.0.1",
54-
"nyc": "^17.1.0",
54+
"nyc": "^18.0.0",
5555
"ora": "^9.3.0",
56-
"oxlint": "^1.50.0",
56+
"oxlint": "^1.58.0",
5757
"package-json": "^10.0.1",
5858
"semver": "^7.7.4",
59-
"simple-git": "^3.32.3",
59+
"simple-git": "^3.33.0",
6060
"supertest": "^7.2.2",
6161
"supports-hyperlinks": "^4.4.0",
6262
"typescript": "5.8.3",

packages/components/frontend/ConfigEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function MonacoContainer({
109109
}
110110
model.pushEditOperations([], ops, undefined);
111111
}, [editor, config]);
112-
return <div ref={initializeEditor} style={{ width: '100%', height: '500px' }} />;
112+
return <div ref={initializeEditor} style={{ width: '100%', height: '80vh' }} />;
113113
}
114114

115115
export default function ConfigEditor({

packages/components/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
],
1010
"dependencies": {
1111
"allotment": "^1.20.5",
12-
"diff": "^8.0.3",
12+
"diff": "^8.0.4",
1313
"js-yaml": "^4.1.1",
14-
"lodash": "^4.17.23",
14+
"lodash": "^4.18.1",
1515
"react-dnd": "^16.0.1",
1616
"react-dnd-html5-backend": "^16.0.1",
1717
"react-toastify": "^11.0.5",
@@ -21,7 +21,7 @@
2121
"@types/diff": "^8.0.0",
2222
"@types/js-yaml": "^4.0.9",
2323
"@types/lodash": "^4.17.24",
24-
"sass": "^1.97.3"
24+
"sass": "^1.99.0"
2525
},
2626
"peerDependencies": {
2727
"react": "*",

packages/elastic/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default class ElasticSearchService extends Service {
9191
return true;
9292
}
9393

94-
async [Context.init]() {
94+
async [Service.init]() {
9595
await this.client.nodes.stats();
9696
this.ctx.on('problem/add', async (doc, docId) => {
9797
await this.client.index({

packages/geoip/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "undefined <i@undefined.moe>",
77
"license": "AGPL-3.0-or-later",
88
"dependencies": {
9-
"maxmind": "^5.0.5"
9+
"maxmind": "^5.0.6"
1010
},
1111
"preferUnplugged": true
1212
}

0 commit comments

Comments
 (0)