@cocreate/cli 1.19.1 → 1.19.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [1.19.3](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.19.2...v1.19.3) (2023-03-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump [@cocreate](https://github.com/cocreate) dependencies' ([5c29f96](https://github.com/CoCreate-app/CoCreate-cli/commit/5c29f96f11663a034845a5a2ef7654b2d64f4e91))
7
+
8
+ ## [1.19.2](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.19.1...v1.19.2) (2023-03-29)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add try catch to test if yarn is availale ([52df538](https://github.com/CoCreate-app/CoCreate-cli/commit/52df538cbb7d74e8ef4e8ff85697f9484a0ca9fb))
14
+ * try catch ([cac0941](https://github.com/CoCreate-app/CoCreate-cli/commit/cac094134aca97acb77c206d4e42e994b6049ffa))
15
+
1
16
  ## [1.19.1](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.19.0...v1.19.1) (2023-03-29)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/cli",
3
- "version": "1.19.1",
3
+ "version": "1.19.3",
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.1",
76
- "@cocreate/hosting": "^1.8.1",
75
+ "@cocreate/docs": "^1.6.2",
76
+ "@cocreate/hosting": "^1.8.2",
77
77
  "colors": "latest",
78
78
  "glob": "^7.1.7",
79
79
  "got": "latest",
package/repositories.js CHANGED
@@ -8,10 +8,10 @@ module.exports = [
8
8
  'path': '../../CoCreateCSS',
9
9
  'repo': 'github.com/CoCreate-app/CoCreateCSS.git'
10
10
  },
11
- {
12
- 'path': '../../CoCreate-admin',
13
- 'repo': 'github.com/CoCreate-app/CoCreate-admin.git'
14
- },
11
+ // {
12
+ // 'path': '../../CoCreate-admin',
13
+ // 'repo': 'github.com/CoCreate-app/CoCreate-admin.git'
14
+ // },
15
15
  {
16
16
  'path': '../../CoCreate-website',
17
17
  'repo': 'github.com/CoCreate-app/CoCreate-website.git'
package/src/addMeta.js CHANGED
@@ -51,9 +51,13 @@ module.exports = async function addMeta(repos, failed, directory) {
51
51
  if (fs.existsSync(lockFile))
52
52
  repos[i].packageManager = 'yarn'
53
53
  else {
54
- const { error } = await exec('yarn --version');
55
- if (!error)
56
- repos[i].packageManager = 'yarn'
54
+ try {
55
+ const { error } = await exec('yarn --version');
56
+ if (!error)
57
+ repos[i].packageManager = 'yarn'
58
+ } catch(e) {
59
+
60
+ }
57
61
  }
58
62
  packageManager = repos[i].packageManager
59
63
  }
package/src/coc.js CHANGED
File without changes