@opennextjs/cloudflare 0.1.0 → 0.1.1

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.
@@ -7402,7 +7402,10 @@ import { resolve as resolve2 } from "node:path";
7402
7402
  var nextAppDir = resolve2(".");
7403
7403
  console.log(`Building the Next.js app in the current folder (${nextAppDir})`);
7404
7404
  if (!["js", "cjs", "mjs", "ts"].some((ext2) => existsSync6(`./next.config.${ext2}`))) {
7405
- throw new Error("Error: Not in a Next.js app project");
7405
+ console.error(
7406
+ "Error: next.config file not found. Please make sure you run the command inside a Next.js app"
7407
+ );
7408
+ process.exit(1);
7406
7409
  }
7407
7410
  var { skipBuild, outputDir } = getArgs();
7408
7411
  await build3(nextAppDir, {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opennextjs/cloudflare",
3
3
  "description": "Cloudflare builder for next apps",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "bin": "dist/cli/index.mjs",
6
6
  "main": "./dist/api/index.mjs",
7
7
  "types": "./dist/api/index.d.mts",