@todos-dev/cli 0.1.6 → 0.1.7
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/index.js +1 -0
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -212,6 +212,7 @@ async function ensureBaseRepo(baseDir, repoFullName, defaultBranch, token) {
|
|
|
212
212
|
);
|
|
213
213
|
return;
|
|
214
214
|
}
|
|
215
|
+
await runGit(["remote", "set-url", "origin", cleanUrl(repoFullName)], baseDir);
|
|
215
216
|
console.log(`[workspace] Fetching ${repoFullName} (branch: ${defaultBranch})\u2026`);
|
|
216
217
|
await runGit(["fetch", "origin", defaultBranch], baseDir, authConfig(token));
|
|
217
218
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@todos-dev/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"bin": {
|
|
5
5
|
"tds": "dist/index.js"
|
|
6
6
|
},
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"@tds/types": "0.1.0"
|
|
28
28
|
},
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"@todos-dev/cli-darwin-arm64": "0.1.
|
|
31
|
-
"@todos-dev/cli-darwin-x64": "0.1.
|
|
32
|
-
"@todos-dev/cli-linux-x64": "0.1.
|
|
33
|
-
"@todos-dev/cli-linux-arm64": "0.1.
|
|
34
|
-
"@todos-dev/cli-win32-x64": "0.1.
|
|
35
|
-
"@todos-dev/cli-win32-arm64": "0.1.
|
|
30
|
+
"@todos-dev/cli-darwin-arm64": "0.1.7",
|
|
31
|
+
"@todos-dev/cli-darwin-x64": "0.1.7",
|
|
32
|
+
"@todos-dev/cli-linux-x64": "0.1.7",
|
|
33
|
+
"@todos-dev/cli-linux-arm64": "0.1.7",
|
|
34
|
+
"@todos-dev/cli-win32-x64": "0.1.7",
|
|
35
|
+
"@todos-dev/cli-win32-arm64": "0.1.7"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"dev": "tsx watch src/index.ts",
|