@theholocron/holocron-plugin-doppler 5.0.0-alpha.270 → 5.0.0-alpha.272

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.d.mts CHANGED
@@ -1,6 +1,8 @@
1
- import { AuthError, EnsureResult, ResolveTokenInput, Vault, VerifyTokenFailure, VerifyTokenResult, VerifyTokenResult as VerifyTokenResult$1, VerifyTokenSuccess } from "@theholocron/cli";
1
+ import { AuthError, EnsureResult, PluginToken, ResolveTokenInput, Vault, VerifyTokenFailure, VerifyTokenResult, VerifyTokenResult as VerifyTokenResult$1, VerifyTokenSuccess } from "@theholocron/cli";
2
2
  import { DopplerClient, DopplerClientOptions, createDopplerClient } from "@theholocron/doppler-client";
3
- export declare const resolveToken: (input?: ResolveTokenInput) => string;
3
+ export declare const resolveToken: import("@theholocron/cli").TokenResolver;
4
+ /** Every token this plugin takes, for `holocron doctor tokens`. */
5
+ export declare const tokens: PluginToken[];
4
6
  interface DopplerVaultOptions {
5
7
  /** Default project — read/list/etc. operate here unless overridden. */
6
8
  project: string;
package/dist/index.mjs CHANGED
@@ -8,6 +8,8 @@ const resolveToken = createResolveToken({
8
8
  keyringService: "doppler",
9
9
  errorMessage: "no Doppler token found. Pass --token <TOKEN>, set HOLOCRON_DOPPLER_TOKEN / DOPPLER_TOKEN, or run: holocron auth set doppler $(doppler configure get token --plain)"
10
10
  });
11
+ /** Every token this plugin takes, for `holocron doctor tokens`. */
12
+ const tokens = [resolveToken.token];
11
13
  // src/capabilities/vault.ts
12
14
  /**
13
15
  * Doppler auto-injects these into every config's secrets download —
@@ -181,4 +183,4 @@ function createPlugin(options) {
181
183
  * supplied or when the supplied token is rejected.
182
184
  */
183
185
  const AUTH_HINT = "install the Doppler CLI (`brew install dopplerhq/cli/doppler`), run `doppler login`, then `holocron auth set doppler $(doppler configure get token --plain)`";
184
- export { AUTH_HINT, AuthError, DopplerVault, createContext, createDopplerClient, createPlugin, resolveToken, vault, verifyToken };
186
+ export { AUTH_HINT, AuthError, DopplerVault, createContext, createDopplerClient, createPlugin, resolveToken, tokens, vault, verifyToken };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-plugin-doppler",
3
- "version": "5.0.0-alpha.270",
3
+ "version": "5.0.0-alpha.272",
4
4
  "description": "Holocron plugin for Doppler. Implements the vault capability against Doppler's REST API — projects, configs, secrets, plus verifyToken + AUTH_HINT for `holocron auth`.",
5
5
  "keywords": [
6
6
  "doppler",
@@ -40,19 +40,19 @@
40
40
  "tsx": "4.23.15",
41
41
  "typescript": "^5.9.3",
42
42
  "vitest": "^5.0.5",
43
- "@theholocron/cli": "5.0.0-alpha.270",
44
- "@theholocron/eslint-config": "^8.9.0-alpha.3",
43
+ "@theholocron/cli": "5.0.0-alpha.272",
45
44
  "@theholocron/doppler-client": "^1.58.0-alpha.2",
45
+ "@theholocron/eslint-config": "^8.9.0-alpha.3",
46
+ "@theholocron/misc-utils": "^1.16.1-alpha.1",
46
47
  "@theholocron/http-client": "^1.58.0-alpha.2",
47
- "@theholocron/tsdown-config": "^8.9.0-alpha.3",
48
48
  "@theholocron/tsconfig": "^8.9.0-alpha.3",
49
- "@theholocron/misc-utils": "^1.16.1-alpha.1",
50
- "@theholocron/vitest-config": "^8.9.0-alpha.3"
49
+ "@theholocron/vitest-config": "^8.9.0-alpha.3",
50
+ "@theholocron/tsdown-config": "^8.9.0-alpha.3"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "@theholocron/doppler-client": "^1.43.1",
54
54
  "@theholocron/misc-utils": "^1.16.0",
55
- "@theholocron/cli": "5.0.0-alpha.270"
55
+ "@theholocron/cli": "5.0.0-alpha.272"
56
56
  },
57
57
  "engines": {
58
58
  "node": ">=22"