@memberjunction/cli 5.30.0 → 5.30.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.
Files changed (2) hide show
  1. package/oclif.manifest.json +185 -185
  2. package/package.json +14 -14
@@ -1793,91 +1793,6 @@
1793
1793
  "index.js"
1794
1794
  ]
1795
1795
  },
1796
- "sql-convert": {
1797
- "aliases": [],
1798
- "args": {
1799
- "source": {
1800
- "description": "Source SQL file path",
1801
- "name": "source",
1802
- "required": true
1803
- }
1804
- },
1805
- "description": "Convert SQL files between database dialects using rule-based BatchConverter engine",
1806
- "examples": [
1807
- "<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres",
1808
- "<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --output converted.sql",
1809
- "<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --schema my_schema",
1810
- "<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --no-header --verbose"
1811
- ],
1812
- "flags": {
1813
- "from": {
1814
- "description": "Source SQL dialect",
1815
- "name": "from",
1816
- "required": true,
1817
- "hasDynamicHelp": false,
1818
- "multiple": false,
1819
- "type": "option"
1820
- },
1821
- "to": {
1822
- "description": "Target SQL dialect",
1823
- "name": "to",
1824
- "required": true,
1825
- "hasDynamicHelp": false,
1826
- "multiple": false,
1827
- "type": "option"
1828
- },
1829
- "output": {
1830
- "char": "o",
1831
- "description": "Output file path (default: <source>.converted.<ext>)",
1832
- "name": "output",
1833
- "hasDynamicHelp": false,
1834
- "multiple": false,
1835
- "type": "option"
1836
- },
1837
- "schema": {
1838
- "description": "Target schema name",
1839
- "name": "schema",
1840
- "default": "__mj",
1841
- "hasDynamicHelp": false,
1842
- "multiple": false,
1843
- "type": "option"
1844
- },
1845
- "no-header": {
1846
- "description": "Skip PG header (extensions, schema, implicit cast)",
1847
- "name": "no-header",
1848
- "allowNo": false,
1849
- "type": "boolean"
1850
- },
1851
- "no-post-process": {
1852
- "description": "Skip post-processing pass",
1853
- "name": "no-post-process",
1854
- "allowNo": false,
1855
- "type": "boolean"
1856
- },
1857
- "verbose": {
1858
- "char": "v",
1859
- "description": "Show per-statement progress and detailed report",
1860
- "name": "verbose",
1861
- "allowNo": false,
1862
- "type": "boolean"
1863
- }
1864
- },
1865
- "hasDynamicHelp": false,
1866
- "hiddenAliases": [],
1867
- "id": "sql-convert",
1868
- "pluginAlias": "@memberjunction/cli",
1869
- "pluginName": "@memberjunction/cli",
1870
- "pluginType": "core",
1871
- "strict": true,
1872
- "enableJsonFlag": false,
1873
- "isESM": true,
1874
- "relativePath": [
1875
- "dist",
1876
- "commands",
1877
- "sql-convert",
1878
- "index.js"
1879
- ]
1880
- },
1881
1796
  "sync:file-reset": {
1882
1797
  "aliases": [],
1883
1798
  "args": {},
@@ -2352,6 +2267,190 @@
2352
2267
  "watch.js"
2353
2268
  ]
2354
2269
  },
