@cocreate/cli 1.19.4 → 1.19.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.19.6](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.19.5...v1.19.6) (2023-04-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add @cocreate/clone repo list ([cb7a3e0](https://github.com/CoCreate-app/CoCreate-cli/commit/cb7a3e036f6ab9cea0cd2992bf25181bf8e12880))
7
+
8
+ ## [1.19.5](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.19.4...v1.19.5) (2023-04-11)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * bump [@cocreate](https://github.com/cocreate) dependencies ([9e61ff1](https://github.com/CoCreate-app/CoCreate-cli/commit/9e61ff15df11b5bfb62d000d64ef23fbace499fe))
14
+
1
15
  ## [1.19.4](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.19.3...v1.19.4) (2023-04-11)
2
16
 
3
17
 
@@ -1,7 +1,7 @@
1
1
  module.exports = {
2
2
  "config": {
3
- "apiKey": "2061acef-0451-4545-f754-60cf8160",
4
3
  "organization_id": "5ff747727005da1c272740ab",
4
+ "apiKey": "2061acef-0451-4545-f754-60cf8160",
5
5
  "host": "general.cocreate.app"
6
6
  },
7
7
  "sources": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/cli",
3
- "version": "1.19.4",
3
+ "version": "1.19.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",
@@ -72,8 +72,8 @@
72
72
  "webpack-log": "^3.0.1"
73
73
  },
74
74
  "dependencies": {
75
- "@cocreate/docs": "^1.6.2",
76
- "@cocreate/hosting": "^1.8.2",
75
+ "@cocreate/docs": "^1.6.4",
76
+ "@cocreate/hosting": "^1.8.4",
77
77
  "colors": "latest",
78
78
  "glob": "^7.1.7",
79
79
  "got": "latest",
package/repositories.js CHANGED
@@ -42,6 +42,10 @@ module.exports = [
42
42
  'path': '../CoCreate-cli',
43
43
  'repo': 'github.com/CoCreate-app/CoCreate-cli.git'
44
44
  },
45
+ {
46
+ 'path': '../CoCreate-clone',
47
+ 'repo': 'github.com/CoCreate-app/CoCreate-clone.git'
48
+ },
45
49
  {
46
50
  'path': '../CoCreate-codearea',
47
51
  'repo': 'github.com/CoCreate-app/CoCreate-codearea.git'
@@ -409,67 +413,67 @@ module.exports = [
409
413
 
410
414
 
411
415
  // // Components
412
- // {
413
- // 'path': '../CoCreate-auth',
414
- // 'repo': 'github.com/CoCreate-app/CoCreate-auth.git'
415
- // },
416
- // {
417
- // 'path': '../CoCreate-crud-server',
418
- // 'repo': 'github.com/CoCreate-app/CoCreate-crud-server.git'
419
- // },
420
- // // {
421
- // // 'path': '../CoCreate-crdt-server',
422
- // // 'repo': 'github.com/CoCreate-app/CoCreate-crdt-server.git'
423
- // // },
424
- // {
425
- // 'path': '../CoCreate-file-server',
426
- // 'repo': 'github.com/CoCreate-app/CoCreate-file-server.git'
427
- // },
428
- // {
429
- // 'path': '../CoCreate-loadtest',
430
- // 'repo': 'github.com/CoCreate-app/CoCreate-loadtest.git'
431
- // },
432
- // {
433
- // 'path': '../CoCreate-message-server',
434
- // 'repo': 'github.com/CoCreate-app/CoCreate-message-server.git'
435
- // },
436
- // {
437
- // 'path': '../CoCreate-metrics-server',
438
- // 'repo': 'github.com/CoCreate-app/CoCreate-metrics-server.git'
439
- // },
440
- // {
441
- // 'path': '../CoCreate-mongodb',
442
- // 'repo': 'github.com/CoCreate-app/CoCreate-mongodb.git'
443
- // },
444
- // {
445
- // 'path': '../CoCreate-node-autoscaler',
446
- // 'repo': 'github.com/CoCreate-app/CoCreate-node-autoscaler.git'
447
- // },
448
- // {
449
- // 'path': '../CoCreate-permissions',
450
- // 'repo': 'github.com/CoCreate-app/CoCreate-permissions.git'
451
- // },
452
- // {
453
- // 'path': '../CoCreate-server-side-render',
454
- // 'repo': 'github.com/CoCreate-app/CoCreate-server-side-render.git'
455
- // },
456
- // {
457
- // 'path': '../CoCreate-socket-server',
458
- // 'repo': 'github.com/CoCreate-app/CoCreate-socket-server.git'
459
- // },
416
+ {
417
+ 'path': '../CoCreate-auth',
418
+ 'repo': 'github.com/CoCreate-app/CoCreate-auth.git'
419
+ },
420
+ {
421
+ 'path': '../CoCreate-crud-server',
422
+ 'repo': 'github.com/CoCreate-app/CoCreate-crud-server.git'
423
+ },
424
+ // {
425
+ // 'path': '../CoCreate-crdt-server',
426
+ // 'repo': 'github.com/CoCreate-app/CoCreate-crdt-server.git'
427
+ // },
428
+ {
429
+ 'path': '../CoCreate-file-server',
430
+ 'repo': 'github.com/CoCreate-app/CoCreate-file-server.git'
431
+ },
432
+ {
433
+ 'path': '../CoCreate-loadtest',
434
+ 'repo': 'github.com/CoCreate-app/CoCreate-loadtest.git'
435
+ },
436
+ {
437
+ 'path': '../CoCreate-message-server',
438
+ 'repo': 'github.com/CoCreate-app/CoCreate-message-server.git'
439
+ },
440
+ {
441
+ 'path': '../CoCreate-metrics-server',
442
+ 'repo': 'github.com/CoCreate-app/CoCreate-metrics-server.git'
443
+ },
444
+ {
445
+ 'path': '../CoCreate-mongodb',
446
+ 'repo': 'github.com/CoCreate-app/CoCreate-mongodb.git'
447
+ },
448
+ {
449
+ 'path': '../CoCreate-node-autoscaler',
450
+ 'repo': 'github.com/CoCreate-app/CoCreate-node-autoscaler.git'
451
+ },
452
+ {
453
+ 'path': '../CoCreate-permissions',
454
+ 'repo': 'github.com/CoCreate-app/CoCreate-permissions.git'
455
+ },
456
+ {
457
+ 'path': '../CoCreate-server-side-render',
458
+ 'repo': 'github.com/CoCreate-app/CoCreate-server-side-render.git'
459
+ },
460
+ {
461
+ 'path': '../CoCreate-socket-server',
462
+ 'repo': 'github.com/CoCreate-app/CoCreate-socket-server.git'
463
+ },
460
464
 
461
- // // Maybe depreciated
462
- // {
463
- // 'path': '../CoCreate-keepalived',
464
- // 'repo': 'github.com/CoCreate-app/CoCreate-keepalived.git'
465
- // },
466
- // {
467
- // 'path': '../CoCreate-ide',
468
- // 'repo': 'github.com/CoCreate-app/CoCreate-ide.git'
469
- // },
470
- // // {
471
- // // 'path': '../CoCreateEmail',
472
- // // 'repo': 'github.com/CoCreate-app/CoCreateEmail.git'
473
- // // },
465
+ // Maybe depreciated
466
+ {
467
+ 'path': '../CoCreate-keepalived',
468
+ 'repo': 'github.com/CoCreate-app/CoCreate-keepalived.git'
469
+ },
470
+ {
471
+ 'path': '../CoCreate-ide',
472
+ 'repo': 'github.com/CoCreate-app/CoCreate-ide.git'
473
+ },
474
+ // {
475
+ // 'path': '../CoCreateEmail',
476
+ // 'repo': 'github.com/CoCreate-app/CoCreateEmail.git'
477
+ // },
474
478
 
475
479
  ];
package/src/coc.js CHANGED
@@ -22,7 +22,7 @@ for (let option of options) {
22
22
  }
23
23
 
24
24
  command = argv
25
- .map((part) => part.match(/ |'|"/) ? `'${part.replace(/'/,'\\\'')}'` : part)
25
+ .map((part) => part.match(/ |'|"/) ? `'${part.replace(/'/, '\\\'')}'` : part)
26
26
  .join(" ");
27
27
 
28
28
  function getRepositories(path) {
@@ -61,9 +61,9 @@ if (config['c'] && fs.existsSync(config['c'])) {
61
61
  console.error(`a configuration file can not be found`.red);
62
62
  process.exit(1);
63
63
  }
64
- config = {hideMessage: false, ...config };
64
+ config = { hideMessage: false, ...config };
65
65
 
66
- (async() => {
66
+ (async () => {
67
67
  repos = await addMeta(repos, [], directory)
68
68
  let failed = await execute(command, repos, config);
69
69
  if (failed) {
@@ -27,8 +27,8 @@ function update(MdPath) {
27
27
 
28
28
  let fileContent = `module.exports = {
29
29
  "config": {
30
- "apiKey": "2061acef-0451-4545-f754-60cf8160",
31
30
  "organization_id": "5ff747727005da1c272740ab",
31
+ "apiKey": "2061acef-0451-4545-f754-60cf8160",
32
32
  "host": "general.cocreate.app"
33
33
  },
34
34