@memberjunction/cli 5.12.0 → 5.14.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/oclif.manifest.json +125 -125
- package/package.json +13 -13
package/oclif.manifest.json
CHANGED
|
@@ -794,6 +794,63 @@
|
|
|
794
794
|
"manifest.js"
|
|
795
795
|
]
|
|
796
796
|
},
|
|
797
|
+
"doctor": {
|
|
798
|
+
"aliases": [],
|
|
799
|
+
"args": {},
|
|
800
|
+
"description": "Diagnose a MemberJunction installation",
|
|
801
|
+
"examples": [
|
|
802
|
+
"<%= config.bin %> <%= command.id %>",
|
|
803
|
+
"<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
|
|
804
|
+
"<%= config.bin %> <%= command.id %> --verbose",
|
|
805
|
+
"<%= config.bin %> <%= command.id %> --report",
|
|
806
|
+
"<%= config.bin %> <%= command.id %> --report_extended"
|
|
807
|
+
],
|
|
808
|
+
"flags": {
|
|
809
|
+
"dir": {
|
|
810
|
+
"description": "Target directory to diagnose",
|
|
811
|
+
"name": "dir",
|
|
812
|
+
"default": ".",
|
|
813
|
+
"hasDynamicHelp": false,
|
|
814
|
+
"multiple": false,
|
|
815
|
+
"type": "option"
|
|
816
|
+
},
|
|
817
|
+
"verbose": {
|
|
818
|
+
"char": "v",
|
|
819
|
+
"description": "Show detailed output including suggested fixes inline",
|
|
820
|
+
"name": "verbose",
|
|
821
|
+
"allowNo": false,
|
|
822
|
+
"type": "boolean"
|
|
823
|
+
},
|
|
824
|
+
"report": {
|
|
825
|
+
"char": "r",
|
|
826
|
+
"description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
|
|
827
|
+
"name": "report",
|
|
828
|
+
"allowNo": false,
|
|
829
|
+
"type": "boolean"
|
|
830
|
+
},
|
|
831
|
+
"report_extended": {
|
|
832
|
+
"description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
|
|
833
|
+
"name": "report_extended",
|
|
834
|
+
"allowNo": false,
|
|
835
|
+
"type": "boolean"
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
"hasDynamicHelp": false,
|
|
839
|
+
"hiddenAliases": [],
|
|
840
|
+
"id": "doctor",
|
|
841
|
+
"pluginAlias": "@memberjunction/cli",
|
|
842
|
+
"pluginName": "@memberjunction/cli",
|
|
843
|
+
"pluginType": "core",
|
|
844
|
+
"strict": true,
|
|
845
|
+
"enableJsonFlag": false,
|
|
846
|
+
"isESM": true,
|
|
847
|
+
"relativePath": [
|
|
848
|
+
"dist",
|
|
849
|
+
"commands",
|
|
850
|
+
"doctor",
|
|
851
|
+
"index.js"
|
|
852
|
+
]
|
|
853
|
+
},
|
|
797
854
|
"dbdoc:analyze": {
|
|
798
855
|
"aliases": [],
|
|
799
856
|
"args": {},
|
|
@@ -1334,63 +1391,6 @@
|
|
|
1334
1391
|
"index.js"
|
|
1335
1392
|
]
|
|
1336
1393
|
},
|
|
1337
|
-
"doctor": {
|
|
1338
|
-
"aliases": [],
|
|
1339
|
-
"args": {},
|
|
1340
|
-
"description": "Diagnose a MemberJunction installation",
|
|
1341
|
-
"examples": [
|
|
1342
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1343
|
-
"<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
|
|
1344
|
-
"<%= config.bin %> <%= command.id %> --verbose",
|
|
1345
|
-
"<%= config.bin %> <%= command.id %> --report",
|
|
1346
|
-
"<%= config.bin %> <%= command.id %> --report_extended"
|
|
1347
|
-
],
|
|
1348
|
-
"flags": {
|
|
1349
|
-
"dir": {
|
|
1350
|
-
"description": "Target directory to diagnose",
|
|
1351
|
-
"name": "dir",
|
|
1352
|
-
"default": ".",
|
|
1353
|
-
"hasDynamicHelp": false,
|
|
1354
|
-
"multiple": false,
|
|
1355
|
-
"type": "option"
|
|
1356
|
-
},
|
|
1357
|
-
"verbose": {
|
|
1358
|
-
"char": "v",
|
|
1359
|
-
"description": "Show detailed output including suggested fixes inline",
|
|
1360
|
-
"name": "verbose",
|
|
1361
|
-
"allowNo": false,
|
|
1362
|
-
"type": "boolean"
|
|
1363
|
-
},
|
|
1364
|
-
"report": {
|
|
1365
|
-
"char": "r",
|
|
1366
|
-
"description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
|
|
1367
|
-
"name": "report",
|
|
1368
|
-
"allowNo": false,
|
|
1369
|
-
"type": "boolean"
|
|
1370
|
-
},
|
|
1371
|
-
"report_extended": {
|
|
1372
|
-
"description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
|
|
1373
|
-
"name": "report_extended",
|
|
1374
|
-
"allowNo": false,
|
|
1375
|
-
"type": "boolean"
|
|
1376
|
-
}
|
|
1377
|
-
},
|
|
1378
|
-
"hasDynamicHelp": false,
|
|
1379
|
-
"hiddenAliases": [],
|
|
1380
|
-
"id": "doctor",
|
|
1381
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1382
|
-
"pluginName": "@memberjunction/cli",
|
|
1383
|
-
"pluginType": "core",
|
|
1384
|
-
"strict": true,
|
|
1385
|
-
"enableJsonFlag": false,
|
|
1386
|
-
"isESM": true,
|
|
1387
|
-
"relativePath": [
|
|
1388
|
-
"dist",
|
|
1389
|
-
"commands",
|
|
1390
|
-
"doctor",
|
|
1391
|
-
"index.js"
|
|
1392
|
-
]
|
|
1393
|
-
},
|
|
1394
1394
|
"migrate": {
|
|
1395
1395
|
"aliases": [],
|
|
1396
1396
|
"args": {},
|
|
@@ -1448,73 +1448,6 @@
|
|
|
1448
1448
|
"index.js"
|
|
1449
1449
|
]
|
|
1450
1450
|
},
|
|
1451
|
-
"sql-audit": {
|
|
1452
|
-
"aliases": [],
|
|
1453
|
-
"args": {},
|
|
1454
|
-
"description": "Compare source and target databases for migration verification",
|
|
1455
|
-
"examples": [
|
|
1456
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
|
|
1457
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
|
|
1458
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
|
|
1459
|
-
],
|
|
1460
|
-
"flags": {
|
|
1461
|
-
"source": {
|
|
1462
|
-
"description": "Source database connection string (mssql://... or postgres://...)",
|
|
1463
|
-
"name": "source",
|
|
1464
|
-
"required": true,
|
|
1465
|
-
"hasDynamicHelp": false,
|
|
1466
|
-
"multiple": false,
|
|
1467
|
-
"type": "option"
|
|
1468
|
-
},
|
|
1469
|
-
"target": {
|
|
1470
|
-
"description": "Target database connection string (mssql://... or postgres://...)",
|
|
1471
|
-
"name": "target",
|
|
1472
|
-
"required": true,
|
|
1473
|
-
"hasDynamicHelp": false,
|
|
1474
|
-
"multiple": false,
|
|
1475
|
-
"type": "option"
|
|
1476
|
-
},
|
|
1477
|
-
"source-schema": {
|
|
1478
|
-
"description": "Source schema name",
|
|
1479
|
-
"name": "source-schema",
|
|
1480
|
-
"default": "__mj",
|
|
1481
|
-
"hasDynamicHelp": false,
|
|
1482
|
-
"multiple": false,
|
|
1483
|
-
"type": "option"
|
|
1484
|
-
},
|
|
1485
|
-
"target-schema": {
|
|
1486
|
-
"description": "Target schema name",
|
|
1487
|
-
"name": "target-schema",
|
|
1488
|
-
"default": "__mj",
|
|
1489
|
-
"hasDynamicHelp": false,
|
|
1490
|
-
"multiple": false,
|
|
1491
|
-
"type": "option"
|
|
1492
|
-
},
|
|
1493
|
-
"output": {
|
|
1494
|
-
"char": "o",
|
|
1495
|
-
"description": "Save report to file",
|
|
1496
|
-
"name": "output",
|
|
1497
|
-
"hasDynamicHelp": false,
|
|
1498
|
-
"multiple": false,
|
|
1499
|
-
"type": "option"
|
|
1500
|
-
}
|
|
1501
|
-
},
|
|
1502
|
-
"hasDynamicHelp": false,
|
|
1503
|
-
"hiddenAliases": [],
|
|
1504
|
-
"id": "sql-audit",
|
|
1505
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1506
|
-
"pluginName": "@memberjunction/cli",
|
|
1507
|
-
"pluginType": "core",
|
|
1508
|
-
"strict": true,
|
|
1509
|
-
"enableJsonFlag": false,
|
|
1510
|
-
"isESM": true,
|
|
1511
|
-
"relativePath": [
|
|
1512
|
-
"dist",
|
|
1513
|
-
"commands",
|
|
1514
|
-
"sql-audit",
|
|
1515
|
-
"index.js"
|
|
1516
|
-
]
|
|
1517
|
-
},
|
|
1518
1451
|
"querygen:export": {
|
|
1519
1452
|
"aliases": [],
|
|
1520
1453
|
"args": {},
|
|
@@ -1730,6 +1663,73 @@
|
|
|
1730
1663
|
"validate.js"
|
|
1731
1664
|
]
|
|
1732
1665
|
},
|
|
1666
|
+
"sql-audit": {
|
|
1667
|
+
"aliases": [],
|
|
1668
|
+
"args": {},
|
|
1669
|
+
"description": "Compare source and target databases for migration verification",
|
|
1670
|
+
"examples": [
|
|
1671
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
|
|
1672
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
|
|
1673
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
|
|
1674
|
+
],
|
|
1675
|
+
"flags": {
|
|
1676
|
+
"source": {
|
|
1677
|
+
"description": "Source database connection string (mssql://... or postgres://...)",
|
|
1678
|
+
"name": "source",
|
|
1679
|
+
"required": true,
|
|
1680
|
+
"hasDynamicHelp": false,
|
|
1681
|
+
"multiple": false,
|
|
1682
|
+
"type": "option"
|
|
1683
|
+
},
|
|
1684
|
+
"target": {
|
|
1685
|
+
"description": "Target database connection string (mssql://... or postgres://...)",
|
|
1686
|
+
"name": "target",
|
|
1687
|
+
"required": true,
|
|
1688
|
+
"hasDynamicHelp": false,
|
|
1689
|
+
"multiple": false,
|
|
1690
|
+
"type": "option"
|
|
1691
|
+
},
|
|
1692
|
+
"source-schema": {
|
|
1693
|
+
"description": "Source schema name",
|
|
1694
|
+
"name": "source-schema",
|
|
1695
|
+
"default": "__mj",
|
|
1696
|
+
"hasDynamicHelp": false,
|
|
1697
|
+
"multiple": false,
|
|
1698
|
+
"type": "option"
|
|
1699
|
+
},
|
|
1700
|
+
"target-schema": {
|
|
1701
|
+
"description": "Target schema name",
|
|
1702
|
+
"name": "target-schema",
|
|
1703
|
+
"default": "__mj",
|
|
1704
|
+
"hasDynamicHelp": false,
|
|
1705
|
+
"multiple": false,
|
|
1706
|
+
"type": "option"
|
|
1707
|
+
},
|
|
1708
|
+
"output": {
|
|
1709
|
+
"char": "o",
|
|
1710
|
+
"description": "Save report to file",
|
|
1711
|
+
"name": "output",
|
|
1712
|
+
"hasDynamicHelp": false,
|
|
1713
|
+
"multiple": false,
|
|
1714
|
+
"type": "option"
|
|
1715
|
+
}
|
|
1716
|
+
},
|
|
1717
|
+
"hasDynamicHelp": false,
|
|
1718
|
+
"hiddenAliases": [],
|
|
1719
|
+
"id": "sql-audit",
|
|
1720
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1721
|
+
"pluginName": "@memberjunction/cli",
|
|
1722
|
+
"pluginType": "core",
|
|
1723
|
+
"strict": true,
|
|
1724
|
+
"enableJsonFlag": false,
|
|
1725
|
+
"isESM": true,
|
|
1726
|
+
"relativePath": [
|
|
1727
|
+
"dist",
|
|
1728
|
+
"commands",
|
|
1729
|
+
"sql-audit",
|
|
1730
|
+
"index.js"
|
|
1731
|
+
]
|
|
1732
|
+
},
|
|
1733
1733
|
"sql-convert": {
|
|
1734
1734
|
"aliases": [],
|
|
1735
1735
|
"args": {
|
|
@@ -3539,5 +3539,5 @@
|
|
|
3539
3539
|
]
|
|
3540
3540
|
}
|
|
3541
3541
|
},
|
|
3542
|
-
"version": "5.
|
|
3542
|
+
"version": "5.14.0"
|
|
3543
3543
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.14.0",
|
|
5
5
|
"description": "MemberJunction command line tools",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"oclif"
|
|
@@ -53,19 +53,19 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@inquirer/prompts": "^8.2.0",
|
|
56
|
-
"@memberjunction/ai-cli": "5.
|
|
57
|
-
"@memberjunction/codegen-lib": "5.
|
|
58
|
-
"@memberjunction/config": "5.
|
|
59
|
-
"@memberjunction/core": "5.
|
|
60
|
-
"@memberjunction/installer": "5.
|
|
61
|
-
"@memberjunction/db-auto-doc": "5.
|
|
62
|
-
"@memberjunction/metadata-sync": "5.
|
|
63
|
-
"@memberjunction/query-gen": "5.
|
|
64
|
-
"@memberjunction/server-bootstrap-lite": "5.
|
|
56
|
+
"@memberjunction/ai-cli": "5.14.0",
|
|
57
|
+
"@memberjunction/codegen-lib": "5.14.0",
|
|
58
|
+
"@memberjunction/config": "5.14.0",
|
|
59
|
+
"@memberjunction/core": "5.14.0",
|
|
60
|
+
"@memberjunction/installer": "5.14.0",
|
|
61
|
+
"@memberjunction/db-auto-doc": "5.14.0",
|
|
62
|
+
"@memberjunction/metadata-sync": "5.14.0",
|
|
63
|
+
"@memberjunction/query-gen": "5.14.0",
|
|
64
|
+
"@memberjunction/server-bootstrap-lite": "5.14.0",
|
|
65
65
|
"@memberjunction/skyway-core": "^0.5.3",
|
|
66
|
-
"@memberjunction/sql-converter": "5.
|
|
67
|
-
"@memberjunction/sqlserver-dataprovider": "5.
|
|
68
|
-
"@memberjunction/testing-cli": "5.
|
|
66
|
+
"@memberjunction/sql-converter": "5.14.0",
|
|
67
|
+
"@memberjunction/sqlserver-dataprovider": "5.14.0",
|
|
68
|
+
"@memberjunction/testing-cli": "5.14.0",
|
|
69
69
|
"@oclif/core": "^3.27.0",
|
|
70
70
|
"@oclif/plugin-help": "^6.2.37",
|
|
71
71
|
"@oclif/plugin-version": "^2.2.36",
|