@eui/tools 6.15.14 → 6.15.16
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/.version.properties +1 -1
- package/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/scripts/csdr/config/projects.js +13 -0
- package/scripts/csdr/init/remotes/17.x/full/options/definitions/zipkin.json +2 -3
- package/scripts/utils/build/app/build-app-utils.js +11 -2
- package/scripts/utils/build/package/element.js +5 -1
- package/scripts/utils/serve/app.js +5 -1
- package/scripts/utils/serve/element.js +1 -1
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.15.
|
|
1
|
+
6.15.16
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.15.16 (2024-02-21)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* removing TRACE_MODULE_CONFIGURATION provider injection at remote level when zipkin metadata is set MWP-10614 [MWP-10614](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-10614) ([c48f6709](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/c48f6709333e5bde5dd9c41de536d9da91d75155))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.15.15 (2024-02-19)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* adds serve-path angular CLI support - EUI-8867 [EUI-8867](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-8867) ([d58dba31](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/d58dba3118651fdf040fbd52ed0a361fb38a4847))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.15.14 (2024-02-06)
|
|
2
20
|
|
|
3
21
|
##### Refactors
|
package/package.json
CHANGED
|
@@ -236,6 +236,19 @@ module.exports.getBaseHref = (prj, version, providedBaseHref) => {
|
|
|
236
236
|
return null;
|
|
237
237
|
};
|
|
238
238
|
|
|
239
|
+
module.exports.getServePath = (prj, version, providedServePath) => {
|
|
240
|
+
tools.logInfo('Constructing servePath:');
|
|
241
|
+
tools.logInfo('provided args: ');
|
|
242
|
+
console.log(version, providedServePath);
|
|
243
|
+
|
|
244
|
+
if (providedServePath) {
|
|
245
|
+
tools.logInfo(`---> provided servePath: ${providedServePath}`);
|
|
246
|
+
return providedServePath;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
return null;
|
|
250
|
+
};
|
|
251
|
+
|
|
239
252
|
const getEuiVersionCore = (project) => {
|
|
240
253
|
let version;
|
|
241
254
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"imports": "import {
|
|
3
|
-
"definitions": "ZipkinModule.forRoot()"
|
|
4
|
-
"providers": "{ provide: TRACE_MODULE_CONFIGURATION, useFactory: getZipkinConfig, deps: [CONFIG_TOKEN] }"
|
|
2
|
+
"imports": "import { ZipkinModule } from '@csdr/zipkin-tracing';",
|
|
3
|
+
"definitions": "ZipkinModule.forRoot()"
|
|
5
4
|
}
|
|
@@ -39,6 +39,7 @@ module.exports.angular = (
|
|
|
39
39
|
skipCompile,
|
|
40
40
|
configuration,
|
|
41
41
|
baseHref,
|
|
42
|
+
servePath,
|
|
42
43
|
watch,
|
|
43
44
|
dryRun,
|
|
44
45
|
maxSpaceSize,
|
|
@@ -104,9 +105,12 @@ module.exports.angular = (
|
|
|
104
105
|
if (currentProject.build.sourceMap) {
|
|
105
106
|
sourceMap = true;
|
|
106
107
|
}
|
|
107
|
-
// getting baseHref from project config, dynamic or
|
|
108
|
+
// getting baseHref from project config, dynamic or statically defined
|
|
108
109
|
baseHref = configUtils.projects.getBaseHref(currentProject, version, baseHref);
|
|
109
110
|
tools.logInfo(`base-href found : ${baseHref}`);
|
|
111
|
+
// getting servePath from project config, dynamic or statically defined
|
|
112
|
+
servePath = configUtils.projects.getServePath(currentProject, version, servePath);
|
|
113
|
+
tools.logInfo(`serve-path found : ${servePath}`);
|
|
110
114
|
}
|
|
111
115
|
|
|
112
116
|
return Promise.resolve()
|
|
@@ -249,6 +253,10 @@ module.exports.angular = (
|
|
|
249
253
|
args.push(`--base-href=${baseHref}`);
|
|
250
254
|
}
|
|
251
255
|
|
|
256
|
+
if (servePath) {
|
|
257
|
+
args.push(`--serve-path=${servePath}`);
|
|
258
|
+
}
|
|
259
|
+
|
|
252
260
|
if (deployUrl) {
|
|
253
261
|
args.push(`--deploy-url=${deployUrl}`);
|
|
254
262
|
}
|
|
@@ -338,10 +346,11 @@ const generateProjectDistributionList = module.exports.generateProjectDistributi
|
|
|
338
346
|
|
|
339
347
|
tools.logInfo(`Current project version : ${version}`);
|
|
340
348
|
const baseHref = configUtils.projects.getBaseHref(project, version);
|
|
349
|
+
const servePath = configUtils.projects.getServePath(project, version);
|
|
341
350
|
|
|
342
351
|
tools.logInfo(`Distribution folder : ${baseHref}`);
|
|
343
352
|
|
|
344
|
-
// getting
|
|
353
|
+
// getting bucketName if provided
|
|
345
354
|
let bucketName;
|
|
346
355
|
if (project.build && project.build.distribution) {
|
|
347
356
|
// PROD bucket is taken as a default
|
|
@@ -10,7 +10,7 @@ const configUtils = require('../../../csdr/config/config-utils');
|
|
|
10
10
|
const preBuildUtils = require('../../pre-build/pre-build-utils');
|
|
11
11
|
const remotesUtils = require('../../remotes/remotes-utils');
|
|
12
12
|
|
|
13
|
-
let { configuration, baseHref, dryRun, statsJson, sourceMap, build, skipCompile } = tools.getArgs();
|
|
13
|
+
let { configuration, baseHref, servePath, dryRun, statsJson, sourceMap, build, skipCompile } = tools.getArgs();
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
module.exports.build = (pkg, isMaster) => {
|
|
@@ -55,6 +55,10 @@ module.exports.build = (pkg, isMaster) => {
|
|
|
55
55
|
args.push(`--base-href=${baseHref}`);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
if (servePath) {
|
|
59
|
+
args.push(`--serve-path=${servePath}`);
|
|
60
|
+
}
|
|
61
|
+
|
|
58
62
|
if (versionNumber <= 10) {
|
|
59
63
|
const webpackExtraFile = path.join(pkg.paths.root, 'webpack.extra.js');
|
|
60
64
|
if (tools.isFileExists(webpackExtraFile)) {
|
|
@@ -10,7 +10,7 @@ const configUtils = require('../../csdr/config/config-utils');
|
|
|
10
10
|
|
|
11
11
|
module.exports.serve = () => {
|
|
12
12
|
|
|
13
|
-
let { configuration, baseHref, host, proxyConfig, maxSpaceSize, port, disableHostCheck, open, debug, configEnvTarget } = tools.getArgs();
|
|
13
|
+
let { configuration, baseHref, servePath, host, proxyConfig, maxSpaceSize, port, disableHostCheck, open, debug, configEnvTarget } = tools.getArgs();
|
|
14
14
|
|
|
15
15
|
const prj = configUtils.projects.getProject();
|
|
16
16
|
|
|
@@ -61,6 +61,10 @@ module.exports.serve = () => {
|
|
|
61
61
|
args.push(`--base-href=${baseHref}`);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
+
if (servePath) {
|
|
65
|
+
args.push(`--serve-path=${servePath}`);
|
|
66
|
+
}
|
|
67
|
+
|
|
64
68
|
if (host) {
|
|
65
69
|
args.push(`--host=${host}`);
|
|
66
70
|
}
|
|
@@ -12,7 +12,7 @@ const configUtils = require('../../csdr/config/config-utils');
|
|
|
12
12
|
|
|
13
13
|
module.exports.serve = (remote = false) => {
|
|
14
14
|
|
|
15
|
-
let { project, configuration, baseHref, host, proxyConfig, maxSpaceSize, port } = tools.getArgs();
|
|
15
|
+
let { project, configuration, baseHref, servePath, host, proxyConfig, maxSpaceSize, port } = tools.getArgs();
|
|
16
16
|
|
|
17
17
|
let pkg;
|
|
18
18
|
if (remote) {
|