@memberjunction/cli 6.1.4 → 6.1.6

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.
Files changed (2) hide show
  1. package/oclif.manifest.json +225 -225
  2. package/package.json +22 -22
@@ -2295,6 +2295,97 @@
2295
2295
  "usage.js"
2296
2296
  ]
2297
2297
  },
2298
+ "doctor": {
2299
+ "aliases": [],
2300
+ "args": {},
2301
+ "description": "Diagnose a MemberJunction installation",
2302
+ "examples": [
2303
+ "<%= config.bin %> <%= command.id %>",
2304
+ "<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
2305
+ "<%= config.bin %> <%= command.id %> --verbose",
2306
+ "<%= config.bin %> <%= command.id %> --report",
2307
+ "<%= config.bin %> <%= command.id %> --report_extended"
2308
+ ],
2309
+ "flags": {
2310
+ "dir": {
2311
+ "description": "Target directory to diagnose",
2312
+ "name": "dir",
2313
+ "default": ".",
2314
+ "hasDynamicHelp": false,
2315
+ "multiple": false,
2316
+ "type": "option"
2317
+ },
2318
+ "verbose": {
2319
+ "char": "v",
2320
+ "description": "Show detailed output including suggested fixes inline",
2321
+ "name": "verbose",
2322
+ "allowNo": false,
2323
+ "type": "boolean"
2324
+ },
2325
+ "report": {
2326
+ "char": "r",
2327
+ "description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
2328
+ "name": "report",
2329
+ "allowNo": false,
2330
+ "type": "boolean"
2331
+ },
2332
+ "report_extended": {
2333
+ "description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
2334
+ "name": "report_extended",
2335
+ "allowNo": false,
2336
+ "type": "boolean"
2337
+ }
2338
+ },
2339
+ "hasDynamicHelp": false,
2340
+ "hiddenAliases": [],
2341
+ "id": "doctor",
2342
+ "pluginAlias": "@memberjunction/cli",
2343
+ "pluginName": "@memberjunction/cli",
2344
+ "pluginType": "core",
2345
+ "strict": true,
2346
+ "enableJsonFlag": false,
2347
+ "isESM": true,
2348
+ "relativePath": [
2349
+ "dist",
2350
+ "commands",
2351
+ "doctor",
2352
+ "index.js"
2353
+ ]
2354
+ },
2355
+ "doctor:usage": {
2356
+ "aliases": [],
2357
+ "args": {},
2358
+ "description": "Show usage, flags, examples, and runtime hints for every `mj doctor` command.",
2359
+ "flags": {
2360
+ "format": {
2361
+ "description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
2362
+ "name": "format",
2363
+ "hasDynamicHelp": false,
2364
+ "multiple": false,
2365
+ "options": [
2366
+ "text",
2367
+ "json",
2368
+ "md"
2369
+ ],
2370
+ "type": "option"
2371
+ }
2372
+ },
2373
+ "hasDynamicHelp": false,
2374
+ "hiddenAliases": [],
2375
+ "id": "doctor:usage",
2376
+ "pluginAlias": "@memberjunction/cli",
2377
+ "pluginName": "@memberjunction/cli",
2378
+ "pluginType": "core",
2379
+ "strict": true,
2380
+ "enableJsonFlag": false,
2381
+ "isESM": true,
2382
+ "relativePath": [
2383
+ "dist",
2384
+ "commands",
2385
+ "doctor",
2386
+ "usage.js"
2387
+ ]
2388
+ },
2298
2389
  "install:claude": {
2299
2390
  "aliases": [],
2300
2391
  "args": {},
@@ -2563,97 +2654,6 @@
2563
2654
  "usage.js"
2564
2655
  ]
2565
2656
  },
