@eui/tools 6.2.30 → 6.2.32

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.
@@ -1 +1 @@
1
- 6.2.30
1
+ 6.2.32
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.2.32 (2022-11-16)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * adapted configuration injection for MWP v15 - MWP-8474 [MWP-8474](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-8474) ([339515f0](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/339515f0796a6172ba9abb5e344c41ba22534630))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.2.31 (2022-11-16)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * added skipAudit flag - EUI-6448 [EUI-6448](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-6448) ([5641d51a](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/5641d51a671d0193bad5253c92ead493a09afe52))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.2.30 (2022-11-16)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.2.30",
3
+ "version": "6.2.32",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
package/sandbox.js CHANGED
@@ -1059,11 +1059,14 @@ const versionUtils = require('./scripts/csdr/version/version-utils');
1059
1059
 
1060
1060
  Promise.resolve()
1061
1061
  .then(() => {
1062
- const prjName = 'my-workplace-host';
1063
- const prj = configUtils.projects.getCsdrProject(prjName);
1062
+ // const prjName = 'my-workplace-host';
1063
+ // const prj = configUtils.projects.getCsdrProject(prjName);
1064
1064
 
1065
- return installUtils.projects.getLocalProjectFixedDeps(prj);
1066
- })
1067
- .then((deps) => {
1068
- console.log(deps);
1065
+ // return installUtils.projects.getLocalProjectFixedDeps(prj);
1066
+
1067
+ const pkg = configUtils.packages.getPackage('ppxms-process-manager-ui', true);
1068
+ console.log(pkg);
1069
+ if (!pkg.build || (pkg.build && !pkg.build.skipAudit)) {
1070
+ console.log('test');
1071
+ }
1069
1072
  })
@@ -32,7 +32,7 @@ module.exports.install = (pkg, isMaster) => {
32
32
 
33
33
  // CHECK STYLES USAGE
34
34
  .then(() => {
35
- if (pkg.build && !pkg.build.skipAudit) {
35
+ if (!pkg.build || (pkg.build && !pkg.build.skipAudit)) {
36
36
  return auditUtils.styles.audit(pkg);
37
37
  }
38
38
  })
@@ -158,7 +158,17 @@ module.exports.injectAppConfig = (project, configEnvTarget) => {
158
158
 
159
159
  if (configEnvTarget) {
160
160
  tools.logInfo(`Executing configuration replacement for : ${configEnvTarget} environment`);
161
- envFilePath = path.join(project.paths.angularPath, 'src/assets/config', `env-json-config-${configEnvTarget}.json`);
161
+
162
+ let envOpenidPrefix = 'env-json-config-';
163
+ if (project.build && project.build.envOpenidPrefix) {
164
+ envOpenidPrefix = project.build.envOpenidPrefix;
165
+ }
166
+
167
+ let openidConfigAssetsFolder = 'assets/config';
168
+ if (project.build && project.build.openidConfigAssetsFolder) {
169
+ openidConfigAssetsFolder = project.build.openidConfigAssetsFolder;
170
+ }
171
+ envFilePath = path.join(project.paths.angularPath, `src/${openidConfigAssetsFolder}`, `${envOpenidPrefix}${configEnvTarget}.json`);
162
172
  }
163
173
 
164
174
  if (project.build && project.build.customEnvJsonConfigInjection) {