@eui/tools 6.2.43 → 6.2.45

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.2.43
1
+ 6.2.45
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.2.45 (2023-01-09)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **build:**
6
+ * variable scoping for args - EUI-7035 [EUI-7035](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7035) ([c16f97ee](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/c16f97eeebdaa2a012135ee16f22a0915f64e582))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.2.44 (2022-12-08)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * appConfig mapping in csdr-integration MWP-9104 [MWP-9104](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9104) ([2272743d](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/2272743df39719485dca3add3e3528466cb67611))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.2.43 (2022-12-02)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.2.43",
3
+ "version": "6.2.45",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -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
+ });
@@ -1,3 +1,3 @@
1
1
  import { ModulesConfig } from '@eui/core';
2
2
 
3
- export const MODULES: ModulesConfig = JSON.parse(JSON.stringify(window['PROVIDERS']['CONFIG_TOKEN'].modules));
3
+ export const MODULES: ModulesConfig = {};
@@ -1,13 +1,15 @@
1
- import { GlobalConfig, I18nConfig, LocaleServiceConfig } from '@eui/core';
2
-
3
- /**
4
- * import and register locales (currently MWP uses only French and english)
5
- */
6
1
  import { registerLocaleData } from '@angular/common';
2
+
7
3
  import localeEn from '@angular/common/locales/en';
8
4
  import localeEnExtra from '@angular/common/locales/extra/en';
9
5
  import localeFr from '@angular/common/locales/fr';
10
6
  import localeFrExtra from '@angular/common/locales/extra/fr';
7
+
8
+ import { GlobalConfig, I18nConfig, LocaleServiceConfig } from '@eui/core';
9
+
10
+ /**
11
+ * import and register locales (currently MWP uses only French and English)
12
+ */
11
13
  registerLocaleData(localeEn, 'en', localeEnExtra);
12
14
  registerLocaleData(localeFr, 'fr', localeFrExtra);
13
15
 
@@ -8,11 +8,6 @@ const execa = require('execa');
8
8
  const tools = require('../../tools');
9
9
  const notificationUtils = require('../../notification/notification-utils');
10
10
  const cleanUtils = require('../../clean/clean-utils');
11
- const configUtils = require('../../../csdr/config/config-utils');
12
-
13
- // FETCH ARGS
14
- let { deps, skipClean, skipLint, skipTest, skipCompile, skipDoc } = tools.getArgs();
15
-
16
11
 
17
12
  module.exports.build = (pkg, isMaster) => {
18
13
 
@@ -20,14 +15,8 @@ module.exports.build = (pkg, isMaster) => {
20
15
 
21
16
  const ng = path.resolve(process.cwd(), 'node_modules', '@angular', 'cli', 'bin', 'ng');
22
17
 
23
- if (pkg.build) {
24
- if (pkg.build.skipLint) {
25
- skipLint = true;
26
- }
27
- if (pkg.build.skipTest) {
28
- skipTest = true;
29
- }
30
- }
18
+ // FETCH ARGS
19
+ let { deps, skipClean, skipLint, skipTest, skipCompile, skipDoc } = pkg.build? pkg.build : tools.getArgs();
31
20
 
32
21
  return Promise.resolve()
33
22
  .then(() => {