@cyklang/cli 0.5.2 → 0.5.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/build/InstallCommand.js +3 -2
- package/package.json +1 -1
- package/src/InstallCommand.ts +4 -3
package/build/InstallCommand.js
CHANGED
|
@@ -50,9 +50,10 @@ class InstallCommand extends Cmd_1.Cmd {
|
|
|
50
50
|
if (this.dbManager === undefined)
|
|
51
51
|
throw 'dbManager undefined';
|
|
52
52
|
/**
|
|
53
|
-
* install the Node Package
|
|
53
|
+
* install the Node Package by npm
|
|
54
|
+
* and postinstall script will invoke this 'cyk install' command
|
|
54
55
|
*/
|
|
55
|
-
await this.installNodePackage(node_package)
|
|
56
|
+
// await this.installNodePackage(node_package)
|
|
56
57
|
const installScript = await this.lookupInstallScript(node_package);
|
|
57
58
|
if (installScript) {
|
|
58
59
|
/**
|
package/package.json
CHANGED
package/src/InstallCommand.ts
CHANGED
|
@@ -24,9 +24,10 @@ export class InstallCommand extends Cmd {
|
|
|
24
24
|
if (this.dbManager === undefined) throw 'dbManager undefined'
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* install the Node Package
|
|
27
|
+
* install the Node Package by npm
|
|
28
|
+
* and postinstall script will invoke this 'cyk install' command
|
|
28
29
|
*/
|
|
29
|
-
await this.installNodePackage(node_package)
|
|
30
|
+
// await this.installNodePackage(node_package)
|
|
30
31
|
|
|
31
32
|
const installScript = await this.lookupInstallScript(node_package)
|
|
32
33
|
|
|
@@ -48,7 +49,7 @@ export class InstallCommand extends Cmd {
|
|
|
48
49
|
throw 'xml folder not found ( ' + xmlFolder + ' )'
|
|
49
50
|
}
|
|
50
51
|
/**
|
|
51
|
-
* upload modules to the server
|
|
52
|
+
* upload modules to the server
|
|
52
53
|
*/
|
|
53
54
|
let initModule: string | undefined
|
|
54
55
|
const files = fs.readdirSync(xmlFolder)
|