💚(frontend) do not run panda codegen on npm install/npm ci

panda needs to generate types to work. We used to generate those after
deps install but it's not that necessary, since we generate them before
running the dev env, and before building the prod build.

This fixes the `npm ci` error in the frontend docker build
This commit is contained in:
Emmanuel Pelletier
2024-07-03 11:10:16 +02:00
parent e3eb3e240a
commit 33dbaedf2f

View File

@@ -7,8 +7,7 @@
"dev": "panda codegen && vite",
"build": "panda codegen && tsc -b && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"prepare": "panda codegen"
"preview": "vite preview"
},
"dependencies": {
"@livekit/components-react": "2.3.3",