From 3bb23451facf67a430eae0ad925f0961a3c47013 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 9 May 2026 09:05:02 -0400 Subject: [PATCH 1/4] Bump @policyengine/ui-kit to ^0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Picks up dark mode tokens, Quarto SCSS theme, WCAG contrast matrix CI, accessible text variants, and the legacy compat shim shipped in 0.4.0–0.8.0. Co-Authored-By: Claude Opus 4.7 (1M context) --- app/bun.lock | 4 ++-- app/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/bun.lock b/app/bun.lock index 6b0c767..21ebf4b 100644 --- a/app/bun.lock +++ b/app/bun.lock @@ -7,7 +7,7 @@ "dependencies": { "@icons-pack/react-simple-icons": "^13.13.0", "@lobehub/icons": "^5.2.0", - "@policyengine/ui-kit": "^0.4.0", + "@policyengine/ui-kit": "^0.8.0", "motion": "^12.34.3", "react": "^19.2.4", "react-dom": "^19.2.4", @@ -298,7 +298,7 @@ "@pierre/theme": ["@pierre/theme@0.0.22", "", {}, "sha512-ePUIdQRNGjrveELTU7fY89Xa7YGHHEy5Po5jQy/18lm32eRn96+tnYJEtFooGdffrx55KBUtOXfvVy/7LDFFhA=="], - "@policyengine/ui-kit": ["@policyengine/ui-kit@0.4.0", "", { "dependencies": { "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cmdk": "^1.1.1", "d3-geo": "^3.1.0", "dayjs": "^1.11.13", "lucide-react": "^0.577.0", "radix-ui": "^1.4.3", "tailwind-merge": "^3.5.0", "tw-animate-css": "^1.4.0" }, "peerDependencies": { "react": ">=19", "react-dom": ">=19", "recharts": ">=2.12" } }, "sha512-Hjb1WzJNbboSeIn9/4GRFapmTUnDOU6RHzjnBU7fDfGPNT6XJ01LQAJ5k+MEMFoH1NX6iZtQeu/P3Km4oJ3/hw=="], + "@policyengine/ui-kit": ["@policyengine/ui-kit@0.8.0", "", { "dependencies": { "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cmdk": "^1.1.1", "d3-geo": "^3.1.0", "dayjs": "^1.11.13", "lucide-react": "^0.577.0", "radix-ui": "^1.4.3", "tailwind-merge": "^3.5.0", "tw-animate-css": "^1.4.0" }, "peerDependencies": { "react": ">=19", "react-dom": ">=19", "recharts": ">=2.12" } }, "sha512-zTgCS1C+oxATdHtrB1Ed1TwLpD3K4kT3nh4C0xu9LI1ThgY2sBpOuIhVvQkGfYtD42XzL1//9M+ku8XT5tqmJg=="], "@primer/octicons": ["@primer/octicons@19.23.1", "", { "dependencies": { "object-assign": "^4.1.1" } }, "sha512-CzjGmxkmNhyst6EekrS3SJPdtzgIkUMP/LSJch65y99/kmiFXbO1a+q7zoYe3hnI9NaOM0IN+ydDIbOmd8YqcA=="], diff --git a/app/package.json b/app/package.json index 03ff95f..373fd18 100644 --- a/app/package.json +++ b/app/package.json @@ -24,7 +24,7 @@ "dependencies": { "@icons-pack/react-simple-icons": "^13.13.0", "@lobehub/icons": "^5.2.0", - "@policyengine/ui-kit": "^0.4.0", + "@policyengine/ui-kit": "^0.8.0", "motion": "^12.34.3", "react": "^19.2.4", "react-dom": "^19.2.4", From c9d5389d06efb05b4d7094a44eb4583bdbe25e2e Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 9 May 2026 09:27:28 -0400 Subject: [PATCH 2/4] Bump @policyengine/ui-kit to ^0.8.1 (types fix) Co-Authored-By: Claude Opus 4.7 (1M context) --- app/bun.lock | 4 ++-- app/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/bun.lock b/app/bun.lock index 21ebf4b..88d5d74 100644 --- a/app/bun.lock +++ b/app/bun.lock @@ -7,7 +7,7 @@ "dependencies": { "@icons-pack/react-simple-icons": "^13.13.0", "@lobehub/icons": "^5.2.0", - "@policyengine/ui-kit": "^0.8.0", + "@policyengine/ui-kit": "^0.8.1", "motion": "^12.34.3", "react": "^19.2.4", "react-dom": "^19.2.4", @@ -298,7 +298,7 @@ "@pierre/theme": ["@pierre/theme@0.0.22", "", {}, "sha512-ePUIdQRNGjrveELTU7fY89Xa7YGHHEy5Po5jQy/18lm32eRn96+tnYJEtFooGdffrx55KBUtOXfvVy/7LDFFhA=="], - "@policyengine/ui-kit": ["@policyengine/ui-kit@0.8.0", "", { "dependencies": { "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cmdk": "^1.1.1", "d3-geo": "^3.1.0", "dayjs": "^1.11.13", "lucide-react": "^0.577.0", "radix-ui": "^1.4.3", "tailwind-merge": "^3.5.0", "tw-animate-css": "^1.4.0" }, "peerDependencies": { "react": ">=19", "react-dom": ">=19", "recharts": ">=2.12" } }, "sha512-zTgCS1C+oxATdHtrB1Ed1TwLpD3K4kT3nh4C0xu9LI1ThgY2sBpOuIhVvQkGfYtD42XzL1//9M+ku8XT5tqmJg=="], + "@policyengine/ui-kit": ["@policyengine/ui-kit@0.8.1", "", { "dependencies": { "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cmdk": "^1.1.1", "d3-geo": "^3.1.0", "dayjs": "^1.11.13", "lucide-react": "^0.577.0", "radix-ui": "^1.4.3", "tailwind-merge": "^3.5.0", "tw-animate-css": "^1.4.0" }, "peerDependencies": { "react": ">=19", "react-dom": ">=19", "recharts": ">=2.12" } }, "sha512-hYQikzefRIwDyosq/tpx+j25FnSkYCDwUcUw8hRE9myIgYMuJ7RNQOjZ4IEbA0R+ZvtuXFA9u+A0mon8tO2/Yw=="], "@primer/octicons": ["@primer/octicons@19.23.1", "", { "dependencies": { "object-assign": "^4.1.1" } }, "sha512-CzjGmxkmNhyst6EekrS3SJPdtzgIkUMP/LSJch65y99/kmiFXbO1a+q7zoYe3hnI9NaOM0IN+ydDIbOmd8YqcA=="], diff --git a/app/package.json b/app/package.json index 373fd18..d69c2ac 100644 --- a/app/package.json +++ b/app/package.json @@ -24,7 +24,7 @@ "dependencies": { "@icons-pack/react-simple-icons": "^13.13.0", "@lobehub/icons": "^5.2.0", - "@policyengine/ui-kit": "^0.8.0", + "@policyengine/ui-kit": "^0.8.1", "motion": "^12.34.3", "react": "^19.2.4", "react-dom": "^19.2.4", From cfcd04ef87ce5fc7d69c0a6ee566f2fab718025b Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 9 May 2026 09:41:58 -0400 Subject: [PATCH 3/4] Move Vercel config to repo root so PR previews build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vercel only loads vercel.json from the project root directory, which the policybench-site project has set to '.'. The previous app/vercel.json worked for direct CLI deploys (where the CLI uploads from app/) but was ignored by the git integration that drives PR previews — Vercel was running 'bun install' at the repo root, which has no package.json. Add a root vercel.json that runs install/build inside app/ and points the output directory at app/.next, matching the pattern used by other PolicyEngine repos with Next.js apps in subdirectories (e.g. spm-calculator). Co-Authored-By: Claude Opus 4.7 (1M context) --- app/vercel.json | 6 ------ vercel.json | 7 +++++++ 2 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 app/vercel.json create mode 100644 vercel.json diff --git a/app/vercel.json b/app/vercel.json deleted file mode 100644 index 2a7bf22..0000000 --- a/app/vercel.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "https://openapi.vercel.sh/vercel.json", - "framework": "nextjs", - "installCommand": "bun install", - "buildCommand": "bun run build" -} diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..b061ad4 --- /dev/null +++ b/vercel.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://openapi.vercel.sh/vercel.json", + "framework": "nextjs", + "installCommand": "cd app && bun install --frozen-lockfile", + "buildCommand": "cd app && bun run build", + "outputDirectory": "app/.next" +} From f532d8be93e7a778ca3f8f52b913effcf65a2f17 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 9 May 2026 09:44:01 -0400 Subject: [PATCH 4/4] Revert "Move Vercel config to repo root so PR previews build" This reverts commit cfcd04ef87ce5fc7d69c0a6ee566f2fab718025b. --- app/vercel.json | 6 ++++++ vercel.json | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 app/vercel.json delete mode 100644 vercel.json diff --git a/app/vercel.json b/app/vercel.json new file mode 100644 index 0000000..2a7bf22 --- /dev/null +++ b/app/vercel.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://openapi.vercel.sh/vercel.json", + "framework": "nextjs", + "installCommand": "bun install", + "buildCommand": "bun run build" +} diff --git a/vercel.json b/vercel.json deleted file mode 100644 index b061ad4..0000000 --- a/vercel.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "https://openapi.vercel.sh/vercel.json", - "framework": "nextjs", - "installCommand": "cd app && bun install --frozen-lockfile", - "buildCommand": "cd app && bun run build", - "outputDirectory": "app/.next" -}