@eui/tools 6.16.34 → 6.16.36

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.16.34
1
+ 6.16.36
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.16.36 (2024-07-18)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * enable esbuild on v18 remote through optional config - EUI-9014 [EUI-9014](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-9014) ([324e2a9b](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/324e2a9bf201a46b7f5d5e0cbc43cac96648fc8f))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.16.35 (2024-07-17)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * add generic svg sprite generation through generate-sprite script - EUI-9014 [EUI-9014](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-9014) ([b748514a](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/b748514a86f6f6c650e4d8c6f71d7e3cd968e6f6))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.16.34 (2024-07-03)
2
20
 
3
21
  ##### Chores
@@ -29,6 +29,7 @@ const scriptIndex = args.findIndex(
29
29
  x === 'publish' ||
30
30
  x === 'publish-all' ||
31
31
  x === 'generate-translations' ||
32
+ x === 'generate-sprite' ||
32
33
  x === 'test-package' ||
33
34
  x === 'csdr-app' ||
34
35
  x === 'csdr-app-stats' ||
@@ -78,6 +79,7 @@ switch (script) {
78
79
  case 'publish-all':
79
80
  case 'test-package':
80
81
  case 'generate-translations':
82
+ case 'generate-sprite':
81
83
  case 'csdr-app':
82
84
  case 'csdr-app-stats':
83
85
  case 'csdr-app-package-init':
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ const tools = require('../../scripts/utils/tools');
4
+ const svgUtils = require('../../scripts/utils/svg-utils');
5
+
6
+ Promise.resolve()
7
+ .then(() => {
8
+ return svgUtils.generateSprite();
9
+ })
10
+ .catch((e) => {
11
+ tools.logError('ERROR');
12
+ console.error(e);
13
+ process.exit(1);
14
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.16.34",
3
+ "version": "6.16.36",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -0,0 +1,83 @@
1
+ {
2
+ "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
+ "version": 1,
4
+ "newProjectRoot": "apps",
5
+ "projects": {
6
+ "@remote.name@": {
7
+ "root": ".",
8
+ "sourceRoot": "src",
9
+ "projectType": "application",
10
+ "prefix": "app",
11
+ "schematics": {},
12
+ "architect": {
13
+ "build": {
14
+ "builder": "@angular-devkit/build-angular:application",
15
+ "options": {
16
+ "outputPath": "dist",
17
+ "index": "src/index.html",
18
+ "browser": "src/main.ts",
19
+ "polyfills": ["zone.js"],
20
+ "tsConfig": "tsconfig.app.json",
21
+ "sourceMap": {
22
+ "scripts": true,
23
+ "styles": false,
24
+ "hidden": true,
25
+ "vendor": true
26
+ },
27
+ "scripts": [
28
+ "./node_modules/@webcomponents/custom-elements/src/native-shim.js"
29
+ ],
30
+ "assets": [
31
+ "src/assets",
32
+ {
33
+ "glob": "**/*",
34
+ "input": "node_modules/@eui/core/assets/",
35
+ "output": "./assets"
36
+ },
37
+ {
38
+ "glob": "**/*",
39
+ "input": "node_modules/@eui/styles/dist/assets/",
40
+ "output": "./assets"
41
+ }
42
+ ],
43
+ "styles": [
44
+ "node_modules/@eui/styles/dist/styles/eui.css",
45
+ "node_modules/@eui/styles/dist/styles/eui-extra-utilities.css",
46
+ "node_modules/@eui/styles/dist/styles/eui-legacy-bootstrap.css",
47
+ "node_modules/@eui/styles/dist/styles/eui-legacy-icons-font.css",
48
+ "node_modules/@eui/styles/dist/styles/eui-legacy-utilities.css"
49
+ ]
50
+ },
51
+ "configurations": {
52
+ "development": {
53
+ "optimization": false,
54
+ "extractLicenses": false,
55
+ "sourceMap": false,
56
+ "namedChunks": true
57
+ },
58
+ "production": {
59
+ "fileReplacements": [
60
+ {
61
+ "replace": "src/environments/environment.ts",
62
+ "with": "src/environments/environment.prod.ts"
63
+ }
64
+ ],
65
+ "optimization": true,
66
+ "outputHashing": "all",
67
+ "sourceMap": false,
68
+ "namedChunks": false,
69
+ "aot": true,
70
+ "extractLicenses": true
71
+ },
72
+ "serve-dist": {
73
+ "outputPath": "serve-dist"
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ },
80
+ "cli": {
81
+ "analytics": false
82
+ }
83
+ }