@theholocron/holocron-plugin-vercel 3.0.1 → 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 +4 -4
package/dist/index.mjs
CHANGED
|
@@ -9,24 +9,6 @@ const resolveToken = createResolveToken({
|
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/capabilities/deployment.ts
|
|
12
|
-
/**
|
|
13
|
-
* `deployment` capability for Vercel.
|
|
14
|
-
*
|
|
15
|
-
* Ported from rando-id/rando.id `packages/cli/src/adapters/vercel.ts`,
|
|
16
|
-
* adapted to the holocron `Deployment` interface:
|
|
17
|
-
*
|
|
18
|
-
* - `ensureProject` is the idempotent create (GET-then-POST), since
|
|
19
|
-
* `holocron setup` re-runs on every invocation
|
|
20
|
-
* - `setEnvVar` uses Vercel's `upsert=true` so it's idempotent
|
|
21
|
-
* create-or-update
|
|
22
|
-
* - `triggerDeployment` infers a branch preview when `target` is
|
|
23
|
-
* omitted; named targets ('production' / 'staging') opt into
|
|
24
|
-
* environment-scoped deploys
|
|
25
|
-
*
|
|
26
|
-
* Vercel encrypts env-var values at rest server-side; we send them as
|
|
27
|
-
* `type: 'encrypted'`. Unlike GitHub Actions secrets, there's no
|
|
28
|
-
* sealed-box / libsodium step on the client.
|
|
29
|
-
*/
|
|
30
12
|
var VercelDeployment = class {
|
|
31
13
|
client;
|
|
32
14
|
key = "deployment";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-vercel",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Holocron plugin for Vercel. Implements the deployment capability against the Vercel REST API.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/holocron/tree/main/packages/holocron-plugin-vercel#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/holocron/issues",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"@theholocron/vercel-client": "^1.3.3",
|
|
25
|
-
"@theholocron/cli": "3.0.
|
|
25
|
+
"@theholocron/cli": "3.0.2"
|
|
26
26
|
},
|
|
27
27
|
"peerDependenciesMeta": {
|
|
28
28
|
"@theholocron/vercel-client": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@theholocron/eslint-config": "^7.
|
|
33
|
+
"@theholocron/eslint-config": "^7.6.0",
|
|
34
34
|
"@theholocron/tsconfig": "^7.5.0",
|
|
35
35
|
"@theholocron/tsdown-config": "^7.5.0",
|
|
36
36
|
"@theholocron/vercel-client": "^1.3.3",
|
|
@@ -45,7 +45,7 @@
|
|
|
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"
|