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
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ dmypy.json
Thumbs.db

# Project specific
.claude/
CLAUDE.md
resources/config.json
*.pem
input/
Expand Down Expand Up @@ -89,10 +91,10 @@ docker-compose.override.yml
backups/
ssl/

# Web UI built artifacts (built by make build-release; placeholder index.html is committed)
# Ignore everything in web/ EXCEPT the placeholder index.html
# Web UI built artifacts (built by make build-release; not committed to git)
# Ignore everything in web/ EXCEPT .gitkeep which preserves the empty directory
src/tablesleuth/web/*
!src/tablesleuth/web/index.html
!src/tablesleuth/web/.gitkeep

# Next.js dev artifacts (web-ui/ source is committed, build output is not)
web-ui/.next/
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ Changelog = "https://github.com/jamesbconner/TableSleuth/blob/main/CHANGELOG.md"
# Hatchling configuration for src layout
[tool.hatch.build.targets.wheel]
packages = ["src/tablesleuth"]
# Exclude web/ from VCS-based discovery so force-include is the sole
# mechanism that adds it. This prevents duplicate entries for files
# (e.g. index.html) that are both git-tracked and listed in force-include.
exclude = ["src/tablesleuth/web/**"]
exclude = ["src/tablesleuth/web/.gitkeep"]

[tool.hatch.build.targets.wheel.force-include]
"src/tablesleuth/web" = "tablesleuth/web"

[tool.hatch.build.targets.sdist.force-include]
"src/tablesleuth/web" = "src/tablesleuth/web"

# -----------------------
# Ruff configuration
# -----------------------
Expand Down
Empty file added src/tablesleuth/web/.gitkeep
Empty file.
Loading
Loading