@eui/tools 6.20.0 → 6.20.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.
Files changed (30) hide show
  1. package/.version.properties +1 -1
  2. package/CHANGELOG.md +11 -0
  3. package/init.js +2 -0
  4. package/package.json +1 -1
  5. package/scripts/csdr/audit/yarn.js +1 -1
  6. package/scripts/csdr/config/config-skeletons.js +4 -4
  7. package/scripts/csdr/config/config-utils.js +0 -1
  8. package/scripts/csdr/config/global.js +16 -4
  9. package/scripts/csdr/init/global.js +8 -2
  10. package/scripts/csdr/init/packages.js +8 -0
  11. package/scripts/csdr/init/standalone/18.x/.eslintrc.eui18.standalone.json +133 -0
  12. package/scripts/csdr/init/standalone/18.x/.eslintrc.json +44 -0
  13. package/scripts/csdr/init/standalone/18.x/karma.conf.standalone.js +7 -0
  14. package/scripts/csdr/init/standalone/18.x/tsconfig.lib.standalone.json +34 -0
  15. package/scripts/csdr/init/standalone/18.x/tsconfig.spec.standalone.json +17 -0
  16. package/scripts/csdr/init/standalone/18.x/tsconfig.standalone.json +17 -0
  17. package/scripts/csdr/install/common.js +100 -0
  18. package/scripts/csdr/install/packages.js +59 -6
  19. package/scripts/csdr/metadata/package-utils.js +100 -25
  20. package/scripts/csdr/release/package/common.js +23 -7
  21. package/scripts/csdr/release/package/release-package-standalone.js +0 -187
  22. package/scripts/csdr/release/package/release-ui-standalone.js +20 -16
  23. package/scripts/index.js +0 -1
  24. package/scripts/utils/changelog-utils.js +6 -1
  25. package/scripts/utils/clean/clean-utils.js +10 -2
  26. package/scripts/utils/git-utils.js +5 -5
  27. package/scripts/utils/notification/config.js +1 -1
  28. package/scripts/utils/publish/npm.js +3 -3
  29. package/scripts/utils/sonar/sonar-utils.js +1 -1
  30. package/scripts/csdr/config/standalone.js +0 -108
@@ -1,108 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports.getConfigOptions = () => {
4
- let configOptions = {
5
- SONAR_HOST: null,
6
- ISSUES_MANAGER_HOST: null,
7
- NPM_REGISTRY_INSTALL: null,
8
- NOTIFICATION_CLIENT: null,
9
- MSTEAMS_HOST: null,
10
- MSTEAMS_FRONTEND_CHANNEL: null,
11
- MSTEAMS_BACKEND_CHANNEL: null,
12
- MSTEAMS_PROJECT_CHANNEL: null,
13
- MSTEAMS_CHANNELS_EMAILS: null,
14
- };
15
-
16
- const notificationConfig = {
17
- defaultClient: 'MSTEAMS',
18
- msteams: {
19
- host: 'MSTEAMSHOOK_TO_REPLACE',
20
- defaultChannel: 'pipeline-ui',
21
- channels: {
22
- frontend: 'pipeline-ui',
23
- },
24
- channelsEmails: {
25
- 'pipeline-ui': 'EMAIL_CHANNEL_TO_REPLACE',
26
- },
27
- },
28
- };
29
-
30
- const npmConfig = {
31
- registry: {
32
- install: 'https://csdr-nexus.devops.tech.ec.europa.eu/repository/npm-group/',
33
- default: 'https://csdr-nexus.devops.tech.ec.europa.eu/repository/npm-private/',
34
- },
35
- };
36
-
37
- const sonarConfig = {
38
- host: 'https://webgate.ec.europa.eu/CITnet/sonarqube/',
39
- };
40
-
41
- const issuesManagerConfig = {
42
- host: "https://webgate.ec.europa.eu/CITnet/jira/browse/",
43
- };
44
-
45
- // getting npm registry config
46
- const npm = npmConfig;
47
-
48
- if (npm) {
49
- if (npm.registry && npm.registry.install) {
50
- configOptions.NPM_REGISTRY_INSTALL = npm.registry.install;
51
- }
52
- if (npm.registry && npm.registry.default) {
53
- configOptions.NPM_REGISTRY_DEFAULT = npm.registry.default;
54
- }
55
- }
56
-
57
- // getting issues manager options
58
- const issuesManager = issuesManagerConfig;
59
-
60
- if (issuesManager) {
61
- if (issuesManager.host) {
62
- configOptions.ISSUES_MANAGER_HOST = issuesManager.host;
63
- }
64
- }
65
-
66
- // getting sonar options
67
- const sonar = sonarConfig;
68
- if (sonar) {
69
- if (sonar.host) {
70
- configOptions.SONAR_HOST = sonar.host;
71
- }
72
- }
73
-
74
- // getting notification options (replacing slack only above)
75
- const notification = notificationConfig;
76
-
77
- if (notification) {
78
- if (notification.defaultClient) {
79
- configOptions.NOTIFICATION_CLIENT = notification.defaultClient;
80
- }
81
-
82
- const msteams = notification.msteams;
83
-
84
- if (msteams) {
85
- if (msteams.host) {
86
- configOptions.MSTEAMS_HOST = msteams.host;
87
- }
88
-
89
- if (msteams.channels) {
90
- if (msteams.channels.frontend) {
91
- configOptions.MSTEAMS_FRONTEND_CHANNEL = msteams.channels.frontend;
92
- }
93
- if (msteams.channels.backend) {
94
- configOptions.MSTEAMS_BACKEND_CHANNEL = msteams.channels.backend;
95
- }
96
- if (msteams.channels.project) {
97
- configOptions.MSTEAMS_PROJECT_CHANNEL = msteams.channels.project;
98
- }
99
- }
100
-
101
- if (msteams.channelsEmails) {
102
- configOptions.MSTEAMS_CHANNELS_EMAILS = msteams.channelsEmails;
103
- }
104
- }
105
- }
106
-
107
- return configOptions;
108
- };