@theholocron/holocron-plugin-1password 5.0.0-alpha.17 → 5.0.0-alpha.170

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 CHANGED
@@ -145,7 +145,7 @@ convention):
145
145
  `ensureProject` / `ensureEnvironment` — 1Password's data model
146
146
  doesn't have projects with sub-configs the way Doppler / Infisical
147
147
  do. The vault + item hierarchy is created via the 1P UI or `op item
148
- create`, not via `holocron setup`. The methods are omitted;
148
+ create`, not via `holocron repo setup`. The methods are omitted;
149
149
  `runSetup` skips them cleanly (see the [`Vault`
150
150
  interface](../cli/src/capabilities/index.ts)).
151
151
 
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { spawnSync } from "node:child_process";
2
- import { Vault } from "@theholocron/cli";
2
+ import { Vault, VerifyTokenFailure, VerifyTokenResult, VerifyTokenResult as VerifyTokenResult$1, VerifyTokenSuccess } from "@theholocron/cli";
3
3
  //#region src/auth.d.ts
4
4
  declare class AuthError extends Error {
5
5
  name: string;
@@ -60,20 +60,11 @@ declare class OpVault implements Vault {
60
60
  }
61
61
  //#endregion
62
62
  //#region src/verify-token.d.ts
63
- interface VerifyTokenSuccess {
64
- ok: true;
65
- subject: string;
66
- }
67
- interface VerifyTokenFailure {
68
- ok: false;
69
- message: string;
70
- }
71
- type VerifyTokenResult = VerifyTokenSuccess | VerifyTokenFailure;
72
63
  interface VerifyTokenOptions {
73
64
  spawn?: typeof spawnSync;
74
65
  binary?: string;
75
66
  }
76
- declare function verifyToken(_token: string, opts?: VerifyTokenOptions): Promise<VerifyTokenResult>;
67
+ declare function verifyToken(_token: string, opts?: VerifyTokenOptions): Promise<VerifyTokenResult$1>;
77
68
  //#endregion
78
69
  //#region src/index.d.ts
79
70
  interface OpPluginOptions extends VerifyInput {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-plugin-1password",
3
- "version": "5.0.0-alpha.17",
3
+ "version": "5.0.0-alpha.170",
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
  "keywords": [
6
6
  "1password",
@@ -8,12 +8,12 @@
8
8
  "plugin",
9
9
  "vault"
10
10
  ],
11
- "homepage": "https://github.com/theholocron/holocron/tree/main/packages/holocron-plugin-1password#readme",
11
+ "homepage": "https://github.com/theholocron/holocron/tree/main/plugins/holocron-plugin-1password#readme",
12
12
  "bugs": "https://github.com/theholocron/holocron/issues",
13
13
  "repository": {
14
14
  "type": "git",
15
15
  "url": "git+https://github.com/theholocron/holocron.git",
16
- "directory": "packages/holocron-plugin-1password"
16
+ "directory": "plugins/holocron-plugin-1password"
17
17
  },
18
18
  "license": "MIT",
19
19
  "author": "Newton Koumantzelis",
@@ -30,10 +30,10 @@
30
30
  "dist"
31
31
  ],
32
32
  "devDependencies": {
33
- "@theholocron/eslint-config": "^8.0.0",
34
- "@theholocron/tsconfig": "^8.0.0",
35
- "@theholocron/tsdown-config": "^8.0.0",
36
- "@theholocron/vitest-config": "^8.0.0",
33
+ "@theholocron/eslint-config": "^8.8.0",
34
+ "@theholocron/tsconfig": "^8.8.0",
35
+ "@theholocron/tsdown-config": "^8.8.0",
36
+ "@theholocron/vitest-config": "^8.8.0",
37
37
  "@types/node": "^26",
38
38
  "@vitest/coverage-v8": "^4.1.11",
39
39
  "@vitest/eslint-plugin": "^1.6.27",
@@ -41,13 +41,13 @@
41
41
  "eslint-plugin-n": "^18.3.0",
42
42
  "globals": "^17.11.0",
43
43
  "tsdown": "^0.22.14",
44
- "tsx": "4.23.12",
44
+ "tsx": "4.23.15",
45
45
  "typescript": "^5.9.3",
46
46
  "vitest": "^4.1.11",
47
- "@theholocron/cli": "5.0.0-alpha.17"
47
+ "@theholocron/cli": "5.0.0-alpha.170"
48
48
  },
49
49
  "peerDependencies": {
50
- "@theholocron/cli": "5.0.0-alpha.17"
50
+ "@theholocron/cli": "5.0.0-alpha.170"
51
51
  },
52
52
  "engines": {
53
53
  "node": ">=22"