@memberjunction/cli 5.35.0 → 5.37.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 +161 -161
- package/package.json +15 -15
package/oclif.manifest.json
CHANGED
|
@@ -338,67 +338,6 @@
|
|
|
338
338
|
"upgrade.js"
|
|
339
339
|
]
|
|
340
340
|
},
|
|
341
|
-
"artifacts:reclassify": {
|
|
342
|
-
"aliases": [],
|
|
343
|
-
"args": {},
|
|
344
|
-
"description": "Upgrade-recovery utility for v5.35 artifact unification. Re-evaluates rows whose TypeID is the deleted JSON fallback but whose actual content does not parse as JSON. Normally a no-op: the v5.35 backfill migration handles this automatically. This command is only relevant when the migration ran BEFORE the artifact-type metadata (Generic Text / Generic Binary) was pushed via `mj sync push`, in which case the migration prints a notice telling you to run this. Reports \"no candidates\" once everything is reconciled. Dry-run by default; --apply writes through Record Changes.",
|
|
345
|
-
"examples": [
|
|
346
|
-
"<%= config.bin %> <%= command.id %>",
|
|
347
|
-
"<%= config.bin %> <%= command.id %> --apply --limit 50"
|
|
348
|
-
],
|
|
349
|
-
"flags": {
|
|
350
|
-
"conversation-id": {
|
|
351
|
-
"description": "Scope to artifacts attached to the given conversation.",
|
|
352
|
-
"name": "conversation-id",
|
|
353
|
-
"hasDynamicHelp": false,
|
|
354
|
-
"multiple": false,
|
|
355
|
-
"type": "option"
|
|
356
|
-
},
|
|
357
|
-
"since": {
|
|
358
|
-
"description": "Scope to artifacts created on/after this ISO date.",
|
|
359
|
-
"name": "since",
|
|
360
|
-
"hasDynamicHelp": false,
|
|
361
|
-
"multiple": false,
|
|
362
|
-
"type": "option"
|
|
363
|
-
},
|
|
364
|
-
"limit": {
|
|
365
|
-
"description": "Maximum number of rows to inspect.",
|
|
366
|
-
"name": "limit",
|
|
367
|
-
"default": 100,
|
|
368
|
-
"hasDynamicHelp": false,
|
|
369
|
-
"multiple": false,
|
|
370
|
-
"type": "option"
|
|
371
|
-
},
|
|
372
|
-
"apply": {
|
|
373
|
-
"description": "Write changes. Without this flag, this command only reports what it would do.",
|
|
374
|
-
"name": "apply",
|
|
375
|
-
"allowNo": false,
|
|
376
|
-
"type": "boolean"
|
|
377
|
-
},
|
|
378
|
-
"verbose": {
|
|
379
|
-
"char": "v",
|
|
380
|
-
"description": "Print every candidate row, not just the summary.",
|
|
381
|
-
"name": "verbose",
|
|
382
|
-
"allowNo": false,
|
|
383
|
-
"type": "boolean"
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
"hasDynamicHelp": false,
|
|
387
|
-
"hiddenAliases": [],
|
|
388
|
-
"id": "artifacts:reclassify",
|
|
389
|
-
"pluginAlias": "@memberjunction/cli",
|
|
390
|
-
"pluginName": "@memberjunction/cli",
|
|
391
|
-
"pluginType": "core",
|
|
392
|
-
"strict": true,
|
|
393
|
-
"enableJsonFlag": false,
|
|
394
|
-
"isESM": true,
|
|
395
|
-
"relativePath": [
|
|
396
|
-
"dist",
|
|
397
|
-
"commands",
|
|
398
|
-
"artifacts",
|
|
399
|
-
"reclassify.js"
|
|
400
|
-
]
|
|
401
|
-
},
|
|
402
341
|
"bump": {
|
|
403
342
|
"aliases": [],
|
|
404
343
|
"args": {},
|
|
@@ -471,6 +410,67 @@
|
|
|
471
410
|
"index.js"
|
|
472
411
|
]
|
|
473
412
|
},
|
|
413
|
+
"artifacts:reclassify": {
|
|
414
|
+
"aliases": [],
|
|
415
|
+
"args": {},
|
|
416
|
+
"description": "Upgrade-recovery utility for v5.35 artifact unification. Re-evaluates rows whose TypeID is the deleted JSON fallback but whose actual content does not parse as JSON. Normally a no-op: the v5.35 backfill migration handles this automatically. This command is only relevant when the migration ran BEFORE the artifact-type metadata (Generic Text / Generic Binary) was pushed via `mj sync push`, in which case the migration prints a notice telling you to run this. Reports \"no candidates\" once everything is reconciled. Dry-run by default; --apply writes through Record Changes.",
|
|
417
|
+
"examples": [
|
|
418
|
+
"<%= config.bin %> <%= command.id %>",
|
|
419
|
+
"<%= config.bin %> <%= command.id %> --apply --limit 50"
|
|
420
|
+
],
|
|
421
|
+
"flags": {
|
|
422
|
+
"conversation-id": {
|
|
423
|
+
"description": "Scope to artifacts attached to the given conversation.",
|
|
424
|
+
"name": "conversation-id",
|
|
425
|
+
"hasDynamicHelp": false,
|
|
426
|
+
"multiple": false,
|
|
427
|
+
"type": "option"
|
|
428
|
+
},
|
|
429
|
+
"since": {
|
|
430
|
+
"description": "Scope to artifacts created on/after this ISO date.",
|
|
431
|
+
"name": "since",
|
|
432
|
+
"hasDynamicHelp": false,
|
|
433
|
+
"multiple": false,
|
|
434
|
+
"type": "option"
|
|
435
|
+
},
|
|
436
|
+
"limit": {
|
|
437
|
+
"description": "Maximum number of rows to inspect.",
|
|
438
|
+
"name": "limit",
|
|
439
|
+
"default": 100,
|
|
440
|
+
"hasDynamicHelp": false,
|
|
441
|
+
"multiple": false,
|
|
442
|
+
"type": "option"
|
|
443
|
+
},
|
|
444
|
+
"apply": {
|
|
445
|
+
"description": "Write changes. Without this flag, this command only reports what it would do.",
|
|
446
|
+
"name": "apply",
|
|
447
|
+
"allowNo": false,
|
|
448
|
+
"type": "boolean"
|
|
449
|
+
},
|
|
450
|
+
"verbose": {
|
|
451
|
+
"char": "v",
|
|
452
|
+
"description": "Print every candidate row, not just the summary.",
|
|
453
|
+
"name": "verbose",
|
|
454
|
+
"allowNo": false,
|
|
455
|
+
"type": "boolean"
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"hasDynamicHelp": false,
|
|
459
|
+
"hiddenAliases": [],
|
|
460
|
+
"id": "artifacts:reclassify",
|
|
461
|
+
"pluginAlias": "@memberjunction/cli",
|
|
462
|
+
"pluginName": "@memberjunction/cli",
|
|
463
|
+
"pluginType": "core",
|
|
464
|
+
"strict": true,
|
|
465
|
+
"enableJsonFlag": false,
|
|
466
|
+
"isESM": true,
|
|
467
|
+
"relativePath": [
|
|
468
|
+
"dist",
|
|
469
|
+
"commands",
|
|
470
|
+
"artifacts",
|
|
471
|
+
"reclassify.js"
|
|
472
|
+
]
|
|
473
|
+
},
|
|
474
474
|
"clean": {
|
|
475
475
|
"aliases": [],
|
|
476
476
|
"args": {},
|
|
@@ -2577,6 +2577,105 @@
|
|
|
2577
2577
|
"watch.js"
|
|
2578
2578
|
]
|
|
2579
2579
|
},
|
|
2580
|
+
"translate-sql": {
|
|
2581
|
+
"aliases": [],
|
|
2582
|
+
"args": {},
|
|
2583
|
+
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
2584
|
+
"examples": [
|
|
2585
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
2586
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
2587
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
2588
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
2589
|
+
],
|
|
2590
|
+
"flags": {
|
|
2591
|
+
"from": {
|
|
2592
|
+
"description": "Source SQL dialect",
|
|
2593
|
+
"name": "from",
|
|
2594
|
+
"required": true,
|
|
2595
|
+
"hasDynamicHelp": false,
|
|
2596
|
+
"multiple": false,
|
|
2597
|
+
"options": [
|
|
2598
|
+
"sqlserver",
|
|
2599
|
+
"postgresql"
|
|
2600
|
+
],
|
|
2601
|
+
"type": "option"
|
|
2602
|
+
},
|
|
2603
|
+
"to": {
|
|
2604
|
+
"description": "Target SQL dialect",
|
|
2605
|
+
"name": "to",
|
|
2606
|
+
"required": true,
|
|
2607
|
+
"hasDynamicHelp": false,
|
|
2608
|
+
"multiple": false,
|
|
2609
|
+
"options": [
|
|
2610
|
+
"sqlserver",
|
|
2611
|
+
"postgresql"
|
|
2612
|
+
],
|
|
2613
|
+
"type": "option"
|
|
2614
|
+
},
|
|
2615
|
+
"scope": {
|
|
2616
|
+
"description": "What to scan for translation",
|
|
2617
|
+
"name": "scope",
|
|
2618
|
+
"default": "all",
|
|
2619
|
+
"hasDynamicHelp": false,
|
|
2620
|
+
"multiple": false,
|
|
2621
|
+
"options": [
|
|
2622
|
+
"queries",
|
|
2623
|
+
"views",
|
|
2624
|
+
"filters",
|
|
2625
|
+
"all"
|
|
2626
|
+
],
|
|
2627
|
+
"type": "option"
|
|
2628
|
+
},
|
|
2629
|
+
"sql": {
|
|
2630
|
+
"description": "Translate a single SQL fragment (inline mode)",
|
|
2631
|
+
"name": "sql",
|
|
2632
|
+
"hasDynamicHelp": false,
|
|
2633
|
+
"multiple": false,
|
|
2634
|
+
"type": "option"
|
|
2635
|
+
},
|
|
2636
|
+
"dry-run": {
|
|
2637
|
+
"description": "Show what would be translated without making changes",
|
|
2638
|
+
"name": "dry-run",
|
|
2639
|
+
"allowNo": false,
|
|
2640
|
+
"type": "boolean"
|
|
2641
|
+
},
|
|
2642
|
+
"review": {
|
|
2643
|
+
"description": "Generate review report only (no writes to database)",
|
|
2644
|
+
"name": "review",
|
|
2645
|
+
"allowNo": false,
|
|
2646
|
+
"type": "boolean"
|
|
2647
|
+
},
|
|
2648
|
+
"output": {
|
|
2649
|
+
"char": "o",
|
|
2650
|
+
"description": "Output directory for the translation report",
|
|
2651
|
+
"name": "output",
|
|
2652
|
+
"hasDynamicHelp": false,
|
|
2653
|
+
"multiple": false,
|
|
2654
|
+
"type": "option"
|
|
2655
|
+
},
|
|
2656
|
+
"force": {
|
|
2657
|
+
"description": "Re-translate even if platform variants already exist",
|
|
2658
|
+
"name": "force",
|
|
2659
|
+
"allowNo": false,
|
|
2660
|
+
"type": "boolean"
|
|
2661
|
+
}
|
|
2662
|
+
},
|
|
2663
|
+
"hasDynamicHelp": false,
|
|
2664
|
+
"hiddenAliases": [],
|
|
2665
|
+
"id": "translate-sql",
|
|
2666
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2667
|
+
"pluginName": "@memberjunction/cli",
|
|
2668
|
+
"pluginType": "core",
|
|
2669
|
+
"strict": true,
|
|
2670
|
+
"enableJsonFlag": false,
|
|
2671
|
+
"isESM": true,
|
|
2672
|
+
"relativePath": [
|
|
2673
|
+
"dist",
|
|
2674
|
+
"commands",
|
|
2675
|
+
"translate-sql",
|
|
2676
|
+
"index.js"
|
|
2677
|
+
]
|
|
2678
|
+
},
|
|
2580
2679
|
"test:compare": {
|
|
2581
2680
|
"aliases": [],
|
|
2582
2681
|
"args": {
|
|
@@ -3120,105 +3219,6 @@
|
|
|
3120
3219
|
"validate.js"
|
|
3121
3220
|
]
|
|
3122
3221
|
},
|
|
3123
|
-
"translate-sql": {
|
|
3124
|
-
"aliases": [],
|
|
3125
|
-
"args": {},
|
|
3126
|
-
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
3127
|
-
"examples": [
|
|
3128
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
3129
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
3130
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
3131
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
3132
|
-
],
|
|
3133
|
-
"flags": {
|
|
3134
|
-
"from": {
|
|
3135
|
-
"description": "Source SQL dialect",
|
|
3136
|
-
"name": "from",
|
|
3137
|
-
"required": true,
|
|
3138
|
-
"hasDynamicHelp": false,
|
|
3139
|
-
"multiple": false,
|
|
3140
|
-
"options": [
|
|
3141
|
-
"sqlserver",
|
|
3142
|
-
"postgresql"
|
|
3143
|
-
],
|
|
3144
|
-
"type": "option"
|
|
3145
|
-
},
|
|
3146
|
-
"to": {
|
|
3147
|
-
"description": "Target SQL dialect",
|
|
3148
|
-
"name": "to",
|
|
3149
|
-
"required": true,
|
|
3150
|
-
"hasDynamicHelp": false,
|
|
3151
|
-
"multiple": false,
|
|
3152
|
-
"options": [
|
|
3153
|
-
"sqlserver",
|
|
3154
|
-
"postgresql"
|
|
3155
|
-
],
|
|
3156
|
-
"type": "option"
|
|
3157
|
-
},
|
|
3158
|
-
"scope": {
|
|
3159
|
-
"description": "What to scan for translation",
|
|
3160
|
-
"name": "scope",
|
|
3161
|
-
"default": "all",
|
|
3162
|
-
"hasDynamicHelp": false,
|
|
3163
|
-
"multiple": false,
|
|
3164
|
-
"options": [
|
|
3165
|
-
"queries",
|
|
3166
|
-
"views",
|
|
3167
|
-
"filters",
|
|
3168
|
-
"all"
|
|
3169
|
-
],
|
|
3170
|
-
"type": "option"
|
|
3171
|
-
},
|
|
3172
|
-
"sql": {
|
|
3173
|
-
"description": "Translate a single SQL fragment (inline mode)",
|
|
3174
|
-
"name": "sql",
|
|
3175
|
-
"hasDynamicHelp": false,
|
|
3176
|
-
"multiple": false,
|
|
3177
|
-
"type": "option"
|
|
3178
|
-
},
|
|
3179
|
-
"dry-run": {
|
|
3180
|
-
"description": "Show what would be translated without making changes",
|
|
3181
|
-
"name": "dry-run",
|
|
3182
|
-
"allowNo": false,
|
|
3183
|
-
"type": "boolean"
|
|
3184
|
-
},
|
|
3185
|
-
"review": {
|
|
3186
|
-
"description": "Generate review report only (no writes to database)",
|
|
3187
|
-
"name": "review",
|
|
3188
|
-
"allowNo": false,
|
|
3189
|
-
"type": "boolean"
|
|
3190
|
-
},
|
|
3191
|
-
"output": {
|
|
3192
|
-
"char": "o",
|
|
3193
|
-
"description": "Output directory for the translation report",
|
|
3194
|
-
"name": "output",
|
|
3195
|
-
"hasDynamicHelp": false,
|
|
3196
|
-
"multiple": false,
|
|
3197
|
-
"type": "option"
|
|
3198
|
-
},
|
|
3199
|
-
"force": {
|
|
3200
|
-
"description": "Re-translate even if platform variants already exist",
|
|
3201
|
-
"name": "force",
|
|
3202
|
-
"allowNo": false,
|
|
3203
|
-
"type": "boolean"
|
|
3204
|
-
}
|
|
3205
|
-
},
|
|
3206
|
-
"hasDynamicHelp": false,
|
|
3207
|
-
"hiddenAliases": [],
|
|
3208
|
-
"id": "translate-sql",
|
|
3209
|
-
"pluginAlias": "@memberjunction/cli",
|
|
3210
|
-
"pluginName": "@memberjunction/cli",
|
|
3211
|
-
"pluginType": "core",
|
|
3212
|
-
"strict": true,
|
|
3213
|
-
"enableJsonFlag": false,
|
|
3214
|
-
"isESM": true,
|
|
3215
|
-
"relativePath": [
|
|
3216
|
-
"dist",
|
|
3217
|
-
"commands",
|
|
3218
|
-
"translate-sql",
|
|
3219
|
-
"index.js"
|
|
3220
|
-
]
|
|
3221
|
-
},
|
|
3222
3222
|
"ai:actions:list": {
|
|
3223
3223
|
"aliases": [],
|
|
3224
3224
|
"args": {},
|
|
@@ -3827,5 +3827,5 @@
|
|
|
3827
3827
|
]
|
|
3828
3828
|
}
|
|
3829
3829
|
},
|
|
3830
|
-
"version": "5.
|
|
3830
|
+
"version": "5.37.0"
|
|
3831
3831
|
}
|
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.37.0",
|
|
5
5
|
"description": "MemberJunction command line tools",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"oclif"
|
|
@@ -54,23 +54,23 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@inquirer/prompts": "^8.2.0",
|
|
57
|
-
"@memberjunction/ai-cli": "5.
|
|
58
|
-
"@memberjunction/codegen-lib": "5.
|
|
59
|
-
"@memberjunction/config": "5.
|
|
60
|
-
"@memberjunction/core": "5.
|
|
61
|
-
"@memberjunction/generic-database-provider": "5.
|
|
62
|
-
"@memberjunction/installer": "5.
|
|
63
|
-
"@memberjunction/db-auto-doc": "5.
|
|
64
|
-
"@memberjunction/metadata-sync": "5.
|
|
65
|
-
"@memberjunction/open-app-engine": "5.
|
|
66
|
-
"@memberjunction/query-gen": "5.
|
|
67
|
-
"@memberjunction/server-bootstrap-lite": "5.
|
|
57
|
+
"@memberjunction/ai-cli": "5.37.0",
|
|
58
|
+
"@memberjunction/codegen-lib": "5.37.0",
|
|
59
|
+
"@memberjunction/config": "5.37.0",
|
|
60
|
+
"@memberjunction/core": "5.37.0",
|
|
61
|
+
"@memberjunction/generic-database-provider": "5.37.0",
|
|
62
|
+
"@memberjunction/installer": "5.37.0",
|
|
63
|
+
"@memberjunction/db-auto-doc": "5.37.0",
|
|
64
|
+
"@memberjunction/metadata-sync": "5.37.0",
|
|
65
|
+
"@memberjunction/open-app-engine": "5.37.0",
|
|
66
|
+
"@memberjunction/query-gen": "5.37.0",
|
|
67
|
+
"@memberjunction/server-bootstrap-lite": "5.37.0",
|
|
68
68
|
"@memberjunction/skyway-core": "^0.6.1",
|
|
69
69
|
"@memberjunction/skyway-postgres": "^0.6.1",
|
|
70
70
|
"@memberjunction/skyway-sqlserver": "^0.6.1",
|
|
71
|
-
"@memberjunction/sql-converter": "5.
|
|
72
|
-
"@memberjunction/sqlserver-dataprovider": "5.
|
|
73
|
-
"@memberjunction/testing-cli": "5.
|
|
71
|
+
"@memberjunction/sql-converter": "5.37.0",
|
|
72
|
+
"@memberjunction/sqlserver-dataprovider": "5.37.0",
|
|
73
|
+
"@memberjunction/testing-cli": "5.37.0",
|
|
74
74
|
"@oclif/core": "^3.27.0",
|
|
75
75
|
"@oclif/plugin-help": "^6.2.37",
|
|
76
76
|
"@oclif/plugin-version": "^2.2.36",
|