@memberjunction/cli 6.1.1 → 6.1.3
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 +119 -104
- package/package.json +22 -22
package/oclif.manifest.json
CHANGED
|
@@ -3071,6 +3071,107 @@
|
|
|
3071
3071
|
"usage.js"
|
|
3072
3072
|
]
|
|
3073
3073
|
},
|
|
3074
|
+
"sql-audit": {
|
|
3075
|
+
"aliases": [],
|
|
3076
|
+
"args": {},
|
|
3077
|
+
"description": "Compare source and target databases for migration verification",
|
|
3078
|
+
"examples": [
|
|
3079
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
|
|
3080
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
|
|
3081
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
|
|
3082
|
+
],
|
|
3083
|
+
"flags": {
|
|
3084
|
+
"source": {
|
|
3085
|
+
"description": "Source database connection string (mssql://... or postgres://...)",
|
|
3086
|
+
"name": "source",
|
|
3087
|
+
"required": true,
|
|
3088
|
+
"hasDynamicHelp": false,
|
|
3089
|
+
"multiple": false,
|
|
3090
|
+
"type": "option"
|
|
3091
|
+
},
|
|
3092
|
+
"target": {
|
|
3093
|
+
"description": "Target database connection string (mssql://... or postgres://...)",
|
|
3094
|
+
"name": "target",
|
|
3095
|
+
"required": true,
|
|
3096
|
+
"hasDynamicHelp": false,
|
|
3097
|
+
"multiple": false,
|
|
3098
|
+
"type": "option"
|
|
3099
|
+
},
|
|
3100
|
+
"source-schema": {
|
|
3101
|
+
"description": "Source schema name",
|
|
3102
|
+
"name": "source-schema",
|
|
3103
|
+
"default": "__mj",
|
|
3104
|
+
"hasDynamicHelp": false,
|
|
3105
|
+
"multiple": false,
|
|
3106
|
+
"type": "option"
|
|
3107
|
+
},
|
|
3108
|
+
"target-schema": {
|
|
3109
|
+
"description": "Target schema name",
|
|
3110
|
+
"name": "target-schema",
|
|
3111
|
+
"default": "__mj",
|
|
3112
|
+
"hasDynamicHelp": false,
|
|
3113
|
+
"multiple": false,
|
|
3114
|
+
"type": "option"
|
|
3115
|
+
},
|
|
3116
|
+
"output": {
|
|
3117
|
+
"char": "o",
|
|
3118
|
+
"description": "Save report to file",
|
|
3119
|
+
"name": "output",
|
|
3120
|
+
"hasDynamicHelp": false,
|
|
3121
|
+
"multiple": false,
|
|
3122
|
+
"type": "option"
|
|
3123
|
+
}
|
|
3124
|
+
},
|
|
3125
|
+
"hasDynamicHelp": false,
|
|
3126
|
+
"hiddenAliases": [],
|
|
3127
|
+
"id": "sql-audit",
|
|
3128
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3129
|
+
"pluginName": "@memberjunction/cli",
|
|
3130
|
+
"pluginType": "core",
|
|
3131
|
+
"strict": true,
|
|
3132
|
+
"enableJsonFlag": false,
|
|
3133
|
+
"isESM": true,
|
|
3134
|
+
"relativePath": [
|
|
3135
|
+
"dist",
|
|
3136
|
+
"commands",
|
|
3137
|
+
"sql-audit",
|
|
3138
|
+
"index.js"
|
|
3139
|
+
]
|
|
3140
|
+
},
|
|
3141
|
+
"sql-audit:usage": {
|
|
3142
|
+
"aliases": [],
|
|
3143
|
+
"args": {},
|
|
3144
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj sql-audit` command.",
|
|
3145
|
+
"flags": {
|
|
3146
|
+
"format": {
|
|
3147
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
3148
|
+
"name": "format",
|
|
3149
|
+
"hasDynamicHelp": false,
|
|
3150
|
+
"multiple": false,
|
|
3151
|
+
"options": [
|
|
3152
|
+
"text",
|
|
3153
|
+
"json",
|
|
3154
|
+
"md"
|
|
3155
|
+
],
|
|
3156
|
+
"type": "option"
|
|
3157
|
+
}
|
|
3158
|
+
},
|
|
3159
|
+
"hasDynamicHelp": false,
|
|
3160
|
+
"hiddenAliases": [],
|
|
3161
|
+
"id": "sql-audit:usage",
|
|
3162
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3163
|
+
"pluginName": "@memberjunction/cli",
|
|
3164
|
+
"pluginType": "core",
|
|
3165
|
+
"strict": true,
|
|
3166
|
+
"enableJsonFlag": false,
|
|
3167
|
+
"isESM": true,
|
|
3168
|
+
"relativePath": [
|
|
3169
|
+
"dist",
|
|
3170
|
+
"commands",
|
|
3171
|
+
"sql-audit",
|
|
3172
|
+
"usage.js"
|
|
3173
|
+
]
|
|
3174
|
+
},
|
|
3074
3175
|
"querygen:export": {
|
|
3075
3176
|
"aliases": [],
|
|
3076
3177
|
"args": {},
|
|
@@ -3320,107 +3421,6 @@
|
|
|
3320
3421
|
"validate.js"
|
|
3321
3422
|
]
|
|
3322
3423
|
},
|
|
3323
|
-
"sql-audit": {
|
|
3324
|
-
"aliases": [],
|
|
3325
|
-
"args": {},
|
|
3326
|
-
"description": "Compare source and target databases for migration verification",
|
|
3327
|
-
"examples": [
|
|
3328
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
|
|
3329
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
|
|
3330
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
|
|
3331
|
-
],
|
|
3332
|
-
"flags": {
|
|
3333
|
-
"source": {
|
|
3334
|
-
"description": "Source database connection string (mssql://... or postgres://...)",
|
|
3335
|
-
"name": "source",
|
|
3336
|
-
"required": true,
|
|
3337
|
-
"hasDynamicHelp": false,
|
|
3338
|
-
"multiple": false,
|
|
3339
|
-
"type": "option"
|
|
3340
|
-
},
|
|
3341
|
-
"target": {
|
|
3342
|
-
"description": "Target database connection string (mssql://... or postgres://...)",
|
|
3343
|
-
"name": "target",
|
|
3344
|
-
"required": true,
|
|
3345
|
-
"hasDynamicHelp": false,
|
|
3346
|
-
"multiple": false,
|
|
3347
|
-
"type": "option"
|
|
3348
|
-
},
|
|
3349
|
-
"source-schema": {
|
|
3350
|
-
"description": "Source schema name",
|
|
3351
|
-
"name": "source-schema",
|
|
3352
|
-
"default": "__mj",
|
|
3353
|
-
"hasDynamicHelp": false,
|
|
3354
|
-
"multiple": false,
|
|
3355
|
-
"type": "option"
|
|
3356
|
-
},
|
|
3357
|
-
"target-schema": {
|
|
3358
|
-
"description": "Target schema name",
|
|
3359
|
-
"name": "target-schema",
|
|
3360
|
-
"default": "__mj",
|
|
3361
|
-
"hasDynamicHelp": false,
|
|
3362
|
-
"multiple": false,
|
|
3363
|
-
"type": "option"
|
|
3364
|
-
},
|
|
3365
|
-
"output": {
|
|
3366
|
-
"char": "o",
|
|
3367
|
-
"description": "Save report to file",
|
|
3368
|
-
"name": "output",
|
|
3369
|
-
"hasDynamicHelp": false,
|
|
3370
|
-
"multiple": false,
|
|
3371
|
-
"type": "option"
|
|
3372
|
-
}
|
|
3373
|
-
},
|
|
3374
|
-
"hasDynamicHelp": false,
|
|
3375
|
-
"hiddenAliases": [],
|
|
3376
|
-
"id": "sql-audit",
|
|
3377
|
-
"pluginAlias": "@memberjunction/cli",
|
|
3378
|
-
"pluginName": "@memberjunction/cli",
|
|
3379
|
-
"pluginType": "core",
|
|
3380
|
-
"strict": true,
|
|
3381
|
-
"enableJsonFlag": false,
|
|
3382
|
-
"isESM": true,
|
|
3383
|
-
"relativePath": [
|
|
3384
|
-
"dist",
|
|
3385
|
-
"commands",
|
|
3386
|
-
"sql-audit",
|
|
3387
|
-
"index.js"
|
|
3388
|
-
]
|
|
3389
|
-
},
|
|
3390
|
-
"sql-audit:usage": {
|
|
3391
|
-
"aliases": [],
|
|
3392
|
-
"args": {},
|
|
3393
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj sql-audit` command.",
|
|
3394
|
-
"flags": {
|
|
3395
|
-
"format": {
|
|
3396
|
-
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
3397
|
-
"name": "format",
|
|
3398
|
-
"hasDynamicHelp": false,
|
|
3399
|
-
"multiple": false,
|
|
3400
|
-
"options": [
|
|
3401
|
-
"text",
|
|
3402
|
-
"json",
|
|
3403
|
-
"md"
|
|
3404
|
-
],
|
|
3405
|
-
"type": "option"
|
|
3406
|
-
}
|
|
3407
|
-
},
|
|
3408
|
-
"hasDynamicHelp": false,
|
|
3409
|
-
"hiddenAliases": [],
|
|
3410
|
-
"id": "sql-audit:usage",
|
|
3411
|
-
"pluginAlias": "@memberjunction/cli",
|
|
3412
|
-
"pluginName": "@memberjunction/cli",
|
|
3413
|
-
"pluginType": "core",
|
|
3414
|
-
"strict": true,
|
|
3415
|
-
"enableJsonFlag": false,
|
|
3416
|
-
"isESM": true,
|
|
3417
|
-
"relativePath": [
|
|
3418
|
-
"dist",
|
|
3419
|
-
"commands",
|
|
3420
|
-
"sql-audit",
|
|
3421
|
-
"usage.js"
|
|
3422
|
-
]
|
|
3423
|
-
},
|
|
3424
3424
|
"sql-convert": {
|
|
3425
3425
|
"aliases": [],
|
|
3426
3426
|
"args": {
|
|
@@ -4198,10 +4198,15 @@
|
|
|
4198
4198
|
"allowNo": false,
|
|
4199
4199
|
"type": "boolean"
|
|
4200
4200
|
},
|
|
4201
|
+
"isolated-transactions": {
|
|
4202
|
+
"description": "Give every JSON-root graph its own connection and transaction, so siblings are written in parallel and each create/update commits as it is saved (a failure does not roll those back). Off by default: the whole push runs in one transaction, one graph at a time. Overrides push.isolatedTransactions in every .mj-sync.json, in both directions — use --no-isolated-transactions to force one run back to a single transaction",
|
|
4203
|
+
"name": "isolated-transactions",
|
|
4204
|
+
"allowNo": true,
|
|
4205
|
+
"type": "boolean"
|
|
4206
|
+
},
|
|
4201
4207
|
"parallel-batch-size": {
|
|
4202
|
-
"description": "JSON-root graphs to process in parallel (default: 10
|
|
4208
|
+
"description": "JSON-root graphs to process in parallel in a directory using isolated transactions (default: 10)",
|
|
4203
4209
|
"name": "parallel-batch-size",
|
|
4204
|
-
"default": 10,
|
|
4205
4210
|
"hasDynamicHelp": false,
|
|
4206
4211
|
"multiple": false,
|
|
4207
4212
|
"type": "option"
|
|
@@ -4272,6 +4277,16 @@
|
|
|
4272
4277
|
"type": "boolean",
|
|
4273
4278
|
"description": "Skip unchanged files using stored checksums"
|
|
4274
4279
|
},
|
|
4280
|
+
{
|
|
4281
|
+
"name": "--isolated-transactions",
|
|
4282
|
+
"type": "boolean",
|
|
4283
|
+
"description": "Per-graph connections; creates/updates commit as they go and are not rolled back"
|
|
4284
|
+
},
|
|
4285
|
+
{
|
|
4286
|
+
"name": "--parallel-batch-size",
|
|
4287
|
+
"type": "number",
|
|
4288
|
+
"description": "Graphs at once in an isolated directory (default 10)"
|
|
4289
|
+
},
|
|
4275
4290
|
{
|
|
4276
4291
|
"name": "--format",
|
|
4277
4292
|
"type": "text|json|md",
|
|
@@ -6847,5 +6862,5 @@
|
|
|
6847
6862
|
]
|
|
6848
6863
|
}
|
|
6849
6864
|
},
|
|
6850
|
-
"version": "6.1.
|
|
6865
|
+
"version": "6.1.3"
|
|
6851
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
|
+
"version": "6.1.3",
|
|
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.
|
|
52
|
-
"@memberjunction/cli-core": "6.1.
|
|
53
|
-
"@memberjunction/codegen-lib": "6.1.
|
|
54
|
-
"@memberjunction/config": "6.1.
|
|
55
|
-
"@memberjunction/core": "6.1.
|
|
56
|
-
"@memberjunction/generic-database-provider": "6.1.
|
|
57
|
-
"@memberjunction/installer": "6.1.
|
|
58
|
-
"@memberjunction/dynamic-packages": "6.1.
|
|
59
|
-
"@memberjunction/db-auto-doc": "6.1.
|
|
60
|
-
"@memberjunction/metadata-sync": "6.1.
|
|
61
|
-
"@memberjunction/open-app-engine": "6.1.
|
|
62
|
-
"@memberjunction/query-gen": "6.1.
|
|
63
|
-
"@memberjunction/server-bootstrap-lite": "6.1.
|
|
51
|
+
"@memberjunction/ai-cli": "6.1.3",
|
|
52
|
+
"@memberjunction/cli-core": "6.1.3",
|
|
53
|
+
"@memberjunction/codegen-lib": "6.1.3",
|
|
54
|
+
"@memberjunction/config": "6.1.3",
|
|
55
|
+
"@memberjunction/core": "6.1.3",
|
|
56
|
+
"@memberjunction/generic-database-provider": "6.1.3",
|
|
57
|
+
"@memberjunction/installer": "6.1.3",
|
|
58
|
+
"@memberjunction/dynamic-packages": "6.1.3",
|
|
59
|
+
"@memberjunction/db-auto-doc": "6.1.3",
|
|
60
|
+
"@memberjunction/metadata-sync": "6.1.3",
|
|
61
|
+
"@memberjunction/open-app-engine": "6.1.3",
|
|
62
|
+
"@memberjunction/query-gen": "6.1.3",
|
|
63
|
+
"@memberjunction/server-bootstrap-lite": "6.1.3",
|
|
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.
|
|
68
|
-
"@memberjunction/sqlglot-ts": "6.1.
|
|
69
|
-
"@memberjunction/sqlserver-dataprovider": "6.1.
|
|
70
|
-
"@memberjunction/standards": "6.1.
|
|
71
|
-
"@memberjunction/testing-cli": "6.1.
|
|
67
|
+
"@memberjunction/sql-converter": "6.1.3",
|
|
68
|
+
"@memberjunction/sqlglot-ts": "6.1.3",
|
|
69
|
+
"@memberjunction/sqlserver-dataprovider": "6.1.3",
|
|
70
|
+
"@memberjunction/standards": "6.1.3",
|
|
71
|
+
"@memberjunction/testing-cli": "6.1.3",
|
|
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.
|
|
92
|
-
"@memberjunction/global": "6.1.
|
|
93
|
-
"@memberjunction/aiengine": "6.1.
|
|
91
|
+
"@memberjunction/core-entities": "6.1.3",
|
|
92
|
+
"@memberjunction/global": "6.1.3",
|
|
93
|
+
"@memberjunction/aiengine": "6.1.3"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
96
|
"@oclif/prettier-config": "^0.2.1",
|