@memberjunction/cli 5.9.0 → 5.10.1
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 +100 -100
- package/package.json +13 -13
package/oclif.manifest.json
CHANGED
|
@@ -2274,6 +2274,105 @@
|
|
|
2274
2274
|
"watch.js"
|
|
2275
2275
|
]
|
|
2276
2276
|
},
|
|
2277
|
+
"translate-sql": {
|
|
2278
|
+
"aliases": [],
|
|
2279
|
+
"args": {},
|
|
2280
|
+
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
2281
|
+
"examples": [
|
|
2282
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
2283
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
2284
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
2285
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
2286
|
+
],
|
|
2287
|
+
"flags": {
|
|
2288
|
+
"from": {
|
|
2289
|
+
"description": "Source SQL dialect",
|
|
2290
|
+
"name": "from",
|
|
2291
|
+
"required": true,
|
|
2292
|
+
"hasDynamicHelp": false,
|
|
2293
|
+
"multiple": false,
|
|
2294
|
+
"options": [
|
|
2295
|
+
"sqlserver",
|
|
2296
|
+
"postgresql"
|
|
2297
|
+
],
|
|
2298
|
+
"type": "option"
|
|
2299
|
+
},
|
|
2300
|
+
"to": {
|
|
2301
|
+
"description": "Target SQL dialect",
|
|
2302
|
+
"name": "to",
|
|
2303
|
+
"required": true,
|
|
2304
|
+
"hasDynamicHelp": false,
|
|
2305
|
+
"multiple": false,
|
|
2306
|
+
"options": [
|
|
2307
|
+
"sqlserver",
|
|
2308
|
+
"postgresql"
|
|
2309
|
+
],
|
|
2310
|
+
"type": "option"
|
|
2311
|
+
},
|
|
2312
|
+
"scope": {
|
|
2313
|
+
"description": "What to scan for translation",
|
|
2314
|
+
"name": "scope",
|
|
2315
|
+
"default": "all",
|
|
2316
|
+
"hasDynamicHelp": false,
|
|
2317
|
+
"multiple": false,
|
|
2318
|
+
"options": [
|
|
2319
|
+
"queries",
|
|
2320
|
+
"views",
|
|
2321
|
+
"filters",
|
|
2322
|
+
"all"
|
|
2323
|
+
],
|
|
2324
|
+
"type": "option"
|
|
2325
|
+
},
|
|
2326
|
+
"sql": {
|
|
2327
|
+
"description": "Translate a single SQL fragment (inline mode)",
|
|
2328
|
+
"name": "sql",
|
|
2329
|
+
"hasDynamicHelp": false,
|
|
2330
|
+
"multiple": false,
|
|
2331
|
+
"type": "option"
|
|
2332
|
+
},
|
|
2333
|
+
"dry-run": {
|
|
2334
|
+
"description": "Show what would be translated without making changes",
|
|
2335
|
+
"name": "dry-run",
|
|
2336
|
+
"allowNo": false,
|
|
2337
|
+
"type": "boolean"
|
|
2338
|
+
},
|
|
2339
|
+
"review": {
|
|
2340
|
+
"description": "Generate review report only (no writes to database)",
|
|
2341
|
+
"name": "review",
|
|
2342
|
+
"allowNo": false,
|
|
2343
|
+
"type": "boolean"
|
|
2344
|
+
},
|
|
2345
|
+
"output": {
|
|
2346
|
+
"char": "o",
|
|
2347
|
+
"description": "Output directory for the translation report",
|
|
2348
|
+
"name": "output",
|
|
2349
|
+
"hasDynamicHelp": false,
|
|
2350
|
+
"multiple": false,
|
|
2351
|
+
"type": "option"
|
|
2352
|
+
},
|
|
2353
|
+
"force": {
|
|
2354
|
+
"description": "Re-translate even if platform variants already exist",
|
|
2355
|
+
"name": "force",
|
|
2356
|
+
"allowNo": false,
|
|
2357
|
+
"type": "boolean"
|
|
2358
|
+
}
|
|
2359
|
+
},
|
|
2360
|
+
"hasDynamicHelp": false,
|
|
2361
|
+
"hiddenAliases": [],
|
|
2362
|
+
"id": "translate-sql",
|
|
2363
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2364
|
+
"pluginName": "@memberjunction/cli",
|
|
2365
|
+
"pluginType": "core",
|
|
2366
|
+
"strict": true,
|
|
2367
|
+
"enableJsonFlag": false,
|
|
2368
|
+
"isESM": true,
|
|
2369
|
+
"relativePath": [
|
|
2370
|
+
"dist",
|
|
2371
|
+
"commands",
|
|
2372
|
+
"translate-sql",
|
|
2373
|
+
"index.js"
|
|
2374
|
+
]
|
|
2375
|
+
},
|
|
2277
2376
|
"test:compare": {
|
|
2278
2377
|
"aliases": [],
|
|
2279
2378
|
"args": {
|
|
@@ -2817,105 +2916,6 @@
|
|
|
2817
2916
|
"validate.js"
|
|
2818
2917
|
]
|
|
2819
2918
|
},
|
|
2820
|
-
"translate-sql": {
|
|
2821
|
-
"aliases": [],
|
|
2822
|
-
"args": {},
|
|
2823
|
-
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
2824
|
-
"examples": [
|
|
2825
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
2826
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
2827
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
2828
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
2829
|
-
],
|
|
2830
|
-
"flags": {
|
|
2831
|
-
"from": {
|
|
2832
|
-
"description": "Source SQL dialect",
|
|
2833
|
-
"name": "from",
|
|
2834
|
-
"required": true,
|
|
2835
|
-
"hasDynamicHelp": false,
|
|
2836
|
-
"multiple": false,
|
|
2837
|
-
"options": [
|
|
2838
|
-
"sqlserver",
|
|
2839
|
-
"postgresql"
|
|
2840
|
-
],
|
|
2841
|
-
"type": "option"
|
|
2842
|
-
},
|
|
2843
|
-
"to": {
|
|
2844
|
-
"description": "Target SQL dialect",
|
|
2845
|
-
"name": "to",
|
|
2846
|
-
"required": true,
|
|
2847
|
-
"hasDynamicHelp": false,
|
|
2848
|
-
"multiple": false,
|
|
2849
|
-
"options": [
|
|
2850
|
-
"sqlserver",
|
|
2851
|
-
"postgresql"
|
|
2852
|
-
],
|
|
2853
|
-
"type": "option"
|
|
2854
|
-
},
|
|
2855
|
-
"scope": {
|
|
2856
|
-
"description": "What to scan for translation",
|
|
2857
|
-
"name": "scope",
|
|
2858
|
-
"default": "all",
|
|
2859
|
-
"hasDynamicHelp": false,
|
|
2860
|
-
"multiple": false,
|
|
2861
|
-
"options": [
|
|
2862
|
-
"queries",
|
|
2863
|
-
"views",
|
|
2864
|
-
"filters",
|
|
2865
|
-
"all"
|
|
2866
|
-
],
|
|
2867
|
-
"type": "option"
|
|
2868
|
-
},
|
|
2869
|
-
"sql": {
|
|
2870
|
-
"description": "Translate a single SQL fragment (inline mode)",
|
|
2871
|
-
"name": "sql",
|
|
2872
|
-
"hasDynamicHelp": false,
|
|
2873
|
-
"multiple": false,
|
|
2874
|
-
"type": "option"
|
|
2875
|
-
},
|
|
2876
|
-
"dry-run": {
|
|
2877
|
-
"description": "Show what would be translated without making changes",
|
|
2878
|
-
"name": "dry-run",
|
|
2879
|
-
"allowNo": false,
|
|
2880
|
-
"type": "boolean"
|
|
2881
|
-
},
|
|
2882
|
-
"review": {
|
|
2883
|
-
"description": "Generate review report only (no writes to database)",
|
|
2884
|
-
"name": "review",
|
|
2885
|
-
"allowNo": false,
|
|
2886
|
-
"type": "boolean"
|
|
2887
|
-
},
|
|
2888
|
-
"output": {
|
|
2889
|
-
"char": "o",
|
|
2890
|
-
"description": "Output directory for the translation report",
|
|
2891
|
-
"name": "output",
|
|
2892
|
-
"hasDynamicHelp": false,
|
|
2893
|
-
"multiple": false,
|
|
2894
|
-
"type": "option"
|
|
2895
|
-
},
|
|
2896
|
-
"force": {
|
|
2897
|
-
"description": "Re-translate even if platform variants already exist",
|
|
2898
|
-
"name": "force",
|
|
2899
|
-
"allowNo": false,
|
|
2900
|
-
"type": "boolean"
|
|
2901
|
-
}
|
|
2902
|
-
},
|
|
2903
|
-
"hasDynamicHelp": false,
|
|
2904
|
-
"hiddenAliases": [],
|
|
2905
|
-
"id": "translate-sql",
|
|
2906
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2907
|
-
"pluginName": "@memberjunction/cli",
|
|
2908
|
-
"pluginType": "core",
|
|
2909
|
-
"strict": true,
|
|
2910
|
-
"enableJsonFlag": false,
|
|
2911
|
-
"isESM": true,
|
|
2912
|
-
"relativePath": [
|
|
2913
|
-
"dist",
|
|
2914
|
-
"commands",
|
|
2915
|
-
"translate-sql",
|
|
2916
|
-
"index.js"
|
|
2917
|
-
]
|
|
2918
|
-
},
|
|
2919
2919
|
"ai:actions:list": {
|
|
2920
2920
|
"aliases": [],
|
|
2921
2921
|
"args": {},
|
|
@@ -3524,5 +3524,5 @@
|
|
|
3524
3524
|
]
|
|
3525
3525
|
}
|
|
3526
3526
|
},
|
|
3527
|
-
"version": "5.
|
|
3527
|
+
"version": "5.10.1"
|
|
3528
3528
|
}
|
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.10.1",
|
|
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.10.1",
|
|
57
|
+
"@memberjunction/codegen-lib": "5.10.1",
|
|
58
|
+
"@memberjunction/config": "5.10.1",
|
|
59
|
+
"@memberjunction/core": "5.10.1",
|
|
60
|
+
"@memberjunction/installer": "5.10.1",
|
|
61
|
+
"@memberjunction/db-auto-doc": "5.10.1",
|
|
62
|
+
"@memberjunction/metadata-sync": "5.10.1",
|
|
63
|
+
"@memberjunction/query-gen": "5.10.1",
|
|
64
|
+
"@memberjunction/server-bootstrap-lite": "5.10.1",
|
|
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.10.1",
|
|
67
|
+
"@memberjunction/sqlserver-dataprovider": "5.10.1",
|
|
68
|
+
"@memberjunction/testing-cli": "5.10.1",
|
|
69
69
|
"@oclif/core": "^3.27.0",
|
|
70
70
|
"@oclif/plugin-help": "^6.2.37",
|
|
71
71
|
"@oclif/plugin-version": "^2.2.36",
|