vona-module-a-startup 5.0.28 → 5.0.30

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/dist/index.js +5 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -37,10 +37,13 @@ let ServiceStartup = (_dec$3 = Service(), _dec2$3 = BeanInfo({
37
37
  await this._appReadyInstanceStartup('', true);
38
38
  } else {
39
39
  // only start static instances (defined in config)
40
- for (const configInstanceBase of this.app.config.instances) {
40
+ for (const key in this.app.config.instance.instances) {
41
+ const instanceName = key;
42
+ const configInstanceBase = this.app.config.instance.instances[instanceName];
43
+ if (configInstanceBase === false) continue;
41
44
  // need not await for prod
42
45
  const wait = this.app.config.server.listen.disable;
43
- await this._appReadyInstanceStartup(configInstanceBase.name, wait);
46
+ await this._appReadyInstanceStartup(instanceName, wait);
44
47
  }
45
48
  }
46
49
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-startup",
3
3
  "type": "module",
4
- "version": "5.0.28",
4
+ "version": "5.0.30",
5
5
  "title": "a-startup",
6
6
  "vonaModule": {
7
7
  "dependencies": {},
@@ -32,9 +32,9 @@
32
32
  "./package.json": "./package.json"
33
33
  },
34
34
  "files": [
35
+ "assets",
35
36
  "cli",
36
- "dist",
37
- "static"
37
+ "dist"
38
38
  ],
39
39
  "devDependencies": {
40
40
  "clean-package": "^2.2.0",