@midwayjs/mock 3.0.0-beta.3 → 3.0.0-beta.7

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
@@ -3,6 +3,41 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.0.0-beta.7](https://github.com/midwayjs/midway/compare/v3.0.0-beta.6...v3.0.0-beta.7) (2021-12-03)
7
+
8
+ **Note:** Version bump only for package @midwayjs/mock
9
+
10
+
11
+
12
+
13
+
14
+ # [3.0.0-beta.6](https://github.com/midwayjs/midway/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2021-11-26)
15
+
16
+ **Note:** Version bump only for package @midwayjs/mock
17
+
18
+
19
+
20
+
21
+
22
+ # [3.0.0-beta.5](https://github.com/midwayjs/midway/compare/v3.0.0-beta.4...v3.0.0-beta.5) (2021-11-25)
23
+
24
+ **Note:** Version bump only for package @midwayjs/mock
25
+
26
+
27
+
28
+
29
+
30
+ # [3.0.0-beta.4](https://github.com/midwayjs/midway/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2021-11-24)
31
+
32
+
33
+ ### Features
34
+
35
+ * add i18n ([#1375](https://github.com/midwayjs/midway/issues/1375)) ([bffefe0](https://github.com/midwayjs/midway/commit/bffefe07afe45777d49b5a76b9ab17fc2b9d9a55))
36
+
37
+
38
+
39
+
40
+
6
41
  # [3.0.0-beta.3](https://github.com/midwayjs/midway/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2021-11-18)
7
42
 
8
43
  **Note:** Version bump only for package @midwayjs/mock
package/dist/creator.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { IMidwayApplication, IMidwayFramework } from '@midwayjs/core';
2
2
  import { ComponentModule, MockAppConfigurationOptions } from './interface';
3
- export declare function create<T extends IMidwayFramework<any, U>, U = T['configurationOptions']>(appDir?: string, options?: MockAppConfigurationOptions, customFramework?: {
3
+ export declare function create<T extends IMidwayFramework<any, any, U>, U = T['configurationOptions']>(appDir?: string, options?: MockAppConfigurationOptions, customFramework?: {
4
4
  new (...args: any[]): T;
5
5
  } | ComponentModule): Promise<T>;
6
- export declare function createApp<T extends IMidwayFramework<any, U>, U = T['configurationOptions'], Y = ReturnType<T['getApplication']>>(baseDir?: string, options?: U & MockAppConfigurationOptions, customFramework?: {
6
+ export declare function createApp<T extends IMidwayFramework<any, any, U>, U = T['configurationOptions'], Y = ReturnType<T['getApplication']>>(baseDir?: string, options?: U & MockAppConfigurationOptions, customFramework?: {
7
7
  new (...args: any[]): T;
8
8
  } | ComponentModule): Promise<IMidwayApplication<any, any>>;
9
9
  export declare function close(app: IMidwayApplication, options?: {
@@ -11,7 +11,7 @@ export declare function close(app: IMidwayApplication, options?: {
11
11
  cleanTempDir?: boolean;
12
12
  sleep?: number;
13
13
  }): Promise<void>;
14
- export declare function createFunctionApp<T extends IMidwayFramework<any, U>, U = T['configurationOptions'], Y = ReturnType<T['getApplication']>>(baseDir?: string, options?: MockAppConfigurationOptions, customFrameworkName?: {
14
+ export declare function createFunctionApp<T extends IMidwayFramework<any, any, U>, U = T['configurationOptions'], Y = ReturnType<T['getApplication']>>(baseDir?: string, options?: MockAppConfigurationOptions, customFrameworkName?: {
15
15
  new (...args: any[]): T;
16
16
  } | ComponentModule): Promise<Y>;
17
17
  export declare function createLightApp(baseDir?: string, options?: MockAppConfigurationOptions): Promise<IMidwayApplication>;
package/dist/utils.d.ts CHANGED
@@ -6,7 +6,7 @@ export declare function findFirstExistModule(moduleList: any): string;
6
6
  * transform a framework component or framework module to configuration class
7
7
  * @param Framework
8
8
  */
9
- export declare function transformFrameworkToConfiguration<T extends IMidwayFramework<any, any>>(Framework: any): {
9
+ export declare function transformFrameworkToConfiguration<T extends IMidwayFramework<any, any, any>>(Framework: any): {
10
10
  [key: string]: any;
11
11
  Configuration: any;
12
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/mock",
3
- "version": "3.0.0-beta.3",
3
+ "version": "3.0.0-beta.7",
4
4
  "description": "create your test app from midway framework",
5
5
  "main": "dist/index",
6
6
  "typings": "dist/index.d.ts",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "license": "MIT",
28
28
  "devDependencies": {
29
- "@midwayjs/core": "^3.0.0-beta.3",
30
- "@midwayjs/decorator": "^3.0.0-beta.3",
31
- "@midwayjs/logger": "^3.0.0-beta.3",
29
+ "@midwayjs/core": "^3.0.0-beta.7",
30
+ "@midwayjs/decorator": "^3.0.0-beta.7",
31
+ "@midwayjs/logger": "^3.0.0-beta.7",
32
32
  "@types/amqplib": "*",
33
33
  "amqplib": "*",
34
34
  "socket.io": "^4.0.0",
@@ -44,5 +44,5 @@
44
44
  "type": "git",
45
45
  "url": "http://github.com/midwayjs/midway.git"
46
46
  },
47
- "gitHead": "a46b7f83d1cb161ec312f2892a9b33ff2d290d7e"
47
+ "gitHead": "24590729121d9110e2d960db5b5e587cf55a1efc"
48
48
  }