@eggjs/core 7.0.2-beta.2 → 7.0.2-beta.3
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.
|
@@ -388,11 +388,8 @@ var EggLoader = class {
|
|
|
388
388
|
if (pkg.version) plugin.version = pkg.version;
|
|
389
389
|
plugin.path = await this.#formatPluginPathFromPackageJSON(plugin.path, pkg);
|
|
390
390
|
}
|
|
391
|
+
if (!eggPluginConfig) return;
|
|
391
392
|
const logger = this.options.logger;
|
|
392
|
-
if (!eggPluginConfig) {
|
|
393
|
-
logger.warn("[@eggjs/core/egg_loader] pkg.eggPlugin is missing in %s, plugin: %j", pluginPackage, plugin);
|
|
394
|
-
return;
|
|
395
|
-
}
|
|
396
393
|
if (eggPluginConfig.name && eggPluginConfig.strict !== false && eggPluginConfig.name !== plugin.name) logger.warn(`[@eggjs/core/egg_loader] pluginName(${plugin.name}) is different from pluginConfigName(${eggPluginConfig.name})`);
|
|
397
394
|
depCompatible(eggPluginConfig);
|
|
398
395
|
for (const key of [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/core",
|
|
3
|
-
"version": "7.0.2-beta.
|
|
3
|
+
"version": "7.0.2-beta.3",
|
|
4
4
|
"description": "A core plugin framework based on @eggjs/koa",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"egg",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"ready-callback": "^4.0.0",
|
|
42
42
|
"tsconfig-paths": "^4.2.0",
|
|
43
43
|
"utility": "^2.5.0",
|
|
44
|
-
"@eggjs/koa": "3.1.2-beta.
|
|
45
|
-
"@eggjs/extend2": "5.0.2-beta.
|
|
46
|
-
"@eggjs/router": "4.0.2-beta.
|
|
47
|
-
"@eggjs/path-matching": "3.0.2-beta.
|
|
48
|
-
"@eggjs/utils": "5.0.2-beta.
|
|
44
|
+
"@eggjs/koa": "3.1.2-beta.3",
|
|
45
|
+
"@eggjs/extend2": "5.0.2-beta.3",
|
|
46
|
+
"@eggjs/router": "4.0.2-beta.3",
|
|
47
|
+
"@eggjs/path-matching": "3.0.2-beta.3",
|
|
48
|
+
"@eggjs/utils": "5.0.2-beta.3"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/js-yaml": "^4.0.9",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"mm": "^4.0.2",
|
|
58
58
|
"typescript": "^5.9.3",
|
|
59
59
|
"urllib": "^4.8.2",
|
|
60
|
-
"@eggjs/mock": "7.0.2-beta.
|
|
61
|
-
"@eggjs/supertest": "9.0.2-beta.
|
|
62
|
-
"@eggjs/tsconfig": "3.1.2-beta.
|
|
60
|
+
"@eggjs/mock": "7.0.2-beta.3",
|
|
61
|
+
"@eggjs/supertest": "9.0.2-beta.3",
|
|
62
|
+
"@eggjs/tsconfig": "3.1.2-beta.3"
|
|
63
63
|
},
|
|
64
64
|
"engines": {
|
|
65
65
|
"node": ">=22.18.0"
|