@cocreate/cli 1.13.4 → 1.13.6

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.6](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.13.5...v1.13.6) (2022-10-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * minor bug fixes ([1a15c8c](https://github.com/CoCreate-app/CoCreate-cli/commit/1a15c8c6a639845ade671666d5cc34f774e3afd4))
7
+
8
+ ## [1.13.5](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.13.4...v1.13.5) (2022-10-02)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * bump @cocreate/hosting and @cocreate/socket-client ([81fdf5c](https://github.com/CoCreate-app/CoCreate-cli/commit/81fdf5cff3bfc728ff678b5967736d2a982fd737))
14
+
1
15
  ## [1.13.4](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.13.3...v1.13.4) (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.4",
3
+ "version": "1.13.6",
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.17",
75
+ "@cocreate/hosting": "^1.4.0",
76
76
  "colors": "latest",
77
77
  "glob": "^7.1.7",
78
78
  "got": "latest",
package/repositories.js CHANGED
@@ -409,145 +409,145 @@ module.exports = [
409
409
 
410
410
 
411
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
+
412
421
  // {
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'
422
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreateLB',
423
+ // 'repo': 'github.com/CoCreate-app/CoCreateLB.git'
419
424
  // },
420
425
 
421
- {
422
- 'path': '/home/ubuntu/CoCreateServer/CoCreateLB',
423
- 'repo': 'github.com/CoCreate-app/CoCreateLB.git'
424
- },
425
426
 
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
- },
427
+ // // Components
436
428
  // {
437
- // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-crdt-server',
438
- // 'repo': 'github.com/CoCreate-app/CoCreate-crdt-server.git'
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'
439
527
  // },
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
528
 
529
529
 
530
530
 
531
- // Maybe depreciated
532
- {
533
- 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-keepalived',
534
- 'repo': 'github.com/CoCreate-app/CoCreate-keepalived.git'
535
- },
531
+ // // Maybe depreciated
536
532
  // {
537
- // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-mongodb',
538
- // 'repo': 'github.com/CoCreate-app/CoCreate-mongodb.git'
533
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-keepalived',
534
+ // 'repo': 'github.com/CoCreate-app/CoCreate-keepalived.git'
539
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
+ // // },
540
544
  // {
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'
545
+ // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreate-ide',
546
+ // 'repo': 'github.com/CoCreate-app/CoCreate-ide.git'
551
547
  // },
548
+ // // {
549
+ // // 'path': '/home/ubuntu/CoCreateServer/CoCreate-components/CoCreateEmail',
550
+ // // 'repo': 'github.com/CoCreate-app/CoCreateEmail.git'
551
+ // // },
552
552
 
553
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
  })();