@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.
@@ -1 +1 @@
1
- 6.7.5
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.7.5",
3
+ "version": "6.8.0",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -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 {
@@ -0,0 +1,6 @@
1
+ last 1 Chrome version
2
+ last 1 Firefox version
3
+ last 2 Edge major versions
4
+ last 2 Safari major versions
5
+ last 2 iOS major versions
6
+ Firefox ESR