@memberjunction/cli 1.4.1 → 1.5.1
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 +2 -2
- package/dist/commands/install/index.js +6 -0
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
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/1.
|
|
15
|
+
@memberjunction/cli/1.5.1 linux-x64 node-v20.14.0
|
|
16
16
|
$ mj --help [COMMAND]
|
|
17
17
|
USAGE
|
|
18
18
|
$ mj COMMAND
|
|
@@ -63,7 +63,7 @@ EXAMPLES
|
|
|
63
63
|
$ mj install
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
-
_See code: [src/commands/install/index.ts](https://github.com/MemberJunction/MJ/blob/v1.
|
|
66
|
+
_See code: [src/commands/install/index.ts](https://github.com/MemberJunction/MJ/blob/v1.5.1/src/commands/install/index.ts)_
|
|
67
67
|
|
|
68
68
|
## `mj version`
|
|
69
69
|
|
|
@@ -133,12 +133,16 @@ CONFIG_FILE='config.json'
|
|
|
133
133
|
fs.writeFileSync(node_path_1.default.join(CODEGEN_DIR, '.env'), codeGenENV);
|
|
134
134
|
this.log(' Running npm link for GeneratedEntities...');
|
|
135
135
|
(0, node_child_process_1.execSync)('npm link ../GeneratedEntities', { stdio: 'inherit', cwd: CODEGEN_DIR });
|
|
136
|
+
this.log(' Running npm link for GeneratedActions...');
|
|
137
|
+
(0, node_child_process_1.execSync)('npm link ../GeneratedActions', { stdio: 'inherit', cwd: CODEGEN_DIR });
|
|
136
138
|
//*******************************************************************
|
|
137
139
|
// Process MJAPI
|
|
138
140
|
//*******************************************************************
|
|
139
141
|
this.log('\n\nBootstrapping MJAPI...');
|
|
140
142
|
this.log(' Running npm link for GeneratedEntities...');
|
|
141
143
|
(0, node_child_process_1.execSync)('npm link ../GeneratedEntities', { stdio: 'inherit', cwd: MJAPI_DIR });
|
|
144
|
+
this.log(' Running npm link for GeneratedActions...');
|
|
145
|
+
(0, node_child_process_1.execSync)('npm link ../GeneratedActions', { stdio: 'inherit', cwd: MJAPI_DIR });
|
|
142
146
|
this.log(' Setting up MJAPI .env file...');
|
|
143
147
|
const mjAPIENV = `#Database Setup
|
|
144
148
|
DB_HOST='${this.userConfig.dbUrl}'
|
|
@@ -200,6 +204,8 @@ CONFIG_FILE='config.json'
|
|
|
200
204
|
// keep on going with MJ Explorer - do the rest of the stuff
|
|
201
205
|
this.log(' Running npm link for GeneratedEntities...');
|
|
202
206
|
(0, node_child_process_1.execSync)('npm link ../GeneratedEntities', { stdio: 'inherit', cwd: MJEXPLORER_DIR });
|
|
207
|
+
this.log(' Running npm link for GeneratedActions...');
|
|
208
|
+
(0, node_child_process_1.execSync)('npm link ../GeneratedActions', { stdio: 'inherit', cwd: MJEXPLORER_DIR });
|
|
203
209
|
this.log('Installation complete!');
|
|
204
210
|
}
|
|
205
211
|
async getUserConfiguration() {
|
package/oclif.manifest.json
CHANGED