2270
+ "sql-convert": {
2271
+ "aliases": [],
2272
+ "args": {
2273
+ "source": {
2274
+ "description": "Source SQL file path",
2275
+ "name": "source",
2276
+ "required": true
2277
+ }
2278
+ },
2279
+ "description": "Convert SQL files between database dialects using rule-based BatchConverter engine",
2280
+ "examples": [
2281
+ "<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres",
2282
+ "<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --output converted.sql",
2283
+ "<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --schema my_schema",
2284
+ "<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --no-header --verbose"
2285
+ ],
2286
+ "flags": {
2287
+ "from": {
2288
+ "description": "Source SQL dialect",
2289
+ "name": "from",
2290
+ "required": true,
2291
+ "hasDynamicHelp": false,
2292
+ "multiple": false,
2293
+ "type": "option"
2294
+ },
2295
+ "to": {
2296
+ "description": "Target SQL dialect",
2297
+ "name": "to",
2298
+ "required": true,
2299
+ "hasDynamicHelp": false,
2300
+ "multiple": false,
2301
+ "type": "option"
2302
+ },
2303
+ "output": {
2304
+ "char": "o",
2305
+ "description": "Output file path (default: <source>.converted.<ext>)",
2306
+ "name": "output",
2307
+ "hasDynamicHelp": false,
2308
+ "multiple": false,
2309
+ "type": "option"
2310
+ },
2311
+ "schema": {
2312
+ "description": "Target schema name",
2313
+ "name": "schema",
2314
+ "default": "__mj",
2315
+ "hasDynamicHelp": false,
2316
+ "multiple": false,
2317
+ "type": "option"
2318
+ },
2319
+ "no-header": {
2320
+ "description": "Skip PG header (extensions, schema, implicit cast)",
2321
+ "name": "no-header",
2322
+ "allowNo": false,
2323
+ "type": "boolean"
2324
+ },
2325
+ "no-post-process": {
2326
+ "description": "Skip post-processing pass",
2327
+ "name": "no-post-process",
2328
+ "allowNo": false,
2329
+ "type": "boolean"
2330
+ },
2331
+ "verbose": {
2332
+ "char": "v",
2333
+ "description": "Show per-statement progress and detailed report",
2334
+ "name": "verbose",
2335
+ "allowNo": false,
2336
+ "type": "boolean"
2337
+ }
2338
+ },
2339
+ "hasDynamicHelp": false,
2340
+ "hiddenAliases": [],
2341
+ "id": "sql-convert",
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
+ "sql-convert",
2352
+ "index.js"
2353
+ ]
2354
+ },
2355
+ "translate-sql": {
2356
+ "aliases": [],
2357
+ "args": {},
2358
+ "description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
2359
+ "examples": [
2360
+ "<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
2361
+ "<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
2362
+ "<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
2363
+ "<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
2364
+ ],
2365
+ "flags": {
2366
+ "from": {
2367
+ "description": "Source SQL dialect",
2368
+ "name": "from",
2369
+ "required": true,
2370
+ "hasDynamicHelp": false,
2371
+ "multiple": false,
2372
+ "options": [
2373
+ "sqlserver",
2374
+ "postgresql"
2375
+ ],
2376
+ "type": "option"
2377
+ },
2378
+ "to": {
2379
+ "description": "Target SQL dialect",
2380
+ "name": "to",
2381
+ "required": true,
2382
+ "hasDynamicHelp": false,
2383
+ "multiple": false,
2384
+ "options": [
2385
+ "sqlserver",
2386
+ "postgresql"
2387
+ ],
2388
+ "type": "option"
2389
+ },
2390
+ "scope": {
2391
+ "description": "What to scan for translation",
2392
+ "name": "scope",
2393
+ "default": "all",
2394
+ "hasDynamicHelp": false,
2395
+ "multiple": false,
2396
+ "options": [
2397
+ "queries",
2398
+ "views",
2399
+ "filters",
2400
+ "all"
2401
+ ],
2402
+ "type": "option"
2403
+ },
2404
+ "sql": {
2405
+ "description": "Translate a single SQL fragment (inline mode)",
2406
+ "name": "sql",
2407
+ "hasDynamicHelp": false,
2408
+ "multiple": false,
2409
+ "type": "option"
2410
+ },
2411
+ "dry-run": {
2412
+ "description": "Show what would be translated without making changes",
2413
+ "name": "dry-run",
2414
+ "allowNo": false,
2415
+ "type": "boolean"
2416
+ },
2417
+ "review": {
2418
+ "description": "Generate review report only (no writes to database)",
2419
+ "name": "review",
2420
+ "allowNo": false,
2421
+ "type": "boolean"
2422
+ },
2423
+ "output": {
2424
+ "char": "o",
2425
+ "description": "Output directory for the translation report",
2426
+ "name": "output",
2427
+ "hasDynamicHelp": false,
2428
+ "multiple": false,
2429
+ "type": "option"
2430
+ },
2431
+ "force": {
2432
+ "description": "Re-translate even if platform variants already exist",
2433
+ "name": "force",
2434
+ "allowNo": false,
2435
+ "type": "boolean"
2436
+ }
2437
+ },
2438
+ "hasDynamicHelp": false,
2439
+ "hiddenAliases": [],
2440
+ "id": "translate-sql",
2441
+ "pluginAlias": "@memberjunction/cli",
2442
+ "pluginName": "@memberjunction/cli",
2443
+ "pluginType": "core",
2444
+ "strict": true,
2445
+ "enableJsonFlag": false,
2446
+ "isESM": true,
2447
+ "relativePath": [
2448
+ "dist",
2449
+ "commands",
2450
+ "translate-sql",
2451
+ "index.js"
2452
+ ]
2453
+ },
2355
2454
  "test:compare": {
2356
2455
  "aliases": [],
2357
2456
  "args": {
@@ -2895,105 +2994,6 @@
2895
2994
  "validate.js"
2896
2995
  ]
2897
2996
  },
