@intrig/core 0.0.13-0 → 0.0.14-0

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.
Files changed (2) hide show
  1. package/main.js +6 -3
  2. package/package.json +1 -1
package/main.js CHANGED
@@ -9449,11 +9449,13 @@ function prebuild_command_ts_param(paramIndex, decorator) {
9449
9449
 
9450
9450
 
9451
9451
 
9452
+
9452
9453
  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);
9454
+ constructor(pm, generators, config, generate){
9455
+ super(), this.pm = pm, this.generators = generators, this.config = config, this.generate = generate, this.logger = new common_namespaceObject.Logger(PrebuildCommand.name);
9455
9456
  }
9456
9457
  async run(passedParams, options) {
9458
+ await this.generate.run([], {});
9457
9459
  const metadata = await this.pm.getMetadata();
9458
9460
  if (!metadata) {
9459
9461
  throw new Error("No metadata found");
@@ -9478,7 +9480,8 @@ PrebuildCommand = prebuild_command_ts_decorate([
9478
9480
  prebuild_command_ts_metadata("design:paramtypes", [
9479
9481
  typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
9480
9482
  Array,
9481
- typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
9483
+ typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService,
9484
+ typeof GenerateCommand === "undefined" ? Object : GenerateCommand
9482
9485
  ])
9483
9486
  ], PrebuildCommand);
9484
9487
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intrig/core",
3
- "version": "0.0.13-0",
3
+ "version": "0.0.14-0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {