@memberjunction/cli 2.23.2 → 2.24.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.
package/README.md CHANGED
@@ -12,7 +12,7 @@ $ npm install -g @memberjunction/cli
12
12
  $ mj COMMAND
13
13
  running command...
14
14
  $ mj (--version)
15
- @memberjunction/cli/2.23.2 linux-x64 node-v20.18.2
15
+ @memberjunction/cli/2.24.0 linux-x64 node-v20.18.2
16
16
  $ mj --help [COMMAND]
17
17
  USAGE
18
18
  $ mj COMMAND
@@ -63,7 +63,7 @@ EXAMPLES
63
63
  $ mj bump -rqt v2.10.0 | xargs -n1 -I{} npm install --prefix {}
64
64
  ```
65
65
 
66
- _See code: [src/commands/bump/index.ts](https://github.com/MemberJunction/MJ/blob/v2.23.2/src/commands/bump/index.ts)_
66
+ _See code: [src/commands/bump/index.ts](https://github.com/MemberJunction/MJ/blob/v2.24.0/src/commands/bump/index.ts)_
67
67
 
68
68
  ## `mj clean`
69
69
 
@@ -83,7 +83,7 @@ EXAMPLES
83
83
  $ mj clean
84
84
  ```
85
85
 
86
- _See code: [src/commands/clean/index.ts](https://github.com/MemberJunction/MJ/blob/v2.23.2/src/commands/clean/index.ts)_
86
+ _See code: [src/commands/clean/index.ts](https://github.com/MemberJunction/MJ/blob/v2.24.0/src/commands/clean/index.ts)_
87
87
 
88
88
  ## `mj codegen`
89
89
 
@@ -103,7 +103,7 @@ EXAMPLES
103
103
  $ mj codegen
104
104
  ```
105
105
 
106
- _See code: [src/commands/codegen/index.ts](https://github.com/MemberJunction/MJ/blob/v2.23.2/src/commands/codegen/index.ts)_
106
+ _See code: [src/commands/codegen/index.ts](https://github.com/MemberJunction/MJ/blob/v2.24.0/src/commands/codegen/index.ts)_
107
107
 
108
108
  ## `mj help [COMMAND]`
109
109
 
@@ -143,7 +143,7 @@ EXAMPLES
143
143
  $ mj install
144
144
  ```
145
145
 
146
- _See code: [src/commands/install/index.ts](https://github.com/MemberJunction/MJ/blob/v2.23.2/src/commands/install/index.ts)_
146
+ _See code: [src/commands/install/index.ts](https://github.com/MemberJunction/MJ/blob/v2.24.0/src/commands/install/index.ts)_
147
147
 
148
148
  ## `mj migrate`
149
149
 
@@ -164,7 +164,7 @@ EXAMPLES
164
164
  $ mj migrate
165
165
  ```
166
166
 
167
- _See code: [src/commands/migrate/index.ts](https://github.com/MemberJunction/MJ/blob/v2.23.2/src/commands/migrate/index.ts)_
167
+ _See code: [src/commands/migrate/index.ts](https://github.com/MemberJunction/MJ/blob/v2.24.0/src/commands/migrate/index.ts)_
168
168
 
169
169
  ## `mj version`
170
170
 
@@ -1,23 +1,64 @@
1
1
  {
2
2
  "commands": {
3
- "codegen": {
3
+ "bump": {
4
4
  "aliases": [],
5
5
  "args": {},
6
- "description": "Run CodeGen to generate code and update metadata for MemberJunction",
6
+ "description": "Bumps MemberJunction dependency versions",
7
7
  "examples": [
8
- "<%= config.bin %> <%= command.id %>\n"
8
+ {
9
+ "command": "<%= config.bin %> <%= command.id %>",
10
+ "description": "Bump all @memberjunction/* dependencies in the current directory's package.json to the CLI version"
11
+ },
12
+ {
13
+ "command": "<%= config.bin %> <%= command.id %> -rdv",
14
+ "description": "Preview all recursive packages bumps without writing any changes."
15
+ },
16
+ {
17
+ "command": "<%= config.bin %> <%= command.id %> -rqt v2.10.0 | xargs -n1 -I{} npm install --prefix {}",
18
+ "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."
19
+ }
9
20
  ],
10
21
  "flags": {
11
- "skipdb": {
12
- "description": "Skip database migration",
13
- "name": "skipdb",
22
+ "verbose": {
23
+ "char": "v",
24
+ "description": "Enable additional logging",
25
+ "name": "verbose",
26
+ "allowNo": false,
27
+ "type": "boolean"
28
+ },
29
+ "recursive": {
30
+ "char": "r",
31
+ "description": "Bump version in current directory and all subdirectories",
32
+ "name": "recursive",
33
+ "allowNo": false,
34
+ "type": "boolean"
35
+ },
36
+ "tag": {
37
+ "char": "t",
38
+ "description": "Version tag to bump target for bump (e.g. v2.10.0), defaults to the CLI version",
39
+ "name": "tag",
40
+ "hasDynamicHelp": false,
41
+ "multiple": false,
42
+ "type": "option"
43
+ },
44
+ "quiet": {
45
+ "char": "q",
46
+ "description": "Only output paths for updated packages",
47
+ "name": "quiet",
48
+ "allowNo": false,
49
+ "type": "boolean"
50
+ },
51
+ "dry": {
52
+ "char": "d",
53
+ "description": "Dry run, do not write changes to package.json files",
54
+ "name": "dry",
14
55
  "allowNo": false,
15
56
  "type": "boolean"
16
57
  }
17
58
  },
18
59
  "hasDynamicHelp": false,
19
60
  "hiddenAliases": [],
20
- "id": "codegen",
61
+ "id": "bump",
21
62
  "pluginAlias": "@memberjunction/cli",
22
63
  "pluginName": "@memberjunction/cli",
23
64
  "pluginType": "core",
@@ -27,7 +68,7 @@
27
68
  "relativePath": [
28
69
  "dist",
29
70
  "commands",
30
- "codegen",
71
+ "bump",
31
72
  "index.js"
32
73
  ]
33
74
  },
@@ -63,65 +104,24 @@
63
104
  "index.js"
64
105
  ]
65
106
  },
66
- "bump": {
107
+ "codegen": {
67
108
  "aliases": [],
68
109
  "args": {},
69
- "description": "Bumps MemberJunction dependency versions",
110
+ "description": "Run CodeGen to generate code and update metadata for MemberJunction",
70
111
  "examples": [
71
- {
72
- "command": "<%= config.bin %> <%= command.id %>",
73
- "description": "Bump all @memberjunction/* dependencies in the current directory's package.json to the CLI version"
74
- },
75
- {
76
- "command": "<%= config.bin %> <%= command.id %> -rdv",
77
- "description": "Preview all recursive packages bumps without writing any changes."
78
- },
79
- {
80
- "command": "<%= config.bin %> <%= command.id %> -rqt v2.10.0 | xargs -n1 -I{} npm install --prefix {}",
81
- "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."
82
- }
112
+ "<%= config.bin %> <%= command.id %>\n"
83
113
  ],
84
114
  "flags": {
85
- "verbose": {
86
- "char": "v",
87
- "description": "Enable additional logging",
88
- "name": "verbose",
89
- "allowNo": false,
90
- "type": "boolean"
91
- },
92
- "recursive": {
93
- "char": "r",
94
- "description": "Bump version in current directory and all subdirectories",
95
- "name": "recursive",
96
- "allowNo": false,
97
- "type": "boolean"
98
- },
99
- "tag": {
100
- "char": "t",
101
- "description": "Version tag to bump target for bump (e.g. v2.10.0), defaults to the CLI version",
102
- "name": "tag",
103
- "hasDynamicHelp": false,
104
- "multiple": false,
105
- "type": "option"
106
- },
107
- "quiet": {
108
- "char": "q",
109
- "description": "Only output paths for updated packages",
110
- "name": "quiet",
111
- "allowNo": false,
112
- "type": "boolean"
113
- },
114
- "dry": {
115
- "char": "d",
116
- "description": "Dry run, do not write changes to package.json files",
117
- "name": "dry",
115
+ "skipdb": {
116
+ "description": "Skip database migration",
117
+ "name": "skipdb",
118
118
  "allowNo": false,
119
119
  "type": "boolean"
120
120
  }
121
121
  },
122
122
  "hasDynamicHelp": false,
123
123
  "hiddenAliases": [],
124
- "id": "bump",
124
+ "id": "codegen",
125
125
  "pluginAlias": "@memberjunction/cli",
126
126
  "pluginName": "@memberjunction/cli",
127
127
  "pluginType": "core",
@@ -131,7 +131,7 @@
131
131
  "relativePath": [
132
132
  "dist",
133
133
  "commands",
134
- "bump",
134
+ "codegen",
135
135
  "index.js"
136
136
  ]
137
137
  },
@@ -208,5 +208,5 @@
208
208
  ]
209
209
  }
210
210
  },
211
- "version": "2.23.2"
211
+ "version": "2.24.0"
212
212
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/cli",
3
- "version": "2.23.2",
3
+ "version": "2.24.0",
4
4
  "description": "MemberJunction command line tools",
5
5
  "keywords": [
6
6
  "oclif"
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@inquirer/prompts": "^5.0.1",
53
- "@memberjunction/codegen-lib": "2.23.2",
53
+ "@memberjunction/codegen-lib": "2.24.0",
54
54
  "@oclif/core": "^3",
55
55
  "@oclif/plugin-help": "^6",
56
56
  "@oclif/plugin-version": "^2.0.17",