@cocreate/cli 1.13.3 → 1.13.5

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.13.5](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.13.4...v1.13.5) (2022-10-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump @cocreate/hosting and @cocreate/socket-client ([81fdf5c](https://github.com/CoCreate-app/CoCreate-cli/commit/81fdf5cff3bfc728ff678b5967736d2a982fd737))
7
+
8
+ ## [1.13.4](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.13.3...v1.13.4) (2022-10-01)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * added severside repos ([cccd29e](https://github.com/CoCreate-app/CoCreate-cli/commit/cccd29e44db4a3d5708d4a45b84c8a14dfe09503))
14
+
1
15
  ## [1.13.3](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.13.2...v1.13.3) (2022-10-01)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/cli",
3
- "version": "1.13.3",
3
+ "version": "1.13.5",
4
4
  "description": "Polyrepo management bash CLI tool. Run all git commands and yarn commands on multiple repositories. Also includes a few custom macros for cloning, installing, etc.",
5
5
  "keywords": [
6
6
  "cli",
@@ -71,8 +71,8 @@
71
71
  "webpack-log": "^3.0.1"
72
72
  },
73
73
  "dependencies": {
74
- "@cocreate/docs": "^1.3.13",
75
- "@cocreate/hosting": "^1.3.13",
74
+ "@cocreate/docs": "^1.3.16",
75
+ "@cocreate/hosting": "^1.4.0",
76
76
  "colors": "latest",
77
77
  "glob": "^7.1.7",
78
78
  "got": "latest",
package/repositories.js CHANGED
@@ -273,11 +273,11 @@ module.exports = [
273
273
  'repo': 'github.com/CoCreate-app/CoCreate-builder.git'
274
274
  },
275
275
  // {
276
- // 'path':'../CoCreate-apps/CoCreate-calendar',
276
+ // 'path':'/home/ubuntu/CoCreateServer/CoCreate-apps/CoCreate-calendar',
277
277
  // 'repo' : 'github.com/CoCreate-app/CoCreate-calendar.git'
278
278
  // },
279
279
  // {
280
- // 'path':'../CoCreate-apps/CoCreate-checkout',
280
+ // 'path':'/home/ubuntu/CoCreateServer/CoCreate-apps/CoCreate-checkout',
281
281
  // 'repo' : 'github.com/CoCreate-app/CoCreate-checkout.git'
282
282
  // },
283
283
  {
@@ -289,7 +289,7 @@ module.exports = [
289
289
  'repo': 'github.com/CoCreate-app/CoCreate-datatable.git'
290
290
  },
291
291
  // {
292
- // 'path':'../CoCreate-apps/CoCreate-email',
292
+ // 'path':'/home/ubuntu/CoCreateServer/CoCreate-apps/CoCreate-email',
293
293
  // 'repo' : 'github.com/CoCreate-app/CoCreate-email.git'
294
294
  // },
295
295
  {
@@ -405,5 +405,149 @@ module.exports = [
405
405
  {
406
406
  'path': '/home/ubuntu/CoCreateServer/CoCreate-plugins/CoCreate-uppy',
407
407
  'repo': 'github.com/CoCreate-app/CoCreate-uppy.git'
408
- }
408
+ },
409
+
410
+
411
+
412
+ // // {
413
+ // // 'path': '/home/ubuntu/CoCreateServer/CoCreateWS',
414
+ // // 'repo': 'github.com/CoCreate-app/CoCreateWS.git'
415
+ // // },
416
+ // // {
417
+ // // 'path': '/home/ubuntu/CoCreateServer/CoCreateApi',
418
+ // // 'repo': 'github.com/CoCreate-app/CoCreateApi.git'
419
+ // // },
420
+
421
+ // {
422
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreateLB',
423
+ // 'repo': 'github.com/CoCreate-app/CoCreateLB.git'
424
+ // },
425
+
426
+
427
+ // // Components
428
+ // {
429
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-auth',
430
+ // 'repo': 'github.com/CoCreate-app/CoCreate-auth.git'
431
+ // },
432
+ // {
433
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-crud-server',
434
+ // 'repo': 'github.com/CoCreate-app/CoCreate-crud-server.git'
435
+ // },
436
+ // // {
437
+ // // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-crdt-server',
438
+ // // 'repo': 'github.com/CoCreate-app/CoCreate-crdt-server.git'
439
+ // // },
440
+ // {
441
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-loadtest',
442
+ // 'repo': 'github.com/CoCreate-app/CoCreate-loadtest.git'
443
+ // },
444
+ // {
445
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-message-server',
446
+ // 'repo': 'github.com/CoCreate-app/CoCreate-message-server.git'
447
+ // },
448
+ // {
449
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-metrics-server',
450
+ // 'repo': 'github.com/CoCreate-app/CoCreate-metrics-server.git'
451
+ // },
452
+ // {
453
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-node-autoscaler',
454
+ // 'repo': 'github.com/CoCreate-app/CoCreate-node-autoscaler.git'
455
+ // },
456
+ // {
457
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-permissions',
458
+ // 'repo': 'github.com/CoCreate-app/CoCreate-permissions.git'
459
+ // },
460
+ // {
461
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-server-side-render',
462
+ // 'repo': 'github.com/CoCreate-app/CoCreate-server-side-render.git'
463
+ // },
464
+ // {
465
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-socket-server',
466
+ // 'repo': 'github.com/CoCreate-app/CoCreate-socket-server.git'
467
+ // },
468
+ // {
469
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-actions',
470
+ // 'repo': 'github.com/CoCreate-app/CoCreate-actions.git'
471
+ // },
472
+ // {
473
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-api',
474
+ // 'repo': 'github.com/CoCreate-app/CoCreate-api.git'
475
+ // },
476
+ // {
477
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-docs',
478
+ // 'repo': 'github.com/CoCreate-app/CoCreate-docs.git'
479
+ // },
480
+ // {
481
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-hosting',
482
+ // 'repo': 'github.com/CoCreate-app/CoCreate-hosting.git'
483
+ // },
484
+ // {
485
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-crud-client',
486
+ // 'repo': 'github.com/CoCreate-app/CoCreate-crud-client.git'
487
+ // },
488
+ // {
489
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-elements',
490
+ // 'repo': 'github.com/CoCreate-app/CoCreate-elements.git'
491
+ // },
492
+ // {
493
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-industry',
494
+ // 'repo': 'github.com/CoCreate-app/CoCreate-industry.git'
495
+ // },
496
+ // {
497
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-observer',
498
+ // 'repo': 'github.com/CoCreate-app/CoCreate-observer.git'
499
+ // },
500
+ // {
501
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-organizations',
502
+ // 'repo': 'github.com/CoCreate-app/CoCreate-organizations.git'
503
+ // },
504
+ // {
505
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-render',
506
+ // 'repo': 'github.com/CoCreate-app/CoCreate-render.git'
507
+ // },
508
+ // {
509
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-socket-client',
510
+ // 'repo': 'github.com/CoCreate-app/CoCreate-socket-client.git'
511
+ // },
512
+ // {
513
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-unique',
514
+ // 'repo': 'github.com/CoCreate-app/CoCreate-unique.git'
515
+ // },
516
+ // {
517
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-users',
518
+ // 'repo': 'github.com/CoCreate-app/CoCreate-users.git'
519
+ // },
520
+ // {
521
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-utils',
522
+ // 'repo': 'github.com/CoCreate-app/CoCreate-utils.git'
523
+ // },
524
+ // {
525
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-uuid',
526
+ // 'repo': 'github.com/CoCreate-app/CoCreate-uuid.git'
527
+ // },
528
+
529
+
530
+
531
+ // // Maybe depreciated
532
+ // {
533
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-keepalived',
534
+ // 'repo': 'github.com/CoCreate-app/CoCreate-keepalived.git'
535
+ // },
536
+ // // {
537
+ // // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-mongodb',
538
+ // // 'repo': 'github.com/CoCreate-app/CoCreate-mongodb.git'
539
+ // // },
540
+ // // {
541
+ // // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-openebs',
542
+ // // 'repo': 'github.com/CoCreate-app/CoCreate-openebs.git'
543
+ // // },
544
+ // {
545
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-ide',
546
+ // 'repo': 'github.com/CoCreate-app/CoCreate-ide.git'
547
+ // },
548
+ // // {
549
+ // // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreateEmail',
550
+ // // 'repo': 'github.com/CoCreate-app/CoCreateEmail.git'
551
+ // // },
552
+
409
553
  ];
package/src/coc.js CHANGED
@@ -6,6 +6,7 @@ const path = require("path");
6
6
  const fs = require("fs");
7
7
  const execute = require('./execute');
8
8
  const argv = process.argv.slice(2);
9
+ console.log('bumper')
9
10
 
10
11
  if (argv.length < 1) {
11
12
  console.error("enter some command to do something");
@@ -97,20 +98,23 @@ let repoFullMeta = repos.map(meta => {
97
98
  });
98
99
 
99
100
  (async() => {
101
+ if(command == 'bump'){
102
+ console.log('bumping')
103
+ }
100
104
  if(command == 'gitConfig'){
101
105
  let predefined = path.resolve(__dirname, 'commands', command + '.js');
102
106
  require(predefined)(repos, repos )
103
107
  }
104
108
  else {
105
- let failed = await execute(command, repoFullMeta, config);
106
- if (failed.length === 0)
107
- process.exit(0);
108
- else {
109
- console.log(' **************** failures **************** '.red);
110
- for (let failure of failed)
111
- console.log(`${failure.name}: ${failure.des}`.red);
112
-
113
- }
109
+ let failed = await execute(command, repoFullMeta, config);
110
+ if (failed.length === 0)
111
+ process.exit(0);
112
+ else {
113
+ console.log(' **************** failures **************** '.red);
114
+ for (let failure of failed)
115
+ console.log(`${failure.name}: ${failure.des}`.red);
116
+
117
+ }
114
118
  }
115
119
  // console.log(`success: ${report.success}`.green, `failed: ${report.fail}`.red);
116
120
  })();