vercel 48.4.0 → 48.5.0

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.
Files changed (2) hide show
  1. package/dist/index.js +188 -2
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -118121,6 +118121,191 @@ var require_frameworks = __commonJS2({
118121
118121
  dependency: "nestjs",
118122
118122
  getOutputDirName: async () => "public"
118123
118123
  },
118124
+ {
118125
+ name: "Fastify",
118126
+ slug: "fastify",
118127
+ logo: "https://api-frameworks.vercel.sh/framework-logos/fastify.svg",
118128
+ darkModeLogo: "https://api-frameworks.vercel.sh/framework-logos/fastify-dark.svg",
118129
+ tagline: "Fast and low overhead web framework, for Node.js",
118130
+ description: "Fastify is a web framework highly focused on providing the best developer experience with the least overhead and a powerful plugin architecture.",
118131
+ website: "https://fastify.dev/",
118132
+ useRuntime: { src: "index.js", use: "@vercel/fastify" },
118133
+ defaultRoutes: [
118134
+ {
118135
+ handle: "filesystem"
118136
+ },
118137
+ {
118138
+ src: "/(.*)",
118139
+ dest: "/"
118140
+ }
118141
+ ],
118142
+ detectors: {
118143
+ every: [{ matchPackage: "fastify" }],
118144
+ some: [
118145
+ {
118146
+ path: "app.cjs",
118147
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118148
+ },
118149
+ {
118150
+ path: "app.js",
118151
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118152
+ },
118153
+ {
118154
+ path: "app.mjs",
118155
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118156
+ },
118157
+ {
118158
+ path: "app.mts",
118159
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118160
+ },
118161
+ {
118162
+ path: "app.ts",
118163
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118164
+ },
118165
+ {
118166
+ path: "app.cts",
118167
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118168
+ },
118169
+ {
118170
+ path: "index.cjs",
118171
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118172
+ },
118173
+ {
118174
+ path: "index.js",
118175
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118176
+ },
118177
+ {
118178
+ path: "index.mjs",
118179
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118180
+ },
118181
+ {
118182
+ path: "index.mts",
118183
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118184
+ },
118185
+ {
118186
+ path: "index.ts",
118187
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118188
+ },
118189
+ {
118190
+ path: "index.cts",
118191
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118192
+ },
118193
+ {
118194
+ path: "server.cjs",
118195
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118196
+ },
118197
+ {
118198
+ path: "server.js",
118199
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118200
+ },
118201
+ {
118202
+ path: "server.mjs",
118203
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118204
+ },
118205
+ {
118206
+ path: "server.mts",
118207
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118208
+ },
118209
+ {
118210
+ path: "server.ts",
118211
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118212
+ },
118213
+ {
118214
+ path: "server.cts",
118215
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118216
+ },
118217
+ {
118218
+ path: "src/index.cjs",
118219
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118220
+ },
118221
+ {
118222
+ path: "src/index.js",
118223
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118224
+ },
118225
+ {
118226
+ path: "src/index.mjs",
118227
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118228
+ },
118229
+ {
118230
+ path: "src/index.mts",
118231
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118232
+ },
118233
+ {
118234
+ path: "src/index.ts",
118235
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118236
+ },
118237
+ {
118238
+ path: "src/index.cts",
118239
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118240
+ },
118241
+ {
118242
+ path: "src/app.cjs",
118243
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118244
+ },
118245
+ {
118246
+ path: "src/app.js",
118247
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118248
+ },
118249
+ {
118250
+ path: "src/app.mjs",
118251
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118252
+ },
118253
+ {
118254
+ path: "src/app.mts",
118255
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118256
+ },
118257
+ {
118258
+ path: "src/app.ts",
118259
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118260
+ },
118261
+ {
118262
+ path: "src/app.cts",
118263
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118264
+ },
118265
+ {
118266
+ path: "src/server.cjs",
118267
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118268
+ },
118269
+ {
118270
+ path: "src/server.js",
118271
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118272
+ },
118273
+ {
118274
+ path: "src/server.mjs",
118275
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118276
+ },
118277
+ {
118278
+ path: "src/server.mts",
118279
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118280
+ },
118281
+ {
118282
+ path: "src/server.ts",
118283
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118284
+ },
118285
+ {
118286
+ path: "src/server.cts",
118287
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
118288
+ }
118289
+ ]
118290
+ },
118291
+ settings: {
118292
+ installCommand: {
118293
+ placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`"
118294
+ },
118295
+ buildCommand: {
118296
+ placeholder: "None",
118297
+ value: null
118298
+ },
118299
+ devCommand: {
118300
+ placeholder: "None",
118301
+ value: null
118302
+ },
118303
+ outputDirectory: {
118304
+ value: "N/A"
118305
+ }
118306
+ },
118307
+ getOutputDirName: async () => "public"
118308
+ },
118124
118309
  {
118125
118310
  name: "xmcp",
118126
118311
  slug: "xmcp",
@@ -147142,7 +147327,8 @@ async function editProjectSettings(client2, projectSettings, framework, autoConf
147142
147327
  },
147143
147328
  projectSettings
147144
147329
  );
147145
- if (localConfigurationOverrides) {
147330
+ const hasLocalConfigurationOverrides = localConfigurationOverrides && Object.values(localConfigurationOverrides ?? {}).some(Boolean);
147331
+ if (hasLocalConfigurationOverrides) {
147146
147332
  for (const setting of settingKeys) {
147147
147333
  const localConfigValue = localConfigurationOverrides[setting];
147148
147334
  if (localConfigValue)
@@ -169278,7 +169464,7 @@ async function getBuildMatches(vercelConfig, cwd, devServer, fileList) {
169278
169464
  if (src[0] === "/") {
169279
169465
  src = src.substring(1);
169280
169466
  }
169281
- if (buildConfig.config?.framework === "hono" || buildConfig.config?.framework === "express" || buildConfig.config?.framework === "h3" || buildConfig.config?.framework === "nestjs") {
169467
+ if (buildConfig.config?.framework === "hono" || buildConfig.config?.framework === "express" || buildConfig.config?.framework === "h3" || buildConfig.config?.framework === "nestjs" || buildConfig.config?.framework === "fastify") {
169282
169468
  src = "package.json";
169283
169469
  }
169284
169470
  if (buildConfig.config?.framework === "fastapi" || buildConfig.config?.framework === "flask") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "48.4.0",
3
+ "version": "48.5.0",
4
4
  "preferGlobal": true,
5
5
  "license": "Apache-2.0",
6
6
  "description": "The command-line interface for Vercel",
@@ -25,12 +25,12 @@
25
25
  "@vercel/build-utils": "12.1.3",
26
26
  "@vercel/fun": "1.1.6",
27
27
  "@vercel/go": "3.2.3",
28
- "@vercel/express": "0.0.25",
29
- "@vercel/hono": "0.1.6",
30
- "@vercel/h3": "0.1.5",
28
+ "@vercel/express": "0.0.26",
29
+ "@vercel/hono": "0.1.7",
30
+ "@vercel/h3": "0.1.6",
31
31
  "@vercel/hydrogen": "1.2.4",
32
32
  "@vercel/next": "4.13.4",
33
- "@vercel/node": "5.4.0",
33
+ "@vercel/node": "5.4.1",
34
34
  "@vercel/python": "5.0.10",
35
35
  "@vercel/redwood": "2.3.6",
36
36
  "@vercel/remix-builder": "5.4.13",
@@ -85,8 +85,8 @@
85
85
  "@types/yauzl-promise": "2.1.0",
86
86
  "@vercel/client": "17.0.4",
87
87
  "@vercel/error-utils": "2.0.3",
88
- "@vercel/frameworks": "3.13.0",
89
- "@vercel/fs-detectors": "5.6.3",
88
+ "@vercel/frameworks": "3.14.0",
89
+ "@vercel/fs-detectors": "5.6.4",
90
90
  "@vercel/routing-utils": "5.2.0",
91
91
  "@vitest/expect": "2.1.3",
92
92
  "ajv": "6.12.3",
@@ -168,8 +168,8 @@
168
168
  "xdg-app-paths": "5.1.0",
169
169
  "yauzl-promise": "2.1.3",
170
170
  "@vercel-internals/constants": "1.0.4",
171
- "@vercel-internals/types": "3.0.6",
172
- "@vercel-internals/get-package-json": "1.0.0"
171
+ "@vercel-internals/get-package-json": "1.0.0",
172
+ "@vercel-internals/types": "3.0.6"
173
173
  },
174
174
  "scripts": {
175
175
  "test": "jest --reporters=default --reporters=jest-junit --env node --verbose --bail",