Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,8 @@ cython_debug/
# Ruff stuff:
.ruff_cache/

# Generated static dashboard bundle
# Generated static dashboard bundle — run scripts/build-ui.sh before uv build
src/authsome/ui/web/*
!src/authsome/ui/web/.gitkeep

# PyPI configuration file
.pypirc
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ authsome = "authsome.cli.main:cli"

[tool.hatch.build.targets.wheel]
packages = ["src/authsome"]
artifacts = ["src/authsome/ui/web/**"]

[tool.hatch.build.targets.sdist.force-include]
"src/authsome/ui/web" = "src/authsome/ui/web"
Expand Down
1 change: 0 additions & 1 deletion scripts/build-ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ UV_BIN="${UV:-uv}"
rm -rf "${TARGET_DIR}"
mkdir -p "${TARGET_DIR}"
cp -R "${UI_DIR}/out/." "${TARGET_DIR}/"
printf '%s\n' "Generated static UI assets are copied here by scripts/build-ui.sh." > "${TARGET_DIR}/.gitkeep"
1 change: 0 additions & 1 deletion src/authsome/ui/web/.gitkeep

This file was deleted.

Loading