@eui/tools 6.3.42 → 6.3.44

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.
@@ -1 +1 @@
1
- 6.3.42
1
+ 6.3.44
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.3.44 (2023-02-21)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * addition of StoreRouterConnectingModule.forRoot for v10 and v15 skeletons (both participant and section) MWP-9235 [MWP-9235](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9235) ([cb50f2b9](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/cb50f2b952050256abd70e3866bf018a212d8199))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.3.43 (2023-02-21)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * addition of configMapping for the both v10 and v15 skeletons (both participant and section) MWP-9235 [MWP-9235](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9235) ([2ff1aa3f](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/2ff1aa3f96804ce5d3ef9e53227bf02c1f6725f5))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.3.42 (2023-02-21)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.3.42",
3
+ "version": "6.3.44",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -47,6 +47,7 @@ import { ModuleComponent } from './module.component';
47
47
  BrowserModule,
48
48
  BrowserAnimationsModule,
49
49
  HttpClientModule,
50
+ StoreRouterConnectingModule.forRoot({ stateKey: 'router', serializer: CustomSerializer }),
50
51
  EffectsModule.forRoot([]),
51
52
  StoreDevtoolsModule.instrument({ name: appConfig.global.storeName, maxAge: 150, logOnly: environment.production }),
52
53
  TranslateModule.forRoot(translateConfig),
@@ -1,20 +1,10 @@
1
1
  import { GLOBAL } from './global';
2
2
  import { MODULES } from './modules';
3
- import { EuiAppConfig, LogLevel, ConsoleAppender, LogConfig } from '@eui/core';
4
3
 
5
- /**
6
- * Log Configuration
7
- */
8
- const logConfig: LogConfig = {
9
- logLevel: LogLevel.ALL,
10
- logAppenders: [{
11
- type: ConsoleAppender,
12
- prefixFormat: '[{level}]',
13
- }],
14
- };
4
+ import { EuiAppConfig } from '@eui/core';
5
+ import { configMapping } from '@csdr/integration/element';
15
6
 
16
- export const appConfig: EuiAppConfig = {
7
+ export const appConfig: EuiAppConfig = configMapping({
17
8
  global: GLOBAL,
18
9
  modules: MODULES,
19
- log: logConfig,
20
- };
10
+ });
@@ -50,6 +50,7 @@ import { ModuleComponent } from './module.component';
50
50
  BrowserModule,
51
51
  BrowserAnimationsModule,
52
52
  HttpClientModule,
53
+ StoreRouterConnectingModule.forRoot({ stateKey: 'router', serializer: CustomSerializer }),
53
54
  EffectsModule.forRoot([]),
54
55
  StoreDevtoolsModule.instrument({ name: appConfig.global.storeName, maxAge: 150, logOnly: environment.production }),
55
56
  TranslateModule.forRoot(translateConfig),
@@ -1,20 +1,10 @@
1
1
  import { GLOBAL } from './global';
2
2
  import { MODULES } from './modules';
3
- import { EuiAppConfig, LogLevel, ConsoleAppender, LogConfig } from '@eui/core';
4
3
 
5
- /**
6
- * Log Configuration
7
- */
8
- const logConfig: LogConfig = {
9
- logLevel: LogLevel.ALL,
10
- logAppenders: [{
11
- type: ConsoleAppender,
12
- prefixFormat: '[{level}]',
13
- }],
14
- };
4
+ import { EuiAppConfig } from '@eui/core';
5
+ import { configMapping } from '@csdr/integration/element';
15
6
 
16
- export const appConfig: EuiAppConfig = {
7
+ export const appConfig: EuiAppConfig = configMapping({
17
8
  global: GLOBAL,
18
9
  modules: MODULES,
19
- log: logConfig,
20
- };
10
+ });
@@ -171,7 +171,6 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemote = true) => {
171
171
  // if no options found, we inject default modules defs
172
172
  if (!remote.skeletonConfig.options) {
173
173
  definitionsContent.push('StoreModule.forRoot(TOKEN, { metaReducers })');
174
- definitionsContent.push(`StoreRouterConnectingModule.forRoot({ stateKey: 'router', serializer: CustomSerializer })`);
175
174
 
176
175
 
177
176
  // if options, all options are checked and default modules defs are injected following certain conditions
@@ -212,8 +211,6 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemote = true) => {
212
211
  if (remote.skeletonConfig.options.participant) {
213
212
  tools.copy(optionParticipantPath, remoteSrcPath);
214
213
  pushContent(optionParticipantDef);
215
- } else {
216
- definitionsContent.push(`StoreRouterConnectingModule.forRoot({ stateKey: 'router', serializer: CustomSerializer })`);
217
214
  }
218
215
 
219
216
  if (remote.skeletonConfig.options.participant) {