@eggjs/standalone 4.0.0-beta.36 → 4.0.2-beta.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.
Files changed (2) hide show
  1. package/dist/Runner.js +3 -2
  2. package/package.json +14 -14
package/dist/Runner.js CHANGED
@@ -43,7 +43,8 @@ var Runner = class Runner {
43
43
  this.moduleConfigs = {};
44
44
  this.innerObjects = {
45
45
  moduleConfigs: [{ obj: new ModuleConfigs(this.moduleConfigs) }],
46
- moduleConfig: []
46
+ moduleConfig: [],
47
+ mysqlDataSourceManager: [{ obj: MysqlDataSourceManager.instance }]
47
48
  };
48
49
  const runtimeConfig = {
49
50
  baseDir: this.cwd,
@@ -51,7 +52,7 @@ var Runner = class Runner {
51
52
  env: this.env
52
53
  };
53
54
  this.innerObjects.runtimeConfig = [{ obj: runtimeConfig }];
54
- if (!ModuleConfigUtil.configNames) ModuleConfigUtil.configNames = ["module.default", `module.${this.env}`];
55
+ ModuleConfigUtil.configNames = ["module.default", `module.${this.env}`];
55
56
  for (const reference of this.moduleReferences) {
56
57
  const absoluteRef = {
57
58
  path: ModuleConfigUtil.resolveModuleDir(reference.path, this.cwd),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggjs/standalone",
3
- "version": "4.0.0-beta.36",
3
+ "version": "4.0.2-beta.1",
4
4
  "description": "tegg standalone",
5
5
  "keywords": [
6
6
  "async",
@@ -36,24 +36,24 @@
36
36
  "access": "public"
37
37
  },
38
38
  "dependencies": {
39
- "@eggjs/aop-runtime": "4.0.0-beta.36",
40
- "@eggjs/dal-plugin": "4.0.0-beta.36",
41
- "@eggjs/lifecycle": "4.0.0-beta.36",
42
- "@eggjs/metadata": "4.0.0-beta.36",
43
- "@eggjs/tegg": "4.0.0-beta.36",
44
- "@eggjs/tegg-common-util": "4.0.0-beta.36",
45
- "@eggjs/tegg-loader": "4.0.0-beta.36",
46
- "@eggjs/tegg-runtime": "4.0.0-beta.36"
39
+ "@eggjs/aop-runtime": "4.0.2-beta.1",
40
+ "@eggjs/lifecycle": "4.0.2-beta.1",
41
+ "@eggjs/metadata": "4.0.2-beta.1",
42
+ "@eggjs/tegg": "4.0.2-beta.1",
43
+ "@eggjs/tegg-loader": "4.0.2-beta.1",
44
+ "@eggjs/tegg-common-util": "4.0.2-beta.1",
45
+ "@eggjs/tegg-runtime": "4.0.2-beta.1",
46
+ "@eggjs/dal-plugin": "4.0.2-beta.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^24.10.2",
50
50
  "mm": "^4.0.2",
51
51
  "typescript": "^5.9.3",
52
- "@eggjs/ajv-plugin": "4.0.0-beta.36",
53
- "@eggjs/bin": "8.0.0-beta.36",
54
- "@eggjs/dal-decorator": "4.0.0-beta.36",
55
- "@eggjs/utils": "5.0.0-beta.36",
56
- "@eggjs/core-decorator": "4.0.0-beta.36"
52
+ "@eggjs/ajv-plugin": "4.0.2-beta.1",
53
+ "@eggjs/core-decorator": "4.0.2-beta.1",
54
+ "@eggjs/bin": "8.0.2-beta.1",
55
+ "@eggjs/dal-decorator": "4.0.2-beta.1",
56
+ "@eggjs/utils": "5.0.2-beta.1"
57
57
  },
58
58
  "engines": {
59
59
  "node": ">=22.18.0"