@eui/tools 5.0.0-rc.19 → 5.0.0-rc.21

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.0.0-rc.19
1
+ 5.0.0-rc.21
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 5.0.0-rc.21 (2022-04-01)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * envTarget composite for TST forced to master for remapped deps without snapshots - EUI-5632 [EUI-5632](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-5632) ([2c38dd12](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/2c38dd1256c0a7092e78aaeb9cbc6e4b71e1b783))
7
+
8
+ * * *
9
+ * * *
10
+ ## 5.0.0-rc.20 (2022-04-01)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * adapted slack launch message - EUI-5632 [EUI-5632](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-5632) ([9df20f12](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/9df20f12d7587169f699960addc02d8473ab167b))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 5.0.0-rc.19 (2022-04-01)
2
20
 
3
21
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "5.0.0-rc.19",
3
+ "version": "5.0.0-rc.21",
4
4
  "tag": "next",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -155,7 +155,7 @@ const getResolvedCarretDeps = (deps, isMaster) => {
155
155
  acc[k] = lastMajorVersion;
156
156
 
157
157
  } else {
158
- tools.logWarning(`Can't resolve carret version from history for pkg: ${npmPkg} for version ${version}`);
158
+ tools.logWarning(`WARNING : Can't resolve carret version from history for pkg: ${npmPkg} for version ${version}`);
159
159
  }
160
160
  }
161
161
  return acc;
@@ -51,7 +51,7 @@ const getDeps_TST = (compositeDeps, prevSnapshotEnabled) => {
51
51
 
52
52
  // Re-mapping the dependencies found against their max "carret" versions found in the base dependencies defs in the project
53
53
  .then((metadataDeps) => {
54
- return innerCommon.getRemappedDeps(metadataDeps, compositeDeps);
54
+ return innerCommon.getRemappedDeps(metadataDeps, compositeDeps, true);
55
55
  })
56
56
 
57
57
  .catch((e) => {
@@ -79,7 +79,7 @@ module.exports.getCompositeType = () => {
79
79
  }
80
80
 
81
81
 
82
- module.exports.init = (pkg) => {
82
+ module.exports.init = (pkg, envTarget, compositeType) => {
83
83
  utils.tools.logBanner('INIT');
84
84
 
85
85
  const branches = this.getBranches();
@@ -105,9 +105,17 @@ module.exports.init = (pkg) => {
105
105
 
106
106
  console.log(pkg);
107
107
 
108
+ let launchMessage = ':arrow_forward: :arrow_forward: :arrow_forward: :arrow_forward: :arrow_forward:';
109
+
110
+ if (pkg.remote) {
111
+ launchMessage += ` Launching remote *${pkg.name}* release for ENV: *${envTarget}* - compositeType: *${compositeType}*`;
112
+ } else {
113
+ launchMessage += ` Launching *${pkg.name}* release for branch *${branches.branch}*`;
114
+ }
115
+
108
116
  return utils.notification.package.sendPackageMessage({
109
117
  package: pkg,
110
- text: `:arrow_forward: :arrow_forward: :arrow_forward: :arrow_forward: :arrow_forward: Launching *${pkg.name}* release for branch *${branches.branch}*`
118
+ text: launchMessage
111
119
  });
112
120
  })
113
121
 
@@ -50,7 +50,7 @@ module.exports.run = () => {
50
50
 
51
51
  // RELEASE PACKAGE START
52
52
  .then(() => {
53
- return innerCommon.init(pkg);
53
+ return innerCommon.init(pkg, envTarget, compositeType);
54
54
  })
55
55
 
56
56
 
@@ -11,7 +11,7 @@ const preBuildUtils = require('../../pre-build/pre-build-utils');
11
11
 
12
12
  let {
13
13
  skipLint, skipTest, configuration, baseHref, watch, dryRun, maxSpaceSize, statsJson,
14
- ci, sourceMap
14
+ ci, sourceMap, build
15
15
  } = tools.getArgs();
16
16
 
17
17
 
@@ -130,7 +130,7 @@ module.exports.build = (pkg, isMaster) => {
130
130
  args.push(`--single-bundle=true`);
131
131
  args.push(`--output-hashing=none`);
132
132
 
133
- if (ci) {
133
+ if (build) {
134
134
  args.push('--progress=false');
135
135
  }
136
136