workspace: upgrade to mantine@9 and cordis@4-rc

This commit is contained in:
undefined committed 2026-04-04 06:47:46 +08:00
1 parent 19d278f6ef
commit d01dbc6e20
23 files changed
+93 -90

No files matched your search

+1 -2
View File
@@ -33,6 +33,7 @@ const base = (option, ...args) => antfu(
lessOpinionated: true,
plugins: {
'@eslint-react': eslintReact,
github,
'react-refresh': reactRefresh,
'simple-import-sort': simpleImportSort,
...(option.plugins || {}),
@@ -68,7 +69,6 @@ const base = (option, ...args) => antfu(
'func-names': 0,
'function-call-argument-newline': 0,
'function-paren-newline': 0,
'github/a11y-svg-has-accessible-name': 0,
'github/array-foreach': 1,
'global-require': 0,
'guard-for-in': 0,
@@ -338,7 +338,6 @@ const base = (option, ...args) => antfu(
...(typeof option.stylistic === 'object' ? option.stylistic : {}),
},
},
github.getFlatConfigs().react,
deMorgan.configs.recommended,
...((option.vue ?? true) ? [{
files: ['**/*.vue'],
+4 -4
View File
@@ -5,10 +5,10 @@
"main": "base.mjs",
"repository": "https://github.com/hydro-dev/Hydro",
"dependencies": {
"@antfu/eslint-config": "^7.7.3",
"@eslint-react/eslint-plugin": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^8.57.2",
"@typescript-eslint/parser": "^8.57.2",
"@antfu/eslint-config": "^8.0.0",
"@eslint-react/eslint-plugin": "^4.2.3",
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@typescript-eslint/parser": "^8.58.0",
"eslint-plugin-de-morgan": "^2.1.1",
"eslint-plugin-github": "^6.0.0",
"eslint-plugin-react-hooks": "^7.0.1",
+8 -8
View File
@@ -9,22 +9,22 @@
},
"dependencies": {
"@hydrooj/utils": "workspace:^",
"@koa/router": "^15.3.0",
"@koa/router": "^15.4.0",
"@mongodb-js/saslprep": "^1.4.6",
"emoji-regex": "^10.6.0",
"fs-extra": "^11.3.3",
"koa": "^3.1.2",
"fs-extra": "^11.3.4",
"koa": "^3.2.0",
"koa-body": "^7.0.1",
"koa-compress": "5.1.1",
"path-to-regexp": "^8.3.0",
"sanitize-filename": "^1.6.3",
"schemastery": "^3.17.2",
"path-to-regexp": "^8.4.2",
"sanitize-filename": "^1.6.4",
"schemastery": "^3.18.0",
"shorty.js": "^1.0.1",
"ws": "^8.19.0"
"ws": "^8.20.0"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/koa": "^3.0.1",
"@types/koa": "^3.0.2",
"@types/koa-compress": "^4.0.7",
"@types/koa__router": "^12.0.5",
"@types/ws": "^8.18.1"
+1 -1
View File
@@ -14,7 +14,7 @@
},
"dependencies": {
"@hydrooj/register": "workspace:^",
"cac": "^6.7.14",
"cac": "^7.0.0",
"fs-extra": "^11.3.4",
"js-yaml": "^4.1.1",
"reggol": "^2.1.0",