ics-builder 4.1.99 → 4.2.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/package.json
CHANGED
|
@@ -54,6 +54,7 @@ var CommandManager = /** @class */ (function () {
|
|
|
54
54
|
CommandManager.prototype.initTasks = function () {
|
|
55
55
|
var _this = this;
|
|
56
56
|
index_1.task("source", function () { return _this.packageManager.loadAllPackages(); });
|
|
57
|
+
index_1.task("source:ci", function () { return _this.packageManager.loadAllPackages(false, true); });
|
|
57
58
|
index_1.task("build-api", function () { return _this.runBuilder(_this.builderManager.buildApi()); });
|
|
58
59
|
index_1.task("build-db", function () { return _this.runBuilder(_this.builderManager.buildDb()); });
|
|
59
60
|
index_1.task("generate-schema", function () { return _this.runBuilder(_this.builderManager.buildSchema()); });
|
|
@@ -19,8 +19,9 @@ var PackageManager = /** @class */ (function () {
|
|
|
19
19
|
}
|
|
20
20
|
return PackageManager.instance;
|
|
21
21
|
};
|
|
22
|
-
PackageManager.prototype.loadAllPackages = function (skipLoad) {
|
|
23
|
-
|
|
22
|
+
PackageManager.prototype.loadAllPackages = function (skipLoad, mainPackageSkipLoad) {
|
|
23
|
+
if (!mainPackageSkipLoad)
|
|
24
|
+
this.loadPackages(null, null, skipLoad);
|
|
24
25
|
if (this.config.using) {
|
|
25
26
|
this.loadPackages(this.config.using, "build.yml", skipLoad);
|
|
26
27
|
}
|
|
@@ -68,7 +68,7 @@ var PackageStructureManager = /** @class */ (function () {
|
|
|
68
68
|
if (!moduleInfoPath)
|
|
69
69
|
return [];
|
|
70
70
|
var moduleInfo = yaml.load(moduleInfoPath);
|
|
71
|
-
return (_a = moduleInfo.dependencies) !== null && _a !== void 0 ? _a : [];
|
|
71
|
+
return (_a = moduleInfo === null || moduleInfo === void 0 ? void 0 : moduleInfo.dependencies) !== null && _a !== void 0 ? _a : [];
|
|
72
72
|
};
|
|
73
73
|
return PackageStructureManager;
|
|
74
74
|
}());
|