From b8df99055f6bb0ee8a3aaa614659d14eb0684389 Mon Sep 17 00:00:00 2001 From: Lionel Chamorro Date: Fri, 19 Jun 2026 12:34:17 -0300 Subject: [PATCH] build: run full build in prepare so git installs produce dist/ Consumers installing @aymurai/ui as a git dependency (git+ssh) only run the `prepare` lifecycle, which previously ran `panda codegen` alone and left no built `dist/`. Point `prepare` at the full `build` (codegen + tsc + vite + cssgen + fonts) so a git-installed package resolves to compiled output. Co-Authored-By: Claude Opus 4.8 (1M context) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2fa6ef4..9c3f99c 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "module": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { - "prepare": "panda codegen", + "prepare": "pnpm build", "codegen": "panda codegen", "cssgen": "panda cssgen --silent --outfile dist/styles.css", "build": "pnpm codegen && tsc -p tsconfig.build.json && vite build && pnpm cssgen && cp src/styles/fonts.css dist/fonts.css",