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 +156 -0
- package/dist/cli.js.map +1 -1
- package/dist/index.js +156 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1351,6 +1351,162 @@ init_utils();
|
|
|
1351
1351
|
import path5 from "path";
|
|
1352
1352
|
var ModuleManager = class {
|
|
1353
1353
|
static MODULES = [
|
|
1354
|
+
// ========== 云谷公共模块 (新增) ==========
|
|
1355
|
+
{
|
|
1356
|
+
id: "yungu-sso",
|
|
1357
|
+
name: "SSO \u5355\u70B9\u767B\u5F55",
|
|
1358
|
+
description: "CAS\u5355\u70B9\u767B\u5F55\u96C6\u6210\u3001Token\u9A8C\u8BC1\u3001\u4F1A\u8BDD\u7BA1\u7406",
|
|
1359
|
+
type: "local",
|
|
1360
|
+
specs: ["yungu-sso/spec.md"],
|
|
1361
|
+
backendFragments: [
|
|
1362
|
+
// Config
|
|
1363
|
+
{
|
|
1364
|
+
source: "yungu/sso/config/CasConfig.java",
|
|
1365
|
+
target: "config/yungu/sso/CasConfig.java"
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
source: "yungu/sso/config/LoginClientConfig.java",
|
|
1369
|
+
target: "config/yungu/sso/LoginClientConfig.java"
|
|
1370
|
+
},
|
|
1371
|
+
// Filter
|
|
1372
|
+
{
|
|
1373
|
+
source: "yungu/sso/filter/AuthFilter.java",
|
|
1374
|
+
target: "config/yungu/sso/filter/AuthFilter.java"
|
|
1375
|
+
},
|
|
1376
|
+
// Interceptor
|
|
1377
|
+
{
|
|
1378
|
+
source: "yungu/sso/intercepter/CasLoginInterceptor.java",
|
|
1379
|
+
target: "common/yungu/sso/intercepter/CasLoginInterceptor.java"
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
source: "yungu/sso/intercepter/UserContextInterceptor.java",
|
|
1383
|
+
target: "common/yungu/sso/intercepter/UserContextInterceptor.java"
|
|
1384
|
+
},
|
|
1385
|
+
// UserContext
|
|
1386
|
+
{
|
|
1387
|
+
source: "yungu/sso/common/UserContext.java",
|
|
1388
|
+
target: "common/yungu/sso/UserContext.java"
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
source: "yungu/sso/common/domain/UserBaseInfo.java",
|
|
1392
|
+
target: "common/yungu/sso/domain/UserBaseInfo.java"
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
source: "yungu/sso/common/domain/UserAccount.java",
|
|
1396
|
+
target: "common/yungu/sso/domain/UserAccount.java"
|
|
1397
|
+
},
|
|
1398
|
+
// Config classes
|
|
1399
|
+
{
|
|
1400
|
+
source: "yungu/sso/config/InterceptorConfiguration.java",
|
|
1401
|
+
target: "config/yungu/sso/InterceptorConfiguration.java"
|
|
1402
|
+
}
|
|
1403
|
+
],
|
|
1404
|
+
dependencies: ["org.yungu:login-client"]
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
id: "yungu-user-context",
|
|
1408
|
+
name: "\u7528\u6237\u4E0A\u4E0B\u6587 (UserContext)",
|
|
1409
|
+
description: "RequestScope\u7EA7\u522B\u7684\u7528\u6237\u4FE1\u606F\u83B7\u53D6\uFF0C\u652F\u6301\u591A\u8EAB\u4EFD\u548CMock",
|
|
1410
|
+
type: "local",
|
|
1411
|
+
specs: ["yungu-user-context/spec.md"],
|
|
1412
|
+
backendFragments: [
|
|
1413
|
+
{
|
|
1414
|
+
source: "yungu/UserContext.java",
|
|
1415
|
+
target: "common/yungu/UserContext.java"
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
source: "yungu/domain/UserBaseInfo.java",
|
|
1419
|
+
target: "common/yungu/domain/UserBaseInfo.java"
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
source: "yungu/domain/UserAccount.java",
|
|
1423
|
+
target: "common/yungu/domain/UserAccount.java"
|
|
1424
|
+
}
|
|
1425
|
+
],
|
|
1426
|
+
dependencies: ["org.yungu:login-client"]
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
id: "yungu-auth",
|
|
1430
|
+
name: "\u7528\u6237\u8BA4\u8BC1\u4E0E\u9274\u6743",
|
|
1431
|
+
description: "CAS\u5355\u70B9\u767B\u5F55\u96C6\u6210\u3001\u7528\u6237\u4E0A\u4E0B\u6587\u62E6\u622A\u5668",
|
|
1432
|
+
type: "local",
|
|
1433
|
+
specs: ["yungu-auth/spec.md"],
|
|
1434
|
+
requires: ["yungu-user-context"],
|
|
1435
|
+
backendFragments: [
|
|
1436
|
+
{
|
|
1437
|
+
source: "yungu/intercepter/UserContextInterceptor.java",
|
|
1438
|
+
target: "common/yungu/intercepter/UserContextInterceptor.java"
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
source: "yungu/config/InterceptorConfiguration.java",
|
|
1442
|
+
target: "config/yungu/InterceptorConfiguration.java"
|
|
1443
|
+
}
|
|
1444
|
+
],
|
|
1445
|
+
dependencies: ["org.yungu:login-client", "org.yungu:acl-api"]
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
id: "yungu-managers",
|
|
1449
|
+
name: "\u901A\u7528\u670D\u52A1\u5C01\u88C5",
|
|
1450
|
+
description: "\u7528\u6237\u670D\u52A1\u3001\u5B66\u6821\u670D\u52A1\u7B49Dubbo\u670D\u52A1\u8C03\u7528\u5C01\u88C5",
|
|
1451
|
+
type: "local",
|
|
1452
|
+
specs: ["yungu-managers/spec.md"],
|
|
1453
|
+
backendFragments: [
|
|
1454
|
+
{
|
|
1455
|
+
source: "yungu/managers/UserServiceManager.java",
|
|
1456
|
+
target: "common/yungu/managers/UserServiceManager.java"
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
source: "yungu/managers/SchoolManager.java",
|
|
1460
|
+
target: "common/yungu/managers/SchoolManager.java"
|
|
1461
|
+
}
|
|
1462
|
+
],
|
|
1463
|
+
dependencies: ["org.yungu:user-service-api"]
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
id: "yungu-utils",
|
|
1467
|
+
name: "\u5DE5\u5177\u7C7B\u6A21\u5757",
|
|
1468
|
+
description: "\u901A\u7528\u5DE5\u5177\u7C7B (CommonUtils\u7B49)",
|
|
1469
|
+
type: "local",
|
|
1470
|
+
specs: ["yungu-utils/spec.md"],
|
|
1471
|
+
backendFragments: [
|
|
1472
|
+
{
|
|
1473
|
+
source: "yungu/utils/CommonUtils.java",
|
|
1474
|
+
target: "common/yungu/utils/CommonUtils.java"
|
|
1475
|
+
}
|
|
1476
|
+
]
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
id: "yungu-logging",
|
|
1480
|
+
name: "\u65E5\u5FD7\u4E0E\u76D1\u63A7",
|
|
1481
|
+
description: "\u65B9\u6CD5\u8017\u65F6\u65E5\u5FD7\u8BB0\u5F55 (LogAspect)",
|
|
1482
|
+
type: "local",
|
|
1483
|
+
specs: ["yungu-logging/spec.md"],
|
|
1484
|
+
backendFragments: [
|
|
1485
|
+
{
|
|
1486
|
+
source: "yungu/config/LogAspect.java",
|
|
1487
|
+
target: "config/yungu/LogAspect.java"
|
|
1488
|
+
}
|
|
1489
|
+
]
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
id: "yungu-i18n",
|
|
1493
|
+
name: "\u56FD\u9645\u5316\u652F\u6301",
|
|
1494
|
+
description: "\u4E2D\u82F1\u6587\u5207\u6362\u3001\u591A\u8BED\u8A00\u679A\u4E3E",
|
|
1495
|
+
type: "local",
|
|
1496
|
+
specs: ["yungu-i18n/spec.md"],
|
|
1497
|
+
requires: ["yungu-user-context"],
|
|
1498
|
+
backendFragments: [
|
|
1499
|
+
{
|
|
1500
|
+
source: "yungu/enums/LanguageEnum.java",
|
|
1501
|
+
target: "common/yungu/enums/LanguageEnum.java"
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
source: "yungu/constant/LanguageConstant.java",
|
|
1505
|
+
target: "common/yungu/constant/LanguageConstant.java"
|
|
1506
|
+
}
|
|
1507
|
+
]
|
|
1508
|
+
},
|
|
1509
|
+
// ========== 原有模块 ==========
|
|
1354
1510
|
{
|
|
1355
1511
|
id: "acl",
|
|
1356
1512
|
name: "ACL (Access Control List)",
|