@eui/tools 6.7.5 → 6.8.0
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 +9 -0
- package/package.json +1 -1
- package/scripts/csdr/config/angular.js +10 -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.0
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 6.8.0 (2023-03-09)
|
|
2
|
+
|
|
3
|
+
##### New Features
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* 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))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 6.7.5 (2023-03-09)
|
|
2
11
|
|
|
3
12
|
##### 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
|
|
@@ -218,7 +225,7 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
|
|
|
218
225
|
if (euiVersion === '13.x') {
|
|
219
226
|
projectDef = JSON.stringify(angularProjectDefFullSkeletonV13);
|
|
220
227
|
tools.logInfo(`----using angularProjectDefFullSkeletonV13`);
|
|
221
|
-
} else if (euiVersion === '14.x' || euiVersion === '15.x') {
|
|
228
|
+
} else if (euiVersion === '14.x' || euiVersion === '15.x' || euiVersion === '16.x') {
|
|
222
229
|
projectDef = JSON.stringify(angularProjectDefFullSkeletonV14);
|
|
223
230
|
tools.logInfo(`----using angularProjectDefFullSkeletonV14`);
|
|
224
231
|
} else {
|
|
@@ -230,7 +237,7 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
|
|
|
230
237
|
if (euiVersion === '13.x') {
|
|
231
238
|
projectDef = JSON.stringify(angularProjectDefV13);
|
|
232
239
|
tools.logInfo(`----using angularProjectDefV13`);
|
|
233
|
-
} else if (euiVersion === '14.x' || euiVersion === '15.x') {
|
|
240
|
+
} else if (euiVersion === '14.x' || euiVersion === '15.x' || euiVersion === '16.x') {
|
|
234
241
|
projectDef = JSON.stringify(angularProjectDefV14);
|
|
235
242
|
tools.logInfo(`----using angularProjectDefV14`);
|
|
236
243
|
} else {
|