2566
- "doctor": {
2567
- "aliases": [],
2568
- "args": {},
2569
- "description": "Diagnose a MemberJunction installation",
2570
- "examples": [
2571
- "<%= config.bin %> <%= command.id %>",
2572
- "<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
2573
- "<%= config.bin %> <%= command.id %> --verbose",
2574
- "<%= config.bin %> <%= command.id %> --report",
2575
- "<%= config.bin %> <%= command.id %> --report_extended"
2576
- ],
2577
- "flags": {
2578
- "dir": {
2579
- "description": "Target directory to diagnose",
2580
- "name": "dir",
2581
- "default": ".",
2582
- "hasDynamicHelp": false,
2583
- "multiple": false,
2584
- "type": "option"
2585
- },
2586
- "verbose": {
2587
- "char": "v",
2588
- "description": "Show detailed output including suggested fixes inline",
2589
- "name": "verbose",
2590
- "allowNo": false,
2591
- "type": "boolean"
2592
- },
2593
- "report": {
2594
- "char": "r",
2595
- "description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
2596
- "name": "report",
2597
- "allowNo": false,
2598
- "type": "boolean"
2599
- },
2600
- "report_extended": {
2601
- "description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
2602
- "name": "report_extended",
2603
- "allowNo": false,
2604
- "type": "boolean"
2605
- }
2606
- },
2607
- "hasDynamicHelp": false,
2608
- "hiddenAliases": [],
2609
- "id": "doctor",
2610
- "pluginAlias": "@memberjunction/cli",
2611
- "pluginName": "@memberjunction/cli",
2612
- "pluginType": "core",
2613
- "strict": true,
2614
- "enableJsonFlag": false,
2615
- "isESM": true,
2616
- "relativePath": [
2617
- "dist",
2618
- "commands",
2619
- "doctor",
2620
- "index.js"
2621
- ]
2622
- },
2623
- "doctor:usage": {
2624
- "aliases": [],
2625
- "args": {},
2626
- "description": "Show usage, flags, examples, and runtime hints for every `mj doctor` command.",
2627
- "flags": {
2628
- "format": {
2629
- "description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
2630
- "name": "format",
2631
- "hasDynamicHelp": false,
2632
- "multiple": false,
2633
- "options": [
2634
- "text",
2635
- "json",
2636
- "md"
2637
- ],
2638
- "type": "option"
2639
- }
2640
- },
2641
- "hasDynamicHelp": false,
2642
- "hiddenAliases": [],
2643
- "id": "doctor:usage",
2644
- "pluginAlias": "@memberjunction/cli",
2645
- "pluginName": "@memberjunction/cli",
2646
- "pluginType": "core",
2647
- "strict": true,
2648
- "enableJsonFlag": false,
2649
- "isESM": true,
2650
- "relativePath": [
2651
- "dist",
2652
- "commands",
2653
- "doctor",
2654
- "usage.js"
2655
- ]
2656
- },
2657
2657
  "migrate:convert": {
2658
2658
  "aliases": [],
2659
2659
  "args": {},
@@ -4510,6 +4510,139 @@
4510
4510
  "watch.js"
4511
4511
  ]
4512
4512
  },
