@eui/tools 6.21.5 → 6.21.7
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/scripts/csdr/init/remotes/17.x/full/options/extra-locales/config/global.ts +26 -13
- package/scripts/csdr/init/remotes/18.x/full/options/extra-locales/config/global.ts +26 -13
- package/scripts/utils/pre-build/routes-replacement/routes-replacement.js +19 -1
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.21.
|
|
1
|
+
6.21.7
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.21.7 (2024-10-31)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* local alignment with angular ones - MWP-11179 [MWP-11179](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11179) ([795648dd](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/795648dd8a0a617cd94b91408fa01e78359920ad))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.21.6 (2024-10-31)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **routes-replacement:**
|
|
15
|
+
* activated route links generation for DEV and local - MWP-11316 [MWP-11316](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11316) ([589a18e0](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/589a18e0d7fa3e5f536d9459f9118e9d87327162))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.21.5 (2024-10-25)
|
|
2
20
|
|
|
3
21
|
##### Bug Fixes
|
package/package.json
CHANGED
|
@@ -118,19 +118,32 @@ const longDateFormat = {
|
|
|
118
118
|
llll: 'dddd, D MMMM YYYY HH:mm',
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
const longDateFormat_Common = {
|
|
122
|
+
LT: 'HH:mm',
|
|
123
|
+
LTS: 'HH:mm:ss',
|
|
124
|
+
L: 'DD/MM/YYYY',
|
|
125
|
+
LL: 'D MMMM YYYY',
|
|
126
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
127
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
|
128
|
+
l: 'DD/MM/YYYY',
|
|
129
|
+
ll: 'D MMMM YYYY',
|
|
130
|
+
lll: 'D MMMM YYYY HH:mm',
|
|
131
|
+
llll: 'dddd, D MMMM YYYY HH:mm',
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
moment.defineLocale('en-at', { parentLocale: 'en', longDateFormat_Common });
|
|
122
135
|
moment.defineLocale('en-be', { parentLocale: 'en', longDateFormat });
|
|
123
|
-
moment.defineLocale('en-ch', { parentLocale: 'en',
|
|
124
|
-
moment.defineLocale('en-cy', { parentLocale: 'en',
|
|
125
|
-
moment.defineLocale('en-de', { parentLocale: 'en',
|
|
126
|
-
moment.defineLocale('en-dk', { parentLocale: 'en',
|
|
127
|
-
moment.defineLocale('en-fi', { parentLocale: 'en',
|
|
128
|
-
moment.defineLocale('en-gg', { parentLocale: 'en',
|
|
129
|
-
moment.defineLocale('en-gi', { parentLocale: 'en',
|
|
130
|
-
moment.defineLocale('en-im', { parentLocale: 'en',
|
|
131
|
-
moment.defineLocale('en-je', { parentLocale: 'en',
|
|
132
|
-
moment.defineLocale('en-mt', { parentLocale: 'en',
|
|
133
|
-
moment.defineLocale('en-nl', { parentLocale: 'en',
|
|
136
|
+
moment.defineLocale('en-ch', { parentLocale: 'en', longDateFormat_Common });
|
|
137
|
+
moment.defineLocale('en-cy', { parentLocale: 'en', longDateFormat_Common });
|
|
138
|
+
moment.defineLocale('en-de', { parentLocale: 'en', longDateFormat_Common });
|
|
139
|
+
moment.defineLocale('en-dk', { parentLocale: 'en', longDateFormat_Common });
|
|
140
|
+
moment.defineLocale('en-fi', { parentLocale: 'en', longDateFormat_Common });
|
|
141
|
+
moment.defineLocale('en-gg', { parentLocale: 'en', longDateFormat_Common });
|
|
142
|
+
moment.defineLocale('en-gi', { parentLocale: 'en', longDateFormat_Common });
|
|
143
|
+
moment.defineLocale('en-im', { parentLocale: 'en', longDateFormat_Common });
|
|
144
|
+
moment.defineLocale('en-je', { parentLocale: 'en', longDateFormat_Common });
|
|
145
|
+
moment.defineLocale('en-mt', { parentLocale: 'en', longDateFormat_Common });
|
|
146
|
+
moment.defineLocale('en-nl', { parentLocale: 'en', longDateFormat_Common });
|
|
134
147
|
moment.defineLocale('en-se', {
|
|
135
148
|
parentLocale: 'en',
|
|
136
149
|
longDateFormat: {
|
|
@@ -156,7 +169,7 @@ moment.defineLocale('en-se', {
|
|
|
156
169
|
llll: 'dddd, D MMMM YYYY HH:mm',
|
|
157
170
|
}
|
|
158
171
|
});
|
|
159
|
-
moment.defineLocale('en-si', { parentLocale: 'en',
|
|
172
|
+
moment.defineLocale('en-si', { parentLocale: 'en', longDateFormat_Common });
|
|
160
173
|
moment.defineLocale('fr-be', { parentLocale: 'fr', longDateFormat });
|
|
161
174
|
moment.defineLocale('fr-lu', { parentLocale: 'fr', longDateFormat });
|
|
162
175
|
moment.defineLocale('fr-mc', { parentLocale: 'fr', longDateFormat });
|
|
@@ -118,19 +118,32 @@ const longDateFormat = {
|
|
|
118
118
|
llll: 'dddd, D MMMM YYYY HH:mm',
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
const longDateFormat_Common = {
|
|
122
|
+
LT: 'HH:mm',
|
|
123
|
+
LTS: 'HH:mm:ss',
|
|
124
|
+
L: 'DD/MM/YYYY',
|
|
125
|
+
LL: 'D MMMM YYYY',
|
|
126
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
127
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
|
128
|
+
l: 'DD/MM/YYYY',
|
|
129
|
+
ll: 'D MMMM YYYY',
|
|
130
|
+
lll: 'D MMMM YYYY HH:mm',
|
|
131
|
+
llll: 'dddd, D MMMM YYYY HH:mm',
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
moment.defineLocale('en-at', { parentLocale: 'en', longDateFormat_Common });
|
|
122
135
|
moment.defineLocale('en-be', { parentLocale: 'en', longDateFormat });
|
|
123
|
-
moment.defineLocale('en-ch', { parentLocale: 'en',
|
|
124
|
-
moment.defineLocale('en-cy', { parentLocale: 'en',
|
|
125
|
-
moment.defineLocale('en-de', { parentLocale: 'en',
|
|
126
|
-
moment.defineLocale('en-dk', { parentLocale: 'en',
|
|
127
|
-
moment.defineLocale('en-fi', { parentLocale: 'en',
|
|
128
|
-
moment.defineLocale('en-gg', { parentLocale: 'en',
|
|
129
|
-
moment.defineLocale('en-gi', { parentLocale: 'en',
|
|
130
|
-
moment.defineLocale('en-im', { parentLocale: 'en',
|
|
131
|
-
moment.defineLocale('en-je', { parentLocale: 'en',
|
|
132
|
-
moment.defineLocale('en-mt', { parentLocale: 'en',
|
|
133
|
-
moment.defineLocale('en-nl', { parentLocale: 'en',
|
|
136
|
+
moment.defineLocale('en-ch', { parentLocale: 'en', longDateFormat_Common });
|
|
137
|
+
moment.defineLocale('en-cy', { parentLocale: 'en', longDateFormat_Common });
|
|
138
|
+
moment.defineLocale('en-de', { parentLocale: 'en', longDateFormat_Common });
|
|
139
|
+
moment.defineLocale('en-dk', { parentLocale: 'en', longDateFormat_Common });
|
|
140
|
+
moment.defineLocale('en-fi', { parentLocale: 'en', longDateFormat_Common });
|
|
141
|
+
moment.defineLocale('en-gg', { parentLocale: 'en', longDateFormat_Common });
|
|
142
|
+
moment.defineLocale('en-gi', { parentLocale: 'en', longDateFormat_Common });
|
|
143
|
+
moment.defineLocale('en-im', { parentLocale: 'en', longDateFormat_Common });
|
|
144
|
+
moment.defineLocale('en-je', { parentLocale: 'en', longDateFormat_Common });
|
|
145
|
+
moment.defineLocale('en-mt', { parentLocale: 'en', longDateFormat_Common });
|
|
146
|
+
moment.defineLocale('en-nl', { parentLocale: 'en', longDateFormat_Common });
|
|
134
147
|
moment.defineLocale('en-se', {
|
|
135
148
|
parentLocale: 'en',
|
|
136
149
|
longDateFormat: {
|
|
@@ -156,7 +169,7 @@ moment.defineLocale('en-se', {
|
|
|
156
169
|
llll: 'dddd, D MMMM YYYY HH:mm',
|
|
157
170
|
}
|
|
158
171
|
});
|
|
159
|
-
moment.defineLocale('en-si', { parentLocale: 'en',
|
|
172
|
+
moment.defineLocale('en-si', { parentLocale: 'en', longDateFormat_Common });
|
|
160
173
|
moment.defineLocale('fr-be', { parentLocale: 'fr', longDateFormat });
|
|
161
174
|
moment.defineLocale('fr-lu', { parentLocale: 'fr', longDateFormat });
|
|
162
175
|
moment.defineLocale('fr-mc', { parentLocale: 'fr', longDateFormat });
|
|
@@ -520,7 +520,25 @@ const generateLazyFeatureLibs = (project, routes) => {
|
|
|
520
520
|
const generateLinks = (project, routes, envTargetFinal) => {
|
|
521
521
|
tools.logInfo('Processing links generation');
|
|
522
522
|
|
|
523
|
-
|
|
523
|
+
let routeDefsBaseLinksFileName;
|
|
524
|
+
|
|
525
|
+
if (
|
|
526
|
+
envTargetFinal === 'dev' ||
|
|
527
|
+
envTargetFinal.indexOf('local') > -1
|
|
528
|
+
) {
|
|
529
|
+
if (envTargetFinal.indexOf('dev-local') > -1) {
|
|
530
|
+
routeDefsBaseLinksFileName = `route-defs-base-links-dev.json`
|
|
531
|
+
} else if (envTargetFinal.indexOf('tst-local') > -1) {
|
|
532
|
+
routeDefsBaseLinksFileName = `route-defs-base-links-test.json`
|
|
533
|
+
} else if (envTargetFinal.indexOf('local-proxy') > -1) {
|
|
534
|
+
routeDefsBaseLinksFileName = `route-defs-base-links-dev.json`
|
|
535
|
+
} else {
|
|
536
|
+
routeDefsBaseLinksFileName = `route-defs-base-links-${envTargetFinal}.json`
|
|
537
|
+
}
|
|
538
|
+
} else {
|
|
539
|
+
routeDefsBaseLinksFileName = 'route-defs-base-links.json';
|
|
540
|
+
}
|
|
541
|
+
|
|
524
542
|
const routeDefsBaseLinksJSON = require(path.join(project.paths.assetsPath, routeDefsBaseLinksFileName));
|
|
525
543
|
const routeDefsBaseFilename = 'route-defs-base.json';
|
|
526
544
|
const routeDefsBaseJSON = require(path.join(project.paths.assetsPath, routeDefsBaseFilename));
|