@memberjunction/cli 5.16.0 → 5.18.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-app-context.d.ts","sourceRoot":"","sources":["../../src/utils/open-app-context.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"open-app-context.d.ts","sourceRoot":"","sources":["../../src/utils/open-app-context.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAqD,qBAAqB,EAAa,MAAM,wCAAwC,CAAC;AAyD7I;;GAEG;AACH,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC,CAOzD;AAmCD;;;GAGG;AACH,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,QAAQ,CAAC,CAG1D;AAED;;GAEG;AACH,wBAAsB,wBAAwB,CAC5C,OAAO,EAAE;IAAE,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAAC,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,KAAK,IAAI,CAAA;CAAE,EAC5E,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,wBAAwB,CAAC,CAuCnC;AAED;;;GAGG;AACH,UAAU,wBAAwB;IAChC,WAAW,EAAE,QAAQ,CAAC;IACtB,gBAAgB,EAAE,qBAAqB,CAAC;IACxC,cAAc,EAAE;QACd,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,sBAAsB,CAAC,EAAE,OAAO,CAAC;QACjC,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,aAAa,EAAE;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;IACzC,eAAe,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,CAAC;IAC9D,iBAAiB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAAA;KAAE,CAAC,CAAC;IACvE,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,SAAS,CAAC,EAAE;QACV,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;QACtD,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;QACrD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;QACnD,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;QAClD,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;KACnC,CAAC;CACH"}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import sql from 'mssql';
|
|
9
9
|
import ora from 'ora-classic';
|
|
10
|
+
import { createRequire } from 'node:module';
|
|
10
11
|
import { setupSQLServerClient, SQLServerProviderConfigData, UserCache } from '@memberjunction/sqlserver-dataprovider';
|
|
11
12
|
import { getValidatedConfig } from '../config.js';
|
|
12
13
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
@@ -138,6 +139,11 @@ export async function buildOrchestratorContext(command, verbose) {
|
|
|
138
139
|
},
|
|
139
140
|
};
|
|
140
141
|
}
|
|
142
|
+
// createRequire is needed because getMJVersion uses require.resolve() to locate
|
|
143
|
+
// package.json files. This package is ESM ("type": "module"), so the CommonJS
|
|
144
|
+
// `require` global is not available at runtime on Node 22+. createRequire
|
|
145
|
+
// provides a CJS-compatible resolver scoped to this file's URL.
|
|
146
|
+
const require = createRequire(import.meta.url);
|
|
141
147
|
/** Reads the current MJ version. Tries @memberjunction/core first, then local MJGlobal. */
|
|
142
148
|
function getMJVersion() {
|
|
143
149
|
const { readFileSync } = require('node:fs');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-app-context.js","sourceRoot":"","sources":["../../src/utils/open-app-context.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,GAAG,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"open-app-context.js","sourceRoot":"","sources":["../../src/utils/open-app-context.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,2BAA2B,EAAyB,SAAS,EAAE,MAAM,wCAAwC,CAAC;AAC7I,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,gFAAgF;AAChF,2CAA2C;AAC3C,gFAAgF;AAEhF,IAAI,KAAK,GAA8B,IAAI,CAAC;AAC5C,IAAI,SAAS,GAAiC,IAAI,CAAC;AACnD,IAAI,YAAY,GAA0C,IAAI,CAAC;AAE/D;;;GAGG;AACH,KAAK,UAAU,yBAAyB;IACtC,IAAI,SAAS,IAAI,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wB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACrD,OAAO,OAAO,CAAC,OAAO,CAAC;IACzB,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,IAAI,KAAK,CACb,oHAAoH,CACrH,CAAC;IACJ,CAAC;AACH,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1730,6 +1730,91 @@
|
|
|
1730
1730
|
"index.js"
|
|
1731
1731
|
]
|
|
1732
1732
|
},
|
|
1733
|
+
"sql-convert": {
|
|
1734
|
+
"aliases": [],
|
|
1735
|
+
"args": {
|
|
1736
|
+
"source": {
|
|
1737
|
+
"description": "Source SQL file path",
|
|
1738
|
+
"name": "source",
|
|
1739
|
+
"required": true
|
|
1740
|
+
}
|
|
1741
|
+
},
|
|
1742
|
+
"description": "Convert SQL files between database dialects using rule-based BatchConverter engine",
|
|
1743
|
+
"examples": [
|
|
1744
|
+
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres",
|
|
1745
|
+
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --output converted.sql",
|
|
1746
|
+
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --schema my_schema",
|
|
1747
|
+
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --no-header --verbose"
|
|
1748
|
+
],
|
|
1749
|
+
"flags": {
|
|
1750
|
+
"from": {
|
|
1751
|
+
"description": "Source SQL dialect",
|
|
1752
|
+
"name": "from",
|
|
1753
|
+
"required": true,
|
|
1754
|
+
"hasDynamicHelp": false,
|
|
1755
|
+
"multiple": false,
|
|
1756
|
+
"type": "option"
|
|
1757
|
+
},
|
|
1758
|
+
"to": {
|
|
1759
|
+
"description": "Target SQL dialect",
|
|
1760
|
+
"name": "to",
|
|
1761
|
+
"required": true,
|
|
1762
|
+
"hasDynamicHelp": false,
|
|
1763
|
+
"multiple": false,
|
|
1764
|
+
"type": "option"
|
|
1765
|
+
},
|
|
1766
|
+
"output": {
|
|
1767
|
+
"char": "o",
|
|
1768
|
+
"description": "Output file path (default: <source>.converted.<ext>)",
|
|
1769
|
+
"name": "output",
|
|
1770
|
+
"hasDynamicHelp": false,
|
|
1771
|
+
"multiple": false,
|
|
1772
|
+
"type": "option"
|
|
1773
|
+
},
|
|
1774
|
+
"schema": {
|
|
1775
|
+
"description": "Target schema name",
|
|
1776
|
+
"name": "schema",
|
|
1777
|
+
"default": "__mj",
|
|
1778
|
+
"hasDynamicHelp": false,
|
|
1779
|
+
"multiple": false,
|
|
1780
|
+
"type": "option"
|
|
1781
|
+
},
|
|
1782
|
+
"no-header": {
|
|
1783
|
+
"description": "Skip PG header (extensions, schema, implicit cast)",
|
|
1784
|
+
"name": "no-header",
|
|
1785
|
+
"allowNo": false,
|
|
1786
|
+
"type": "boolean"
|
|
1787
|
+
},
|
|
1788
|
+
"no-post-process": {
|
|
1789
|
+
"description": "Skip post-processing pass",
|
|
1790
|
+
"name": "no-post-process",
|
|
1791
|
+
"allowNo": false,
|
|
1792
|
+
"type": "boolean"
|
|
1793
|
+
},
|
|
1794
|
+
"verbose": {
|
|
1795
|
+
"char": "v",
|
|
1796
|
+
"description": "Show per-statement progress and detailed report",
|
|
1797
|
+
"name": "verbose",
|
|
1798
|
+
"allowNo": false,
|
|
1799
|
+
"type": "boolean"
|
|
1800
|
+
}
|
|
1801
|
+
},
|
|
1802
|
+
"hasDynamicHelp": false,
|
|
1803
|
+
"hiddenAliases": [],
|
|
1804
|
+
"id": "sql-convert",
|
|
1805
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1806
|
+
"pluginName": "@memberjunction/cli",
|
|
1807
|
+
"pluginType": "core",
|
|
1808
|
+
"strict": true,
|
|
1809
|
+
"enableJsonFlag": false,
|
|
1810
|
+
"isESM": true,
|
|
1811
|
+
"relativePath": [
|
|
1812
|
+
"dist",
|
|
1813
|
+
"commands",
|
|
1814
|
+
"sql-convert",
|
|
1815
|
+
"index.js"
|
|
1816
|
+
]
|
|
1817
|
+
},
|
|
1733
1818
|
"sync:file-reset": {
|
|
1734
1819
|
"aliases": [],
|
|
1735
1820
|
"args": {},
|
|
@@ -2204,91 +2289,6 @@
|
|
|
2204
2289
|
"watch.js"
|
|
2205
2290
|
]
|
|
2206
2291
|
},
|
|
2207
|
-
"sql-convert": {
|
|
2208
|
-
"aliases": [],
|
|
2209
|
-
"args": {
|
|
2210
|
-
"source": {
|
|
2211
|
-
"description": "Source SQL file path",
|
|
2212
|
-
"name": "source",
|
|
2213
|
-
"required": true
|
|
2214
|
-
}
|
|
2215
|
-
},
|
|
2216
|
-
"description": "Convert SQL files between database dialects using rule-based BatchConverter engine",
|
|
2217
|
-
"examples": [
|
|
2218
|
-
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres",
|
|
2219
|
-
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --output converted.sql",
|
|
2220
|
-
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --schema my_schema",
|
|
2221
|
-
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --no-header --verbose"
|
|
2222
|
-
],
|
|
2223
|
-
"flags": {
|
|
2224
|
-
"from": {
|
|
2225
|
-
"description": "Source SQL dialect",
|
|
2226
|
-
"name": "from",
|
|
2227
|
-
"required": true,
|
|
2228
|
-
"hasDynamicHelp": false,
|
|
2229
|
-
"multiple": false,
|
|
2230
|
-
"type": "option"
|
|
2231
|
-
},
|
|
2232
|
-
"to": {
|
|
2233
|
-
"description": "Target SQL dialect",
|
|
2234
|
-
"name": "to",
|
|
2235
|
-
"required": true,
|
|
2236
|
-
"hasDynamicHelp": false,
|
|
2237
|
-
"multiple": false,
|
|
2238
|
-
"type": "option"
|
|
2239
|
-
},
|
|
2240
|
-
"output": {
|
|
2241
|
-
"char": "o",
|
|
2242
|
-
"description": "Output file path (default: <source>.converted.<ext>)",
|
|
2243
|
-
"name": "output",
|
|
2244
|
-
"hasDynamicHelp": false,
|
|
2245
|
-
"multiple": false,
|
|
2246
|
-
"type": "option"
|
|
2247
|
-
},
|
|
2248
|
-
"schema": {
|
|
2249
|
-
"description": "Target schema name",
|
|
2250
|
-
"name": "schema",
|
|
2251
|
-
"default": "__mj",
|
|
2252
|
-
"hasDynamicHelp": false,
|
|
2253
|
-
"multiple": false,
|
|
2254
|
-
"type": "option"
|
|
2255
|
-
},
|
|
2256
|
-
"no-header": {
|
|
2257
|
-
"description": "Skip PG header (extensions, schema, implicit cast)",
|
|
2258
|
-
"name": "no-header",
|
|
2259
|
-
"allowNo": false,
|
|
2260
|
-
"type": "boolean"
|
|
2261
|
-
},
|
|
2262
|
-
"no-post-process": {
|
|
2263
|
-
"description": "Skip post-processing pass",
|
|
2264
|
-
"name": "no-post-process",
|
|
2265
|
-
"allowNo": false,
|
|
2266
|
-
"type": "boolean"
|
|
2267
|
-
},
|
|
2268
|
-
"verbose": {
|
|
2269
|
-
"char": "v",
|
|
2270
|
-
"description": "Show per-statement progress and detailed report",
|
|
2271
|
-
"name": "verbose",
|
|
2272
|
-
"allowNo": false,
|
|
2273
|
-
"type": "boolean"
|
|
2274
|
-
}
|
|
2275
|
-
},
|
|
2276
|
-
"hasDynamicHelp": false,
|
|
2277
|
-
"hiddenAliases": [],
|
|
2278
|
-
"id": "sql-convert",
|
|
2279
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2280
|
-
"pluginName": "@memberjunction/cli",
|
|
2281
|
-
"pluginType": "core",
|
|
2282
|
-
"strict": true,
|
|
2283
|
-
"enableJsonFlag": false,
|
|
2284
|
-
"isESM": true,
|
|
2285
|
-
"relativePath": [
|
|
2286
|
-
"dist",
|
|
2287
|
-
"commands",
|
|
2288
|
-
"sql-convert",
|
|
2289
|
-
"index.js"
|
|
2290
|
-
]
|
|
2291
|
-
},
|
|
2292
2292
|
"test:compare": {
|
|
2293
2293
|
"aliases": [],
|
|
2294
2294
|
"args": {
|
|
@@ -3539,5 +3539,5 @@
|
|
|
3539
3539
|
]
|
|
3540
3540
|
}
|
|
3541
3541
|
},
|
|
3542
|
-
"version": "5.
|
|
3542
|
+
"version": "5.18.0"
|
|
3543
3543
|
}
|
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.18.0",
|
|
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.18.0",
|
|
57
|
+
"@memberjunction/codegen-lib": "5.18.0",
|
|
58
|
+
"@memberjunction/config": "5.18.0",
|
|
59
|
+
"@memberjunction/core": "5.18.0",
|
|
60
|
+
"@memberjunction/installer": "5.18.0",
|
|
61
|
+
"@memberjunction/db-auto-doc": "5.18.0",
|
|
62
|
+
"@memberjunction/metadata-sync": "5.18.0",
|
|
63
|
+
"@memberjunction/query-gen": "5.18.0",
|
|
64
|
+
"@memberjunction/server-bootstrap-lite": "5.18.0",
|
|
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.18.0",
|
|
67
|
+
"@memberjunction/sqlserver-dataprovider": "5.18.0",
|
|
68
|
+
"@memberjunction/testing-cli": "5.18.0",
|
|
69
69
|
"@oclif/core": "^3.27.0",
|
|
70
70
|
"@oclif/plugin-help": "^6.2.37",
|
|
71
71
|
"@oclif/plugin-version": "^2.2.36",
|