@theholocron/holocron-plugin-infisical 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 -18
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -9,24 +9,6 @@ const resolveToken = createResolveToken({
|
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/capabilities/vault.ts
|
|
12
|
-
/**
|
|
13
|
-
* `vault` capability for Infisical.
|
|
14
|
-
*
|
|
15
|
-
* Reference format: `infisical://<workspaceId>/<environment>/<name>`
|
|
16
|
-
* — three parts, mirrors Doppler's `doppler://<project>/<config>/<name>`.
|
|
17
|
-
* The plugin options carry a default `workspace` (workspace id) +
|
|
18
|
-
* `environment` (slug, typically `dev`/`stg`/`prd`) so `list()` /
|
|
19
|
-
* `environments()` / `readEnvironment()` don't need a three-part ref.
|
|
20
|
-
*
|
|
21
|
-
* Write semantics: Infisical's REST API separates CREATE (`POST`) and
|
|
22
|
-
* UPDATE (`PATCH`). We attempt POST first; on the vendor's "already
|
|
23
|
-
* exists" response we PATCH to upsert. The isConflict helper follows
|
|
24
|
-
* the same pattern as the Doppler plugin.
|
|
25
|
-
*
|
|
26
|
-
* Bootstrap semantics: `ensureProject` / `ensureEnvironment` treat
|
|
27
|
-
* "already exists" as success. Both use the standard Infisical
|
|
28
|
-
* workspace / environment create endpoints.
|
|
29
|
-
*/
|
|
30
12
|
var InfisicalVault = class {
|
|
31
13
|
client;
|
|
32
14
|
key = "vault";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-infisical",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Holocron plugin for Infisical. Implements the vault capability against Infisical's REST API, plus exports verifyToken + AUTH_HINT for `holocron auth`.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/holocron/tree/main/packages/holocron-plugin-infisical#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/holocron/issues",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"@theholocron/infisical-client": "^1.3.3",
|
|
25
|
-
"@theholocron/cli": "3.0.
|
|
25
|
+
"@theholocron/cli": "3.0.2"
|
|
26
26
|
},
|
|
27
27
|
"peerDependenciesMeta": {
|
|
28
28
|
"@theholocron/infisical-client": {
|
|
@@ -30,22 +30,22 @@
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@theholocron/eslint-config": "^7.
|
|
33
|
+
"@theholocron/eslint-config": "^7.6.0",
|
|
34
34
|
"@theholocron/infisical-client": "^1.3.3",
|
|
35
35
|
"@theholocron/tsconfig": "^7.5.0",
|
|
36
36
|
"@theholocron/tsdown-config": "^7.5.0",
|
|
37
37
|
"@theholocron/vitest-config": "^7.5.0",
|
|
38
38
|
"@types/node": "^26",
|
|
39
39
|
"@vitest/coverage-v8": "^4.1.10",
|
|
40
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
41
|
-
"eslint": "^10.
|
|
40
|
+
"@vitest/eslint-plugin": "^1.6.24",
|
|
41
|
+
"eslint": "^10.8.0",
|
|
42
42
|
"eslint-plugin-n": "^18.2.2",
|
|
43
43
|
"globals": "^17.7.0",
|
|
44
|
-
"tsdown": "^0.22.
|
|
44
|
+
"tsdown": "^0.22.14",
|
|
45
45
|
"tsx": "4.23.1",
|
|
46
46
|
"typescript": "^5.9.3",
|
|
47
47
|
"vitest": "^4.1.10",
|
|
48
|
-
"@theholocron/cli": "3.0.
|
|
48
|
+
"@theholocron/cli": "3.0.2"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|