4513
+ "translate-sql": {
4514
+ "aliases": [],
4515
+ "args": {},
4516
+ "description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
4517
+ "examples": [
4518
+ "<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
4519
+ "<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
4520
+ "<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
4521
+ "<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
4522
+ ],
4523
+ "flags": {
4524
+ "from": {
4525
+ "description": "Source SQL dialect",
4526
+ "name": "from",
4527
+ "required": true,
4528
+ "hasDynamicHelp": false,
4529
+ "multiple": false,
4530
+ "options": [
4531
+ "sqlserver",
4532
+ "postgresql"
4533
+ ],
4534
+ "type": "option"
4535
+ },
4536
+ "to": {
4537
+ "description": "Target SQL dialect",
4538
+ "name": "to",
4539
+ "required": true,
4540
+ "hasDynamicHelp": false,
4541
+ "multiple": false,
4542
+ "options": [
4543
+ "sqlserver",
4544
+ "postgresql"
4545
+ ],
4546
+ "type": "option"
4547
+ },
4548
+ "scope": {
4549
+ "description": "What to scan for translation",
4550
+ "name": "scope",
4551
+ "default": "all",
4552
+ "hasDynamicHelp": false,
4553
+ "multiple": false,
4554
+ "options": [
4555
+ "queries",
4556
+ "views",
4557
+ "filters",
4558
+ "all"
4559
+ ],
4560
+ "type": "option"
4561
+ },
4562
+ "sql": {
4563
+ "description": "Translate a single SQL fragment (inline mode)",
4564
+ "name": "sql",
4565
+ "hasDynamicHelp": false,
4566
+ "multiple": false,
4567
+ "type": "option"
4568
+ },
4569
+ "dry-run": {
4570
+ "description": "Show what would be translated without making changes",
4571
+ "name": "dry-run",
4572
+ "allowNo": false,
4573
+ "type": "boolean"
4574
+ },
4575
+ "review": {
4576
+ "description": "Generate review report only (no writes to database)",
4577
+ "name": "review",
4578
+ "allowNo": false,
4579
+ "type": "boolean"
4580
+ },
4581
+ "output": {
4582
+ "char": "o",
4583
+ "description": "Output directory for the translation report",
4584
+ "name": "output",
4585
+ "hasDynamicHelp": false,
4586
+ "multiple": false,
4587
+ "type": "option"
4588
+ },
4589
+ "force": {
4590
+ "description": "Re-translate even if platform variants already exist",
4591
+ "name": "force",
4592
+ "allowNo": false,
4593
+ "type": "boolean"
4594
+ }
4595
+ },
4596
+ "hasDynamicHelp": false,
4597
+ "hiddenAliases": [],
4598
+ "id": "translate-sql",
4599
+ "pluginAlias": "@memberjunction/cli",
4600
+ "pluginName": "@memberjunction/cli",
4601
+ "pluginType": "core",
4602
+ "strict": true,
4603
+ "enableJsonFlag": false,
4604
+ "isESM": true,
4605
+ "relativePath": [
4606
+ "dist",
4607
+ "commands",
4608
+ "translate-sql",
4609
+ "index.js"
4610
+ ]
4611
+ },
4612
+ "translate-sql:usage": {
4613
+ "aliases": [],
4614
+ "args": {},
4615
+ "description": "Show usage, flags, examples, and runtime hints for every `mj translate-sql` command.",
4616
+ "flags": {
4617
+ "format": {
4618
+ "description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
4619
+ "name": "format",
4620
+ "hasDynamicHelp": false,
4621
+ "multiple": false,
4622
+ "options": [
4623
+ "text",
4624
+ "json",
4625
+ "md"
4626
+ ],
4627
+ "type": "option"
4628
+ }
4629
+ },
4630
+ "hasDynamicHelp": false,
4631
+ "hiddenAliases": [],
4632
+ "id": "translate-sql:usage",
4633
+ "pluginAlias": "@memberjunction/cli",
4634
+ "pluginName": "@memberjunction/cli",
4635
+ "pluginType": "core",
4636
+ "strict": true,
4637
+ "enableJsonFlag": false,
4638
+ "isESM": true,
4639
+ "relativePath": [
4640
+ "dist",
4641
+ "commands",
4642
+ "translate-sql",
4643
+ "usage.js"
4644
+ ]
4645
+ },
4513
4646
  "test:compare": {
4514
4647
  "aliases": [],
4515
4648
  "args": {
@@ -5194,139 +5327,6 @@
5194
5327
  "validate.js"
5195
5328
  ]
5196
5329
  },
