@tomradex/repos 0.20.0 → 0.22.0
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.d.ts +1 -1
- package/dist/service.d.ts +3 -0
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Repos, ReposConfig, BranchInUseError, CheckoutUnsetError, HubUnsetError, RepoPathOutsideError, type CheckoutSelection, type CheckoutView, type FolderRepo, type MissingWorkdir, type WorkdirView } from "./service.js";
|
|
1
|
+
export { Repos, ReposConfig, BranchInUseError, CheckoutUnsetError, HubUnsetError, RepoPathOutsideError, type CheckoutProblem, type CheckoutSelection, type CheckoutView, type FolderRepo, type MissingWorkdir, type WorkdirView } from "./service.js";
|
|
2
2
|
export { isLocalRemote, normalizeRemote, remoteIdentity, sameRepository, serverHost, sshHostName, type RemoteIdentity } from "./remotes.js";
|
|
3
3
|
export { Repos as default } from "./service.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/service.d.ts
CHANGED
|
@@ -16,7 +16,10 @@ export interface CheckoutView {
|
|
|
16
16
|
remote: string;
|
|
17
17
|
checkout: string | null;
|
|
18
18
|
runInCheckout: boolean;
|
|
19
|
+
/** The folder this machine names cannot be worked in: gone from disk, or no longer a git checkout. */
|
|
20
|
+
problem?: CheckoutProblem;
|
|
19
21
|
}
|
|
22
|
+
export type CheckoutProblem = "missing" | "not-git";
|
|
20
23
|
/** Result of inspecting the folder the user explicitly chose. */
|
|
21
24
|
export type CheckoutSelection = {
|
|
22
25
|
state: "ready";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tomradex/repos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Haoyuan Tang",
|
|
6
6
|
"engines": {
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@tomradex/boards": "0.
|
|
31
|
-
"@tomradex/contracts": "0.
|
|
32
|
-
"@tomradex/db": "0.
|
|
33
|
-
"@tomradex/domain": "0.2.
|
|
34
|
-
"@tomradex/git": "0.
|
|
35
|
-
"@tomradex/hub": "0.
|
|
36
|
-
"@tomradex/ipc": "0.
|
|
37
|
-
"@tomradex/storage": "0.
|
|
38
|
-
"@tomradex/tools": "0.
|
|
30
|
+
"@tomradex/boards": "0.22.0",
|
|
31
|
+
"@tomradex/contracts": "0.22.0",
|
|
32
|
+
"@tomradex/db": "0.22.0",
|
|
33
|
+
"@tomradex/domain": "0.2.29",
|
|
34
|
+
"@tomradex/git": "0.22.0",
|
|
35
|
+
"@tomradex/hub": "0.22.0",
|
|
36
|
+
"@tomradex/ipc": "0.22.0",
|
|
37
|
+
"@tomradex/storage": "0.22.0",
|
|
38
|
+
"@tomradex/tools": "0.22.0",
|
|
39
39
|
"cordis": "4.0.0-rc.8",
|
|
40
40
|
"zod": "^4.4.3"
|
|
41
41
|
}
|