@eui/tools 4.17.2 → 4.17.3

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
- 4.17.2
1
+ 4.17.3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## 4.17.3 (2021-11-24)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * update comments for setup on remote v7 ([00b827d7](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/00b827d72f0ce558e6b854ac9ebe9a8a2a9005fc))
7
+ ##### Bug Fixes
8
+
9
+ * **other:**
10
+ * remote package metadata location - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([ca8e4e5a](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/ca8e4e5a8d94a98c42e8e14e2eb0a21f8010aa91))
11
+
12
+ * * *
13
+ * * *
1
14
  ## 4.17.2 (2021-11-23)
2
15
 
3
16
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "4.17.2",
3
+ "version": "4.17.3",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -43,7 +43,8 @@ import { CustomSerializer } from './reducers/custom-route-serializer';
43
43
 
44
44
  import { environment } from '../environments/environment';
45
45
 
46
- // import { TaskMgrCommonModule } from '@cc/task-manager'; // TODO import from package
46
+ // TODO[REMOTE-SETUP] - import from wrapped package
47
+ // import { TaskMgrCommonModule } from '@cc/task-manager';
47
48
  import { ELEMENT_ROUTER_TOKEN, PushNotificationMapping, UxServiceMapping } from '@csdr/integration';
48
49
  import { RoutingModule } from './routing.module';
49
50
 
@@ -66,7 +67,8 @@ export function openidConnectInterceptorFactory(config) {
66
67
  TranslateModule,
67
68
 
68
69
  UxAllModule,
69
- // TaskMgrCommonModule, // TODO import from package
70
+ // TODO import from package
71
+ // TaskMgrCommonModule,
70
72
  RoutingModule,
71
73
  ],
72
74
  declarations: [
@@ -380,7 +380,7 @@ const storePipelineMetadata = module.exports.storePipelineMetadata = (pkgMetadat
380
380
  module.exports.storeMetadataAssets = (pkg, pkgCompositeDeps) => {
381
381
  return Promise.resolve()
382
382
  .then(() => {
383
- const pkgMetadataFile = path.join(pkg.paths.pkgBuild, 'package-metadata.json');
383
+ const pkgMetadataFile = path.join(pkg.paths.pkgBuild, 'bundles', 'package-metadata.json');
384
384
 
385
385
  const pkgMetadata = {
386
386
  dependencies: pkgCompositeDeps
@@ -107,8 +107,10 @@ const commitAndPush = (branch, message, folder) => {
107
107
 
108
108
  try {
109
109
  tools.logInfo('Commit and push - second try - retrying pull push');
110
- execa.sync('git', ['pull', 'origin', branch], { cwd: folder });
111
- execa.sync('git', ['push', 'origin', branch], { cwd: folder });
110
+ // setTimeout(() => {
111
+ execa.sync('git', ['pull', 'origin', branch], { cwd: folder });
112
+ execa.sync('git', ['push', 'origin', branch], { cwd: folder });
113
+ // }, 8000);
112
114
 
113
115
  } catch (e3) {
114
116
  throw new Error(`Failed to push ${message} to ${folder}`);
@@ -139,6 +141,11 @@ const tagVersion = (version, branch, message, folder) => {
139
141
  })
140
142
  .catch((e) => {
141
143
  return Promise.resolve()
144
+ // .then(() => {
145
+ // return new Promise((resolve) => {
146
+ // setTimeout(resolve, 8000);
147
+ // });
148
+ // })
142
149
  .then(() => {
143
150
  execa.sync('git', ['tag', '-a', `v${version}b`, '-m', message], { cwd: folder });
144
151
  execa.sync('git', ['push', '--follow-tags', 'origin', branch], { cwd: folder });
@@ -254,6 +261,7 @@ const cloneRepo = (repoUri, folder, forced = false, noHistory = false, externalR
254
261
  return tools.rimraf(folder);
255
262
  }
256
263
  })
264
+
257
265
  .then(() => {
258
266
  if (!tools.isDirExists(folder)) {
259
267
  tools.logInfo(`Cloning ${repoUri} in folder "${folder}" ...`);
@@ -269,6 +277,7 @@ const cloneRepo = (repoUri, folder, forced = false, noHistory = false, externalR
269
277
  tools.logSuccess();
270
278
  }
271
279
  })
280
+
272
281
  .then(() => {
273
282
  tools.logInfo(`Pulling ${repoUri} in folder "${folder}" ...`);
274
283
  execa.shellSync(`git pull`, { cwd: folder, stdio: 'inherit' });