@vercel/static-build 2.11.6 → 2.11.8
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.js +13 -14
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -11498,7 +11498,6 @@ var require_frameworks = __commonJS({
|
|
|
11498
11498
|
{
|
|
11499
11499
|
name: "Services",
|
|
11500
11500
|
slug: "services",
|
|
11501
|
-
experimental: true,
|
|
11502
11501
|
logo: "https://api-frameworks.vercel.sh/framework-logos/services.svg",
|
|
11503
11502
|
tagline: "Multiple services deployed as serverless functions within your project.",
|
|
11504
11503
|
description: "Multiple services deployed as serverless functions within your project.",
|
|
@@ -24708,8 +24707,8 @@ var require_auto_detect = __commonJS({
|
|
|
24708
24707
|
warnings: [],
|
|
24709
24708
|
errors: [
|
|
24710
24709
|
{
|
|
24711
|
-
code: "
|
|
24712
|
-
message: "No services detected. Configure `
|
|
24710
|
+
code: "NO_SERVICES_CONFIGURED",
|
|
24711
|
+
message: "No services detected. Configure `services` in vercel.json or ensure a framework exists at project root, frontend/, or apps/web/."
|
|
24713
24712
|
}
|
|
24714
24713
|
]
|
|
24715
24714
|
};
|
|
@@ -28145,7 +28144,7 @@ var require_detect_render = __commonJS({
|
|
|
28145
28144
|
if (frameworks2.length === 0) {
|
|
28146
28145
|
warnings.push({
|
|
28147
28146
|
code: "SERVICE_SKIPPED",
|
|
28148
|
-
message: `Skipped Render service "${serviceName}": no framework detected. Configure it manually in
|
|
28147
|
+
message: `Skipped Render service "${serviceName}": no framework detected. Configure it manually in services.`
|
|
28149
28148
|
});
|
|
28150
28149
|
continue;
|
|
28151
28150
|
}
|
|
@@ -28153,7 +28152,7 @@ var require_detect_render = __commonJS({
|
|
|
28153
28152
|
const names = frameworks2.map((f) => f.name).join(", ");
|
|
28154
28153
|
errors.push({
|
|
28155
28154
|
code: "MULTIPLE_FRAMEWORKS_SERVICE",
|
|
28156
|
-
message: `Multiple frameworks detected for Render service "${serviceName}": ${names}. Use explicit
|
|
28155
|
+
message: `Multiple frameworks detected for Render service "${serviceName}": ${names}. Use explicit services config.`,
|
|
28157
28156
|
serviceName
|
|
28158
28157
|
});
|
|
28159
28158
|
continue;
|
|
@@ -28321,7 +28320,7 @@ var require_detect_procfile = __commonJS({
|
|
|
28321
28320
|
errors: [
|
|
28322
28321
|
{
|
|
28323
28322
|
code: "MULTIPLE_FRAMEWORKS_SERVICE",
|
|
28324
|
-
message: `Multiple frameworks detected: ${names}. Use explicit
|
|
28323
|
+
message: `Multiple frameworks detected: ${names}. Use explicit services config.`
|
|
28325
28324
|
}
|
|
28326
28325
|
],
|
|
28327
28326
|
warnings
|
|
@@ -28359,7 +28358,7 @@ var require_detect_procfile = __commonJS({
|
|
|
28359
28358
|
if (!detectedFramework && !entrypoint) {
|
|
28360
28359
|
warnings.push({
|
|
28361
28360
|
code: "SERVICE_SKIPPED",
|
|
28362
|
-
message: `Skipped Procfile process "${processType}": no framework detected and could not infer entrypoint from command "${command}". Configure it manually in
|
|
28361
|
+
message: `Skipped Procfile process "${processType}": no framework detected and could not infer entrypoint from command "${command}". Configure it manually in services.`
|
|
28363
28362
|
});
|
|
28364
28363
|
continue;
|
|
28365
28364
|
}
|
|
@@ -28665,8 +28664,8 @@ var require_detect_services = __commonJS({
|
|
|
28665
28664
|
rewrites: [],
|
|
28666
28665
|
errors: [
|
|
28667
28666
|
{
|
|
28668
|
-
code: "
|
|
28669
|
-
message: "No services configured. Add `
|
|
28667
|
+
code: "NO_SERVICES_CONFIGURED",
|
|
28668
|
+
message: "No services configured. Add `services` to vercel.json."
|
|
28670
28669
|
}
|
|
28671
28670
|
],
|
|
28672
28671
|
warnings: []
|
|
@@ -29143,8 +29142,8 @@ var require_get_services_builders = __commonJS({
|
|
|
29143
29142
|
builders: null,
|
|
29144
29143
|
errors: [
|
|
29145
29144
|
{
|
|
29146
|
-
code: "
|
|
29147
|
-
message: 'Project framework is set to "services", but no services are declared. Add `
|
|
29145
|
+
code: "MISSING_SERVICES",
|
|
29146
|
+
message: 'Project framework is set to "services", but no services are declared. Add `services` to vercel.json with at least one service, or change the project framework setting.'
|
|
29148
29147
|
}
|
|
29149
29148
|
],
|
|
29150
29149
|
warnings: [],
|
|
@@ -29205,8 +29204,8 @@ var require_get_services_builders = __commonJS({
|
|
|
29205
29204
|
builders: null,
|
|
29206
29205
|
errors: [
|
|
29207
29206
|
{
|
|
29208
|
-
code: "
|
|
29209
|
-
message: "No services configured. Add `
|
|
29207
|
+
code: "NO_SERVICES_CONFIGURED",
|
|
29208
|
+
message: "No services configured. Add `services` to vercel.json."
|
|
29210
29209
|
}
|
|
29211
29210
|
],
|
|
29212
29211
|
warnings: warningResponses,
|
|
@@ -29250,7 +29249,7 @@ var require_get_services_builders = __commonJS({
|
|
|
29250
29249
|
if (!serviceCoversApi) {
|
|
29251
29250
|
warnings.push({
|
|
29252
29251
|
code: "api_dir_ignored",
|
|
29253
|
-
message: "The `api/` directory will not be built because
|
|
29252
|
+
message: "The `api/` directory will not be built because services are configured. To serve these files, declare them as a service in your `vercel.json`."
|
|
29254
29253
|
});
|
|
29255
29254
|
}
|
|
29256
29255
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.8",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"ts-morph": "12.0.0",
|
|
17
|
-
"@vercel/gatsby-plugin-vercel-
|
|
18
|
-
"@vercel/
|
|
19
|
-
"@vercel/
|
|
17
|
+
"@vercel/gatsby-plugin-vercel-builder": "2.2.28",
|
|
18
|
+
"@vercel/static-config": "3.4.0",
|
|
19
|
+
"@vercel/gatsby-plugin-vercel-analytics": "1.0.11"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/aws-lambda": "8.10.64",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"semver": "7.5.2",
|
|
38
38
|
"tree-kill": "1.2.2",
|
|
39
39
|
"vitest": "2.0.3",
|
|
40
|
+
"@vercel/build-utils": "13.34.0",
|
|
41
|
+
"@vercel/frameworks": "3.30.7",
|
|
40
42
|
"@vercel/error-utils": "2.2.0",
|
|
41
|
-
"@vercel/
|
|
42
|
-
"@vercel/frameworks": "3.30.6",
|
|
43
|
-
"@vercel/fs-detectors": "6.13.0",
|
|
43
|
+
"@vercel/fs-detectors": "6.13.2",
|
|
44
44
|
"@vercel/routing-utils": "6.4.0"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|