next-workers-kit 2.0.2 → 2.0.3
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/lib/doctor.js +1 -4
- package/package.json +1 -1
package/dist/lib/doctor.js
CHANGED
|
@@ -256,10 +256,7 @@ export function doctor(root) {
|
|
|
256
256
|
if (wrangler.observability?.enabled !== true) {
|
|
257
257
|
report("wrangler.jsonc", "set observability.enabled: true");
|
|
258
258
|
}
|
|
259
|
-
if (
|
|
260
|
-
report("wrangler.jsonc", "declare the site's custom domains in routes");
|
|
261
|
-
}
|
|
262
|
-
else if (wrangler.dev?.host !== "localhost") {
|
|
259
|
+
if (wrangler.routes?.length && wrangler.dev?.host !== "localhost") {
|
|
263
260
|
report("wrangler.jsonc", 'set dev.host: "localhost" so local previews do not use the first route');
|
|
264
261
|
}
|
|
265
262
|
const secrets = wrangler.secrets?.required ?? [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-workers-kit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "Config, structure rules and drift checks for Next.js on Cloudflare Workers (OpenNext): ESLint, TypeScript, Prettier and a project doctor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "pnilssson",
|