@eui/tools 6.15.20 → 6.16.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.
Files changed (58) hide show
  1. package/.version.properties +1 -1
  2. package/CHANGELOG.md +18 -0
  3. package/package.json +1 -1
  4. package/scripts/csdr/config/angular.js +5 -5
  5. package/scripts/csdr/init/remotes/18.x/base/angular.json +87 -0
  6. package/scripts/csdr/init/remotes/18.x/base/browserslist +6 -0
  7. package/scripts/csdr/init/remotes/18.x/base/package.json_TO_REPLACE +10 -0
  8. package/scripts/csdr/init/remotes/18.x/base/tsconfig.app.json +24 -0
  9. package/scripts/csdr/init/remotes/18.x/base/yarn.lock +14275 -0
  10. package/scripts/csdr/init/remotes/18.x/full/common/app/eui-components.ts +9 -0
  11. package/scripts/csdr/init/remotes/18.x/full/common/app/fallback.component.ts +10 -0
  12. package/scripts/csdr/init/remotes/18.x/full/common/app/module.component.ts +97 -0
  13. package/scripts/csdr/init/remotes/18.x/full/common/app/module.ts +96 -0
  14. package/scripts/csdr/init/remotes/18.x/full/common/app/reducers/custom-route-serializer.ts +28 -0
  15. package/scripts/csdr/init/remotes/18.x/full/common/app/reducers/index.ts +51 -0
  16. package/scripts/csdr/init/remotes/18.x/full/common/app/routing.module.ts +29 -0
  17. package/scripts/csdr/init/remotes/18.x/full/common/assets/.gitkeep +0 -0
  18. package/scripts/csdr/init/remotes/18.x/full/common/config/global.ts +54 -0
  19. package/scripts/csdr/init/remotes/18.x/full/common/config/index.ts +10 -0
  20. package/scripts/csdr/init/remotes/18.x/full/common/config/modules.ts +3 -0
  21. package/scripts/csdr/init/remotes/18.x/full/common/environments/environment.prod.ts +3 -0
  22. package/scripts/csdr/init/remotes/18.x/full/common/environments/environment.ts +3 -0
  23. package/scripts/csdr/init/remotes/18.x/full/common/favicon.ico +0 -0
  24. package/scripts/csdr/init/remotes/18.x/full/common/index.html +10 -0
  25. package/scripts/csdr/init/remotes/18.x/full/common/main.ts +12 -0
  26. package/scripts/csdr/init/remotes/18.x/full/common/polyfills.ts +88 -0
  27. package/scripts/csdr/init/remotes/18.x/full/options/ag-grid/main.ts +17 -0
  28. package/scripts/csdr/init/remotes/18.x/full/options/all-locales/config/global.ts +122 -0
  29. package/scripts/csdr/init/remotes/18.x/full/options/definitions/dynamic-forms.json +4 -0
  30. package/scripts/csdr/init/remotes/18.x/full/options/definitions/dynatrace.json +4 -0
  31. package/scripts/csdr/init/remotes/18.x/full/options/definitions/participant.json +3 -0
  32. package/scripts/csdr/init/remotes/18.x/full/options/definitions/user-reducers.json +3 -0
  33. package/scripts/csdr/init/remotes/18.x/full/options/definitions/zipkin.json +5 -0
  34. package/scripts/csdr/init/remotes/18.x/full/options/participant/app/module.component.ts +101 -0
  35. package/scripts/csdr/init/remotes/18.x/full/options/participant/app/routing.module.ts +21 -0
  36. package/scripts/csdr/init/remotes/18.x/full/options/participant/config/index.ts +10 -0
  37. package/scripts/csdr/init/remotes/18.x/full/options/user-reducers/app/reducers/index.ts +75 -0
  38. package/scripts/csdr/init/resources/18.x/browserslistrc +6 -0
  39. package/scripts/csdr/init/resources/18.x/resolutions.json +7 -0
  40. package/scripts/csdr/init/resources/18.x/yarn.lock +13395 -0
  41. package/scripts/csdr/version/package-common.js +1 -1
  42. package/scripts/utils/build/package/build-package-utils.js +1 -1
  43. package/scripts/utils/build/package/styles.js +2 -1
  44. package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/app/app.module.ts +52 -0
  45. package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/app/core/reducers/index.ts +49 -0
  46. package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/config/global.ts +4 -0
  47. package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/config/index.ts +8 -0
  48. package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/config/modules.ts +4 -0
  49. package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/environments/environment.dev.ts +9 -0
  50. package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/environments/environment.prod.ts +9 -0
  51. package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/environments/environment.ts +21 -0
  52. package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/favicon.ico +0 -0
  53. package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/main.ts +21 -0
  54. package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/polyfills.ts +86 -0
  55. package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/tsconfig.app.json +28 -0
  56. package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/tsconfig.spec.json +9 -0
  57. package/scripts/utils/pre-build/injection/skeletons.js +3 -0
  58. package/scripts/utils/pre-build/projects.js +2 -0
