@theholocron/holocron-plugin-doppler 3.0.0 → 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 -24
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -9,30 +9,6 @@ const resolveToken = createResolveToken({
|
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/capabilities/vault.ts
|
|
12
|
-
/**
|
|
13
|
-
* `vault` capability for Doppler.
|
|
14
|
-
*
|
|
15
|
-
* Reference format: `doppler://<project>/<config>/<name>` — three
|
|
16
|
-
* parts, mirrors 1P's `op://Vault/Item/field`. The plugin options can
|
|
17
|
-
* carry a default project + config so `list()` / `environments()` /
|
|
18
|
-
* `readEnvironment()` don't need a three-part ref.
|
|
19
|
-
*
|
|
20
|
-
* Doppler's data model:
|
|
21
|
-
* - Projects (top-level)
|
|
22
|
-
* - Environments — dev / stg / prd (each has a root config with the
|
|
23
|
-
* same name)
|
|
24
|
-
* - Configs — the root configs plus optional branch configs (e.g.,
|
|
25
|
-
* `dev_local`, `dev_ci`). `holocron secrets sync` reads from
|
|
26
|
-
* configs, not environments.
|
|
27
|
-
*
|
|
28
|
-
* Write semantics: `POST /v3/configs/config/secrets` accepts a
|
|
29
|
-
* `{name: value}` map and upserts. No probe-then-act dance needed.
|
|
30
|
-
*
|
|
31
|
-
* Bootstrap semantics: `ensureProject` / `ensureEnvironment` treat
|
|
32
|
-
* "already exists" (409) as success. Doppler returns 409 with a
|
|
33
|
-
* `messages` array; the plugin's REST client wraps it as
|
|
34
|
-
* ProviderApiError with `status: 409` which we catch and swallow.
|
|
35
|
-
*/
|
|
36
12
|
var DopplerVault = class {
|
|
37
13
|
client;
|
|
38
14
|
key = "vault";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-doppler",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
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
|
"homepage": "https://github.com/theholocron/holocron/tree/main/packages/holocron-plugin-doppler#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/holocron/issues",
|
|
@@ -22,25 +22,25 @@
|
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"@theholocron/doppler-client": "^1.3.3",
|
|
25
|
-
"@theholocron/cli": "3.0.
|
|
25
|
+
"@theholocron/cli": "3.0.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@theholocron/doppler-client": "^1.3.3",
|
|
29
|
-
"@theholocron/eslint-config": "^7.
|
|
29
|
+
"@theholocron/eslint-config": "^7.6.0",
|
|
30
30
|
"@theholocron/tsconfig": "^7.5.0",
|
|
31
31
|
"@theholocron/tsdown-config": "^7.5.0",
|
|
32
32
|
"@theholocron/vitest-config": "^7.5.0",
|
|
33
33
|
"@types/node": "^26",
|
|
34
34
|
"@vitest/coverage-v8": "^4.1.10",
|
|
35
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
36
|
-
"eslint": "^10.
|
|
35
|
+
"@vitest/eslint-plugin": "^1.6.24",
|
|
36
|
+
"eslint": "^10.8.0",
|
|
37
37
|
"eslint-plugin-n": "^18.2.2",
|
|
38
38
|
"globals": "^17.7.0",
|
|
39
|
-
"tsdown": "^0.22.
|
|
39
|
+
"tsdown": "^0.22.14",
|
|
40
40
|
"tsx": "4.23.1",
|
|
41
41
|
"typescript": "^5.9.3",
|
|
42
42
|
"vitest": "^4.1.10",
|
|
43
|
-
"@theholocron/cli": "3.0.
|
|
43
|
+
"@theholocron/cli": "3.0.2"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|