@eui/tools 6.21.59 → 6.21.61
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/19.x/full/options/no-ngrx/app/module.ts +81 -0
- package/scripts/csdr/init/remotes.js +6 -0
- package/scripts/csdr/install/remotes.js +1 -1
- package/scripts/utils/pre-build/routes-replacement/routes-replacement.js +2 -2
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.21.
|
|
1
|
+
6.21.61
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.21.61 (2025-04-07)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* adapted workspace links refactoring for ACC/DLT - EUI-10199 [EUI-10199](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-10199) ([449f3009](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/449f300943cf2cd10d03c1df4580da10e4f74cc0))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.21.60 (2025-04-04)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* add no-ngrx option for remote without ngrx in their skeleton - hasPreprod remains true for MWP_SEDIA appTarget remote - EUI-10199 [EUI-10199](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-10199) ([3b1ea939](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/3b1ea939a155d334b6e2c6af959ad6cb74f94081))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.21.59 (2025-04-03)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { NgModule, Injector, DoBootstrap, ApplicationRef } from '@angular/core';
|
|
2
|
+
import { BrowserModule } from '@angular/platform-browser';
|
|
3
|
+
import { provideAnimations } from '@angular/platform-browser/animations';
|
|
4
|
+
import { HttpClient, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
|
5
|
+
import { createCustomElement } from '@angular/elements';
|
|
6
|
+
|
|
7
|
+
// import { StoreModule, USER_PROVIDED_META_REDUCERS } from '@ngrx/store';
|
|
8
|
+
// import { EffectsModule } from '@ngrx/effects';
|
|
9
|
+
// import { StoreRouterConnectingModule } from '@ngrx/router-store';
|
|
10
|
+
|
|
11
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
12
|
+
|
|
13
|
+
import {
|
|
14
|
+
CoreModule,
|
|
15
|
+
CONFIG_TOKEN,
|
|
16
|
+
EUI_CONFIG_TOKEN,
|
|
17
|
+
translateConfig,
|
|
18
|
+
provideEuiInitializer,
|
|
19
|
+
} from '@eui/core';
|
|
20
|
+
import {
|
|
21
|
+
provideCsdrCore,
|
|
22
|
+
ElementStorageService,
|
|
23
|
+
} from '@csdr/core';
|
|
24
|
+
|
|
25
|
+
// import { TOKEN, reducerProvider, metaReducers } from './reducers/index';
|
|
26
|
+
// import { CustomSerializer } from './reducers/custom-route-serializer';
|
|
27
|
+
|
|
28
|
+
import { environment } from '../environments/environment';
|
|
29
|
+
import { appConfig } from '../config';
|
|
30
|
+
|
|
31
|
+
import { @root.common.module@ as RootCommonModule } from '@root.npm.pkg@';
|
|
32
|
+
import { provideCsdrIntegrationElement } from '@csdr/integration/element';
|
|
33
|
+
import { provideCsdrIntegrationParticipant } from '@csdr/integration/participant';
|
|
34
|
+
import { RoutingModule } from './routing.module';
|
|
35
|
+
|
|
36
|
+
import { ModuleComponent } from './module.component';
|
|
37
|
+
|
|
38
|
+
// IMPORTS
|
|
39
|
+
|
|
40
|
+
// DECLARATIONS
|
|
41
|
+
|
|
42
|
+
@NgModule({
|
|
43
|
+
imports: [
|
|
44
|
+
BrowserModule,
|
|
45
|
+
// StoreRouterConnectingModule.forRoot({ stateKey: 'router', serializer: CustomSerializer }),
|
|
46
|
+
// EffectsModule.forRoot([]),
|
|
47
|
+
TranslateModule.forRoot(translateConfig),
|
|
48
|
+
|
|
49
|
+
CoreModule.forRoot(),
|
|
50
|
+
RootCommonModule,
|
|
51
|
+
RoutingModule,
|
|
52
|
+
|
|
53
|
+
// DEFINITIONS
|
|
54
|
+
],
|
|
55
|
+
providers: [
|
|
56
|
+
// reducerProvider,
|
|
57
|
+
|
|
58
|
+
provideAnimations(),
|
|
59
|
+
provideHttpClient(withInterceptorsFromDi()),
|
|
60
|
+
provideEuiInitializer(),
|
|
61
|
+
provideCsdrCore(),
|
|
62
|
+
provideCsdrIntegrationElement({ appConfig, environment }),
|
|
63
|
+
|
|
64
|
+
// PROVIDERS
|
|
65
|
+
],
|
|
66
|
+
})
|
|
67
|
+
export class AppModule implements DoBootstrap {
|
|
68
|
+
|
|
69
|
+
constructor(private injector: Injector, private http: HttpClient) {
|
|
70
|
+
// CONSTRUCTOR DECLARATIONS
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
ngDoBootstrap(appRef: ApplicationRef): void {
|
|
74
|
+
const elementSampleEui = createCustomElement(ModuleComponent, { injector: this.injector });
|
|
75
|
+
try {
|
|
76
|
+
customElements.define(appConfig.global.elementName, elementSampleEui);
|
|
77
|
+
} catch (e) {
|
|
78
|
+
console.log(e);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -197,6 +197,7 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemotesConfigFlag = tru
|
|
|
197
197
|
const optionExtraLocalesPath = path.join(fullOptionsPath, 'extra-locales');
|
|
198
198
|
const optionParticipantPath = path.join(fullOptionsPath, 'participant');
|
|
199
199
|
const optionAgGridPath = path.join(fullOptionsPath, 'ag-grid');
|
|
200
|
+
const optionNoNgrxPath = path.join(fullOptionsPath, 'no-ngrx');
|
|
200
201
|
const optionUserReducersDef = tools.getJsonFileContent(path.join(fullOptionsPath, 'definitions', 'user-reducers.json'));
|
|
201
202
|
const optionZipkinDef = tools.getJsonFileContent(path.join(fullOptionsPath, 'definitions', 'zipkin.json'));
|
|
202
203
|
const optionDynatraceDef = tools.getJsonFileContent(path.join(fullOptionsPath, 'definitions', 'dynatrace.json'));
|
|
@@ -292,6 +293,11 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemotesConfigFlag = tru
|
|
|
292
293
|
tools.copy(optionExtraLocalesPath, remoteSrcPath);
|
|
293
294
|
}
|
|
294
295
|
|
|
296
|
+
// no ngRx remote (v19 and up)
|
|
297
|
+
if (remote.skeletonConfig.options.noNgrx) {
|
|
298
|
+
tools.copy(optionNoNgrxPath, remoteSrcPath);
|
|
299
|
+
}
|
|
300
|
+
|
|
295
301
|
// zipkin
|
|
296
302
|
if (remote.skeletonConfig.options.zipkin) {
|
|
297
303
|
pushContent(optionZipkinDef);
|
|
@@ -164,7 +164,7 @@ const getDeps = module.exports.getDeps = (pkg, envTarget) => {
|
|
|
164
164
|
|
|
165
165
|
let hasPreprod = true;
|
|
166
166
|
|
|
167
|
-
if (pkg.build && pkg.build.appTarget && (pkg.build.appTarget === 'SEDIA_ONLY'
|
|
167
|
+
if (pkg.build && pkg.build.appTarget && (pkg.build.appTarget === 'SEDIA_ONLY')) {
|
|
168
168
|
hasPreprod = false;
|
|
169
169
|
}
|
|
170
170
|
|
|
@@ -747,8 +747,8 @@ const generateLinks = (project, routes, envTargetFinal) => {
|
|
|
747
747
|
envTargetFinal === 'dev' ||
|
|
748
748
|
envTargetFinal === 'test' ||
|
|
749
749
|
envTargetFinal === 'int' ||
|
|
750
|
-
|
|
751
|
-
|
|
750
|
+
envTargetFinal === 'acc' ||
|
|
751
|
+
envTargetFinal === 'dlt' ||
|
|
752
752
|
// envTargetFinal === 'trn' ||
|
|
753
753
|
// envTargetFinal === 'ppd' ||
|
|
754
754
|
// envTargetFinal === 'prod' ||
|