@eui/tools 6.21.110 → 6.21.112

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.21.110
1
+ 6.21.112
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.21.112 (2025-09-02)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * add karma-config for CI - sdlc compat - MWP-11955 [MWP-11955](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11955) ([21fb5fa0](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/21fb5fa00a9086f31a0995e1725a0566362769c5))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.21.111 (2025-08-27)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * adapted gitignore for sdlc-migrate - MWP-11955 [MWP-11955](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11955) ([e1b3b9b8](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/e1b3b9b86e339a4c5ca360287ab5e35e30869283))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.21.110 (2025-08-26)
2
20
 
3
21
  ##### Chores
@@ -0,0 +1,97 @@
1
+ 'use strict';
2
+
3
+ // Karma configuration file, see link for more information
4
+ // https://karma-runner.github.io/1.0/config/configuration-file.html
5
+
6
+ function get(config, pkg, inputOpt) {
7
+
8
+ const DEFAULT_OPTS = {
9
+ files: [],
10
+ basePath: '../../../',
11
+ packageRootPath: './',
12
+ };
13
+
14
+ const opt = Object.assign(DEFAULT_OPTS, inputOpt);
15
+
16
+ // transpiled app JS and map files
17
+ const libPath = opt.packageRootPath;
18
+
19
+ const defaultConfig = {
20
+ basePath: libPath,
21
+ frameworks: ['jasmine', '@angular-devkit/build-angular'],
22
+ plugins: [
23
+ require('karma-jasmine'),
24
+ require('karma-chrome-launcher'),
25
+ require('karma-jasmine-html-reporter'),
26
+ require('karma-coverage-istanbul-reporter'),
27
+ require('@angular-devkit/build-angular/plugins/karma'),
28
+ require('karma-coverage'),
29
+ require('karma-remap-coverage')
30
+ ],
31
+ client: {
32
+ clearContext: false // leave Jasmine Spec Runner output visible in browser
33
+ },
34
+ coverageIstanbulReporter: {
35
+ // dir: require('path').join(__dirname, './coverage'),
36
+ dir: require('path').join(opt.packageRootPath,'test', 'reports', 'coverage'),
37
+ reports: ['html', 'lcovonly'],
38
+ fixWebpackSourcePaths: true
39
+ },
40
+ exclude: [],
41
+ preprocessors: {},
42
+ reporters: ['progress', 'coverage', 'remap-coverage'],
43
+
44
+ htmlReporter: {
45
+ outputDir: opt.packageRootPath + '/test/reports', // where to put the reports
46
+ templatePath: null, // set if you moved jasmine_template.html
47
+ focusOnFailures: true, // reports show failures on start
48
+ namedFiles: true, // name files instead of creating sub-directories
49
+ pageTitle: null, // page title for reports; browser info by default
50
+ urlFriendlyName: false, // simply replaces spaces with _ for files/dirs
51
+ reportName: 'test-report-summary', // report summary filename; browser info by default
52
+
53
+
54
+ // experimental
55
+ preserveDescribeNesting: false, // folded suites stay folded
56
+ foldAll: false, // reports start folded (only with preserveDescribeNesting)
57
+ },
58
+
59
+ coverageReporter: {
60
+ type: 'in-memory',
61
+ includeAllSources: true,
62
+ },
63
+
64
+ remapCoverageReporter: {
65
+ 'text-summary': null,
66
+ html: opt.packageRootPath + '/test/reports' + '/html',
67
+ lcovonly: opt.packageRootPath + '/test/reports' + '/coverage-lcov/lcov.info',
68
+ json: opt.packageRootPath + '/test/reports' + '/coverage/coverage-final.json',
69
+ },
70
+
71
+ customLaunchers: {
72
+ MyHeadlessChrome: {
73
+ base: 'ChromeHeadless',
74
+ flags: [
75
+ '--no-sandbox',
76
+ '--remote-debugging-port=9223',
77
+ '--disable-translate',
78
+ '--disable-extensions'
79
+ ]
80
+ }
81
+ },
82
+ port: 9876,
83
+ colors: true,
84
+ logLevel: config.LOG_INFO,
85
+ autoWatch: true,
86
+ browsers: ['MyHeadlessChrome'],
87
+ singleRun: true,
88
+ browserDisconnectTolerance: 2,
89
+ browserNoActivityTimeout: 50000
90
+ };
91
+
92
+ defaultConfig.preprocessors[opt.packageRootPath + '/src/lib/**/!(*.spec).js'] = 'coverage';
93
+
94
+ return defaultConfig;
95
+ }
96
+
97
+ module.exports.get = get;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.110",
3
+ "version": "6.21.112",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -3,7 +3,7 @@
3
3
  const path = require('path');
4
4
  const tools = require('../tools');
5
5
 
6
- let { subgroup } = tools.getArgs();
6
+ let { subgroup, remoteNpmPkg } = tools.getArgs();
7
7
 
8
8
 
9
9
  module.exports.migrate = (pkg) => {
@@ -71,8 +71,12 @@ module.exports.migrate = (pkg) => {
71
71
  }
72
72
 
73
73
  tools.logInfo('Duplicating remote config');
74
+
75
+ let remotePrefix = `${pkg.npmPkg.split('/')[0].substr(1)}-${pkg.npmPkg.split('/')[1]}`;
74
76
 
75
- const remotePrefix = `${pkg.npmPkg.split('/')[0].substr(1)}-${pkg.npmPkg.split('/')[1]}`;
77
+ if (remoteNpmPkg) {
78
+ remotePrefix = `${remoteNpmPkg.split('/')[0].substr(1)}-${remoteNpmPkg.split('/')[1]}`;
79
+ }
76
80
 
77
81
  // getting eUI version for package
78
82
  const depsJson = require(path.join(pkg.paths.root, 'dependencies-composite.json'));
@@ -53,15 +53,18 @@ Thumbs.db
53
53
  # CI generated
54
54
  .browserslistrc
55
55
  variables
56
- version.properties
56
+ .version.properties
57
57
  audit.json
58
58
  angular.json
59
59
  .eslintrc.eui19.standalone.json
60
+ .eslintrc.eui19.standalone-relaxed.json
60
61
  .eslintrc.eui18.standalone.json
61
62
  .eslintrc.standalone.json
63
+ .eslintrc.standalone-relaxed.json
62
64
  tsconfig.standalone.json
63
65
  tsconfig.lib.standalone.json
64
66
  tsconfig.spec.standalone.json
65
67
  tsconfig.spec.standalone-subentry.json
66
68
  karma.conf.standalone.js
67
69
  yarn.lock
70
+ sonar-project.properties