5197
- "translate-sql": {
5198
- "aliases": [],
5199
- "args": {},
5200
- "description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
5201
- "examples": [
5202
- "<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
5203
- "<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
5204
- "<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
5205
- "<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
5206
- ],
5207
- "flags": {
5208
- "from": {
5209
- "description": "Source SQL dialect",
5210
- "name": "from",
5211
- "required": true,
5212
- "hasDynamicHelp": false,
5213
- "multiple": false,
5214
- "options": [
5215
- "sqlserver",
5216
- "postgresql"
5217
- ],
5218
- "type": "option"
5219
- },
5220
- "to": {
5221
- "description": "Target SQL dialect",
5222
- "name": "to",
5223
- "required": true,
5224
- "hasDynamicHelp": false,
5225
- "multiple": false,
5226
- "options": [
5227
- "sqlserver",
5228
- "postgresql"
5229
- ],
5230
- "type": "option"
5231
- },
5232
- "scope": {
5233
- "description": "What to scan for translation",
5234
- "name": "scope",
5235
- "default": "all",
5236
- "hasDynamicHelp": false,
5237
- "multiple": false,
5238
- "options": [
5239
- "queries",
5240
- "views",
5241
- "filters",
5242
- "all"
5243
- ],
5244
- "type": "option"
5245
- },
5246
- "sql": {
5247
- "description": "Translate a single SQL fragment (inline mode)",
5248
- "name": "sql",
5249
- "hasDynamicHelp": false,
5250
- "multiple": false,
5251
- "type": "option"
5252
- },
5253
- "dry-run": {
5254
- "description": "Show what would be translated without making changes",
5255
- "name": "dry-run",
5256
- "allowNo": false,
5257
- "type": "boolean"
5258
- },
5259
- "review": {
5260
- "description": "Generate review report only (no writes to database)",
5261
- "name": "review",
5262
- "allowNo": false,
5263
- "type": "boolean"
5264
- },
5265
- "output": {
5266
- "char": "o",
5267
- "description": "Output directory for the translation report",
5268
- "name": "output",
5269
- "hasDynamicHelp": false,
5270
- "multiple": false,
5271
- "type": "option"
5272
- },
5273
- "force": {
5274
- "description": "Re-translate even if platform variants already exist",
5275
- "name": "force",
5276
- "allowNo": false,
5277
- "type": "boolean"
5278
- }
5279
- },
5280
- "hasDynamicHelp": false,
5281
- "hiddenAliases": [],
5282
- "id": "translate-sql",
5283
- "pluginAlias": "@memberjunction/cli",
5284
- "pluginName": "@memberjunction/cli",
5285
- "pluginType": "core",
5286
- "strict": true,
5287
- "enableJsonFlag": false,
5288
- "isESM": true,
5289
- "relativePath": [
5290
- "dist",
5291
- "commands",
5292
- "translate-sql",
5293
- "index.js"
5294
- ]
5295
- },
5296
- "translate-sql:usage": {
5297
- "aliases": [],
5298
- "args": {},
5299
- "description": "Show usage, flags, examples, and runtime hints for every `mj translate-sql` command.",
5300
- "flags": {
5301
- "format": {
5302
- "description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
5303
- "name": "format",
5304
- "hasDynamicHelp": false,
5305
- "multiple": false,
5306
- "options": [
5307
- "text",
5308
- "json",
5309
- "md"
5310
- ],
5311
- "type": "option"
5312
- }
5313
- },
5314
- "hasDynamicHelp": false,
5315
- "hiddenAliases": [],
5316
- "id": "translate-sql:usage",
5317
- "pluginAlias": "@memberjunction/cli",
5318
- "pluginName": "@memberjunction/cli",
5319
- "pluginType": "core",
5320
- "strict": true,
5321
- "enableJsonFlag": false,
5322
- "isESM": true,
5323
- "relativePath": [
5324
- "dist",
5325
- "commands",
5326
- "translate-sql",
5327
- "usage.js"
5328
- ]
5329
- },
5330
5330
  "update:claude": {
5331
5331
  "aliases": [],
5332
5332
  "args": {},
@@ -6862,5 +6862,5 @@
6862
6862
  ]
