@modern-js/types 2.4.0 → 2.5.1-alpha.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @modern-js/types
2
2
 
3
+ ## 2.5.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 7cb8bb4: fix: use a more correctly params to cal document file
8
+
9
+ fix: 使用更准确的参数去获取 docuemnt 文件
10
+
3
11
  ## 2.4.0
4
12
 
5
13
  ## 2.3.0
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.4.0",
14
+ "version": "2.5.1-alpha.0",
15
15
  "types": "./index.d.ts",
16
16
  "exports": {
17
17
  ".": "./index.d.ts",
@@ -31,15 +31,15 @@
31
31
  }
32
32
  },
33
33
  "devDependencies": {
34
+ "@scripts/build": "2.5.0",
34
35
  "@types/babel__core": "^7.1.19",
36
+ "@scripts/jest-config": "2.5.0",
35
37
  "@types/jest": "^27",
36
38
  "@types/node": "^14",
37
39
  "@jest/types": "^27.0.6",
38
40
  "http-proxy-middleware": "^2.0.4",
39
41
  "jest": "^27",
40
- "type-fest": "2.15.0",
41
- "@scripts/jest-config": "2.4.0",
42
- "@scripts/build": "2.4.0"
42
+ "type-fest": "2.15.0"
43
43
  },
44
44
  "sideEffects": false,
45
45
  "publishConfig": {
@@ -0,0 +1 @@
1
+ export type HttpMethodDecider = 'functionName' | 'inputParams';
package/server/index.d.ts CHANGED
@@ -2,4 +2,5 @@ export * from './context';
2
2
  export * from './hook';
3
3
  export * from './utils';
4
4
  export * from './route';
5
+ export * from './bff';
5
6
  export * from './devServer';
package/server/route.d.ts CHANGED
@@ -11,6 +11,8 @@ export interface ServerRoute {
11
11
  isSSR?: boolean;
12
12
  // if route is api service
13
13
  isApi?: boolean;
14
+ // worker js bundle for ssr page
15
+ worker?: string;
14
16
  // ssr js bundle for ssr page
15
17
  bundle?: string;
16
18
  // response header for routes