@midwayjs/core 3.3.0 → 3.3.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/dist/baseFramework.js
CHANGED
|
@@ -55,6 +55,10 @@ let MidwayFrameworkService = class MidwayFrameworkService {
|
|
|
55
55
|
debug(`[core]: Found Framework length = ${frameworks.length}`);
|
|
56
56
|
if (frameworks.length) {
|
|
57
57
|
for (const frameworkClz of frameworks) {
|
|
58
|
+
if (!this.applicationContext.hasDefinition((0, decorator_1.getProviderUUId)(frameworkClz))) {
|
|
59
|
+
debug(`[core]: Found Framework "${frameworkClz.name}" but missing definition, skip initialize.`);
|
|
60
|
+
continue;
|
|
61
|
+
}
|
|
58
62
|
const frameworkInstance = await this.applicationContext.getAsync(frameworkClz, [this.applicationContext]);
|
|
59
63
|
// if enable, just init framework
|
|
60
64
|
if (frameworkInstance.isEnable()) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/core",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "midway core",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": ">=12"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "f603b622b205ec126de628eeab59f90045a75dd2"
|
|
49
49
|
}
|