@eui/tools 6.21.8 → 6.21.10

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.21.8
1
+ 6.21.10
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## 6.21.10 (2024-11-28)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * adapted resolutions for v18 - EUI-9014 [EUI-9014](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-9014) ([23f02e76](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/23f02e766679480e9be50d80edfd34a263dbfd91))
7
+ * upgraded cross-spawn and body-parser deps - EUI-9014 [EUI-9014](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-9014) ([982de6d3](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/982de6d37fd043f7ded2d97ddc23fe27c6431e07))
8
+
9
+ * * *
10
+ * * *
11
+ ## 6.21.9 (2024-11-26)
12
+
13
+ ##### Chores
14
+
15
+ * **other:**
16
+ * adapted project def injection to v19 - EUI-10199 [EUI-10199](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-10199) ([a9c0e82b](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/a9c0e82bb2f7503e89b9ea4f1ff6b745cdc2d6c0))
17
+
18
+ * * *
19
+ * * *
1
20
  ## 6.21.8 (2024-11-15)
2
21
 
3
22
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.8",
3
+ "version": "6.21.10",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -17,7 +17,7 @@
17
17
  "fs-extra": "9.0.0",
18
18
  "replace-in-file": "4.1.3",
19
19
  "semver": "7.6.2",
20
- "cross-spawn": "6.0.5",
20
+ "cross-spawn": "7.0.6",
21
21
  "eol": "0.9.1",
22
22
  "rimraf": "3.0.2",
23
23
  "ncp": "2.0.0",
@@ -48,7 +48,7 @@
48
48
  "file-saver": "2.0.5",
49
49
  "morgan": "1.10.0",
50
50
  "open": "8.4.2",
51
- "body-parser": "1.20.2",
51
+ "body-parser": "1.20.3",
52
52
  "express": "4.19.2",
53
53
  "webpack-bundle-analyzer": "4.8.0"
54
54
  }
