@theholocron/holocron-plugin-doppler 5.0.0-alpha.52 → 5.0.0-alpha.520

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
@@ -4,7 +4,7 @@
4
4
 
5
5
  Doppler plugin for [Holocron](../cli). Implements the `vault`
6
6
  capability against [Doppler's REST API](https://docs.doppler.com/reference/api),
7
- plus exports `verifyToken` + `AUTH_HINT` for use by `holocron auth`.
7
+ plus exports `verifyToken` + `AUTH_HINT` for use by `holocron check token`.
8
8
 
9
9
  ## Install
10
10
 
@@ -22,7 +22,7 @@ Token resolution order:
22
22
  2. `HOLOCRON_DOPPLER_TOKEN` env var (preferred — explicit intent)
23
23
  3. `DOPPLER_TOKEN` env var (Doppler-native, works in CI)
24
24
  4. Keyring `doppler.<org>` — tried first when an org is active via `--org`, `HOLOCRON_ORG`, or `org` in `holocron.config.ts`
25
- 5. Keyring `doppler` — unnamespaced fallback; set via `holocron auth set doppler <token>`
25
+ 5. Keyring `doppler` — unnamespaced fallback; set via `holocron new token doppler <token>`
26
26
  6. `AuthError` naming all five options + the bootstrap hint
27
27
 
28
28
  ## Manual setup (one-time, per operator)
@@ -42,10 +42,10 @@ doppler login
42
42
  # 3. Hand the token off to holocron's keyring (one-shot). After this,
43
43
  # every plugin call reads the token from the keyring — no env vars
44
44
  # to remember, no dotfiles to sync.
45
- holocron auth set doppler $(doppler configure get token --plain)
45
+ holocron new token doppler $(doppler configure get token --plain)
46
46
 
47
47
  # 4. Verify:
48
- holocron auth check doppler
48
+ holocron check token doppler
49
49
 
50
50
  ```
51
51
 
@@ -91,17 +91,17 @@ reference doesn't make sense.
91
91
  | `write` | `POST /v3/configs/config/secrets` with `{ project, config, secrets: {name: value} }`. Doppler's native upsert — no probe. |
92
92
  | `list` | `GET /v3/configs/config/secrets` on the default project + config. |
93
93
  | `environments` | `GET /v3/environments?project`. Returns environment slugs (`dev`/`stg`/`prd`). |
94
- | `readEnvironment` | `GET /v3/configs/config/secrets/download?format=json` — bulk KEY=VALUE dump for `holocron secrets sync`. |
94
+ | `readEnvironment` | `GET /v3/configs/config/secrets/download?format=json` — bulk KEY=VALUE dump for `holocron sync secrets`. |
95
95
  | `ensureProject` | `POST /v3/projects`, treats 409/422 "already exists" as idempotent no-op. |
96
96
  | `ensureEnvironment` | `POST /v3/environments`, same idempotency semantics. |
97
97
 
98
98
  Plugin-level exports (not capability methods, per the auth-bootstrap
99
99
  convention):
100
100
 
101
- | Export | Purpose |
102
- | ------------- | ------------------------------------------------------------------------------------------- |
103
- | `verifyToken` | `GET /v3/me` — returns `{ok: true, subject: "personal @ acme"}` or `{ok: false, message}`. |
104
- | `AUTH_HINT` | One-line hint printed by `holocron auth set` when no token is supplied or the token is bad. |
101
+ | Export | Purpose |
102
+ | ------------- | -------------------------------------------------------------------------------------------- |
103
+ | `verifyToken` | `GET /v3/me` — returns `{ok: true, subject: "personal @ acme"}` or `{ok: false, message}`. |
104
+ | `AUTH_HINT` | One-line hint printed by `holocron new token` when no token is supplied or the token is bad. |
105
105
 
106
106
  ## Status
107
107
 
package/dist/index.d.mts CHANGED
@@ -1,80 +1,90 @@
1
- import { AuthError, EnsureResult, ResolveTokenInput, Vault } from "@theholocron/cli";
1
+ /**
2
+ * `@theholocron/holocron-plugin-doppler` — entrypoint.
3
+ *
4
+ * Implements the `vault` capability against Doppler's REST API. Also
5
+ * exports `verifyToken` + `AUTH_HINT` for `holocron check token`. See README
6
+ * for auth + config docs.
7
+ */
8
+ import { AuthError, EnsureRelaySourceInput, EnsureRelaySourceResult, EnsureResult, InspectRelaySourceInput, PluginToken, RelaySourceState, ResolveTokenInput, Vault, VerifyTokenFailure, VerifyTokenResult, VerifyTokenResult as VerifyTokenResult$1, VerifyTokenSuccess } from "@theholocron/cli";
2
9
  import { DopplerClient, DopplerClientOptions, createDopplerClient } from "@theholocron/doppler-client";
3
- //#region src/auth.d.ts
4
- declare const resolveToken: (input?: ResolveTokenInput) => string;
5
- //#endregion
6
- //#region src/capabilities/vault.d.ts
10
+ /** Resolves the Doppler token from `--token`, `HOLOCRON_DOPPLER_TOKEN`, `DOPPLER_TOKEN` or the keyring entry for `doppler`, and throws `AuthError` when none is set. */
11
+ export declare const resolveToken: import("@theholocron/cli").TokenResolver;
12
+ /** Every token this plugin takes, for `holocron doctor secrets --verify`. */
13
+ export declare const tokens: PluginToken[];
7
14
  interface DopplerVaultOptions {
8
15
  /** Default project — read/list/etc. operate here unless overridden. */
9
16
  project: string;
10
17
  /** Default config name — dev / stg / prd, etc. */
11
18
  config: string;
12
19
  }
13
- declare class DopplerVault implements Vault {
20
+ /** `vault` capability for Doppler, with references shaped `doppler://<project>/<config>/<name>`. */
21
+ export declare class DopplerVault implements Vault {
14
22
  private readonly client;
23
+ /** Capability key; always `"vault"`. */
15
24
  readonly key: "vault";
25
+ /** Provider name; always `"doppler"`. */
16
26
  readonly providerName = "doppler";
17
27
  private readonly project;
18
28
  private readonly config;
19
29
  constructor(client: () => DopplerClient, opts: DopplerVaultOptions);
20
30
  read(reference: string): Promise<string>;
31
+ readSecret(name: string): Promise<string>;
21
32
  write(reference: string, value: string): Promise<void>;
22
33
  list(): Promise<string[]>;
23
34
  environments(): Promise<string[]>;
24
35
  readEnvironment(environmentId: string): Promise<Record<string, string>>;
36
+ /**
37
+ * Make the Doppler webhook for a relay source, found again by its URL in the project (`options.project`, else the
38
+ * vault's). `scope` is the config slugs it applies to; `events` has no meaning here (a Doppler webhook is sent on
39
+ * secret changes) and is ignored. The secret in the input is the signing secret and is sent only on create; Doppler
40
+ * never returns it. An existing webhook is adopted unchanged: no update call is made, `inspectRelaySource` reports
41
+ * a difference. Doppler does not document which token type may manage webhooks, so a 401/403 is a `todo`.
42
+ */
43
+ ensureRelaySource(input: EnsureRelaySourceInput): Promise<EnsureRelaySourceResult>;
44
+ /** Read the webhook back by URL: whether it exists, is enabled, covers every declared config and has a secret. */
45
+ inspectRelaySource(input: InspectRelaySourceInput): Promise<RelaySourceState>;
46
+ private relayProject;
47
+ private findWebhook;
25
48
  ensureProject(name: string): Promise<EnsureResult>;
26
49
  ensureEnvironment(project: string, name: string): Promise<EnsureResult>;
27
50
  }
28
- //#endregion
29
- //#region src/verify-token.d.ts
30
- /**
31
- * `verifyToken` — plugin-level export used by `holocron auth set` +
32
- * `holocron auth check`. Hits `GET /v3/me` and translates the response
33
- * into the normalized `VerifyTokenResult` shape.
34
- *
35
- * Kept as a standalone function (not a capability method) so the auth
36
- * command can call it without initializing the full plugin — plugin
37
- * construction requires an already-resolved token, which is exactly
38
- * what we don't have yet at bootstrap time.
39
- */
40
- interface VerifyTokenSuccess {
41
- ok: true;
42
- subject: string;
43
- }
44
- interface VerifyTokenFailure {
45
- ok: false;
46
- message: string;
47
- }
48
- type VerifyTokenResult = VerifyTokenSuccess | VerifyTokenFailure;
49
51
  interface VerifyTokenOptions {
50
52
  baseUrl?: string;
51
53
  fetch?: typeof fetch;
52
54
  }
53
- declare function verifyToken(token: string, opts?: VerifyTokenOptions): Promise<VerifyTokenResult>;
54
- //#endregion
55
- //#region src/index.d.ts
56
- interface DopplerPluginOptions extends ResolveTokenInput, DopplerVaultOptions {
55
+ /** Checks a Doppler token by fetching the caller and reports its kind and workplace, or why it was rejected. */
56
+ export declare function verifyToken(token: string, opts?: VerifyTokenOptions): Promise<VerifyTokenResult$1>;
57
+ /** Options for the Doppler plugin: the token lookup inputs plus the default project and config. */
58
+ export interface DopplerPluginOptions extends ResolveTokenInput, DopplerVaultOptions {
57
59
  /** Override base URL for tests. */
58
60
  baseUrl?: string;
59
61
  /** Override `fetch` for tests. */
60
62
  fetch?: typeof fetch;
61
63
  }
62
- interface PluginContext {
64
+ /** Shared state for one Doppler plugin instance: its options and a lazily created client. */
65
+ export interface PluginContext {
66
+ /** The options the plugin was created with. */
63
67
  options: DopplerPluginOptions;
68
+ /** Returns the memoized Doppler client; the token is resolved on the first call, not at plugin load. */
64
69
  client: () => DopplerClient;
65
70
  }
66
- declare function createContext(options: DopplerPluginOptions): PluginContext;
67
- declare function vault(ctx: PluginContext): Vault;
68
- declare function createPlugin(options: DopplerPluginOptions): {
71
+ /** Builds the plugin context from its options. */
72
+ export declare function createContext(options: DopplerPluginOptions): PluginContext;
73
+ /** Builds the `vault` capability for the context's default project and config. */
74
+ export declare function vault(ctx: PluginContext): Vault;
75
+ /** Creates the Doppler plugin: its `connection` probe and the `vault` capability. */
76
+ export declare function createPlugin(options: DopplerPluginOptions): {
69
77
  name: string;
78
+ probes: {
79
+ connection: import("@theholocron/cli").Probe;
80
+ };
70
81
  capabilities: {
71
82
  vault: () => Vault;
72
83
  };
73
84
  };
74
85
  /**
75
- * One-line hint shown by `holocron auth set doppler` when no token is
86
+ * One-line hint shown by `holocron new token doppler` when no token is
76
87
  * supplied or when the supplied token is rejected.
77
88
  */
78
- declare const AUTH_HINT: string;
79
- //#endregion
80
- export { AUTH_HINT, AuthError, type DopplerClientOptions, DopplerPluginOptions, DopplerVault, PluginContext, type ResolveTokenInput, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, createContext, createDopplerClient, createPlugin, resolveToken, vault, verifyToken };
89
+ export declare const AUTH_HINT: string;
90
+ export { AuthError, type DopplerClientOptions, type ResolveTokenInput, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, createDopplerClient };
package/dist/index.mjs CHANGED
@@ -1,19 +1,22 @@
1
- import { AuthError, ProviderApiError, createResolveToken } from "@theholocron/cli";
1
+ import { AuthError, ProviderApiError, connectionProbe, createResolveToken } from "@theholocron/cli";
2
2
  import { createDopplerClient } from "@theholocron/doppler-client";
3
- //#region src/auth.ts
3
+ import { errorMessage } from "@theholocron/misc-utils";
4
+ // src/auth.ts
5
+ /** Resolves the Doppler token from `--token`, `HOLOCRON_DOPPLER_TOKEN`, `DOPPLER_TOKEN` or the keyring entry for `doppler`, and throws `AuthError` when none is set. */
4
6
  const resolveToken = createResolveToken({
5
7
  envName: "HOLOCRON_DOPPLER_TOKEN",
6
8
  vendorEnvName: "DOPPLER_TOKEN",
7
9
  keyringService: "doppler",
8
- 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
+ errorMessage: "no Doppler token found. Pass --token <TOKEN>, set HOLOCRON_DOPPLER_TOKEN / DOPPLER_TOKEN, or run: holocron new token doppler $(doppler configure get token --plain)"
9
11
  });
10
- //#endregion
11
- //#region src/capabilities/vault.ts
12
+ /** Every token this plugin takes, for `holocron doctor secrets --verify`. */
13
+ const tokens = [resolveToken.token];
14
+ // src/capabilities/vault.ts
12
15
  /**
13
16
  * Doppler auto-injects these into every config's secrets download —
14
17
  * bookkeeping about the config itself, not something any caller
15
18
  * defined. `readEnvironment()` fans its result out to real destinations
16
- * (`holocron secrets sync` → CI secrets, deploy env vars); shipping
19
+ * (`holocron sync secrets` → CI secrets, deploy env vars); shipping
17
20
  * these alongside real secrets is pure noise there (theholocron/holocron#742
18
21
  * — found via Sentinel's deploy picking them up as if they were its own
19
22
  * env). Confirmed stable, documented Doppler behavior — not
@@ -24,9 +27,12 @@ const DOPPLER_INJECTED_KEYS = /* @__PURE__ */ new Set([
24
27
  "DOPPLER_CONFIG",
25
28
  "DOPPLER_ENVIRONMENT"
26
29
  ]);
30
+ /** `vault` capability for Doppler, with references shaped `doppler://<project>/<config>/<name>`. */
27
31
  var DopplerVault = class {
28
32
  client;
33
+ /** Capability key; always `"vault"`. */
29
34
  key = "vault";
35
+ /** Provider name; always `"doppler"`. */
30
36
  providerName = "doppler";
31
37
  project;
32
38
  config;
@@ -42,6 +48,10 @@ var DopplerVault = class {
42
48
  const res = await this.client().secrets.get(parsed.project, parsed.config, parsed.name);
43
49
  return res.value?.computed ?? res.value?.raw ?? "";
44
50
  }
51
+ async readSecret(name) {
52
+ const res = await this.client().secrets.get(this.project, this.config, name);
53
+ return res.value?.computed ?? res.value?.raw ?? "";
54
+ }
45
55
  async write(reference, value) {
46
56
  const parsed = parseReference(reference);
47
57
  await this.client().secrets.update(parsed.project, parsed.config, { [parsed.name]: value });
@@ -59,6 +69,71 @@ var DopplerVault = class {
59
69
  for (const [k, v] of Object.entries(res)) if (typeof v === "string" && !DOPPLER_INJECTED_KEYS.has(k)) out[k] = v;
60
70
  return out;
61
71
  }
72
+ /**
73
+ * Make the Doppler webhook for a relay source, found again by its URL in the project (`options.project`, else the
74
+ * vault's). `scope` is the config slugs it applies to; `events` has no meaning here (a Doppler webhook is sent on
75
+ * secret changes) and is ignored. The secret in the input is the signing secret and is sent only on create; Doppler
76
+ * never returns it. An existing webhook is adopted unchanged: no update call is made, `inspectRelaySource` reports
77
+ * a difference. Doppler does not document which token type may manage webhooks, so a 401/403 is a `todo`.
78
+ */
79
+ async ensureRelaySource(input) {
80
+ const project = this.relayProject(input);
81
+ let found;
82
+ try {
83
+ found = await this.findWebhook(project, input.url);
84
+ } catch (err) {
85
+ const todo = webhookAccessTodo(err, project);
86
+ if (todo) return {
87
+ created: false,
88
+ updated: [],
89
+ todo: [todo]
90
+ };
91
+ throw err;
92
+ }
93
+ if (found) return {
94
+ created: false,
95
+ updated: []
96
+ };
97
+ try {
98
+ await this.client().webhooks.create(project, {
99
+ url: input.url,
100
+ name: input.name,
101
+ ...input.secret ? { secret: input.secret } : {},
102
+ ...input.scope ? { enableConfigs: input.scope } : {}
103
+ });
104
+ } catch (err) {
105
+ const todo = webhookAccessTodo(err, project);
106
+ if (todo) return {
107
+ created: false,
108
+ updated: [],
109
+ todo: [todo]
110
+ };
111
+ throw err;
112
+ }
113
+ return {
114
+ created: true,
115
+ updated: [],
116
+ ...input.secret ? { secret: input.secret } : {}
117
+ };
118
+ }
119
+ /** Read the webhook back by URL: whether it exists, is enabled, covers every declared config and has a secret. */
120
+ async inspectRelaySource(input) {
121
+ const found = await this.findWebhook(this.relayProject(input), input.url);
122
+ if (!found) return { exists: false };
123
+ return {
124
+ exists: true,
125
+ ...found.enabled !== void 0 ? { enabled: found.enabled } : {},
126
+ ...found.enabledConfigs ? { scope: found.enabledConfigs } : {},
127
+ ...found.hasSecret !== void 0 ? { hasSecret: found.hasSecret } : {}
128
+ };
129
+ }
130
+ relayProject(input) {
131
+ const project = input.options?.project;
132
+ return typeof project === "string" && project ? project : this.project;
133
+ }
134
+ async findWebhook(project, url) {
135
+ return ((await this.client().webhooks.list(project)).webhooks ?? []).find((w) => w.url === url);
136
+ }
62
137
  async ensureProject(name) {
63
138
  try {
64
139
  await this.client().projects.create(name, "Managed by holocron");
@@ -95,6 +170,13 @@ function parseReference(reference) {
95
170
  };
96
171
  }
97
172
  /**
173
+ * A refused webhook call as a step for a person. Doppler's reference does not say which token type may manage
174
+ * webhooks (a service token is limited to one config's secrets), so a refusal names what to try, never a guess.
175
+ */
176
+ function webhookAccessTodo(err, project) {
177
+ if (err instanceof ProviderApiError && (err.status === 401 || err.status === 403)) return `Doppler refused the webhook call for project ${project}: use a token that can manage the project's webhooks (a personal token of a member who can, not a config-scoped service token), or add the webhook in the project's Webhooks page and set the secret yourself`;
178
+ }
179
+ /**
98
180
  * Doppler returns duplicate-create errors inconsistently across
99
181
  * endpoints:
100
182
  *
@@ -116,18 +198,8 @@ function hasAlreadyExistsBody(details) {
116
198
  if (typeof details !== "string") return false;
117
199
  return /already exists/i.test(details);
118
200
  }
119
- //#endregion
120
- //#region src/verify-token.ts
121
- /**
122
- * `verifyToken` — plugin-level export used by `holocron auth set` +
123
- * `holocron auth check`. Hits `GET /v3/me` and translates the response
124
- * into the normalized `VerifyTokenResult` shape.
125
- *
126
- * Kept as a standalone function (not a capability method) so the auth
127
- * command can call it without initializing the full plugin — plugin
128
- * construction requires an already-resolved token, which is exactly
129
- * what we don't have yet at bootstrap time.
130
- */
201
+ // src/verify-token.ts
202
+ /** Checks a Doppler token by fetching the caller and reports its kind and workplace, or why it was rejected. */
131
203
  async function verifyToken(token, opts = {}) {
132
204
  const client = createDopplerClient({
133
205
  token,
@@ -144,12 +216,12 @@ async function verifyToken(token, opts = {}) {
144
216
  } catch (err) {
145
217
  return {
146
218
  ok: false,
147
- message: err instanceof Error ? err.message : String(err)
219
+ message: errorMessage(err)
148
220
  };
149
221
  }
150
222
  }
151
- //#endregion
152
- //#region src/index.ts
223
+ // src/index.ts
224
+ /** Builds the plugin context from its options. */
153
225
  function createContext(options) {
154
226
  let client;
155
227
  return {
@@ -161,23 +233,34 @@ function createContext(options) {
161
233
  })
162
234
  };
163
235
  }
236
+ /** Builds the `vault` capability for the context's default project and config. */
164
237
  function vault(ctx) {
165
238
  return new DopplerVault(ctx.client, {
166
239
  project: ctx.options.project,
167
240
  config: ctx.options.config
168
241
  });
169
242
  }
243
+ /** Creates the Doppler plugin: its `connection` probe and the `vault` capability. */
170
244
  function createPlugin(options) {
171
245
  const ctx = createContext(options);
172
246
  return {
173
247
  name: "@theholocron/holocron-plugin-doppler",
248
+ probes: { connection: connectionProbe({
249
+ provider: "Doppler",
250
+ url: options.baseUrl ?? "https://api.doppler.com",
251
+ fetch: options.fetch,
252
+ token: () => resolveToken(options),
253
+ verify: (token) => verifyToken(token, {
254
+ baseUrl: options.baseUrl,
255
+ fetch: options.fetch
256
+ })
257
+ }) },
174
258
  capabilities: { vault: () => vault(ctx) }
175
259
  };
176
260
  }
177
261
  /**
178
- * One-line hint shown by `holocron auth set doppler` when no token is
262
+ * One-line hint shown by `holocron new token doppler` when no token is
179
263
  * supplied or when the supplied token is rejected.
180
264
  */
181
- 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)`";
182
- //#endregion
183
- export { AUTH_HINT, AuthError, DopplerVault, createContext, createDopplerClient, createPlugin, resolveToken, vault, verifyToken };
265
+ const AUTH_HINT = "install the Doppler CLI (`brew install dopplerhq/cli/doppler`), run `doppler login`, then `holocron new token doppler $(doppler configure get token --plain)`";
266
+ 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.52",
3
+ "version": "5.0.0-alpha.520",
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",
@@ -8,12 +8,12 @@
8
8
  "plugin",
9
9
  "vault"
10
10
  ],
11
- "homepage": "https://github.com/theholocron/holocron/tree/main/packages/holocron-plugin-doppler#readme",
11
+ "homepage": "https://docs.theholocron.dev/holocron/plugins/doppler/",
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-doppler"
16
+ "directory": "plugins/holocron-plugin-doppler"
17
17
  },
18
18
  "license": "MIT",
19
19
  "author": "Newton Koumantzelis",
@@ -30,27 +30,29 @@
30
30
  "dist"
31
31
  ],
32
32
  "devDependencies": {
33
- "@theholocron/doppler-client": "^1.25.0",
34
- "@theholocron/eslint-config": "^8.4.5",
35
- "@theholocron/http-client": "^1.25.0",
36
- "@theholocron/tsconfig": "^8.4.5",
37
- "@theholocron/tsdown-config": "^8.4.5",
38
- "@theholocron/vitest-config": "^8.4.5",
39
33
  "@types/node": "^26",
40
- "@vitest/coverage-v8": "^4.1.11",
41
- "@vitest/eslint-plugin": "^1.6.27",
42
- "eslint": "^10.8.1",
43
- "eslint-plugin-n": "^18.3.0",
44
- "globals": "^17.11.0",
45
- "tsdown": "^0.22.14",
46
- "tsx": "4.23.12",
47
- "typescript": "^5.9.3",
48
- "vitest": "^4.1.11",
49
- "@theholocron/cli": "5.0.0-alpha.52"
34
+ "@vitest/coverage-v8": "^5.1.0",
35
+ "@vitest/eslint-plugin": "^1.6.28",
36
+ "eslint": "^10.15.0",
37
+ "eslint-plugin-n": "^18.5.0",
38
+ "globals": "^17.14.0",
39
+ "tsdown": "^0.23.7",
40
+ "tsx": "4.23.15",
41
+ "typescript": "^6.0.3",
42
+ "vitest": "^5.1.0",
43
+ "@theholocron/doppler-client": "^1.58.0-alpha.52",
44
+ "@theholocron/cli": "5.0.0-alpha.520",
45
+ "@theholocron/http-client": "^1.58.0-alpha.52",
46
+ "@theholocron/eslint-config": "^8.9.0-alpha.22",
47
+ "@theholocron/misc-utils": "^1.17.0-alpha.5",
48
+ "@theholocron/vitest-config": "^8.9.0-alpha.22",
49
+ "@theholocron/tsdown-config": "^8.9.0-alpha.22",
50
+ "@theholocron/tsconfig": "^8.9.0-alpha.22"
50
51
  },
51
52
  "peerDependencies": {
52
- "@theholocron/doppler-client": "^1.25.0",
53
- "@theholocron/cli": "5.0.0-alpha.52"
53
+ "@theholocron/doppler-client": "^1.43.1",
54
+ "@theholocron/misc-utils": "^1.16.0",
55
+ "@theholocron/cli": "5.0.0-alpha.520"
54
56
  },
55
57
  "engines": {
56
58
  "node": ">=22"
@@ -59,11 +61,11 @@
59
61
  "access": "public"
60
62
  },
61
63
  "scripts": {
62
- "delivery.build": "tsdown",
63
- "sourceQuality.staticAnalysis": "holocron run sourceQuality.staticAnalysis --",
64
+ "build": "tsdown",
65
+ "lint:code": "eslint .",
66
+ "test:unit": "vitest run --coverage",
64
67
  "test:watch": "vitest",
65
- "validate": "tsx scripts/validate.mjs",
66
- "verification.typeSafety": "holocron run verification.typeSafety --",
67
- "verification.unitTests": "holocron run verification.unitTests --"
68
+ "typecheck": "tsc --noEmit",
69
+ "validate:plugin": "tsx scripts/validate.mjs"
68
70
  }
69
71
  }