@tramvai/test-integration 2.150.0 → 2.151.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/lib/app/mocker.d.ts +1 -0
- package/lib/app/papi.d.ts +1 -0
- package/lib/app/startCli.d.ts +3 -0
- package/lib/app/startCliFakeApp.d.ts +3 -0
- package/lib/app/startCliRealApp.d.ts +3 -0
- package/lib/app/types.d.ts +1 -0
- package/lib/app/utils.d.ts +1 -0
- package/lib/helpers/sleep.d.ts +1 -0
- package/lib/index.d.ts +1 -0
- package/package.json +3 -3
package/lib/app/mocker.d.ts
CHANGED
package/lib/app/papi.d.ts
CHANGED
package/lib/app/startCli.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
1
3
|
import { Writable } from 'stream';
|
|
2
4
|
import type { PromiseType } from 'utility-types';
|
|
3
5
|
import type { StartOptions } from './types';
|
|
@@ -56,3 +58,4 @@ export declare const startCli: (targetOrConfig: StartOptions['target'] | StartOp
|
|
|
56
58
|
builder: import("@tramvai/cli/lib/typings/build/Builder").Builder<any>;
|
|
57
59
|
}>;
|
|
58
60
|
export type StartCliResult = PromiseType<ReturnType<typeof startCli>>;
|
|
61
|
+
//# sourceMappingURL=startCli.d.ts.map
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
1
3
|
import type { StartOptions } from './types';
|
|
2
4
|
import type { StartCliOptions } from './startCli';
|
|
3
5
|
export declare const runFakeApp: (config: Partial<StartOptions['config']>, options?: StartCliOptions) => Promise<{
|
|
@@ -49,3 +51,4 @@ export declare const runFakeApp: (config: Partial<StartOptions['config']>, optio
|
|
|
49
51
|
server?: import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse> | undefined;
|
|
50
52
|
builder: import("@tramvai/cli/lib/typings/build/Builder").Builder<any>;
|
|
51
53
|
}>;
|
|
54
|
+
//# sourceMappingURL=startCliFakeApp.d.ts.map
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
1
3
|
import type { StartCliOptions } from './startCli';
|
|
2
4
|
export declare const runRealApp: (tramvaiConfigRoot: string, appName: string, options: StartCliOptions) => Promise<{
|
|
3
5
|
serverUrl: string;
|
|
@@ -48,3 +50,4 @@ export declare const runRealApp: (tramvaiConfigRoot: string, appName: string, op
|
|
|
48
50
|
server?: import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse> | undefined;
|
|
49
51
|
builder: import("@tramvai/cli/lib/typings/build/Builder").Builder<any>;
|
|
50
52
|
}>;
|
|
53
|
+
//# sourceMappingURL=startCliRealApp.d.ts.map
|
package/lib/app/types.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ import type { start } from '@tramvai/cli';
|
|
|
2
2
|
type UnionToIntersection<T> = (T extends any ? (x: T) => any : never) extends (x: infer R) => any ? R : never;
|
|
3
3
|
export type StartOptions = UnionToIntersection<Parameters<typeof start>[0]>;
|
|
4
4
|
export {};
|
|
5
|
+
//# sourceMappingURL=types.d.ts.map
|
package/lib/app/utils.d.ts
CHANGED
|
@@ -6,3 +6,4 @@ export declare const getServerUrl: ({ server }: CliResult) => string;
|
|
|
6
6
|
export declare const getStaticUrl: ({ staticServer }: CliResult) => string;
|
|
7
7
|
export declare const getUtilityServerUrl: (env: StartCliOptions['env'], { server }: CliResult) => string;
|
|
8
8
|
export {};
|
|
9
|
+
//# sourceMappingURL=utils.d.ts.map
|
package/lib/helpers/sleep.d.ts
CHANGED
package/lib/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/test-integration",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.151.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@tinkoff/mocker": "2.1.6",
|
|
24
|
-
"@tramvai/test-helpers": "2.
|
|
24
|
+
"@tramvai/test-helpers": "2.151.0",
|
|
25
25
|
"env-ci": "^5.0.2",
|
|
26
26
|
"utility-types": "^3.10.0",
|
|
27
27
|
"wait-on": "^5.3.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@tinkoff/utils": "^2.1.2",
|
|
31
|
-
"@tramvai/cli": "2.
|
|
31
|
+
"@tramvai/cli": "2.151.0",
|
|
32
32
|
"tslib": "^2.4.0"
|
|
33
33
|
},
|
|
34
34
|
"license": "Apache-2.0",
|