From 20f09c8ea1e98a247895b3a9ef25a5e62600ff9e Mon Sep 17 00:00:00 2001 From: tk Date: Mon, 24 Mar 2025 11:13:00 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=F0=9F=93=A6=20dotnet=20sdk=20?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E8=87=B3=209.0.202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/nightly-build.yml | 2 +- .github/workflows/release.yml | 2 +- Directory.Build.props | 2 +- NetAdmin.slnx.DotSettings | 2 ++ .../NetAdmin.Infrastructure/GlobalStatic.cs | 33 ++++--------------- src/frontend/admin/package.json | 14 ++++---- 6 files changed, 18 insertions(+), 37 deletions(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 45b4c8bd..e901fc33 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [ 22.x ] + node-version: [ 23.x ] steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f42d8f83..7e48d3f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [ 22.x ] + node-version: [ 23.x ] steps: - uses: actions/checkout@v3 with: diff --git a/Directory.Build.props b/Directory.Build.props index 435da0f8..daa6b1e1 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -18,7 +18,7 @@ preview beta v - CA1707;IDE0005;IDE0008;IDE0010;IDE0028;IDE0055;IDE0160;IDE0300;IDE0305;RCS1141;RCS1142;RCS1181;S101;S1121;S1135;S125;S2094;S3604;S4663;S6561;SYSLIB1045;SA1010 + CA1707;IDE0005;IDE0008;IDE0010;IDE0028;IDE0055;IDE0072;IDE0160;IDE0300;IDE0305;RCS1141;RCS1142;RCS1181;S101;S1121;S1135;S125;S2094;S3604;S4663;S6561;SA1010;SYSLIB1045 NetAdmin git https://github.com/nsnail/NetAdmin.git diff --git a/NetAdmin.slnx.DotSettings b/NetAdmin.slnx.DotSettings index bde2d8b2..5c519c14 100644 --- a/NetAdmin.slnx.DotSettings +++ b/NetAdmin.slnx.DotSettings @@ -12,6 +12,7 @@ DO_NOT_SHOW DO_NOT_SHOW DO_NOT_SHOW + DO_NOT_SHOW HINT DO_NOT_SHOW DO_NOT_SHOW @@ -325,6 +326,7 @@ </Patterns> + True True True True diff --git a/src/backend/NetAdmin/NetAdmin.Infrastructure/GlobalStatic.cs b/src/backend/NetAdmin/NetAdmin.Infrastructure/GlobalStatic.cs index 7fe706db..e1501ef5 100644 --- a/src/backend/NetAdmin/NetAdmin.Infrastructure/GlobalStatic.cs +++ b/src/backend/NetAdmin/NetAdmin.Infrastructure/GlobalStatic.cs @@ -46,33 +46,12 @@ public static class GlobalStatic /// NotImplementedException public static string SqlRandomSorting => App.GetOptions().DbType switch { - DataType.MySql => "RAND()" - , DataType.SqlServer => "NEWID()" - , DataType.PostgreSQL => "RANDOM()" - , DataType.Oracle => "DBMS_RANDOM.value" - , DataType.Sqlite => "RANDOM()" - , DataType.OdbcOracle => throw new NotImplementedException() - , DataType.OdbcSqlServer => throw new NotImplementedException() - , DataType.OdbcMySql => throw new NotImplementedException() - , DataType.OdbcPostgreSQL => throw new NotImplementedException() - , DataType.Odbc => throw new NotImplementedException() - , DataType.OdbcDameng => throw new NotImplementedException() - , DataType.MsAccess => throw new NotImplementedException() - , DataType.Dameng => throw new NotImplementedException() - , DataType.OdbcKingbaseES => throw new NotImplementedException() - , DataType.ShenTong => throw new NotImplementedException() - , DataType.KingbaseES => throw new NotImplementedException() - , DataType.Firebird => throw new NotImplementedException() - , DataType.Custom => throw new NotImplementedException() - , DataType.ClickHouse => throw new NotImplementedException() - , DataType.GBase => throw new NotImplementedException() - , DataType.QuestDb => throw new NotImplementedException() - , DataType.Xugu => throw new NotImplementedException() - , DataType.CustomOracle => throw new NotImplementedException() - , DataType.CustomSqlServer => throw new NotImplementedException() - , DataType.CustomMySql => throw new NotImplementedException() - , DataType.CustomPostgreSQL => throw new NotImplementedException() - , _ => throw new NotImplementedException() + DataType.MySql => "RAND()" + , DataType.SqlServer => "NEWID()" + , DataType.PostgreSQL => "RANDOM()" + , DataType.Oracle => "DBMS_RANDOM.value" + , DataType.Sqlite => "RANDOM()" + , _ => throw new NotImplementedException() }; /// diff --git a/src/frontend/admin/package.json b/src/frontend/admin/package.json index ccdd47cf..5f2fcec2 100644 --- a/src/frontend/admin/package.json +++ b/src/frontend/admin/package.json @@ -10,12 +10,12 @@ }, "dependencies": { "@element-plus/icons-vue": "2.3.1", - "ace-builds": "1.39.0", - "aieditor": "1.3.5", - "axios": "1.8.1", + "ace-builds": "1.39.1", + "aieditor": "1.3.6", + "axios": "1.8.4", "crypto-js": "4.2.0", "echarts": "5.6.0", - "element-plus": "2.9.5", + "element-plus": "2.9.7", "json-bigint": "1.0.0", "markdown-it": "14.1.0", "markdown-it-emoji": "3.0.0", @@ -31,12 +31,12 @@ "vuex": "4.1.0" }, "devDependencies": { - "@vitejs/plugin-vue": "5.2.1", + "@vitejs/plugin-vue": "5.2.3", "prettier": "3.5.3", "prettier-plugin-organize-attributes": "1.0.0", - "sass": "1.85.1", + "sass": "1.86.0", "terser": "5.39.0", - "vite": "6.2.1" + "vite": "6.2.2" }, "browserslist": [ "> 1%",