Migrate TypeScript checks to Effect TSGo (#2851)
This commit is contained in:
1 parent
83f0cc9e31
commit
6b3050ee74
102 files changed
+824
-828
No files matched your search
@@ -94,7 +94,7 @@ export interface AzureDevOpsCliShape {
|
||||
}
|
||||
|
||||
export class AzureDevOpsCli extends Context.Service<AzureDevOpsCli, AzureDevOpsCliShape>()(
|
||||
"t3/source-control/AzureDevOpsCli",
|
||||
"t3/sourceControl/AzureDevOpsCli",
|
||||
) {}
|
||||
|
||||
function errorText(error: VcsError | unknown): string {
|
||||
|
||||
@@ -154,7 +154,7 @@ export interface BitbucketApiShape {
|
||||
}
|
||||
|
||||
export class BitbucketApi extends Context.Service<BitbucketApi, BitbucketApiShape>()(
|
||||
"t3/source-control/BitbucketApi",
|
||||
"t3/sourceControl/BitbucketApi",
|
||||
) {}
|
||||
|
||||
function nonEmpty(value: string | undefined): Option.Option<string> {
|
||||
|
||||
@@ -93,7 +93,7 @@ export interface GitHubCliShape {
|
||||
}
|
||||
|
||||
export class GitHubCli extends Context.Service<GitHubCli, GitHubCliShape>()(
|
||||
"t3/source-control/GitHubCli",
|
||||
"t3/sourceControl/GitHubCli",
|
||||
) {}
|
||||
|
||||
function errorText(error: VcsError | unknown): string {
|
||||
|
||||
@@ -97,7 +97,7 @@ export interface GitLabCliShape {
|
||||
}
|
||||
|
||||
export class GitLabCli extends Context.Service<GitLabCli, GitLabCliShape>()(
|
||||
"t3/source-control/GitLabCli",
|
||||
"t3/sourceControl/GitLabCli",
|
||||
) {}
|
||||
|
||||
function isVcsProcessSpawnError(error: unknown): boolean {
|
||||
|
||||
@@ -64,7 +64,7 @@ export interface SourceControlDiscoveryShape {
|
||||
export class SourceControlDiscovery extends Context.Service<
|
||||
SourceControlDiscovery,
|
||||
SourceControlDiscoveryShape
|
||||
>()("t3/source-control/SourceControlDiscovery") {}
|
||||
>()("t3/sourceControl/SourceControlDiscovery") {}
|
||||
|
||||
export const layer = Layer.effect(
|
||||
SourceControlDiscovery,
|
||||
|
||||
@@ -99,4 +99,4 @@ export interface SourceControlProviderShape {
|
||||
export class SourceControlProvider extends Context.Service<
|
||||
SourceControlProvider,
|
||||
SourceControlProviderShape
|
||||
>()("t3/source-control/SourceControlProvider") {}
|
||||
>()("t3/sourceControl/SourceControlProvider") {}
|
||||
@@ -51,7 +51,7 @@ export interface SourceControlProviderRegistryShape {
|
||||
export class SourceControlProviderRegistry extends Context.Service<
|
||||
SourceControlProviderRegistry,
|
||||
SourceControlProviderRegistryShape
|
||||
>()("t3/source-control/SourceControlProviderRegistry") {}
|
||||
>()("t3/sourceControl/SourceControlProviderRegistry") {}
|
||||
|
||||
function unsupportedProvider(
|
||||
kind: SourceControlProviderKind,
|
||||
|
||||
@@ -39,7 +39,7 @@ export interface SourceControlRepositoryServiceShape {
|
||||
export class SourceControlRepositoryService extends Context.Service<
|
||||
SourceControlRepositoryService,
|
||||
SourceControlRepositoryServiceShape
|
||||
>()("t3/source-control/SourceControlRepositoryService") {}
|
||||
>()("t3/sourceControl/SourceControlRepositoryService") {}
|
||||
|
||||
function detailFromUnknown(cause: unknown): string {
|
||||
if (typeof cause === "object" && cause !== null) {
|
||||
|
||||
Reference in new issue
Block a user