@eui/tools 6.7.5 → 6.8.1
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/angular.js +17 -3
- package/scripts/csdr/init/resources/16.x/browserslistrc +6 -0
- package/scripts/csdr/init/resources/16.x/resolutions.json +2 -0
- package/scripts/csdr/init/resources/16.x/yarn.lock +12961 -0
- package/scripts/utils/build/package/build-package-utils.js +1 -1
- package/scripts/utils/build/package/styles.js +2 -1
- package/scripts/utils/pre-build/injection/skeletons.js +1 -1
- package/scripts/utils/pre-build/projects.js +2 -0
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.
|
|
1
|
+
6.8.1
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.8.1 (2023-03-10)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* project eUI version fetch when no dependencies-composite - EUI-7240 [EUI-7240](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7240) ([f78ecdc8](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/f78ecdc823d2d7ebd49b21dea47ac70c59cfc6db))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.8.0 (2023-03-09)
|
|
11
|
+
|
|
12
|
+
##### New Features
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* adapted build scripts for eUI 16 - EUI-7240 [EUI-7240](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7240) ([c3693b58](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/c3693b5893a812038e3031ae4b9ef59c2cc09bcd))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.7.5 (2023-03-09)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -93,6 +93,9 @@ module.exports.registerAngularPackage = (pkg, isReset) => {
|
|
|
93
93
|
if (packageEuiVersion === '15.x') {
|
|
94
94
|
projectDef = JSON.stringify(angularPackageDefV15);
|
|
95
95
|
}
|
|
96
|
+
if (packageEuiVersion === '16.x') {
|
|
97
|
+
projectDef = JSON.stringify(angularPackageDefV15);
|
|
98
|
+
}
|
|
96
99
|
|
|
97
100
|
let srcRoot = '/src', srcRootTesting = '';
|
|
98
101
|
if (pkg.build && typeof pkg.build.srcRootDefault === 'boolean' && pkg.build.srcRootDefault === false) {
|
|
@@ -124,11 +127,15 @@ module.exports.registerAngularPackageSubEntry = (subEntryName, subEntryPath, pkg
|
|
|
124
127
|
projectDef = JSON.stringify(angularPackageSubEntryDef15);
|
|
125
128
|
projectDef = projectDef.replace('"main":"packages/eui/packages/components/@subEntry.path@/test.ts",', '');
|
|
126
129
|
}
|
|
130
|
+
if (packageEuiVersion === '16.x') {
|
|
131
|
+
projectDef = JSON.stringify(angularPackageSubEntryDef15);
|
|
132
|
+
projectDef = projectDef.replace('"main":"packages/eui/packages/components/@subEntry.path@/test.ts",', '');
|
|
133
|
+
}
|
|
127
134
|
projectDef = tools.replaceAll(projectDef, '@subEntry.path@', subEntryName)
|
|
128
135
|
projectDef = tools.replaceAll(projectDef, '@subEntry.package.name@', 'ng-package.json');
|
|
129
136
|
projectDef = tools.replaceAll(projectDef, '@tsconfig@', pkg.tsConfigFileName);
|
|
130
137
|
|
|
131
|
-
if (packageEuiVersion === '15.x') {
|
|
138
|
+
if (packageEuiVersion === '15.x' || packageEuiVersion === '16.x') {
|
|
132
139
|
// if tsconfig is missing add it
|
|
133
140
|
const tsConfigSpecPath = path.join(process.cwd(), JSON.parse(projectDef).architect.test.options.tsConfig);
|
|
134
141
|
// check if tsconfig exists otherwise created it
|
|
@@ -182,6 +189,13 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
|
|
|
182
189
|
angularRootPath = project.paths.root;
|
|
183
190
|
} else {
|
|
184
191
|
euiVersion = innerProjects.getProjectEuiVersion(project);
|
|
192
|
+
|
|
193
|
+
if (!euiVersion) {
|
|
194
|
+
if (project.build && project.build.euiVersion) {
|
|
195
|
+
euiVersion = project.build.euiVersion;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
185
199
|
angularRootPath = project.paths.angularPath;
|
|
186
200
|
}
|
|
187
201
|
|
|
@@ -218,7 +232,7 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
|
|
|
218
232
|
if (euiVersion === '13.x') {
|
|
219
233
|
projectDef = JSON.stringify(angularProjectDefFullSkeletonV13);
|
|
220
234
|
tools.logInfo(`----using angularProjectDefFullSkeletonV13`);
|
|
221
|
-
} else if (euiVersion === '14.x' || euiVersion === '15.x') {
|
|
235
|
+
} else if (euiVersion === '14.x' || euiVersion === '15.x' || euiVersion === '16.x') {
|
|
222
236
|
projectDef = JSON.stringify(angularProjectDefFullSkeletonV14);
|
|
223
237
|
tools.logInfo(`----using angularProjectDefFullSkeletonV14`);
|
|
224
238
|
} else {
|
|
@@ -230,7 +244,7 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
|
|
|
230
244
|
if (euiVersion === '13.x') {
|
|
231
245
|
projectDef = JSON.stringify(angularProjectDefV13);
|
|
232
246
|
tools.logInfo(`----using angularProjectDefV13`);
|
|
233
|
-
} else if (euiVersion === '14.x' || euiVersion === '15.x') {
|
|
247
|
+
} else if (euiVersion === '14.x' || euiVersion === '15.x' || euiVersion === '16.x') {
|
|
234
248
|
projectDef = JSON.stringify(angularProjectDefV14);
|
|
235
249
|
tools.logInfo(`----using angularProjectDefV14`);
|
|
236
250
|
} else {
|