@eui/tools 6.15.21 → 6.16.1
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.
- package/.version.properties +1 -1
- package/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/sandbox.js +16 -4
- package/scripts/csdr/config/angular.js +5 -5
- package/scripts/csdr/init/remotes/18.x/base/angular.json +87 -0
- package/scripts/csdr/init/remotes/18.x/base/browserslist +6 -0
- package/scripts/csdr/init/remotes/18.x/base/package.json_TO_REPLACE +10 -0
- package/scripts/csdr/init/remotes/18.x/base/tsconfig.app.json +24 -0
- package/scripts/csdr/init/remotes/18.x/base/yarn.lock +14275 -0
- package/scripts/csdr/init/remotes/18.x/full/common/app/eui-components.ts +9 -0
- package/scripts/csdr/init/remotes/18.x/full/common/app/fallback.component.ts +10 -0
- package/scripts/csdr/init/remotes/18.x/full/common/app/module.component.ts +97 -0
- package/scripts/csdr/init/remotes/18.x/full/common/app/module.ts +96 -0
- package/scripts/csdr/init/remotes/18.x/full/common/app/reducers/custom-route-serializer.ts +28 -0
- package/scripts/csdr/init/remotes/18.x/full/common/app/reducers/index.ts +51 -0
- package/scripts/csdr/init/remotes/18.x/full/common/app/routing.module.ts +29 -0
- package/scripts/csdr/init/remotes/18.x/full/common/assets/.gitkeep +0 -0
- package/scripts/csdr/init/remotes/18.x/full/common/config/global.ts +54 -0
- package/scripts/csdr/init/remotes/18.x/full/common/config/index.ts +10 -0
- package/scripts/csdr/init/remotes/18.x/full/common/config/modules.ts +3 -0
- package/scripts/csdr/init/remotes/18.x/full/common/environments/environment.prod.ts +3 -0
- package/scripts/csdr/init/remotes/18.x/full/common/environments/environment.ts +3 -0
- package/scripts/csdr/init/remotes/18.x/full/common/favicon.ico +0 -0
- package/scripts/csdr/init/remotes/18.x/full/common/index.html +10 -0
- package/scripts/csdr/init/remotes/18.x/full/common/main.ts +12 -0
- package/scripts/csdr/init/remotes/18.x/full/common/polyfills.ts +88 -0
- package/scripts/csdr/init/remotes/18.x/full/options/ag-grid/main.ts +17 -0
- package/scripts/csdr/init/remotes/18.x/full/options/all-locales/config/global.ts +122 -0
- package/scripts/csdr/init/remotes/18.x/full/options/definitions/dynamic-forms.json +4 -0
- package/scripts/csdr/init/remotes/18.x/full/options/definitions/dynatrace.json +4 -0
- package/scripts/csdr/init/remotes/18.x/full/options/definitions/participant.json +3 -0
- package/scripts/csdr/init/remotes/18.x/full/options/definitions/user-reducers.json +3 -0
- package/scripts/csdr/init/remotes/18.x/full/options/definitions/zipkin.json +5 -0
- package/scripts/csdr/init/remotes/18.x/full/options/participant/app/module.component.ts +101 -0
- package/scripts/csdr/init/remotes/18.x/full/options/participant/app/routing.module.ts +21 -0
- package/scripts/csdr/init/remotes/18.x/full/options/participant/config/index.ts +10 -0
- package/scripts/csdr/init/remotes/18.x/full/options/user-reducers/app/reducers/index.ts +75 -0
- package/scripts/csdr/init/resources/18.x/browserslistrc +6 -0
- package/scripts/csdr/init/resources/18.x/resolutions.json +7 -0
- package/scripts/csdr/init/resources/18.x/yarn.lock +13395 -0
- package/scripts/csdr/metadata/package-utils.js +1 -1
- package/scripts/utils/build/package/build-package-utils.js +1 -1
- package/scripts/utils/build/package/styles.js +2 -1
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/app/app.module.ts +52 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/app/core/reducers/index.ts +49 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/config/global.ts +4 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/config/index.ts +8 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/config/modules.ts +4 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/environments/environment.dev.ts +9 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/environments/environment.prod.ts +9 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/environments/environment.ts +21 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/favicon.ico +0 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/main.ts +21 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/src/_generated/polyfills.ts +86 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/tsconfig.app.json +28 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui18/tsconfig.spec.json +9 -0
- package/scripts/utils/pre-build/injection/skeletons.js +3 -0
- package/scripts/utils/pre-build/projects.js +2 -0
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.
|
|
1
|
+
6.16.1
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.16.1 (2024-03-19)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* excluding next package version for hotfix checks on versions gathering - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([6f1cff6e](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/6f1cff6e7163ec7f1cfbcaf62a119f866031f8ae))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.16.0 (2024-03-07)
|
|
11
|
+
|
|
12
|
+
##### New Features
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* 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))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.15.21 (2024-03-05)
|
|
2
20
|
|
|
3
21
|
##### Reverts
|
package/package.json
CHANGED
package/sandbox.js
CHANGED
|
@@ -1502,11 +1502,23 @@ const publishUtils = require('./scripts/utils/publish/publish-utils');
|
|
|
1502
1502
|
// console.log(e);
|
|
1503
1503
|
// })
|
|
1504
1504
|
|
|
1505
|
+
// Promise.resolve()
|
|
1506
|
+
// .then(() => {
|
|
1507
|
+
// const config = configUtils.global.getConfig();
|
|
1508
|
+
// console.log(config);
|
|
1509
|
+
|
|
1510
|
+
// const isSonarEnabled = metadataUtils.common.isSonarEnabled();
|
|
1511
|
+
// console.log(isSonarEnabled);
|
|
1512
|
+
// })
|
|
1513
|
+
|
|
1505
1514
|
Promise.resolve()
|
|
1506
1515
|
.then(() => {
|
|
1507
|
-
const
|
|
1508
|
-
console.log(
|
|
1516
|
+
const pkg = configUtils.packages.getPackage('eui-mobile-core', true);
|
|
1517
|
+
console.log(pkg);
|
|
1518
|
+
|
|
1519
|
+
const pkgVersions = metadataUtils.packageUtils.getPackageVersions(pkg);
|
|
1520
|
+
console.log(pkgVersions);
|
|
1509
1521
|
|
|
1510
|
-
const
|
|
1511
|
-
console.log(
|
|
1522
|
+
const versions = metadataUtils.packageUtils.getLastMajorVersion(pkg, '17', false, true);
|
|
1523
|
+
console.log(versions);
|
|
1512
1524
|
})
|
|
@@ -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,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
|
+
}
|