@@ -18,6 +18,7 @@ const {
18
18
  angularProjectDefV14,
19
19
  angularProjectDefV17,
20
20
  angularProjectDefV17esbuild,
21
+ angularProjectDefV19esbuild,
21
22
  angularProjectLightDef,
22
23
  angularProjectDefFullSkeleton,
23
24
  angularProjectDefFullSkeletonV13,
@@ -274,9 +275,12 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
274
275
  } else if (euiVersion === '17.x') {
275
276
  projectDef = JSON.stringify(angularProjectDefV17);
276
277
  tools.logInfo(`----using angularProjectDefV17`);
277
- } else if (packageEuiVersionNumber >= 18) {
278
+ } else if (packageEuiVersionNumber === 18 && packageEuiVersionNumber < 19) {
278
279
  projectDef = JSON.stringify(angularProjectDefV17esbuild);
279
280
  tools.logInfo(`----using angularProjectDefV17esbuild`);
281
+ } else if (packageEuiVersionNumber >= 19) {
282
+ projectDef = JSON.stringify(angularProjectDefV19esbuild);
283
+ tools.logInfo(`----using angularProjectDefV19esbuild`);
280
284
  } else {
281
285
  if (project.build && project.build.csdrFileReplacement === true) {
282
286
  projectDef = JSON.stringify(angularProjectLightDef);
@@ -827,6 +827,150 @@ module.exports.angularProjectDefV17esbuild = {
827
827
  }
828
828
  };
829
829
 
830
+ module.exports.angularProjectDefV19esbuild = {
831
+ "root": "",
832
+ "sourceRoot": "apps/@project.name@/src",
833
+ "projectType": "application",
834
+ "prefix": "app",
835
+ "schematics": {
836
+ "@schematics/angular:component": {
837
+ "style": "scss"
838
+ },
839
+ "@schematics/angular:application": {
840
+ "strict": true
841
+ }
842
+ },
843
+ "architect": {
844
+ "lint": {
845
+ "builder": "@angular-eslint/builder:lint",
846
+ "options": {
847
+ "lintFilePatterns": [
848
+ "apps/@project.name@/**/*.ts",
849
+ "apps/@project.name@/**/*.html"
850
+ ],
851
+ "eslintConfig": "apps/@project.name@/.eslintrc.json"
852
+ }
853
+ },
854
+ "build": {
855
+ "builder": "@angular-devkit/build-angular:application",
856
+ "options": {
857
+ "outputPath": "apps/@project.name@/dist",
858
+ "index": "apps/@project.name@/src/index.html",
859
+ "browser": "apps/@project.name@/src/main.ts",
860
+ "polyfills": [
861
+ "zone.js",
862
+ "event-source-polyfill"
863
+ ],
864
+ "tsConfig": "apps/@project.name@/tsconfig.app.json",
865
+ "assets": [
866
+ "apps/@project.name@/src/favicon.ico",
867
+ "apps/@project.name@/src/assets",
868
+ {
869
+ "glob": "**/*",
870
+ "input": "node_modules/@eui/core/assets/",
871
+ "output": "./assets"
872
+ }
873
+ ],
874
+ "styles": [
875
+ ]
876
+ },
877
+ "configurations": {
878
+ "production": {
879
+ "fileReplacements": [
880
+ {
881
+ "replace": "apps/@project.name@/src/environments/environment.ts",
882
+ "with": "apps/@project.name@/src/environments/environment.prod.ts"
883
+ }
884
+ ],
885
+ "outputHashing": "all",
886
+ "extractLicenses": true,
887
+ "budgets": [
888
+ {
889
+ "type": "initial",
890
+ "maximumWarning": "2mb",
891
+ "maximumError": "8mb"
892
+ }
893
+ ]
894
+ },
895
+ "production-optimized": {
896
+ "fileReplacements": [
897
+ {
898
+ "replace": "apps/@project.name@/src/environments/environment.ts",
899
+ "with": "apps/@project.name@/src/environments/environment.prod.ts"
900
+ }
901
+ ],
902
+ "optimization": {
903
+ "scripts": true,
904
+ "styles": {
905
+ "minify": false,
906
+ "inlineCritical": true
907
+ },
908
+ "fonts": true
909
+ },
910
+ "outputHashing": "all",
911
+ "extractLicenses": true,
912
+ "budgets": [
913
+ {
914
+ "type": "initial",
915
+ "maximumWarning": "2mb",
916
+ "maximumError": "8mb"
917
+ }
918
+ ]
919
+ },
920
+ "production-optimized-no-openid": {
921
+ "fileReplacements": [
922
+ {
923
+ "replace": "apps/@project.name@/src/environments/environment.ts",
924
+ "with": "apps/@project.name@/src/environments/environment.prod.ts"
925
+ }
926
+ ],
927
+ "optimization": {
928
+ "scripts": true,
929
+ "styles": {
930
+ "minify": false,
931
+ "inlineCritical": true
932
+ },
933
+ "fonts": true
934
+ },
935
+ "outputHashing": "all",
936
+ "extractLicenses": true,
937
+ "budgets": [
938
+ {
939
+ "type": "initial",
940
+ "maximumWarning": "2mb",
941
+ "maximumError": "8mb"
942
+ }
943
+ ]
944
+ },
945
+ "development": {
946
+ "optimization": false,
947
+ "sourceMap": true
948
+ }
949
+ },
950
+ "defaultConfiguration": "production"
951
+ },
952
+ "serve": {
953
+ "builder": "@angular-devkit/build-angular:dev-server",
954
+ "options": {
955
+ "buildTarget": "@project.name@:build"
956
+ },
957
+ "configurations": {
958
+ "proxy-mock": {
959
+ "buildTarget": "@project.name@:build:development",
960
+ "proxyConfig": "apps/@project.name@/proxy-mock.conf.json"
961
+ },
962
+ "production": {
963
+ "buildTarget": "@project.name@:build:production"
964
+ },
965
+ "development": {
966
+ "buildTarget": "@project.name@:build:development"
967
+ }
968
+ },
969
+ "defaultConfiguration": "development"
970
+ }
971
+ }
972
+ };
973
+
830
974
 
831
975
 
832
976
  module.exports.angularProjectLightDef = {
@@ -9,5 +9,7 @@
9
9
  "express": ">=4.19.2",
10
10
  "semver": ">=7.5.2",
11
11
  "body-parser": ">=1.20.3",
12
- "rollup": ">=4.22.4"
12
+ "rollup": ">=4.22.4",
13
+ "cross-spawn": ">=7.0.5",
14
+ "mermaid": ">=10.9.3"
13
15
  }