@eui/tools 5.3.34 → 5.3.37

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
- 5.3.34
1
+ 5.3.37
package/CHANGELOG.md CHANGED
@@ -1,3 +1,34 @@
1
+ ## 5.3.37 (2022-07-14)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * fullOptimizedBuild check when outside of CSDR builds - EUI-6237 [EUI-6237](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-6237) ([8841bf4d](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/8841bf4d03d008320f710e3e1e47ed9430c44ab3))
7
+
8
+ * * *
9
+ * * *
10
+ ## 5.3.36 (2022-07-14)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **other:**
15
+ * wrong tslint call on package build - EUI-4106 [EUI-4106](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4106) ([c2651cb0](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/c2651cb0f6262e2c38e3b46e0c66787cbc8e7d92))
16
+
17
+ * * *
18
+ * * *
19
+ ## 5.3.35 (2022-07-14)
20
+
21
+ ##### Chores
22
+
23
+ * **other:**
24
+ * minor - EUI-6231 [EUI-6231](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-6231) ([f0c7b31b](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/f0c7b31bbc6c30daef688f5b4bdbf38a7470ebc5))
25
+ ##### Bug Fixes
26
+
27
+ * **other:**
28
+ * incorrect tsconfig filename ([6c65019b](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/6c65019b150736f2a6bd5d1b9801bbfafe3a5a5b))
29
+
30
+ * * *
31
+ * * *
1
32
  ## 5.3.34 (2022-07-14)
2
33
 
3
34
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "5.3.34",
3
+ "version": "5.3.37",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
package/sandbox.js CHANGED
@@ -877,6 +877,6 @@ const versionUtils = require('./scripts/csdr/version/version-utils');
877
877
 
878
878
  Promise.resolve()
879
879
  .then(() => {
880
- const prj = configUtils.projects.getProject('my-workplace-host-playground');
881
- console.log(prj);
880
+ const pkg = configUtils.packages.getPackage('eui', true);
881
+ console.log(pkg);
882
882
  })
@@ -107,7 +107,7 @@ module.exports.getPackage = (pkgName, fromCsdrConfig, optional) => {
107
107
 
108
108
  // additional pkg infos
109
109
  pkg.paths = this.getPackagePaths(pkg);
110
- pkg.tsConfigFileName = path.parse(pkg.paths.tsConfig).name;
110
+ pkg.tsConfigFileName = `${path.parse(pkg.paths.tsConfig).name}.json` ;
111
111
 
112
112
  // devops file location
113
113
  if (pkg.child) {
@@ -167,7 +167,6 @@ module.exports.getCsdrProjects = () => {
167
167
 
168
168
 
169
169
 
170
-
171
170
  module.exports.getTeamsProject = (projects, project) => {
172
171
  let teams = [];
173
172
 
@@ -179,7 +179,7 @@ module.exports.angular = (envTarget, isSnapshot, version, configEnvTargetIn) =>
179
179
  isOptimizedBuild = true;
180
180
  }
181
181
 
182
- if (currentProject.build.fullOptimizedBuild) {
182
+ if (currentProject.build && currentProject.build.fullOptimizedBuild) {
183
183
  isOptimizedBuild = true;
184
184
  }
185
185
 
@@ -51,8 +51,8 @@ module.exports.build = (pkg, isMaster) => {
51
51
  if (tools.isFileExists(tsLintPath)) {
52
52
  // TODO: remove TSLint since it's deprecated and should not be used by projects in the future
53
53
  tools.logWarning('TSLint is deprecated and will be removed in the future. Consider migrating to ESLint')
54
- const script = `running tslint -c ${tsLintPath} -p ${pkg.paths.tsConfig} -t verbose`
55
- tools.logInfo(script);
54
+ const script = `tslint -c ${tsLintPath} -p ${pkg.paths.tsConfig} -t verbose`
55
+ tools.logInfo(`running ${script}`);
56
56
  return tools.runScript(script);
57
57
  } else if(tools.isFileExists(esLintPath)) {
58
58
  // the project path information are located inside the .eslintrc.json