@codemoreira/esad 1.4.1 → 1.4.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/package.json +1 -1
- package/src/cli/commands/dev.js +2 -2
package/package.json
CHANGED
package/src/cli/commands/dev.js
CHANGED
|
@@ -3,7 +3,7 @@ const { getWorkspaceConfig, syncHostConfig } = require('../utils/config');
|
|
|
3
3
|
const fs = require('fs-extra');
|
|
4
4
|
const path = require('path');
|
|
5
5
|
const chalk = require('chalk');
|
|
6
|
-
const { resolveModuleMetadata, listAvailableModules } = require('../utils/resolution');
|
|
6
|
+
const { resolveModuleMetadata, listAvailableModules, resolveProjectDir } = require('../utils/resolution');
|
|
7
7
|
const { runProcess } = require('../utils/process');
|
|
8
8
|
const AdmZip = require('adm-zip');
|
|
9
9
|
|
|
@@ -50,7 +50,7 @@ module.exports = async (options) => {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
const pkg = fs.readJsonSync(pkgPath);
|
|
53
|
-
moduleId =
|
|
53
|
+
let moduleId = options.id || pkg.name;
|
|
54
54
|
const platform = options.platform || 'android';
|
|
55
55
|
|
|
56
56
|
console.log(chalk.cyan(`\n☁️ Starting ESAD Dev-Push for ${moduleId} (${platform})\n`));
|