From cead8750ce32b3b8516712a7644a7e600f6d06ca Mon Sep 17 00:00:00 2001 From: Alexey Orlenko Date: Wed, 15 Apr 2026 19:48:35 +0300 Subject: [PATCH] fix(retail-store): add turbo.json to configure Next.js build outputs The root turbo.json declares dist/** as the expected build output, but retail-store is a Next.js app that outputs to .next/. This caused Turborepo to emit a warning about missing output files. Add a package-level turbo.json that overrides the build task outputs to .next/** (excluding .next/cache/**). --- examples/retail-store/turbo.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 examples/retail-store/turbo.json diff --git a/examples/retail-store/turbo.json b/examples/retail-store/turbo.json new file mode 100644 index 000000000..de14b69e7 --- /dev/null +++ b/examples/retail-store/turbo.json @@ -0,0 +1,19 @@ +{ + "$schema": "https://turbo.build/schema.json", + "extends": ["//"], + "tasks": { + "build": { + "inputs": [ + "src/**", + "app/**", + "public/**", + "middleware.ts", + "next.config.js", + "postcss.config.mjs", + "package.json", + "tsconfig.json" + ], + "outputs": [".next/**", "!.next/cache/**"] + } + } +}