@modern-js/plugin-v2 2.67.1 → 2.67.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.
@@ -35,7 +35,8 @@ function initServerContext(params) {
35
35
  distDirectory: options.pwd,
36
36
  metaName: options.metaName || "modern-js",
37
37
  plugins,
38
- middlewares: []
38
+ middlewares: [],
39
+ bffRuntimeFramework: options.appContext.bffRuntimeFramework
39
40
  };
40
41
  }
41
42
  function createServerContext({ serverContext, config }) {
@@ -13,7 +13,8 @@ function initServerContext(params) {
13
13
  distDirectory: options.pwd,
14
14
  metaName: options.metaName || "modern-js",
15
15
  plugins,
16
- middlewares: []
16
+ middlewares: [],
17
+ bffRuntimeFramework: options.appContext.bffRuntimeFramework
17
18
  };
18
19
  }
19
20
  function createServerContext(param) {
@@ -11,7 +11,8 @@ function initServerContext(params) {
11
11
  distDirectory: options.pwd,
12
12
  metaName: options.metaName || "modern-js",
13
13
  plugins,
14
- middlewares: []
14
+ middlewares: [],
15
+ bffRuntimeFramework: options.appContext.bffRuntimeFramework
15
16
  };
16
17
  }
17
18
  function createServerContext({ serverContext, config }) {
@@ -11,6 +11,7 @@ export type ServerCreateOptions = {
11
11
  sharedDirectory?: string;
12
12
  apiDirectory?: string;
13
13
  lambdaDirectory?: string;
14
+ bffRuntimeFramework?: string;
14
15
  };
15
16
  };
16
17
  export type ServerRunOptions = {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.67.1",
18
+ "version": "2.67.3",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -81,20 +81,20 @@
81
81
  "dependencies": {
82
82
  "@swc/helpers": "0.5.13",
83
83
  "jiti": "1.21.7",
84
- "@modern-js/runtime-utils": "2.67.1",
85
- "@modern-js/utils": "2.67.1"
84
+ "@modern-js/runtime-utils": "2.67.3",
85
+ "@modern-js/utils": "2.67.3"
86
86
  },
87
87
  "devDependencies": {
88
- "@rsbuild/core": "1.3.5",
88
+ "@rsbuild/core": "1.3.10",
89
89
  "@types/jest": "^29",
90
90
  "@types/node": "^14",
91
91
  "@types/react": "^18.3.11",
92
92
  "jest": "^29",
93
93
  "typescript": "^5",
94
- "@modern-js/types": "2.67.1",
95
- "@modern-js/uni-builder": "2.67.1",
96
- "@scripts/build": "2.66.0",
97
- "@scripts/jest-config": "2.66.0"
94
+ "@modern-js/types": "2.67.3",
95
+ "@modern-js/uni-builder": "2.67.3",
96
+ "@scripts/jest-config": "2.66.0",
97
+ "@scripts/build": "2.66.0"
98
98
  },
99
99
  "sideEffects": false,
100
100
  "publishConfig": {