@memberjunction/cli 4.2.0 → 4.3.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.
Files changed (2) hide show
  1. package/oclif.manifest.json +78 -78
  2. package/package.json +13 -12
@@ -22,12 +22,23 @@
22
22
  "index.js"
23
23
  ]
24
24
  },
25
- "clean": {
25
+ "bump": {
26
26
  "aliases": [],
27
27
  "args": {},
28
- "description": "Resets the MemberJunction database to a pre-installation state",
28
+ "description": "Bumps MemberJunction dependency versions",
29
29
  "examples": [
30
- "<%= config.bin %> <%= command.id %>\n"
30
+ {
31
+ "command": "<%= config.bin %> <%= command.id %>",
32
+ "description": "Bump all @memberjunction/* dependencies in the current directory's package.json to the CLI version"
33
+ },
34
+ {
35
+ "command": "<%= config.bin %> <%= command.id %> -rdv",
36
+ "description": "Preview all recursive packages bumps without writing any changes."
37
+ },
38
+ {
39
+ "command": "<%= config.bin %> <%= command.id %> -rqt v2.10.0 | xargs -n1 -I{} npm install --prefix {}",
40
+ "description": "Recursively bump all @memberjunction/* dependencies in all packages to version v2.10.0 and output only the paths containing the updated package.json files. Pipe the output to xargs to run npm install in each directory and update the package-lock.json files as well."
41
+ }
31
42
  ],
32
43
  "flags": {
33
44
  "verbose": {
@@ -36,11 +47,40 @@
36
47
  "name": "verbose",
37
48
  "allowNo": false,
38
49
  "type": "boolean"
50
+ },
51
+ "recursive": {
52
+ "char": "r",
53
+ "description": "Bump version in current directory and all subdirectories",
54
+ "name": "recursive",
55
+ "allowNo": false,
56
+ "type": "boolean"
57
+ },
58
+ "tag": {
59
+ "char": "t",
60
+ "description": "Version tag to bump target for bump (e.g. v2.10.0), defaults to the CLI version",
61
+ "name": "tag",
62
+ "hasDynamicHelp": false,
63
+ "multiple": false,
64
+ "type": "option"
65
+ },
66
+ "quiet": {
67
+ "char": "q",
68
+ "description": "Only output paths for updated packages",
69
+ "name": "quiet",
70
+ "allowNo": false,
71
+ "type": "boolean"
72
+ },
73
+ "dry": {
74
+ "char": "d",
75
+ "description": "Dry run, do not write changes to package.json files",
76
+ "name": "dry",
77
+ "allowNo": false,
78
+ "type": "boolean"
39
79
  }
40
80
  },
41
81
  "hasDynamicHelp": false,
42
82
  "hiddenAliases": [],
43
- "id": "clean",
83
+ "id": "bump",
44
84
  "pluginAlias": "@memberjunction/cli",
45
85
  "pluginName": "@memberjunction/cli",
46
86
  "pluginType": "core",
@@ -50,7 +90,7 @@
50
90
  "relativePath": [
51
91
  "dist",
52
92
  "commands",
53
- "clean",
93
+ "bump",
54
94
  "index.js"
55
95
  ]
56
96
  },
@@ -160,6 +200,38 @@
160
200
  "manifest.js"
161
201
  ]
162
202
  },
203
+ "clean": {
204
+ "aliases": [],
205
+ "args": {},
206
+ "description": "Resets the MemberJunction database to a pre-installation state",
207
+ "examples": [
208
+ "<%= config.bin %> <%= command.id %>\n"
209
+ ],
210
+ "flags": {
211
+ "verbose": {
212
+ "char": "v",
213
+ "description": "Enable additional logging",
214
+ "name": "verbose",
215
+ "allowNo": false,
216
+ "type": "boolean"
217
+ }
218
+ },
219
+ "hasDynamicHelp": false,
220
+ "hiddenAliases": [],
221
+ "id": "clean",
222
+ "pluginAlias": "@memberjunction/cli",
223
+ "pluginName": "@memberjunction/cli",
224
+ "pluginType": "core",
225
+ "strict": true,
226
+ "enableJsonFlag": false,
227
+ "isESM": true,
228
+ "relativePath": [
229
+ "dist",
230
+ "commands",
231
+ "clean",
232
+ "index.js"
233
+ ]
234
+ },
163
235
  "dbdoc:analyze": {
164
236
  "aliases": [],
165
237
  "args": {},
@@ -2386,78 +2458,6 @@
2386
2458
  "index.js"
2387
2459
  ]
2388
2460
  },
