From 46e53f0f2691876169963e00fb765cd71d5f485a Mon Sep 17 00:00:00 2001 From: Cristian Felipe Cruz Buitron Date: Sun, 26 Jul 2026 17:34:55 -0500 Subject: [PATCH] fix(build): exclude catalog integration example from production --- workloads/ecommerce/.dockerignore | 2 + .../integration/app-catalog-page.example.tsx | 39 ------------------- 2 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 workloads/ecommerce/integration/app-catalog-page.example.tsx diff --git a/workloads/ecommerce/.dockerignore b/workloads/ecommerce/.dockerignore index 5fe225f..1de4a2b 100644 --- a/workloads/ecommerce/.dockerignore +++ b/workloads/ecommerce/.dockerignore @@ -42,3 +42,5 @@ catalog-source.csv # TypeScript incremental local tsconfig.tsbuildinfo +integration/ +**/*.example.tsx diff --git a/workloads/ecommerce/integration/app-catalog-page.example.tsx b/workloads/ecommerce/integration/app-catalog-page.example.tsx deleted file mode 100644 index 8e5503c..0000000 --- a/workloads/ecommerce/integration/app-catalog-page.example.tsx +++ /dev/null @@ -1,39 +0,0 @@ -import { Suspense } from "react"; -import CatalogRouteBoundary from "@/components/catalog/CatalogRouteBoundary"; - -// Conserva aquí los imports actuales de tu página: -// import CatalogClient from "..."; -// import { getProducts } from "..."; - -type CatalogPageProps = { - searchParams: Promise>; -}; - -export default async function CatalogPage({ - searchParams, -}: CatalogPageProps) { - const params = await searchParams; - - // Conserva aquí la carga de datos actual de tu proyecto. - // const products = await getProducts(); - - return ( - - - {/* - Sustituye este comentario por el contenido actual del catálogo. - - Ejemplo: - - */} -
-          {JSON.stringify(params)}
-        
-
-
- ); -}