@theholocron/holocron-plugin-1password 3.0.1 → 3.0.2
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.mjs +0 -12
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -30,18 +30,6 @@ function verifyOpInstalled(input = {}) {
|
|
|
30
30
|
}
|
|
31
31
|
//#endregion
|
|
32
32
|
//#region src/capabilities/vault.ts
|
|
33
|
-
/**
|
|
34
|
-
* `vault` capability for 1Password.
|
|
35
|
-
*
|
|
36
|
-
* Shells out to the `op` CLI for every operation. Reference format
|
|
37
|
-
* is 1P's native `op://Vault/Item/field` URI.
|
|
38
|
-
*
|
|
39
|
-
* Write semantics: 1P doesn't have an upsert. We probe `op item get`
|
|
40
|
-
* first; if it returns 0 the item exists and we `op item edit`,
|
|
41
|
-
* otherwise we `op item create --category=API Credential`. The
|
|
42
|
-
* fallback gives us an idempotent create-or-update without us
|
|
43
|
-
* parsing edit's stderr to detect "not found".
|
|
44
|
-
*/
|
|
45
33
|
var OpVault = class {
|
|
46
34
|
shell;
|
|
47
35
|
key = "vault";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-1password",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Holocron plugin for 1Password. Implements the vault capability via shell-out to the `op` CLI (https://developer.1password.com/docs/cli).",
|
|
5
5
|
"homepage": "https://github.com/theholocron/holocron/tree/main/packages/holocron-plugin-1password#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/holocron/issues",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@theholocron/cli": "3.0.
|
|
24
|
+
"@theholocron/cli": "3.0.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@theholocron/eslint-config": "^7.
|
|
27
|
+
"@theholocron/eslint-config": "^7.6.0",
|
|
28
28
|
"@theholocron/tsconfig": "^7.5.0",
|
|
29
29
|
"@theholocron/tsdown-config": "^7.5.0",
|
|
30
30
|
"@theholocron/vitest-config": "^7.5.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"tsx": "4.23.1",
|
|
39
39
|
"typescript": "^5.9.3",
|
|
40
40
|
"vitest": "^4.1.10",
|
|
41
|
-
"@theholocron/cli": "3.0.
|
|
41
|
+
"@theholocron/cli": "3.0.2"
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|