@memberjunction/cli 2.58.0 → 2.59.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 +66 -66
  2. package/package.json +4 -4
@@ -1,22 +1,11 @@
1
1
  {
2
2
  "commands": {
3
- "bump": {
3
+ "clean": {
4
4
  "aliases": [],
5
5
  "args": {},
6
- "description": "Bumps MemberJunction dependency versions",
6
+ "description": "Resets the MemberJunction database to a pre-installation state",
7
7
  "examples": [
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
- }
8
+ "<%= config.bin %> <%= command.id %>\n"
20
9
  ],
21
10
  "flags": {
22
11
  "verbose": {
@@ -25,40 +14,11 @@
25
14
  "name": "verbose",
26
15
  "allowNo": false,
27
16
  "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",
55
- "allowNo": false,
56
- "type": "boolean"
57
17
  }
58
18
  },
59
19
  "hasDynamicHelp": false,
60
20
  "hiddenAliases": [],
61
- "id": "bump",
21
+ "id": "clean",
62
22
  "pluginAlias": "@memberjunction/cli",
63
23
  "pluginName": "@memberjunction/cli",
64
24
  "pluginType": "core",
@@ -68,29 +28,28 @@
68
28
  "relativePath": [
69
29
  "dist",
70
30
  "commands",
71
- "bump",
31
+ "clean",
72
32
  "index.js"
73
33
  ]
74
34
  },
75
- "clean": {
35
+ "codegen": {
76
36
  "aliases": [],
77
37
  "args": {},
78
- "description": "Resets the MemberJunction database to a pre-installation state",
38
+ "description": "Run CodeGen to generate code and update metadata for MemberJunction",
79
39
  "examples": [
80
40
  "<%= config.bin %> <%= command.id %>\n"
81
41
  ],
82
42
  "flags": {
83
- "verbose": {
84
- "char": "v",
85
- "description": "Enable additional logging",
86
- "name": "verbose",
43
+ "skipdb": {
44
+ "description": "Skip database migration",
45
+ "name": "skipdb",
87
46
  "allowNo": false,
88
47
  "type": "boolean"
89
48
  }
90
49
  },
91
50
  "hasDynamicHelp": false,
92
51
  "hiddenAliases": [],
93
- "id": "clean",
52
+ "id": "codegen",
94
53
  "pluginAlias": "@memberjunction/cli",
95
54
  "pluginName": "@memberjunction/cli",
96
55
  "pluginType": "core",
@@ -100,28 +59,29 @@
100
59
  "relativePath": [
101
60
  "dist",
102
61
  "commands",
103
- "clean",
62
+ "codegen",
104
63
  "index.js"
105
64
  ]
106
65
  },
107
- "codegen": {
66
+ "install": {
108
67
  "aliases": [],
109
68
  "args": {},
110
- "description": "Run CodeGen to generate code and update metadata for MemberJunction",
69
+ "description": "Install MemberJunction",
111
70
  "examples": [
112
71
  "<%= config.bin %> <%= command.id %>\n"
113
72
  ],
114
73
  "flags": {
115
- "skipdb": {
116
- "description": "Skip database migration",
117
- "name": "skipdb",
74
+ "verbose": {
75
+ "char": "v",
76
+ "description": "Enable additional logging",
77
+ "name": "verbose",
118
78
  "allowNo": false,
119
79
  "type": "boolean"
120
80
  }
121
81
  },
122
82
  "hasDynamicHelp": false,
123
83
  "hiddenAliases": [],
124
- "id": "codegen",
84
+ "id": "install",
125
85
  "pluginAlias": "@memberjunction/cli",
126
86
  "pluginName": "@memberjunction/cli",
127
87
  "pluginType": "core",
@@ -131,16 +91,27 @@
131
91
  "relativePath": [
132
92
  "dist",
133
93
  "commands",
134
- "codegen",
94
+ "install",
135
95
  "index.js"
136
96
  ]
137
97
  },
138
- "install": {
98
+ "bump": {
139
99
  "aliases": [],
140
100
  "args": {},
141
- "description": "Install MemberJunction",
101
+ "description": "Bumps MemberJunction dependency versions",
142
102
  "examples": [
143
- "<%= config.bin %> <%= command.id %>\n"
103
+ {
104
+ "command": "<%= config.bin %> <%= command.id %>",
105
+ "description": "Bump all @memberjunction/* dependencies in the current directory's package.json to the CLI version"
106
+ },
107
+ {
108
+ "command": "<%= config.bin %> <%= command.id %> -rdv",
109
+ "description": "Preview all recursive packages bumps without writing any changes."
110
+ },
111
+ {
112
+ "command": "<%= config.bin %> <%= command.id %> -rqt v2.10.0 | xargs -n1 -I{} npm install --prefix {}",
113
+ "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."
114
+ }
144
115
  ],
145
116
  "flags": {
146
117
  "verbose": {
@@ -149,11 +120,40 @@
149
120
  "name": "verbose",
150
121
  "allowNo": false,
151
122
  "type": "boolean"
123
+ },
124
+ "recursive": {
125
+ "char": "r",
126
+ "description": "Bump version in current directory and all subdirectories",
127
+ "name": "recursive",
128
+ "allowNo": false,
129
+ "type": "boolean"
130
+ },
131
+ "tag": {
132
+ "char": "t",
133
+ "description": "Version tag to bump target for bump (e.g. v2.10.0), defaults to the CLI version",
134
+ "name": "tag",
135
+ "hasDynamicHelp": false,
136
+ "multiple": false,
137
+ "type": "option"
138
+ },
139
+ "quiet": {
140
+ "char": "q",
141
+ "description": "Only output paths for updated packages",
142
+ "name": "quiet",
143
+ "allowNo": false,
144
+ "type": "boolean"
145
+ },
146
+ "dry": {
147
+ "char": "d",
148
+ "description": "Dry run, do not write changes to package.json files",
149
+ "name": "dry",
150
+ "allowNo": false,
151
+ "type": "boolean"
152
152
  }
153
153
  },
154
154
  "hasDynamicHelp": false,
155
155
  "hiddenAliases": [],
156
- "id": "install",
156
+ "id": "bump",
157
157
  "pluginAlias": "@memberjunction/cli",
158
158
  "pluginName": "@memberjunction/cli",
159
159
  "pluginType": "core",
@@ -163,7 +163,7 @@
163
163
  "relativePath": [
164
164
  "dist",
165
165
  "commands",
166
- "install",
166
+ "bump",
167
167
  "index.js"
168
168
  ]
169
169
  },
@@ -577,5 +577,5 @@
577
577
  ]
578
578
  }
579
579
  },
580
- "version": "2.58.0"
580
+ "version": "2.59.0"
581
581
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/cli",
3
- "version": "2.58.0",
3
+ "version": "2.59.0",
4
4
  "description": "MemberJunction command line tools",
5
5
  "keywords": [
6
6
  "oclif"
@@ -51,9 +51,9 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@inquirer/prompts": "^5.0.1",
54
- "@memberjunction/codegen-lib": "2.58.0",
55
- "@memberjunction/metadata-sync": "2.58.0",
56
- "@memberjunction/sqlserver-dataprovider": "2.58.0",
54
+ "@memberjunction/codegen-lib": "2.59.0",
55
+ "@memberjunction/metadata-sync": "2.59.0",
56
+ "@memberjunction/sqlserver-dataprovider": "2.59.0",
57
57
  "@oclif/core": "^3",
58
58
  "@oclif/plugin-help": "^6",
59
59
  "@oclif/plugin-version": "^2.0.17",