@@ -1 +1 @@
1
- 6.15.20
1
+ 6.16.0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.16.0 (2024-03-07)
2
+
3
+ ##### New Features
4
+
5
+ * **other:**
6
+ * adapted injection for eUI 18 showcases - EUI-9014 [EUI-9014](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-9014) ([854211ab](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/854211ab304d8e16376ef408193a0d21bad16138))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.15.21 (2024-03-05)
11
+
12
+ ##### Reverts
13
+
14
+ * **other:**
15
+ * collide with MWP strategy - EUI-8994 [EUI-8994](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-8994) ([ec61e0fa](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/ec61e0fa6f6833fd9758e1a0c5a20c5c482ee74f))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.15.20 (2024-03-05)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.15.20",
3
+ "version": "6.16.0",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -94,7 +94,7 @@ module.exports.registerAngularPackage = (pkg, isReset) => {
94
94
  if (packageEuiVersion === '14.x') {
95
95
  projectDef = JSON.stringify(angularPackageDefV14);
96
96
  }
97
- if (packageEuiVersion === '15.x' || packageEuiVersion === '16.x' || packageEuiVersion === '17.x') {
97
+ if (packageEuiVersion === '15.x' || packageEuiVersion === '16.x' || packageEuiVersion === '17.x' || packageEuiVersion === '18.x') {
98
98
  projectDef = JSON.stringify(angularPackageDefV15);
99
99
  }
100
100
 
@@ -124,7 +124,7 @@ module.exports.registerAngularPackageSubEntry = (subEntryName, subEntryPath, pkg
124
124
 
125
125
  let projectDef = JSON.stringify(angularPackageSubEntryDef);
126
126
 
127
- if (packageEuiVersion === '15.x' || packageEuiVersion === '16.x' || packageEuiVersion === '17.x') {
127
+ if (packageEuiVersion === '15.x' || packageEuiVersion === '16.x' || packageEuiVersion === '17.x' || packageEuiVersion === '18.x') {
128
128
  projectDef = JSON.stringify(angularPackageSubEntryDef15);
129
129
  projectDef = projectDef.replace('"main":"packages/eui/packages/components/@subEntry.path@/test.ts",', '');
130
130
  }
@@ -132,7 +132,7 @@ module.exports.registerAngularPackageSubEntry = (subEntryName, subEntryPath, pkg
132
132
  projectDef = tools.replaceAll(projectDef, '@subEntry.package.name@', 'ng-package.json');
133
133
  projectDef = tools.replaceAll(projectDef, '@tsconfig@', pkg.tsConfigFileName);
134
134
 
135
- if (packageEuiVersion === '15.x' || packageEuiVersion === '16.x' || packageEuiVersion === '17.x') {
135
+ if (packageEuiVersion === '15.x' || packageEuiVersion === '16.x' || packageEuiVersion === '17.x' || packageEuiVersion === '18.x') {
136
136
  // if tsconfig is missing add it
137
137
  const tsConfigSpecPath = path.join(process.cwd(), JSON.parse(projectDef).architect.test.options.tsConfig);
138
138
  // check if tsconfig exists otherwise created it
@@ -232,7 +232,7 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
232
232
  } else if (euiVersion === '14.x' || euiVersion === '15.x' || euiVersion === '16.x') {
233
233
  projectDef = JSON.stringify(angularProjectDefFullSkeletonV14);
234
234
  tools.logInfo(`----using angularProjectDefFullSkeletonV14`);
235
- } else if (euiVersion === '17.x') {
235
+ } else if (euiVersion === '17.x' || euiVersion === '18.x') {
236
236
  if (project.build.esbuild) {
237
237
  projectDef = JSON.stringify(angularProjectDefFullSkeletonV17esbuild);
238
238
  tools.logInfo(`----using angularProjectDefFullSkeletonV17esbuild`);
@@ -252,7 +252,7 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
252
252
  } else if (euiVersion === '14.x' || euiVersion === '15.x' || euiVersion === '16.x') {
253
253
  projectDef = JSON.stringify(angularProjectDefV14);
254
254
  tools.logInfo(`----using angularProjectDefV14`);
255
- } else if (euiVersion === '17.x') {
255
+ } else if (euiVersion === '17.x' || euiVersion === '18.x') {
256
256
  if (project.build.esbuild) {
257
257
  projectDef = JSON.stringify(angularProjectDefV17esbuild);
258
258
  tools.logInfo(`----using angularProjectDefV17esbuild`);
@@ -0,0 +1,87 @@
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:browser",
15
+ "options": {
16
+ "outputPath": "dist",
17
+ "index": "src/index.html",
18
+ "main": "src/main.ts",
19
+ "polyfills": "src/polyfills.ts",
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-base/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
+ "buildOptimizer": false,
54
+ "optimization": false,
55
+ "vendorChunk": true,
56
+ "extractLicenses": false,
57
+ "sourceMap": false,
58
+ "namedChunks": true
59
+ },
60
+ "production": {
61
+ "fileReplacements": [
62
+ {
63
+ "replace": "src/environments/environment.ts",
64
+ "with": "src/environments/environment.prod.ts"
65
+ }
66
+ ],
67
+ "optimization": true,
68
+ "outputHashing": "all",
69
+ "sourceMap": false,
70
+ "namedChunks": false,
71
+ "aot": true,
72
+ "extractLicenses": true,
73
+ "vendorChunk": false,
74
+ "buildOptimizer": true
75
+ },
76
+ "serve-dist": {
77
+ "outputPath": "serve-dist"
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
+ },
84
+ "cli": {
85
+ "analytics": false
86
+ }
87
+ }
@@ -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
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "generated",
3
+ "version": "1.0.0-SNAPSHOT.0",
4
+ "files": [
5
+ "bundles"
6
+ ],
7
+ "dependencies": {},
8
+ "resolutions": {
9
+ }
10
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "./out-tsc/app",
5
+ "target": "ES2022",
6
+ "module": "ES2022",
7
+ "lib": [
8
+ "ES2022",
9
+ "dom"
10
+ ],
11
+ "types": [
12
+ "node"
13
+ ],
14
+ "paths": {
15
+ "os": ["./node_modules/empty-module/index.js"],
16
+ "node-fetch": ["./node_modules/empty-module/index.js"],
17
+ "zipkin": ["./node_modules/zipkin/dist/zipkin.js"]
18
+ }
19
+ },
20
+ "exclude": [
21
+ "src/test.ts",
22
+ "**/*.spec.ts"
23
+ ]
24
+ }