6863
6863
  }
6864
6864
  },
6865
- "version": "6.1.4"
6865
+ "version": "6.1.6"
6866
6866
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@memberjunction/cli",
3
3
  "type": "module",
4
- "version": "6.1.4",
4
+ "version": "6.1.6",
5
5
  "description": "MemberJunction command line tools",
6
6
  "keywords": [
7
7
  "oclif"
@@ -48,27 +48,27 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@inquirer/prompts": "^8.2.0",
51
- "@memberjunction/ai-cli": "6.1.4",
52
- "@memberjunction/cli-core": "6.1.4",
53
- "@memberjunction/codegen-lib": "6.1.4",
54
- "@memberjunction/config": "6.1.4",
55
- "@memberjunction/core": "6.1.4",
56
- "@memberjunction/generic-database-provider": "6.1.4",
57
- "@memberjunction/installer": "6.1.4",
58
- "@memberjunction/dynamic-packages": "6.1.4",
59
- "@memberjunction/db-auto-doc": "6.1.4",
60
- "@memberjunction/metadata-sync": "6.1.4",
61
- "@memberjunction/open-app-engine": "6.1.4",
62
- "@memberjunction/query-gen": "6.1.4",
63
- "@memberjunction/server-bootstrap-lite": "6.1.4",
51
+ "@memberjunction/ai-cli": "6.1.6",
52
+ "@memberjunction/cli-core": "6.1.6",
53
+ "@memberjunction/codegen-lib": "6.1.6",
54
+ "@memberjunction/config": "6.1.6",
55
+ "@memberjunction/core": "6.1.6",
56
+ "@memberjunction/generic-database-provider": "6.1.6",
57
+ "@memberjunction/installer": "6.1.6",
58
+ "@memberjunction/dynamic-packages": "6.1.6",
59
+ "@memberjunction/db-auto-doc": "6.1.6",
60
+ "@memberjunction/metadata-sync": "6.1.6",
61
+ "@memberjunction/open-app-engine": "6.1.6",
62
+ "@memberjunction/query-gen": "6.1.6",
63
+ "@memberjunction/server-bootstrap-lite": "6.1.6",
64
64
  "@memberjunction/skyway-core": "^0.6.2",
65
65
  "@memberjunction/skyway-postgres": "^0.6.2",
66
66
  "@memberjunction/skyway-sqlserver": "^0.6.2",
67
- "@memberjunction/sql-converter": "6.1.4",
68
- "@memberjunction/sqlglot-ts": "6.1.4",
69
- "@memberjunction/sqlserver-dataprovider": "6.1.4",
70
- "@memberjunction/standards": "6.1.4",
71
- "@memberjunction/testing-cli": "6.1.4",
67
+ "@memberjunction/sql-converter": "6.1.6",
68
+ "@memberjunction/sqlglot-ts": "6.1.6",
69
+ "@memberjunction/sqlserver-dataprovider": "6.1.6",
70
+ "@memberjunction/standards": "6.1.6",
71
+ "@memberjunction/testing-cli": "6.1.6",
72
72
  "@oclif/core": "^3.27.0",
73
73
  "@oclif/plugin-help": "^6.2.37",
74
74
  "@oclif/plugin-version": "^2.2.36",
@@ -88,9 +88,9 @@
88
88
  "recast": "^0.23.11",
89
89
  "simple-git": "^3.30.0",
90
90
  "zod": "^3.25.0",
91
- "@memberjunction/core-entities": "6.1.4",
92
- "@memberjunction/global": "6.1.4",
93
- "@memberjunction/aiengine": "6.1.4"
91
+ "@memberjunction/core-entities": "6.1.6",
92
+ "@memberjunction/global": "6.1.6",
93
+ "@memberjunction/aiengine": "6.1.6"
94
94
  },
95
95
  "devDependencies": {
96
96
  "@oclif/prettier-config": "^0.2.1",