@theholocron/holocron-plugin-1password 2.0.0-alpha.9 → 2.0.0

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.
Files changed (2) hide show
  1. package/README.md +18 -12
  2. package/package.json +15 -10
package/README.md CHANGED
@@ -47,8 +47,10 @@ Both patterns are fully supported — switch by editing
47
47
 
48
48
  ## Install
49
49
 
50
+ <!-- prettier-ignore -->
50
51
  ```bash
51
52
  pnpm add -D @theholocron/holocron-plugin-1password@alpha
53
+
52
54
  ```
53
55
 
54
56
  Requires the `op` binary on PATH (see [Prerequisite](#prerequisite)).
@@ -66,16 +68,18 @@ anyway, so:
66
68
  - **CI**: `OP_SERVICE_ACCOUNT_TOKEN` env var; `op` auto-detects it.
67
69
  - **Either way**: same binary, same commands, same code path.
68
70
 
69
- The plugin's job is just to drive the CLI; auth handling is the
71
+ The plugin's job is to drive the CLI; auth handling is the
70
72
  CLI's.
71
73
 
72
74
  ## Prerequisite
73
75
 
74
76
  The `op` binary must be on PATH. Install:
75
77
 
78
+ <!-- prettier-ignore -->
76
79
  ```bash
77
80
  brew install 1password-cli # macOS
78
81
  # or follow https://developer.1password.com/docs/cli/get-started
82
+
79
83
  ```
80
84
 
81
85
  The plugin throws a clear error at construction time if `op` isn't
@@ -91,23 +95,25 @@ the keyring, storing one has no runtime effect. The `AUTH_HINT`
91
95
  export makes this explicit in `holocron auth` output.
92
96
 
93
97
  `holocron auth check 1password` runs `op whoami --format=json` to
94
- confirm you're signed in — a useful sanity check independent of
98
+ confirm you're signed in — a useful validation independent of
95
99
  holocron.
96
100
 
97
101
  ## Config
98
102
 
103
+ <!-- prettier-ignore -->
99
104
  ```jsonc
100
105
  {
101
- "providers": {
102
- "vault": [
103
- "1password",
104
- {
105
- "vault": "rando", // 1P vault name
106
- "account": "ABCDEFGHIJKLMNOPQRSTUVWXYZ", // optional: 1P account UUID
107
- },
108
- ],
109
- },
106
+ "providers": {
107
+ "vault": [
108
+ "1password",
109
+ {
110
+ "vault": "rando", // 1P vault name
111
+ "account": "ABCDEFGHIJKLMNOPQRSTUVWXYZ", // optional: 1P account UUID
112
+ },
113
+ ],
114
+ },
110
115
  }
116
+
111
117
  ```
112
118
 
113
119
  - `vault` (required) — the 1Password vault name items live in.
@@ -139,7 +145,7 @@ convention):
139
145
  `ensureProject` / `ensureEnvironment` — 1Password's data model
140
146
  doesn't have projects with sub-configs the way Doppler / Infisical
141
147
  do. The vault + item hierarchy is created via the 1P UI or `op item
142
- create`, not via `holocron setup`. The methods are simply omitted;
148
+ create`, not via `holocron setup`. The methods are omitted;
143
149
  `runSetup` skips them cleanly (see the [`Vault`
144
150
  interface](../cli/src/capabilities/index.ts)).
145
151
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-plugin-1password",
3
- "version": "2.0.0-alpha.9",
3
+ "version": "2.0.0",
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,19 +21,24 @@
21
21
  }
22
22
  },
23
23
  "peerDependencies": {
24
- "@theholocron/cli": "2.0.0-alpha.9"
24
+ "@theholocron/cli": "2.0.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@theholocron/tsconfig": "^4.1.0",
28
- "@tsconfig/node-lts": "^24.0.0",
29
- "@vitest/coverage-v8": "^3.2.6",
30
- "eslint": "^9.36.0",
31
- "globals": "^16.5.0",
32
- "typescript": "^5.9.3",
33
- "vitest": "^3.2.6",
27
+ "@theholocron/eslint-config": "^7.3.0",
28
+ "@theholocron/tsconfig": "^7.3.0",
29
+ "@theholocron/tsdown-config": "^7.3.0",
30
+ "@theholocron/vitest-config": "^7.3.0",
31
+ "@types/node": "^26",
32
+ "@vitest/coverage-v8": "^4.1.10",
33
+ "@vitest/eslint-plugin": "^1.6.23",
34
+ "eslint": "^10.7.0",
35
+ "eslint-plugin-n": "^18.2.2",
36
+ "globals": "^17.7.0",
34
37
  "tsdown": "^0.22.3",
35
38
  "tsx": "^4.22.4",
36
- "@theholocron/cli": "2.0.0-alpha.9"
39
+ "typescript": "^5.9.3",
40
+ "vitest": "^4.1.10",
41
+ "@theholocron/cli": "2.0.0"
37
42
  },
38
43
  "publishConfig": {
39
44
  "access": "public"