@eui/tools 4.16.5 → 4.16.6

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
- 4.16.5
1
+ 4.16.6
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 4.16.6 (2021-11-08)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * added browserslistrc resources patching for eui v13 csdr init - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([b9f8498f](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/b9f8498fa7eac879e4135f7c214925428ac81da0))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 4.16.5 (2021-11-08)
2
11
 
3
12
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "4.16.5",
3
+ "version": "4.16.6",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -210,6 +210,13 @@ module.exports.processLocalEuiVersions = () => {
210
210
 
211
211
  tools.logInfo('Updating root package.json');
212
212
  tools.writeJsonFileSync(rootPackageJsonFile, rootPackageJson);
213
+
214
+ tools.logInfo(`Processing .browserlistrc replacement for eUI version found : ${euiVersion}`);
215
+
216
+ const blResourcesFile = path.join(__dirname, 'resources', euiVersion, 'browserslistrc');
217
+ const blDestFile = path.join(process.cwd(), '.browserslistrc');
218
+
219
+ tools.copy(blResourcesFile, blDestFile);
213
220
  }
214
221
  })
215
222
  .catch((e) => {
@@ -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