2898
- "translate-sql": {
2899
- "aliases": [],
2900
- "args": {},
2901
- "description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
2902
- "examples": [
2903
- "<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
2904
- "<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
2905
- "<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
2906
- "<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
2907
- ],
2908
- "flags": {
2909
- "from": {
2910
- "description": "Source SQL dialect",
2911
- "name": "from",
2912
- "required": true,
2913
- "hasDynamicHelp": false,
2914
- "multiple": false,
2915
- "options": [
2916
- "sqlserver",
2917
- "postgresql"
2918
- ],
2919
- "type": "option"
2920
- },
2921
- "to": {
2922
- "description": "Target SQL dialect",
2923
- "name": "to",
2924
- "required": true,
2925
- "hasDynamicHelp": false,
2926
- "multiple": false,
2927
- "options": [
2928
- "sqlserver",
2929
- "postgresql"
2930
- ],
2931
- "type": "option"
2932
- },
2933
- "scope": {
2934
- "description": "What to scan for translation",
2935
- "name": "scope",
2936
- "default": "all",
2937
- "hasDynamicHelp": false,
2938
- "multiple": false,
2939
- "options": [
2940
- "queries",
2941
- "views",
2942
- "filters",
2943
- "all"
2944
- ],
2945
- "type": "option"
2946
- },
2947
- "sql": {
2948
- "description": "Translate a single SQL fragment (inline mode)",
2949
- "name": "sql",
2950
- "hasDynamicHelp": false,
2951
- "multiple": false,
2952
- "type": "option"
2953
- },
2954
- "dry-run": {
2955
- "description": "Show what would be translated without making changes",
2956
- "name": "dry-run",
2957
- "allowNo": false,
2958
- "type": "boolean"
2959
- },
2960
- "review": {
2961
- "description": "Generate review report only (no writes to database)",
2962
- "name": "review",
2963
- "allowNo": false,
2964
- "type": "boolean"
2965
- },
2966
- "output": {
2967
- "char": "o",
2968
- "description": "Output directory for the translation report",
2969
- "name": "output",
2970
- "hasDynamicHelp": false,
2971
- "multiple": false,
2972
- "type": "option"
2973
- },
2974
- "force": {
2975
- "description": "Re-translate even if platform variants already exist",
2976
- "name": "force",
2977
- "allowNo": false,
2978
- "type": "boolean"
2979
- }
2980
- },
2981
- "hasDynamicHelp": false,
2982
- "hiddenAliases": [],
2983
- "id": "translate-sql",
2984
- "pluginAlias": "@memberjunction/cli",
2985
- "pluginName": "@memberjunction/cli",
2986
- "pluginType": "core",
2987
- "strict": true,
2988
- "enableJsonFlag": false,
2989
- "isESM": true,
2990
- "relativePath": [
2991
- "dist",
2992
- "commands",
2993
- "translate-sql",
2994
- "index.js"
2995
- ]
2996
- },
2997
2997
  "ai:actions:list": {
2998
2998
  "aliases": [],
2999
2999
  "args": {},
@@ -3602,5 +3602,5 @@
3602
3602
  ]
3603
3603
  }
3604
3604
  },
3605
- "version": "5.30.0"
3605
+ "version": "5.30.1"
3606
3606
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@memberjunction/cli",
3
3
  "type": "module",
4
- "version": "5.30.0",
4
+ "version": "5.30.1",
5
5
  "description": "MemberJunction command line tools",
6
6
  "keywords": [
7
7
  "oclif"
@@ -54,20 +54,20 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@inquirer/prompts": "^8.2.0",
57
- "@memberjunction/ai-cli": "5.30.0",
58
- "@memberjunction/codegen-lib": "5.30.0",
59
- "@memberjunction/config": "5.30.0",
60
- "@memberjunction/core": "5.30.0",
61
- "@memberjunction/installer": "5.30.0",
62
- "@memberjunction/db-auto-doc": "5.30.0",
63
- "@memberjunction/metadata-sync": "5.30.0",
64
- "@memberjunction/open-app-engine": "5.30.0",
65
- "@memberjunction/query-gen": "5.30.0",
66
- "@memberjunction/server-bootstrap-lite": "5.30.0",
57
+ "@memberjunction/ai-cli": "5.30.1",
58
+ "@memberjunction/codegen-lib": "5.30.1",
59
+ "@memberjunction/config": "5.30.1",
60
+ "@memberjunction/core": "5.30.1",
61
+ "@memberjunction/installer": "5.30.1",
62
+ "@memberjunction/db-auto-doc": "5.30.1",
63
+ "@memberjunction/metadata-sync": "5.30.1",
64
+ "@memberjunction/open-app-engine": "5.30.1",
65
+ "@memberjunction/query-gen": "5.30.1",
66
+ "@memberjunction/server-bootstrap-lite": "5.30.1",
67
67
  "@memberjunction/skyway-core": "^0.5.3",
68
- "@memberjunction/sql-converter": "5.30.0",
69
- "@memberjunction/sqlserver-dataprovider": "5.30.0",
70
- "@memberjunction/testing-cli": "5.30.0",
68
+ "@memberjunction/sql-converter": "5.30.1",
69
+ "@memberjunction/sqlserver-dataprovider": "5.30.1",
70
+ "@memberjunction/testing-cli": "5.30.1",
71
71
  "@oclif/core": "^3.27.0",
72
72
  "@oclif/plugin-help": "^6.2.37",
73
73
  "@oclif/plugin-version": "^2.2.36",