@vercel/fs-detectors 6.13.1 → 6.13.2
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.
|
@@ -88,8 +88,8 @@ async function autoDetectServices(options) {
|
|
|
88
88
|
warnings: [],
|
|
89
89
|
errors: [
|
|
90
90
|
{
|
|
91
|
-
code: "
|
|
92
|
-
message: "No services detected. Configure `
|
|
91
|
+
code: "NO_SERVICES_CONFIGURED",
|
|
92
|
+
message: "No services detected. Configure `services` in vercel.json or ensure a framework exists at project root, frontend/, or apps/web/."
|
|
93
93
|
}
|
|
94
94
|
]
|
|
95
95
|
};
|
|
@@ -90,7 +90,7 @@ async function detectProcfileServices(options) {
|
|
|
90
90
|
errors: [
|
|
91
91
|
{
|
|
92
92
|
code: "MULTIPLE_FRAMEWORKS_SERVICE",
|
|
93
|
-
message: `Multiple frameworks detected: ${names}. Use explicit
|
|
93
|
+
message: `Multiple frameworks detected: ${names}. Use explicit services config.`
|
|
94
94
|
}
|
|
95
95
|
],
|
|
96
96
|
warnings
|
|
@@ -128,7 +128,7 @@ async function detectProcfileServices(options) {
|
|
|
128
128
|
if (!detectedFramework && !entrypoint) {
|
|
129
129
|
warnings.push({
|
|
130
130
|
code: "SERVICE_SKIPPED",
|
|
131
|
-
message: `Skipped Procfile process "${processType}": no framework detected and could not infer entrypoint from command "${command}". Configure it manually in
|
|
131
|
+
message: `Skipped Procfile process "${processType}": no framework detected and could not infer entrypoint from command "${command}". Configure it manually in services.`
|
|
132
132
|
});
|
|
133
133
|
continue;
|
|
134
134
|
}
|
|
@@ -146,7 +146,7 @@ async function detectRenderServices(options) {
|
|
|
146
146
|
if (frameworks.length === 0) {
|
|
147
147
|
warnings.push({
|
|
148
148
|
code: "SERVICE_SKIPPED",
|
|
149
|
-
message: `Skipped Render service "${serviceName}": no framework detected. Configure it manually in
|
|
149
|
+
message: `Skipped Render service "${serviceName}": no framework detected. Configure it manually in services.`
|
|
150
150
|
});
|
|
151
151
|
continue;
|
|
152
152
|
}
|
|
@@ -154,7 +154,7 @@ async function detectRenderServices(options) {
|
|
|
154
154
|
const names = frameworks.map((f) => f.name).join(", ");
|
|
155
155
|
errors.push({
|
|
156
156
|
code: "MULTIPLE_FRAMEWORKS_SERVICE",
|
|
157
|
-
message: `Multiple frameworks detected for Render service "${serviceName}": ${names}. Use explicit
|
|
157
|
+
message: `Multiple frameworks detected for Render service "${serviceName}": ${names}. Use explicit services config.`,
|
|
158
158
|
serviceName
|
|
159
159
|
});
|
|
160
160
|
continue;
|
|
@@ -183,8 +183,8 @@ async function detectServices(options) {
|
|
|
183
183
|
rewrites: [],
|
|
184
184
|
errors: [
|
|
185
185
|
{
|
|
186
|
-
code: "
|
|
187
|
-
message: "No services configured. Add `
|
|
186
|
+
code: "NO_SERVICES_CONFIGURED",
|
|
187
|
+
message: "No services configured. Add `services` to vercel.json."
|
|
188
188
|
}
|
|
189
189
|
],
|
|
190
190
|
warnings: []
|
|
@@ -41,8 +41,8 @@ async function getServicesBuilders(options) {
|
|
|
41
41
|
builders: null,
|
|
42
42
|
errors: [
|
|
43
43
|
{
|
|
44
|
-
code: "
|
|
45
|
-
message: 'Project framework is set to "services", but no services are declared. Add `
|
|
44
|
+
code: "MISSING_SERVICES",
|
|
45
|
+
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.'
|
|
46
46
|
}
|
|
47
47
|
],
|
|
48
48
|
warnings: [],
|
|
@@ -103,8 +103,8 @@ async function getServicesBuilders(options) {
|
|
|
103
103
|
builders: null,
|
|
104
104
|
errors: [
|
|
105
105
|
{
|
|
106
|
-
code: "
|
|
107
|
-
message: "No services configured. Add `
|
|
106
|
+
code: "NO_SERVICES_CONFIGURED",
|
|
107
|
+
message: "No services configured. Add `services` to vercel.json."
|
|
108
108
|
}
|
|
109
109
|
],
|
|
110
110
|
warnings: warningResponses,
|
|
@@ -148,7 +148,7 @@ function warnIgnoredDirectories(files, configuredServices) {
|
|
|
148
148
|
if (!serviceCoversApi) {
|
|
149
149
|
warnings.push({
|
|
150
150
|
code: "api_dir_ignored",
|
|
151
|
-
message: "The `api/` directory will not be built because
|
|
151
|
+
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`."
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/fs-detectors",
|
|
3
|
-
"version": "6.13.
|
|
3
|
+
"version": "6.13.2",
|
|
4
4
|
"description": "Vercel filesystem detectors",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"minimatch": "3.1.2",
|
|
21
21
|
"semver": "6.3.1",
|
|
22
22
|
"smol-toml": "1.5.2",
|
|
23
|
-
"@vercel/build-utils": "13.33.1",
|
|
24
|
-
"@vercel/error-utils": "2.2.0",
|
|
25
23
|
"@vercel/routing-utils": "6.4.0",
|
|
24
|
+
"@vercel/error-utils": "2.2.0",
|
|
25
|
+
"@vercel/build-utils": "13.34.0",
|
|
26
26
|
"@vercel/frameworks": "3.30.7"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|