Skip to content

Commit

Permalink
build: Update UI build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alimtunc committed Sep 5, 2023
1 parent c22d6a5 commit c1ae68d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"formatUi": "cd frontend && pnpm run format",
"lintPython": "cd backend && poetry run mypy chainlit/",
"formatPython": "black `git ls-files | grep '.py$'` && isort --profile=black .",
"buildUi": "(cd frontend && pnpm run build) && (shx mkdir -p backend/chainlit/frontend && shx cp -R frontend/dist backend/chainlit/frontend)",
"buildUi": "(cd libs/components && pnpm run build) && (cd frontend && pnpm run build) && (shx mkdir -p backend/chainlit/frontend && shx cp -R frontend/dist backend/chainlit/frontend)",
"build": "pnpm run buildUi && (cd backend && poetry build)"
}
}

0 comments on commit c1ae68d

Please sign in to comment.