2389
- "bump": {
2390
- "aliases": [],
2391
- "args": {},
2392
- "description": "Bumps MemberJunction dependency versions",
2393
- "examples": [
2394
- {
2395
- "command": "<%= config.bin %> <%= command.id %>",
2396
- "description": "Bump all @memberjunction/* dependencies in the current directory's package.json to the CLI version"
2397
- },
2398
- {
2399
- "command": "<%= config.bin %> <%= command.id %> -rdv",
2400
- "description": "Preview all recursive packages bumps without writing any changes."
2401
- },
2402
- {
2403
- "command": "<%= config.bin %> <%= command.id %> -rqt v2.10.0 | xargs -n1 -I{} npm install --prefix {}",
2404
- "description": "Recursively bump all @memberjunction/* dependencies in all packages to version v2.10.0 and output only the paths containing the updated package.json files. Pipe the output to xargs to run npm install in each directory and update the package-lock.json files as well."
2405
- }
2406
- ],
2407
- "flags": {
2408
- "verbose": {
2409
- "char": "v",
2410
- "description": "Enable additional logging",
2411
- "name": "verbose",
2412
- "allowNo": false,
2413
- "type": "boolean"
2414
- },
2415
- "recursive": {
2416
- "char": "r",
2417
- "description": "Bump version in current directory and all subdirectories",
2418
- "name": "recursive",
2419
- "allowNo": false,
2420
- "type": "boolean"
2421
- },
2422
- "tag": {
2423
- "char": "t",
2424
- "description": "Version tag to bump target for bump (e.g. v2.10.0), defaults to the CLI version",
2425
- "name": "tag",
2426
- "hasDynamicHelp": false,
2427
- "multiple": false,
2428
- "type": "option"
2429
- },
2430
- "quiet": {
2431
- "char": "q",
2432
- "description": "Only output paths for updated packages",
2433
- "name": "quiet",
2434
- "allowNo": false,
2435
- "type": "boolean"
2436
- },
2437
- "dry": {
2438
- "char": "d",
2439
- "description": "Dry run, do not write changes to package.json files",
2440
- "name": "dry",
2441
- "allowNo": false,
2442
- "type": "boolean"
2443
- }
2444
- },
2445
- "hasDynamicHelp": false,
2446
- "hiddenAliases": [],
2447
- "id": "bump",
2448
- "pluginAlias": "@memberjunction/cli",
2449
- "pluginName": "@memberjunction/cli",
2450
- "pluginType": "core",
2451
- "strict": true,
2452
- "enableJsonFlag": false,
2453
- "isESM": true,
2454
- "relativePath": [
2455
- "dist",
2456
- "commands",
2457
- "bump",
2458
- "index.js"
2459
- ]
2460
- },
2461
2461
  "ai:prompts:list": {
2462
2462
  "aliases": [],
2463
2463
  "args": {},
@@ -2598,5 +2598,5 @@
2598
2598
  ]
2599
2599
  }
2600
2600
  },
2601
- "version": "4.2.0"
2601
+ "version": "4.3.0"
2602
2602
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@memberjunction/cli",
3
3
  "type": "module",
4
- "version": "4.2.0",
4
+ "version": "4.3.0",
5
5
  "description": "MemberJunction command line tools",
6
6
  "keywords": [
7
7
  "oclif"
@@ -30,7 +30,8 @@
30
30
  "build": "tsc && tsc-alias -f",
31
31
  "prepack": "npm run build && oclif manifest && oclif readme",
32
32
  "postpack": "rimraf oclif.manifest.json",
33
- "version": "oclif readme && git add README.md"
33
+ "version": "oclif readme && git add README.md",
34
+ "test": "vitest run"
34
35
  },
35
36
  "oclif": {
36
37
  "bin": "mj",
@@ -52,16 +53,16 @@
52
53
  },
53
54
  "dependencies": {
54
55
  "@inquirer/prompts": "^8.2.0",
55
- "@memberjunction/ai-cli": "4.2.0",
56
- "@memberjunction/codegen-lib": "4.2.0",
57
- "@memberjunction/config": "4.2.0",
58
- "@memberjunction/core": "4.2.0",
59
- "@memberjunction/db-auto-doc": "4.2.0",
60
- "@memberjunction/metadata-sync": "4.2.0",
61
- "@memberjunction/query-gen": "4.2.0",
62
- "@memberjunction/server-bootstrap-lite": "4.2.0",
63
- "@memberjunction/sqlserver-dataprovider": "4.2.0",
64
- "@memberjunction/testing-cli": "4.2.0",
56
+ "@memberjunction/ai-cli": "4.3.0",
57
+ "@memberjunction/codegen-lib": "4.3.0",
58
+ "@memberjunction/config": "4.3.0",
59
+ "@memberjunction/core": "4.3.0",
60
+ "@memberjunction/db-auto-doc": "4.3.0",
61
+ "@memberjunction/metadata-sync": "4.3.0",
62
+ "@memberjunction/query-gen": "4.3.0",
63
+ "@memberjunction/server-bootstrap-lite": "4.3.0",
64
+ "@memberjunction/sqlserver-dataprovider": "4.3.0",
65
+ "@memberjunction/testing-cli": "4.3.0",
65
66
  "@oclif/core": "^3.27.0",
66
67
  "@oclif/plugin-help": "^6.2.37",
67
68
  "@oclif/plugin-version": "^2.2.36",