@vercel/static-build 2.7.24 → 2.7.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.
Files changed (2) hide show
  1. package/dist/index.js +216 -2
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -10248,6 +10248,57 @@ var require_frameworks = __commonJS({
10248
10248
  }
10249
10249
  ]
10250
10250
  },
10251
+ {
10252
+ name: "Flask",
10253
+ slug: "flask",
10254
+ logo: "https://api-frameworks.vercel.sh/framework-logos/flask.svg",
10255
+ tagline: "The Python micro web framework",
10256
+ description: "A Flask app, ready for production",
10257
+ website: "https://flask.palletsprojects.com",
10258
+ useRuntime: { src: "index.py", use: "@vercel/python" },
10259
+ detectors: {
10260
+ some: [
10261
+ {
10262
+ path: "requirements.txt",
10263
+ matchContent: "flask"
10264
+ },
10265
+ {
10266
+ path: "pyproject.toml",
10267
+ matchContent: "flask"
10268
+ },
10269
+ {
10270
+ path: "Pipfile",
10271
+ matchContent: "flask"
10272
+ }
10273
+ ]
10274
+ },
10275
+ settings: {
10276
+ installCommand: {
10277
+ placeholder: "`pip install -r requirements.txt`"
10278
+ },
10279
+ buildCommand: {
10280
+ placeholder: "None",
10281
+ value: null
10282
+ },
10283
+ devCommand: {
10284
+ placeholder: "None",
10285
+ value: null
10286
+ },
10287
+ outputDirectory: {
10288
+ value: "N/A"
10289
+ }
10290
+ },
10291
+ getOutputDirName: async () => "public",
10292
+ defaultRoutes: [
10293
+ {
10294
+ handle: "filesystem"
10295
+ },
10296
+ {
10297
+ src: "/(.*)",
10298
+ dest: "/"
10299
+ }
10300
+ ]
10301
+ },
10251
10302
  {
10252
10303
  name: "FastHTML",
10253
10304
  slug: "fasthtml",
@@ -10449,7 +10500,7 @@ var require_frameworks = __commonJS({
10449
10500
  description: "Nitro lets you create web servers that run on multiple platforms.",
10450
10501
  website: "https://nitro.build/",
10451
10502
  detectors: {
10452
- every: [{ matchPackage: "nitropack" }]
10503
+ some: [{ matchPackage: "nitropack" }, { matchPackage: "nitro" }]
10453
10504
  },
10454
10505
  settings: {
10455
10506
  installCommand: {
@@ -10466,7 +10517,6 @@ var require_frameworks = __commonJS({
10466
10517
  value: "dist"
10467
10518
  }
10468
10519
  },
10469
- dependency: "nitropack",
10470
10520
  getOutputDirName: async () => "public"
10471
10521
  },
10472
10522
  {
@@ -11047,9 +11097,173 @@ var require_frameworks = __commonJS({
11047
11097
  detectors: {
11048
11098
  every: [{ matchPackage: "@nestjs/core" }],
11049
11099
  some: [
11100
+ {
11101
+ path: "src/main.js",
11102
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11103
+ },
11104
+ {
11105
+ path: "src/main.cjs",
11106
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11107
+ },
11108
+ {
11109
+ path: "src/main.mjs",
11110
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11111
+ },
11050
11112
  {
11051
11113
  path: "src/main.ts",
11052
11114
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11115
+ },
11116
+ {
11117
+ path: "src/main.cts",
11118
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11119
+ },
11120
+ {
11121
+ path: "src/main.mts",
11122
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11123
+ },
11124
+ {
11125
+ path: "app.js",
11126
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11127
+ },
11128
+ {
11129
+ path: "app.cjs",
11130
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11131
+ },
11132
+ {
11133
+ path: "app.mjs",
11134
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11135
+ },
11136
+ {
11137
+ path: "app.ts",
11138
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11139
+ },
11140
+ {
11141
+ path: "app.cts",
11142
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11143
+ },
11144
+ {
11145
+ path: "app.mts",
11146
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11147
+ },
11148
+ {
11149
+ path: "index.js",
11150
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11151
+ },
11152
+ {
11153
+ path: "index.cjs",
11154
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11155
+ },
11156
+ {
11157
+ path: "index.mjs",
11158
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11159
+ },
11160
+ {
11161
+ path: "index.ts",
11162
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11163
+ },
11164
+ {
11165
+ path: "index.cts",
11166
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11167
+ },
11168
+ {
11169
+ path: "index.mts",
11170
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11171
+ },
11172
+ {
11173
+ path: "server.js",
11174
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11175
+ },
11176
+ {
11177
+ path: "server.cjs",
11178
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11179
+ },
11180
+ {
11181
+ path: "server.mjs",
11182
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11183
+ },
11184
+ {
11185
+ path: "server.ts",
11186
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11187
+ },
11188
+ {
11189
+ path: "server.cts",
11190
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11191
+ },
11192
+ {
11193
+ path: "server.mts",
11194
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11195
+ },
11196
+ {
11197
+ path: "src/app.js",
11198
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11199
+ },
11200
+ {
11201
+ path: "src/app.cjs",
11202
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11203
+ },
11204
+ {
11205
+ path: "src/app.mjs",
11206
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11207
+ },
11208
+ {
11209
+ path: "src/app.ts",
11210
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11211
+ },
11212
+ {
11213
+ path: "src/app.cts",
11214
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11215
+ },
11216
+ {
11217
+ path: "src/app.mts",
11218
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11219
+ },
11220
+ {
11221
+ path: "src/index.js",
11222
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11223
+ },
11224
+ {
11225
+ path: "src/index.cjs",
11226
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11227
+ },
11228
+ {
11229
+ path: "src/index.mjs",
11230
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11231
+ },
11232
+ {
11233
+ path: "src/index.ts",
11234
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11235
+ },
11236
+ {
11237
+ path: "src/index.cts",
11238
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11239
+ },
11240
+ {
11241
+ path: "src/index.mts",
11242
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11243
+ },
11244
+ {
11245
+ path: "src/server.js",
11246
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11247
+ },
11248
+ {
11249
+ path: "src/server.cjs",
11250
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11251
+ },
11252
+ {
11253
+ path: "src/server.mjs",
11254
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11255
+ },
11256
+ {
11257
+ path: "src/server.ts",
11258
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11259
+ },
11260
+ {
11261
+ path: "src/server.cts",
11262
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11263
+ },
11264
+ {
11265
+ path: "src/server.mts",
11266
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
11053
11267
  }
11054
11268
  ]
11055
11269
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "2.7.24",
3
+ "version": "2.7.26",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@vercel/gatsby-plugin-vercel-analytics": "1.0.11",
17
- "@vercel/gatsby-plugin-vercel-builder": "2.0.96",
17
+ "@vercel/gatsby-plugin-vercel-builder": "2.0.98",
18
18
  "@vercel/static-config": "3.1.2",
19
19
  "ts-morph": "12.0.0"
20
20
  },
@@ -28,10 +28,10 @@
28
28
  "@types/node-fetch": "2.5.4",
29
29
  "@types/promise-timeout": "1.3.0",
30
30
  "@types/semver": "7.3.13",
31
- "@vercel/build-utils": "12.1.1",
31
+ "@vercel/build-utils": "12.1.3",
32
32
  "@vercel/error-utils": "2.0.3",
33
- "@vercel/frameworks": "3.11.0",
34
- "@vercel/fs-detectors": "5.6.0",
33
+ "@vercel/frameworks": "3.12.0",
34
+ "@vercel/fs-detectors": "5.6.2",
35
35
  "@vercel/routing-utils": "5.2.0",
36
36
  "execa": "3.2.0",
37
37
  "fs-extra": "10.0.0",