History

Import plugin-authoring symbols from sdk/core in file-secrets and keychain

Rhys Sullivan committed 2 months ago

Commit 607a1df1 parent 10e16a57 files · +31 −7Browse files

Showing the changes to packages/plugins (5 of 7 files). Show all

Unified · Split

5 files
  1. packages/plugins/file-secrets/src/index.ts +1 −1
  2. packages/plugins/file-secrets/src/promise.ts +2 −2
  3. packages/plugins/keychain/src/index.ts +1 −1
  4. packages/plugins/keychain/src/promise.ts +2 −2
  5. packages/plugins/keychain/src/provider.ts +1 −1
packages/plugins/file-secrets/src/index.ts+1−1
@@ -9,7 +9,7 @@ import { · 8 unmodified lines
99 ProviderKey,
1010 StorageError,
1111 type CredentialProvider,
12−} from "@executor-js/sdk";
12+} from "@executor-js/sdk/core";
1313
1414 // ---------------------------------------------------------------------------
1515 // Auth file location
packages/plugins/file-secrets/src/promise.ts+2−2
@@ -1,4 +1,4 @@
1−import { type Plugin } from "@executor-js/sdk";
1+import { type Plugin } from "@executor-js/sdk/core";
22
33 import {
44 fileSecretsPlugin as fileSecretsPluginEffect,
@@ -9,7 +9,7 @@ import { · 4 unmodified lines
99 export type { FileSecretsPluginConfig } from "./index";
1010
1111 // Explicit return type so the emitted dist/promise.d.ts references
12−// `import("@executor-js/sdk").Plugin` rather than the Promise-surface
12+// `import("@executor-js/sdk/core").Plugin` rather than the Promise-surface
1313 // root specifier (which doesn't re-export Plugin).
1414 export const fileSecretsPlugin = (
1515 config?: FileSecretsPluginConfig,
packages/plugins/keychain/src/index.ts+1−1
@@ -1,6 +1,6 @@
11 import { Effect } from "effect";
22
3−import { definePlugin, type CredentialProvider, type PluginCtx } from "@executor-js/sdk";
3+import { definePlugin, type CredentialProvider, type PluginCtx } from "@executor-js/sdk/core";
44
55 import {
66 deletePassword,
packages/plugins/keychain/src/promise.ts+2−2
@@ -1,4 +1,4 @@
1−import { type Plugin } from "@executor-js/sdk";
1+import { type Plugin } from "@executor-js/sdk/core";
22
33 import {
44 keychainPlugin as keychainPluginEffect,
@@ -9,7 +9,7 @@ import { · 4 unmodified lines
99 export type { KeychainPluginConfig } from "./index";
1010
1111 // Explicit return type so the emitted dist/promise.d.ts references
12−// `import("@executor-js/sdk").Plugin` rather than the Promise-surface
12+// `import("@executor-js/sdk/core").Plugin` rather than the Promise-surface
1313 // root specifier (which doesn't re-export Plugin).
1414 export const keychainPlugin = (
1515 config?: KeychainPluginConfig,
packages/plugins/keychain/src/provider.ts+1−1
@@ -5,7 +5,7 @@ import { · 4 unmodified lines
55 ProviderKey,
66 type CredentialProvider,
77 type ProviderItemId,
8−} from "@executor-js/sdk";
8+} from "@executor-js/sdk/core";
99
1010 import type { KeychainError } from "./errors";
1111 import { getPassword, setPassword, deletePassword } from "./keyring";