@bigbongo/cli 3.4.0 → 3.4.1
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/dist/git.js +2 -1
- package/package.json +2 -2
package/dist/git.js
CHANGED
|
@@ -15,7 +15,8 @@ export function tokenRemote(repoUrl, token) {
|
|
|
15
15
|
return repoUrl.replace("https://", `https://x-access-token:${token}@`);
|
|
16
16
|
}
|
|
17
17
|
export async function cloneApp(repoUrl, token, dir, author) {
|
|
18
|
-
await simpleGit(
|
|
18
|
+
await simpleGit({ config: ["credential.helper="], unsafe: { allowUnsafeCredentialHelper: true } })
|
|
19
|
+
.clone(tokenRemote(repoUrl, token), dir);
|
|
19
20
|
const local = simpleGit(dir);
|
|
20
21
|
await local.remote(["set-url", "origin", repoUrl]);
|
|
21
22
|
await local.addConfig("user.name", author.name);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbongo/cli",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"description": "BigBongo CLI - edit your BigBongo app locally and git push to deploy.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@inquirer/select": "^5.1.3",
|
|
38
38
|
"commander": "^12.0.0",
|
|
39
39
|
"ora": "^8.0.0",
|
|
40
|
-
"simple-git": "^3.
|
|
40
|
+
"simple-git": "^3.36.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "^20.11.0",
|