@tramvai/module-child-app 5.41.2 → 5.45.2

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.
@@ -34,6 +34,7 @@ class ServerLoader extends Loader {
34
34
  type: 'json',
35
35
  kind: 'child-app stats',
36
36
  displayName: config.name,
37
+ silent: true,
37
38
  })
38
39
  // we can live without stats
39
40
  .catch(() => { }),
@@ -44,6 +45,7 @@ class ServerLoader extends Loader {
44
45
  type: 'json',
45
46
  kind: 'child-app loadable stats',
46
47
  displayName: config.name,
48
+ silent: true,
47
49
  })
48
50
  // we can live without loadable stats, for backward compatibility is ok
49
51
  // but hydration errors will occur when lazy component will loaded at client-side at demand
@@ -42,6 +42,7 @@ class ServerLoader extends loader.Loader {
42
42
  type: 'json',
43
43
  kind: 'child-app stats',
44
44
  displayName: config.name,
45
+ silent: true,
45
46
  })
46
47
  // we can live without stats
47
48
  .catch(() => { }),
@@ -52,6 +53,7 @@ class ServerLoader extends loader.Loader {
52
53
  type: 'json',
53
54
  kind: 'child-app loadable stats',
54
55
  displayName: config.name,
56
+ silent: true,
55
57
  })
56
58
  // we can live without loadable stats, for backward compatibility is ok
57
59
  // but hydration errors will occur when lazy component will loaded at client-side at demand
@@ -1,5 +1,5 @@
1
1
  import flatten from '@tinkoff/utils/array/flatten';
2
- import { provide, Scope, APP_INFO_TOKEN, optional } from '@tramvai/core';
2
+ import { provide, Scope, APP_INFO_TOKEN, TAPABLE_HOOK_FACTORY_TOKEN, COMMAND_LINE_RUNNER_PLUGIN, optional } from '@tramvai/core';
3
3
  import { ActionRegistry } from '@tramvai/module-common';
4
4
  import { LOGGER_TOKEN, COMPONENT_REGISTRY_TOKEN, LIMIT_ACTION_GLOBAL_TIME_RUN, ACTION_CONDITIONALS, DEFERRED_ACTIONS_MAP_TOKEN, EXECUTION_CONTEXT_MANAGER_TOKEN, COMMAND_LINE_EXECUTION_CONTEXT_TOKEN, PUBSUB_TOKEN, PUBSUB_FACTORY_TOKEN, DISPATCHER_CONTEXT_TOKEN, ASYNC_LOCAL_STORAGE_TOKEN, DISPATCHER_TOKEN, STORE_MIDDLEWARE, INITIAL_APP_STATE_TOKEN } from '@tramvai/tokens-common';
5
5
  import { RENDER_SLOTS } from '@tramvai/tokens-render';
@@ -63,6 +63,8 @@ const getChildProviders = (appDi, loadableStats) => {
63
63
  COMMAND_LINE_EXECUTION_CONTEXT_TOKEN,
64
64
  PUBSUB_TOKEN,
65
65
  PUBSUB_FACTORY_TOKEN,
66
+ TAPABLE_HOOK_FACTORY_TOKEN,
67
+ COMMAND_LINE_RUNNER_PLUGIN,
66
68
  ],
67
69
  }),
68
70
  ...getChildProviders$1(appDi),
@@ -1,5 +1,5 @@
1
1
  import flatten from '@tinkoff/utils/array/flatten';
2
- import { provide, Scope, APP_INFO_TOKEN, optional } from '@tramvai/core';
2
+ import { provide, Scope, APP_INFO_TOKEN, TAPABLE_HOOK_FACTORY_TOKEN, COMMAND_LINE_RUNNER_PLUGIN, optional } from '@tramvai/core';
3
3
  import { ActionRegistry } from '@tramvai/module-common';
