@tramvai/test-child-app 2.24.3 → 2.25.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.
package/lib/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { createTestApp, testApp } from '@tramvai/test-unit';
2
- import { provide } from '@tramvai/core';
3
1
  import { CHILD_APP_RESOLVE_BASE_URL_TOKEN, CHILD_APP_RESOLUTION_CONFIGS_TOKEN, CHILD_APP_LOADER_TOKEN, CHILD_APP_RESOLUTION_CONFIG_MANAGER_TOKEN, CHILD_APP_RESOLVE_CONFIG_TOKEN, CHILD_APP_DI_MANAGER_TOKEN, CHILD_APP_INTERNAL_RENDER_TOKEN } from '@tramvai/child-app-core';
2
+ import { provide } from '@tramvai/core';
4
3
  import { ChildAppModule } from '@tramvai/module-child-app';
4
+ import { createTestApp, testApp } from '@tramvai/test-unit';
5
5
 
6
6
  // mock module federation internal stuff
7
7
  // @ts-ignore
package/lib/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var testUnit = require('@tramvai/test-unit');
6
- var core = require('@tramvai/core');
7
5
  var childAppCore = require('@tramvai/child-app-core');
6
+ var core = require('@tramvai/core');
8
7
  var moduleChildApp = require('@tramvai/module-child-app');
8
+ var testUnit = require('@tramvai/test-unit');
9
9
 
10
10
  // mock module federation internal stuff
11
11
  // @ts-ignore
@@ -1,6 +1,5 @@
1
- /// <reference types="node" />
2
- import { createTestApp } from '@tramvai/test-unit';
3
1
  import type { ChildApp } from '@tramvai/child-app-core';
2
+ import { createTestApp } from '@tramvai/test-unit';
4
3
  declare type Options = Parameters<typeof createTestApp>[0];
5
4
  export declare const testChildApp: (childApp: ChildApp, options?: Options) => Promise<{
6
5
  childApp: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/test-child-app",
3
- "version": "2.24.3",
3
+ "version": "2.25.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -18,17 +18,17 @@
18
18
  "build-for-publish": "true"
19
19
  },
20
20
  "dependencies": {
21
- "@tramvai/child-app-core": "2.24.3",
22
- "@tramvai/core": "2.24.3",
23
- "@tramvai/test-unit": "2.24.3",
24
- "tslib": "^2.0.3"
21
+ "@tramvai/child-app-core": "2.25.1",
22
+ "@tramvai/core": "2.25.1",
23
+ "@tramvai/test-unit": "2.25.1",
24
+ "tslib": "^2.4.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@tramvai/react": "2.24.3",
27
+ "@tramvai/react": "2.25.1",
28
28
  "react": "18.2.0"
29
29
  },
30
30
  "peerDependencies": {
31
- "@tramvai/module-child-app": "2.24.3"
31
+ "@tramvai/module-child-app": "2.25.1"
32
32
  },
33
33
  "license": "Apache-2.0",
34
34
  "module": "lib/index.es.js"