@theholocron/vercel-client 1.58.0-alpha.16 → 1.58.0-alpha.26

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
@@ -70,6 +70,12 @@ interface VercelCreateDeploymentInput {
70
70
  * later deployments inherit it unless overridden here again.
71
71
  */
72
72
  framework?: string | null;
73
+ /**
74
+ * `projectSettings.installCommand`. Sent explicitly because a deployment made from uploaded
75
+ * files takes its install command from the project's settings, not from an uploaded
76
+ * `vercel.json`; omitted, the project's own setting applies.
77
+ */
78
+ installCommand?: string;
73
79
  /** The environment to deploy to; omitted, Vercel decides. */
74
80
  target?: VercelDeploymentTarget;
75
81
  }
package/dist/index.mjs CHANGED
@@ -29,7 +29,10 @@ function deployments(rest) {
29
29
  data: Buffer.from(f.content, "utf8").toString("base64"),
30
30
  encoding: "base64"
31
31
  })),
32
- projectSettings: { framework: input.framework ?? null },
32
+ projectSettings: {
33
+ framework: input.framework ?? null,
34
+ ...input.installCommand ? { installCommand: input.installCommand } : {}
35
+ },
33
36
  ...input.target ? { target: input.target } : {}
34
37
  }
35
38
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/vercel-client",
3
- "version": "1.58.0-alpha.16",
3
+ "version": "1.58.0-alpha.26",
4
4
  "description": "A TypeScript client for the Vercel API",
5
5
  "keywords": [
6
6
  "vercel",
@@ -32,23 +32,23 @@
32
32
  "dist"
33
33
  ],
34
34
  "dependencies": {
35
- "@theholocron/http-client": "^1.58.0-alpha.16",
36
- "@theholocron/observability": "^0.7.0-alpha.2"
35
+ "@theholocron/http-client": "^1.58.0-alpha.26",
36
+ "@theholocron/observability": "^0.7.0-alpha.3"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^26",
40
- "@vitest/coverage-v8": "^5.0.5",
40
+ "@vitest/coverage-v8": "^5.1.0",
41
41
  "@vitest/eslint-plugin": "^1.6.28",
42
42
  "eslint": "^10.14.0",
43
43
  "eslint-plugin-n": "^18.5.0",
44
44
  "globals": "^17.14.0",
45
- "tsdown": "^0.23.4",
45
+ "tsdown": "^0.23.5",
46
46
  "typescript": "^5.9.3",
47
- "vitest": "^5.0.5",
48
- "@theholocron/eslint-config": "^8.9.0-alpha.11",
49
- "@theholocron/tsconfig": "^8.9.0-alpha.11",
50
- "@theholocron/tsdown-config": "^8.9.0-alpha.11",
51
- "@theholocron/vitest-config": "^8.9.0-alpha.11"
47
+ "vitest": "^5.1.0",
48
+ "@theholocron/eslint-config": "^8.9.0-alpha.15",
49
+ "@theholocron/tsconfig": "^8.9.0-alpha.15",
50
+ "@theholocron/vitest-config": "^8.9.0-alpha.15",
51
+ "@theholocron/tsdown-config": "^8.9.0-alpha.15"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=22.0.0"