@executor-js/plugin-file-secrets 0.0.1-beta.4 → 0.0.1-beta.5
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/README.md +2 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
File-backed secret store for the executor. Persists secrets to a single JSON file at an XDG-compliant path so they survive between process restarts — useful for local development, CLIs, and scripts where a system keychain isn't available.
|
|
4
4
|
|
|
5
|
-
Pairs with [`@executor/sdk`](https://www.npmjs.com/package/@executor/sdk) (promise-based) or [`@executor/core`](https://www.npmjs.com/package/@executor/core) (Effect-based).
|
|
6
|
-
|
|
7
5
|
## Install
|
|
8
6
|
|
|
9
7
|
```sh
|
|
@@ -40,9 +38,9 @@ console.log("Secret file:", executor.fileSecrets.filePath);
|
|
|
40
38
|
|
|
41
39
|
Secrets written through `executor.secrets.set(...)` become available to every other plugin that resolves them, so you can (for example) store a GitHub token here and have `@executor/plugin-openapi` or `@executor/plugin-graphql` pick it up via `{ secretId, prefix }` headers.
|
|
42
40
|
|
|
43
|
-
##
|
|
41
|
+
## Using with Effect
|
|
44
42
|
|
|
45
|
-
If you're
|
|
43
|
+
If you're building on `@executor/sdk/core` (the raw Effect entry), import this plugin from its `/core` subpath instead:
|
|
46
44
|
|
|
47
45
|
```ts
|
|
48
46
|
import { fileSecretsPlugin } from "@executor/plugin-file-secrets/core";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@executor-js/plugin-file-secrets",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.1-beta.
|
|
4
|
+
"version": "0.0.1-beta.5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"test:watch": "vitest"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@executor-js/sdk": "0.0.1-beta.
|
|
36
|
+
"@executor-js/sdk": "0.0.1-beta.5",
|
|
37
37
|
"effect": "^3.21.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|