@intrig/core 0.0.13-0 → 0.0.14-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/main.js +11 -6
- package/package.json +1 -1
package/main.js
CHANGED
|
@@ -43,8 +43,8 @@ var __webpack_exports__ = {};
|
|
|
43
43
|
const external_nest_commander_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("nest-commander");
|
|
44
44
|
;// external "@nestjs/common"
|
|
45
45
|
const common_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("@nestjs/common");
|
|
46
|
-
;// external "
|
|
47
|
-
const
|
|
46
|
+
;// external "cross-spawn"
|
|
47
|
+
const external_cross_spawn_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("cross-spawn");
|
|
48
48
|
;// external "@nestjs/config"
|
|
49
49
|
const config_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("@nestjs/config");
|
|
50
50
|
;// external "fs"
|
|
@@ -227,7 +227,7 @@ class ProcessManagerService {
|
|
|
227
227
|
this.logger.log('Daemon already running (via discovery)');
|
|
228
228
|
return;
|
|
229
229
|
}
|
|
230
|
-
const child = (0,
|
|
230
|
+
const child = (0,external_cross_spawn_namespaceObject.spawn)('intrig', [
|
|
231
231
|
"run"
|
|
232
232
|
], {
|
|
233
233
|
detached: true,
|
|
@@ -1308,6 +1308,8 @@ SourceManagementService = source_management_service_ts_decorate([
|
|
|
1308
1308
|
const external_nypm_namespaceObject = await import("nypm");
|
|
1309
1309
|
;// external "util"
|
|
1310
1310
|
const external_util_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("util");
|
|
1311
|
+
;// external "child_process"
|
|
1312
|
+
const external_child_process_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("child_process");
|
|
1311
1313
|
;// ../../lib/common/src/lib/package-manager.service.ts
|
|
1312
1314
|
function package_manager_service_ts_decorate(decorators, target, key, desc) {
|
|
1313
1315
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -9449,11 +9451,13 @@ function prebuild_command_ts_param(paramIndex, decorator) {
|
|
|
9449
9451
|
|
|
9450
9452
|
|
|
9451
9453
|
|
|
9454
|
+
|
|
9452
9455
|
class PrebuildCommand extends external_nest_commander_namespaceObject.CommandRunner {
|
|
9453
|
-
constructor(pm, generators, config){
|
|
9454
|
-
super(), this.pm = pm, this.generators = generators, this.config = config, this.logger = new common_namespaceObject.Logger(PrebuildCommand.name);
|
|
9456
|
+
constructor(pm, generators, config, generate){
|
|
9457
|
+
super(), this.pm = pm, this.generators = generators, this.config = config, this.generate = generate, this.logger = new common_namespaceObject.Logger(PrebuildCommand.name);
|
|
9455
9458
|
}
|
|
9456
9459
|
async run(passedParams, options) {
|
|
9460
|
+
await this.generate.run([], {});
|
|
9457
9461
|
const metadata = await this.pm.getMetadata();
|
|
9458
9462
|
if (!metadata) {
|
|
9459
9463
|
throw new Error("No metadata found");
|
|
@@ -9478,7 +9482,8 @@ PrebuildCommand = prebuild_command_ts_decorate([
|
|
|
9478
9482
|
prebuild_command_ts_metadata("design:paramtypes", [
|
|
9479
9483
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
9480
9484
|
Array,
|
|
9481
|
-
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
9485
|
+
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService,
|
|
9486
|
+
typeof GenerateCommand === "undefined" ? Object : GenerateCommand
|
|
9482
9487
|
])
|
|
9483
9488
|
], PrebuildCommand);
|
|
9484
9489
|
|