@cocreate/cli 1.28.2 → 1.28.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 +7 -0
- package/package.json +3 -3
- package/src/commands/clone.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.28.3](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.28.2...v1.28.3) (2023-05-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* updated dependencies to their latest versions ([400cb20](https://github.com/CoCreate-app/CoCreate-cli/commit/400cb20c066a41697bd99be626dfa2d10cf8140f))
|
|
7
|
+
|
|
1
8
|
## [1.28.2](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.28.1...v1.28.2) (2023-05-10)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/cli",
|
|
3
|
-
"version": "1.28.
|
|
3
|
+
"version": "1.28.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",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"coc": "src/coc.js"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@cocreate/docs": "^1.7.
|
|
63
|
-
"@cocreate/hosting": "^1.
|
|
62
|
+
"@cocreate/docs": "^1.7.11",
|
|
63
|
+
"@cocreate/hosting": "^1.10.3",
|
|
64
64
|
"colors": "latest",
|
|
65
65
|
"glob": "^7.1.7",
|
|
66
66
|
"prettier": "^2.3.2",
|
package/src/commands/clone.js
CHANGED
|
@@ -7,7 +7,7 @@ module.exports = async function gitClone(repos, args) {
|
|
|
7
7
|
const cwdPath = path.resolve(process.cwd());
|
|
8
8
|
|
|
9
9
|
for (let i = 0; i < repos.length; i++) {
|
|
10
|
-
//
|
|
10
|
+
// TODO: Check if path exist and if git.config or package.json exist continue
|
|
11
11
|
if (cwdPath !== repos[i].absolutePath) {
|
|
12
12
|
if (!fs.existsSync(repos[i].directory))
|
|
13
13
|
fs.mkdirSync(repos[i].directory);
|