4
4
  import { LOGGER_TOKEN, COMPONENT_REGISTRY_TOKEN, LIMIT_ACTION_GLOBAL_TIME_RUN, ACTION_CONDITIONALS, DEFERRED_ACTIONS_MAP_TOKEN, EXECUTION_CONTEXT_MANAGER_TOKEN, COMMAND_LINE_EXECUTION_CONTEXT_TOKEN, PUBSUB_TOKEN, PUBSUB_FACTORY_TOKEN, DISPATCHER_CONTEXT_TOKEN, ASYNC_LOCAL_STORAGE_TOKEN, DISPATCHER_TOKEN, STORE_MIDDLEWARE, INITIAL_APP_STATE_TOKEN } from '@tramvai/tokens-common';
5
5
  import { RENDER_SLOTS } from '@tramvai/tokens-render';
@@ -63,6 +63,8 @@ const getChildProviders = (appDi, loadableStats) => {
63
63
  COMMAND_LINE_EXECUTION_CONTEXT_TOKEN,
64
64
  PUBSUB_TOKEN,
65
65
  PUBSUB_FACTORY_TOKEN,
66
+ TAPABLE_HOOK_FACTORY_TOKEN,
67
+ COMMAND_LINE_RUNNER_PLUGIN,
66
68
  ],
67
69
  }),
68
70
  ...getChildProviders$1(),
@@ -71,6 +71,8 @@ const getChildProviders = (appDi, loadableStats) => {
71
71
  tokensCommon.COMMAND_LINE_EXECUTION_CONTEXT_TOKEN,
72
72
  tokensCommon.PUBSUB_TOKEN,
73
73
  tokensCommon.PUBSUB_FACTORY_TOKEN,
74
+ core.TAPABLE_HOOK_FACTORY_TOKEN,
75
+ core.COMMAND_LINE_RUNNER_PLUGIN,
74
76
  ],
75
77
  }),
76
78
  ...singletonProviders.getChildProviders(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-child-app",
3
- "version": "5.41.2",
3
+ "version": "5.45.2",
4
4
  "description": "Module for child apps",
5
5
  "browser": {
6
6
  "./lib/server.js": "./lib/browser.js",
@@ -32,25 +32,25 @@
32
32
  "@loadable/server": "^5.15.0",
33
33
  "@tinkoff/env-validators": "0.4.2",
34
34
  "@tinkoff/module-loader-client": "0.7.3",
35
- "@tinkoff/module-loader-server": "0.8.5",
36
- "@tramvai/module-common": "5.41.2",
35
+ "@tinkoff/module-loader-server": "0.8.6",
36
+ "@tramvai/module-common": "5.45.2",
37
37
  "@tinkoff/url": "0.11.2",
38
38
  "@tinkoff/errors": "0.6.2",
39
- "@tramvai/child-app-core": "5.41.2",
39
+ "@tramvai/child-app-core": "5.45.2",
40
40
  "@tramvai/safe-strings": "0.8.4",
41
- "@tramvai/tokens-child-app": "5.41.2"
41
+ "@tramvai/tokens-child-app": "5.45.2"
42
42
  },
43
43
  "devDependencies": {},
44
44
  "peerDependencies": {
45
45
  "@tinkoff/dippy": "0.11.4",
46
- "@tinkoff/router": "0.5.99",
46
+ "@tinkoff/router": "0.5.108",
47
47
  "@tinkoff/utils": "^2.1.2",
48
- "@tramvai/core": "5.41.2",
49
- "@tramvai/state": "5.41.2",
50
- "@tramvai/react": "5.41.2",
51
- "@tramvai/tokens-common": "5.41.2",
52
- "@tramvai/tokens-render": "5.41.2",
53
- "@tramvai/tokens-router": "5.41.2",
48
+ "@tramvai/core": "5.45.2",
49
+ "@tramvai/state": "5.45.2",
50
+ "@tramvai/react": "5.45.2",
51
+ "@tramvai/tokens-common": "5.45.2",
52
+ "@tramvai/tokens-render": "5.45.2",
53
+ "@tramvai/tokens-router": "5.45.2",
54
54
  "react": ">=16.14.0",
55
55
  "react-dom": ">=16.14.0",
56
56
  "object-assign": "^4.1.1",