From 22890b9ce14108f55f42e93278be19a00b118dc5 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Wed, 6 Dec 2023 11:05:52 +0100
Subject: [PATCH] Moved panda to apps folder where it is needed

---
 alfa-client/{ => apps/showcase}/panda.config.mjs | 2 +-
 alfa-client/package.json                         | 2 +-
 alfa-client/postcss.config.cjs                   | 5 -----
 3 files changed, 2 insertions(+), 7 deletions(-)
 rename alfa-client/{ => apps/showcase}/panda.config.mjs (92%)
 delete mode 100644 alfa-client/postcss.config.cjs

diff --git a/alfa-client/panda.config.mjs b/alfa-client/apps/showcase/panda.config.mjs
similarity index 92%
rename from alfa-client/panda.config.mjs
rename to alfa-client/apps/showcase/panda.config.mjs
index c705469154..94a188b4d0 100644
--- a/alfa-client/panda.config.mjs
+++ b/alfa-client/apps/showcase/panda.config.mjs
@@ -5,7 +5,7 @@ export default defineConfig({
   preflight: true,
 
   // Where to look for your css declarations
-  include: ["./libs/ui-alfa/src/**/*.{js,jsx,ts,tsx}", "./apps/showcase/src/**/*.{js,jsx,ts,tsx}"],
+  include: ["libs/ui-alfa/src/**/*.{js,jsx,ts,tsx}", "apps/showcase/src/**/*.{js,jsx,ts,tsx}"],
 
   // Files to exclude
   exclude: [],
diff --git a/alfa-client/package.json b/alfa-client/package.json
index 7ae1d3ab05..b55f822b55 100644
--- a/alfa-client/package.json
+++ b/alfa-client/package.json
@@ -9,7 +9,7 @@
 		"start:devbe": "nx run alfa:serve --port 4300 --disable-host-check --proxy-config proxy.dev.conf.json --verbose",
 		"build": "nx run alfa:build",
 		"start:showcase": "run-p panda:watch debug:showcase",
-		"panda:watch": "panda --watch",
+		"panda:watch": "panda --watch --config apps/showcase/panda.config.mjs",
 		"debug:showcase": "nx serve showcase",
 		"test": "nx run-many --target=test --all --parallel --maxParallel 8 --runInBand",
 		"test:cov": "jest --coverage",
diff --git a/alfa-client/postcss.config.cjs b/alfa-client/postcss.config.cjs
deleted file mode 100644
index 573efad20e..0000000000
--- a/alfa-client/postcss.config.cjs
+++ /dev/null
@@ -1,5 +0,0 @@
-module.exports = {
-  plugins: {
-    '@pandacss/dev/postcss': {},
-  },
-}
\ No newline at end of file
-- 
GitLab