@theholocron/vercel-client 1.58.0-alpha.59 → 1.58.0-alpha.60

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
@@ -223,8 +223,8 @@ interface VercelProjectsResponse {
223
223
  interface VercelCreateProjectInput {
224
224
  /** The project name. */
225
225
  name: string;
226
- /** The framework preset; omitted, none is sent. */
227
- framework?: string;
226
+ /** The framework preset; omitted, none is sent, and `null` asks for no preset ("Other"), which a bare function needs. */
227
+ framework?: string | null;
228
228
  /** A GitHub repository (`owner/name`) to link the project to. */
229
229
  repo?: string;
230
230
  /** The directory in the repository the project builds from. */
@@ -232,6 +232,8 @@ interface VercelCreateProjectInput {
232
232
  }
233
233
  /** Input for `projects.update()`; only the fields given are sent. */
234
234
  interface VercelUpdateProjectInput {
235
+ /** The framework preset; `null` removes it ("Other"). Omitted, it is left as it is. */
236
+ framework?: string | null;
235
237
  /** Turn preview deployments off (`true`) or on (`false`). */
236
238
  previewDeploymentsDisabled?: boolean;
237
239
  /** Git integration settings for the project. */
package/dist/index.mjs CHANGED
@@ -104,6 +104,7 @@ function projects(rest) {
104
104
  },
105
105
  update: (projectId, input) => {
106
106
  const body = {};
107
+ if (input.framework !== void 0) body.framework = input.framework;
107
108
  if (input.previewDeploymentsDisabled !== void 0) body.previewDeploymentsDisabled = input.previewDeploymentsDisabled;
108
109
  if (input.gitProviderOptions !== void 0) body.gitProviderOptions = input.gitProviderOptions;
109
110
  return rest.request(`/v9/projects/${encodeURIComponent(projectId)}`, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/vercel-client",
3
- "version": "1.58.0-alpha.59",
3
+ "version": "1.58.0-alpha.60",
4
4
  "description": "A TypeScript client for the Vercel API",
5
5
  "keywords": [
6
6
  "vercel",
@@ -32,8 +32,8 @@
32
32
  "dist"
33
33
  ],
34
34
  "dependencies": {
35
- "@theholocron/http-client": "^1.58.0-alpha.59",
36
- "@theholocron/observability": "^0.7.0-alpha.7"
35
+ "@theholocron/http-client": "^1.58.0-alpha.60",
36
+ "@theholocron/observability": "^0.7.0-alpha.8"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^26",
@@ -45,10 +45,10 @@
45
45
  "tsdown": "^0.23.7",
46
46
  "typescript": "^6.0.3",
47
47
  "vitest": "^5.1.1",
48
- "@theholocron/eslint-config": "^8.9.0-alpha.23",
49
- "@theholocron/tsconfig": "^8.9.0-alpha.23",
50
- "@theholocron/tsdown-config": "^8.9.0-alpha.23",
51
- "@theholocron/vitest-config": "^8.9.0-alpha.23"
48
+ "@theholocron/eslint-config": "^8.9.0-alpha.24",
49
+ "@theholocron/tsconfig": "^8.9.0-alpha.24",
50
+ "@theholocron/tsdown-config": "^8.9.0-alpha.24",
51
+ "@theholocron/vitest-config": "^8.9.0-alpha.24"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=22.0.0"