@eui/tools 4.18.7 → 4.18.8
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
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.18.
|
|
1
|
+
4.18.8
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 4.18.8 (2022-01-13)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **build-sub-package:**
|
|
6
|
+
* ng-packager config deprecated inside package.json - EUI-5416 [EUI-5416](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-5416) ([5226eb1a](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/5226eb1ab3ca33c3c3dd7cc67f790bc1b1997d4f))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 4.18.7 (2022-01-03)
|
|
2
11
|
|
|
3
12
|
##### Chores
|
package/package.json
CHANGED
|
@@ -556,7 +556,7 @@ const angularPackageSubEntryDef = {
|
|
|
556
556
|
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
557
557
|
"options": {
|
|
558
558
|
"tsConfig": "packages/eui/packages/components/tsconfig.lib.json",
|
|
559
|
-
"project": "packages/eui/packages/components/@subEntry.path
|
|
559
|
+
"project": "packages/eui/packages/components/@subEntry.path@/@subEntry.package.name@"
|
|
560
560
|
},
|
|
561
561
|
"configurations": {
|
|
562
562
|
"production": {
|
|
@@ -766,7 +766,8 @@ module.exports.registerAngularPackageSubEntry = (subEntryName, subEntryPath) =>
|
|
|
766
766
|
|
|
767
767
|
let projectDef = JSON.stringify(angularPackageSubEntryDef);
|
|
768
768
|
|
|
769
|
-
|
|
769
|
+
let replacePath = tools.replaceAll(projectDef, '@subEntry.path@', subEntryPath)
|
|
770
|
+
replacePath = tools.replaceAll(replacePath, '@subEntry.package.name@', 'ng-package.json');
|
|
770
771
|
|
|
771
772
|
jsonFile['projects'][subEntryName] = JSON.parse(replacePath);
|
|
772
773
|
|
|
@@ -214,7 +214,7 @@ module.exports.buildSubEntry = (pkg, subEntry) => {
|
|
|
214
214
|
return;
|
|
215
215
|
|
|
216
216
|
} else {
|
|
217
|
-
subEntryPath = subEntryPath.replace('/package.json', '');
|
|
217
|
+
subEntryPath = subEntryPath.replace('/ng-package.json', '');
|
|
218
218
|
tools.logInfo(`${subEntryPath} found... injecting angular.json for sub entry`);
|
|
219
219
|
|
|
220
220
|
return configUtils.angular.registerAngularPackageSubEntry(subEntry, subEntryPath);
|