@eui/tools 6.2.38 → 6.2.40
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/config-skeletons.js +1 -1
- package/scripts/csdr/init/remotes/15.x/angular.json +8 -0
- package/scripts/utils/pre-build/elements.js +7 -0
- package/scripts/utils/serve/element.js +9 -4
- package/scripts/csdr/init/resources/15.x/resolutions.json +0 -6
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.2.
|
|
1
|
+
6.2.40
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.2.40 (2022-11-23)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* added development config for v15 virtual remotes - MWP-9039 [MWP-9039](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9039) ([eab8fa12](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/eab8fa12fbac6f053952631e9d3503b6631a5d20))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.2.39 (2022-11-23)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* removed resolutions for v15 package breaking up slack output - adapted proxy-mock config for v14+ serve - MWP-9039 [MWP-9039](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9039) ([20ffb76d](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/20ffb76d184d47ab489fccb5259ec8ddff4e1300))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.2.38 (2022-11-22)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -526,7 +526,7 @@ module.exports.angularProjectDefV14 = {
|
|
|
526
526
|
},
|
|
527
527
|
"configurations": {
|
|
528
528
|
"proxy-mock": {
|
|
529
|
-
"browserTarget": "@project.name@:build",
|
|
529
|
+
"browserTarget": "@project.name@:build:development",
|
|
530
530
|
"proxyConfig": "apps/@project.name@/proxy-mock.conf.json"
|
|
531
531
|
},
|
|
532
532
|
"production": {
|
|
@@ -49,6 +49,14 @@
|
|
|
49
49
|
]
|
|
50
50
|
},
|
|
51
51
|
"configurations": {
|
|
52
|
+
"development": {
|
|
53
|
+
"buildOptimizer": false,
|
|
54
|
+
"optimization": false,
|
|
55
|
+
"vendorChunk": true,
|
|
56
|
+
"extractLicenses": false,
|
|
57
|
+
"sourceMap": true,
|
|
58
|
+
"namedChunks": true
|
|
59
|
+
},
|
|
52
60
|
"production": {
|
|
53
61
|
"fileReplacements": [
|
|
54
62
|
{
|
|
@@ -7,6 +7,7 @@ const tools = require('../tools');
|
|
|
7
7
|
const translationUtils = require('./translations/translation-utils');
|
|
8
8
|
const configUtils = require('../../csdr/config/config-utils');
|
|
9
9
|
const injectionUtils = require('./injection/injection-utils');
|
|
10
|
+
const initUtils = require('../../csdr/init/init-utils');
|
|
10
11
|
|
|
11
12
|
module.exports.preBuild = (pkg, build = false) => {
|
|
12
13
|
return Promise.resolve()
|
|
@@ -14,6 +15,12 @@ module.exports.preBuild = (pkg, build = false) => {
|
|
|
14
15
|
tools.logTitle('PRE-BUILD : preparing the element...')
|
|
15
16
|
})
|
|
16
17
|
|
|
18
|
+
.then(() => {
|
|
19
|
+
if (pkg.virtual) {
|
|
20
|
+
return initUtils.remotes.generateVirtualRemote(pkg.name, false);
|
|
21
|
+
}
|
|
22
|
+
})
|
|
23
|
+
|
|
17
24
|
.then(() => {
|
|
18
25
|
tools.logInfo('Registering angular project definition...');
|
|
19
26
|
return configUtils.angular.registerAngularProjectDef(pkg, build, true);
|
|
@@ -67,15 +67,20 @@ module.exports.serve = (remote = false) => {
|
|
|
67
67
|
if (euiVersionNumber <= 10) {
|
|
68
68
|
args.push(`--outputPath=${destPath}`);
|
|
69
69
|
args.push(`--single-bundle=true`);
|
|
70
|
+
|
|
71
|
+
if (!configuration) {
|
|
72
|
+
configuration = 'production';
|
|
73
|
+
}
|
|
70
74
|
} else {
|
|
75
|
+
if (!configuration) {
|
|
76
|
+
configuration = 'development';
|
|
77
|
+
}
|
|
71
78
|
args.push(`--output-path=${destPath}`);
|
|
72
79
|
}
|
|
73
80
|
|
|
74
|
-
args.push(`--
|
|
81
|
+
args.push(`--configuration=${configuration}`);
|
|
75
82
|
|
|
76
|
-
|
|
77
|
-
args.push(`--configuration=${configuration || 'production'}`);
|
|
78
|
-
}
|
|
83
|
+
args.push(`--output-hashing=none`);
|
|
79
84
|
|
|
80
85
|
const webpackExtraFile = path.join(pkg.paths.root, 'webpack.extra.js');
|
|
81
86
|
if (tools.isFileExists(webpackExtraFile)) {
|