yg-team-cli 2.3.11 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -911,6 +911,162 @@ var init_module_registry = __esm({
911
911
  init_utils();
912
912
  ModuleManager = class {
913
913
  static MODULES = [
914
+ // ========== 云谷公共模块 (新增) ==========
915
+ {
916
+ id: "yungu-sso",
917
+ name: "SSO \u5355\u70B9\u767B\u5F55",
918
+ description: "CAS\u5355\u70B9\u767B\u5F55\u96C6\u6210\u3001Token\u9A8C\u8BC1\u3001\u4F1A\u8BDD\u7BA1\u7406",
919
+ type: "local",
920
+ specs: ["yungu-sso/spec.md"],
921
+ backendFragments: [
922
+ // Config
923
+ {
924
+ source: "yungu/sso/config/CasConfig.java",
925
+ target: "config/yungu/sso/CasConfig.java"
926
+ },
927
+ {
928
+ source: "yungu/sso/config/LoginClientConfig.java",
929
+ target: "config/yungu/sso/LoginClientConfig.java"
930
+ },
931
+ // Filter
932
+ {
933
+ source: "yungu/sso/filter/AuthFilter.java",
934
+ target: "config/yungu/sso/filter/AuthFilter.java"
935
+ },
936
+ // Interceptor
937
+ {
938
+ source: "yungu/sso/intercepter/CasLoginInterceptor.java",
939
+ target: "common/yungu/sso/intercepter/CasLoginInterceptor.java"
940
+ },
941
+ {
942
+ source: "yungu/sso/intercepter/UserContextInterceptor.java",
943
+ target: "common/yungu/sso/intercepter/UserContextInterceptor.java"
944
+ },
945
+ // UserContext
946
+ {
947
+ source: "yungu/sso/common/UserContext.java",
948
+ target: "common/yungu/sso/UserContext.java"
949
+ },
950
+ {
951
+ source: "yungu/sso/common/domain/UserBaseInfo.java",
952
+ target: "common/yungu/sso/domain/UserBaseInfo.java"
953
+ },
954
+ {
955
+ source: "yungu/sso/common/domain/UserAccount.java",
956
+ target: "common/yungu/sso/domain/UserAccount.java"
957
+ },
958
+ // Config classes
959
+ {
960
+ source: "yungu/sso/config/InterceptorConfiguration.java",
961
+ target: "config/yungu/sso/InterceptorConfiguration.java"
962
+ }
963
+ ],
964
+ dependencies: ["org.yungu:login-client"]
965
+ },
966
+ {
967
+ id: "yungu-user-context",
968
+ name: "\u7528\u6237\u4E0A\u4E0B\u6587 (UserContext)",
969
+ description: "RequestScope\u7EA7\u522B\u7684\u7528\u6237\u4FE1\u606F\u83B7\u53D6\uFF0C\u652F\u6301\u591A\u8EAB\u4EFD\u548CMock",
970
+ type: "local",
971
+ specs: ["yungu-user-context/spec.md"],
972
+ backendFragments: [
973
+ {
974
+ source: "yungu/UserContext.java",
975
+ target: "common/yungu/UserContext.java"
976
+ },
977
+ {
978
+ source: "yungu/domain/UserBaseInfo.java",
979
+ target: "common/yungu/domain/UserBaseInfo.java"
980
+ },
981
+ {
982
+ source: "yungu/domain/UserAccount.java",
983
+ target: "common/yungu/domain/UserAccount.java"
984
+ }
985
+ ],
986
+ dependencies: ["org.yungu:login-client"]
987
+ },
988
+ {
989
+ id: "yungu-auth",
990
+ name: "\u7528\u6237\u8BA4\u8BC1\u4E0E\u9274\u6743",
991
+ description: "CAS\u5355\u70B9\u767B\u5F55\u96C6\u6210\u3001\u7528\u6237\u4E0A\u4E0B\u6587\u62E6\u622A\u5668",
992
+ type: "local",
993
+ specs: ["yungu-auth/spec.md"],
994
+ requires: ["yungu-user-context"],
995
+ backendFragments: [
996
+ {
997
+ source: "yungu/intercepter/UserContextInterceptor.java",
998
+ target: "common/yungu/intercepter/UserContextInterceptor.java"
999
+ },
1000
+ {
1001
+ source: "yungu/config/InterceptorConfiguration.java",
1002
+ target: "config/yungu/InterceptorConfiguration.java"
1003
+ }
1004
+ ],
1005
+ dependencies: ["org.yungu:login-client", "org.yungu:acl-api"]
1006
+ },
1007
+ {
1008
+ id: "yungu-managers",
1009
+ name: "\u901A\u7528\u670D\u52A1\u5C01\u88C5",
1010
+ description: "\u7528\u6237\u670D\u52A1\u3001\u5B66\u6821\u670D\u52A1\u7B49Dubbo\u670D\u52A1\u8C03\u7528\u5C01\u88C5",
1011
+ type: "local",
1012
+ specs: ["yungu-managers/spec.md"],
1013
+ backendFragments: [
1014
+ {
1015
+ source: "yungu/managers/UserServiceManager.java",
1016
+ target: "common/yungu/managers/UserServiceManager.java"
1017
+ },
1018
+ {
1019
+ source: "yungu/managers/SchoolManager.java",
1020
+ target: "common/yungu/managers/SchoolManager.java"
1021
+ }
1022
+ ],
1023
+ dependencies: ["org.yungu:user-service-api"]
1024
+ },
1025
+ {
1026
+ id: "yungu-utils",
1027
+ name: "\u5DE5\u5177\u7C7B\u6A21\u5757",
1028
+ description: "\u901A\u7528\u5DE5\u5177\u7C7B (CommonUtils\u7B49)",
1029
+ type: "local",
1030
+ specs: ["yungu-utils/spec.md"],
1031
+ backendFragments: [
1032
+ {
1033
+ source: "yungu/utils/CommonUtils.java",
1034
+ target: "common/yungu/utils/CommonUtils.java"
1035
+ }
1036
+ ]
1037
+ },
1038
+ {
1039
+ id: "yungu-logging",
1040
+ name: "\u65E5\u5FD7\u4E0E\u76D1\u63A7",
1041
+ description: "\u65B9\u6CD5\u8017\u65F6\u65E5\u5FD7\u8BB0\u5F55 (LogAspect)",
1042
+ type: "local",
1043
+ specs: ["yungu-logging/spec.md"],
1044
+ backendFragments: [
1045
+ {
1046
+ source: "yungu/config/LogAspect.java",
1047
+ target: "config/yungu/LogAspect.java"
1048
+ }
1049
+ ]
1050
+ },
1051
+ {
1052
+ id: "yungu-i18n",
1053
+ name: "\u56FD\u9645\u5316\u652F\u6301",
1054
+ description: "\u4E2D\u82F1\u6587\u5207\u6362\u3001\u591A\u8BED\u8A00\u679A\u4E3E",
1055
+ type: "local",
1056
+ specs: ["yungu-i18n/spec.md"],
1057
+ requires: ["yungu-user-context"],
1058
+ backendFragments: [
1059
+ {
1060
+ source: "yungu/enums/LanguageEnum.java",
1061
+ target: "common/yungu/enums/LanguageEnum.java"
1062
+ },
1063
+ {
1064
+ source: "yungu/constant/LanguageConstant.java",
1065
+ target: "common/yungu/constant/LanguageConstant.java"
1066
+ }
1067
+ ]
1068
+ },
1069
+ // ========== 原有模块 ==========
914
1070
  {
915
1071
  id: "acl",
916
1072
  name: "ACL (Access Control List)",