@memberjunction/cli 1.5.1 → 1.5.2
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 +2 -8
- 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.5.
|
|
15
|
+
@memberjunction/cli/1.5.2 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.5.
|
|
66
|
+
_See code: [src/commands/install/index.ts](https://github.com/MemberJunction/MJ/blob/v1.5.2/src/commands/install/index.ts)_
|
|
67
67
|
|
|
68
68
|
## `mj version`
|
|
69
69
|
|
|
@@ -133,16 +133,12 @@ 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 });
|
|
138
136
|
//*******************************************************************
|
|
139
137
|
// Process MJAPI
|
|
140
138
|
//*******************************************************************
|
|
141
139
|
this.log('\n\nBootstrapping MJAPI...');
|
|
142
|
-
this.log(' Running npm link for
|
|
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 });
|
|
140
|
+
this.log(' Running npm link for generated code...');
|
|
141
|
+
(0, node_child_process_1.execSync)('npm link ../GeneratedEntities ../GeneratedActions', { stdio: 'inherit', cwd: MJAPI_DIR });
|
|
146
142
|
this.log(' Setting up MJAPI .env file...');
|
|
147
143
|
const mjAPIENV = `#Database Setup
|
|
148
144
|
DB_HOST='${this.userConfig.dbUrl}'
|
|
@@ -204,8 +200,6 @@ CONFIG_FILE='config.json'
|
|
|
204
200
|
// keep on going with MJ Explorer - do the rest of the stuff
|
|
205
201
|
this.log(' Running npm link for GeneratedEntities...');
|
|
206
202
|
(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 });
|
|
209
203
|
this.log('Installation complete!');
|
|
210
204
|
}
|
|
211
205
|
async getUserConfiguration() {
|
package/oclif.manifest.json
CHANGED