@memberjunction/cli 2.20.1 → 2.20.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/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.20.1 linux-x64 node-v20.18.1
15
+ @memberjunction/cli/2.20.3 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.20.1/src/commands/bump/index.ts)_
66
+ _See code: [src/commands/bump/index.ts](https://github.com/MemberJunction/MJ/blob/v2.20.3/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.20.1/src/commands/clean/index.ts)_
86
+ _See code: [src/commands/clean/index.ts](https://github.com/MemberJunction/MJ/blob/v2.20.3/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.20.1/src/commands/codegen/index.ts)_
106
+ _See code: [src/commands/codegen/index.ts](https://github.com/MemberJunction/MJ/blob/v2.20.3/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.20.1/src/commands/install/index.ts)_
146
+ _See code: [src/commands/install/index.ts](https://github.com/MemberJunction/MJ/blob/v2.20.3/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.20.1/src/commands/migrate/index.ts)_
167
+ _See code: [src/commands/migrate/index.ts](https://github.com/MemberJunction/MJ/blob/v2.20.3/src/commands/migrate/index.ts)_
168
168
 
169
169
  ## `mj version`
170
170
 
@@ -37,7 +37,6 @@ const node_path_1 = __importDefault(require("node:path"));
37
37
  const zod_1 = require("zod");
38
38
  // Directories are relative to execution cwd
39
39
  const GENERATED_ENTITIES_DIR = 'GeneratedEntities';
40
- const CODEGEN_DIR = 'CodeGen';
41
40
  const SQL_SCRIPTS_DIR = 'SQL Scripts';
42
41
  const GENERATED_DIR = 'generated';
43
42
  const MJ_BASE_DIR = 'MJ_BASE';
@@ -151,12 +150,6 @@ ASK_SKIP_ORGANIZATION_ID = 1
151
150
  `;
152
151
  fs.writeFileSync('.env', dotenvContent);
153
152
  //*******************************************************************
154
- // Process CodeGen
155
- //*******************************************************************
156
- this.log('\nProcessing CodeGen...');
157
- this.log(' Running npm link for GeneratedEntities...');
158
- (0, node_child_process_1.execSync)('npm link ../GeneratedEntities', { stdio: 'inherit', cwd: CODEGEN_DIR });
159
- //*******************************************************************
160
153
  // Process MJAPI
161
154
  //*******************************************************************
162
155
  this.log('\n\nBootstrapping MJAPI...');
@@ -72,25 +72,24 @@
72
72
  "index.js"
73
73
  ]
74
74
  },
75
- "clean": {
75
+ "codegen": {
76
76
  "aliases": [],
77
77
  "args": {},
78
- "description": "Resets the MemberJunction database to a pre-installation state",
78
+ "description": "Run CodeGen to generate code and update metadata for MemberJunction",
79
79
  "examples": [
80
80
  "<%= config.bin %> <%= command.id %>\n"
81
81
  ],
82
82
  "flags": {
83
- "verbose": {
84
- "char": "v",
85
- "description": "Enable additional logging",
86
- "name": "verbose",
83
+ "skipdb": {
84
+ "description": "Skip database migration",
85
+ "name": "skipdb",
87
86
  "allowNo": false,
88
87
  "type": "boolean"
89
88
  }
90
89
  },
91
90
  "hasDynamicHelp": false,
92
91
  "hiddenAliases": [],
93
- "id": "clean",
92
+ "id": "codegen",
94
93
  "pluginAlias": "@memberjunction/cli",
95
94
  "pluginName": "@memberjunction/cli",
96
95
  "pluginType": "core",
@@ -100,28 +99,29 @@
100
99
  "relativePath": [
101
100
  "dist",
102
101
  "commands",
103
- "clean",
102
+ "codegen",
104
103
  "index.js"
105
104
  ]
106
105
  },
107
- "codegen": {
106
+ "clean": {
108
107
  "aliases": [],
109
108
  "args": {},
110
- "description": "Run CodeGen to generate code and update metadata for MemberJunction",
109
+ "description": "Resets the MemberJunction database to a pre-installation state",
111
110
  "examples": [
112
111
  "<%= config.bin %> <%= command.id %>\n"
113
112
  ],
114
113
  "flags": {
115
- "skipdb": {
116
- "description": "Skip database migration",
117
- "name": "skipdb",
114
+ "verbose": {
115
+ "char": "v",
116
+ "description": "Enable additional logging",
117
+ "name": "verbose",
118
118
  "allowNo": false,
119
119
  "type": "boolean"
120
120
  }
121
121
  },
122
122
  "hasDynamicHelp": false,
123
123
  "hiddenAliases": [],
124
- "id": "codegen",
124
+ "id": "clean",
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
- "codegen",
134
+ "clean",
135
135
  "index.js"
136
136
  ]
137
137
  },
@@ -208,5 +208,5 @@
208
208
  ]
209
209
  }
210
210
  },
211
- "version": "2.20.1"
211
+ "version": "2.20.3"
212
212
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/cli",
3
- "version": "2.20.1",
3
+ "version": "2.20.3",
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.20.1",
53
+ "@memberjunction/codegen-lib": "2.20.3",
54
54
  "@oclif/core": "^3",
55
55
  "@oclif/plugin-help": "^6",
56
56
  "@oclif/plugin-version": "^2.0.17",