File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,17 +61,40 @@ raw-options = { local_scheme = "no-local-version" }
6161[tool .hatch .build .hooks .vcs ]
6262version-file = " src/klondike_spec_cli/_version.py"
6363
64+ [tool .hatch .build .targets .sdist ]
65+ # Include static web assets in source distribution
66+ include = [
67+ " /src" ,
68+ " /tests" ,
69+ " /pyproject.toml" ,
70+ " /README.md" ,
71+ " /LICENSE" ,
72+ ]
73+ # Treat static assets as artifacts so they're included despite not being .py files
74+ artifacts = [
75+ " *.html" ,
76+ " *.css" ,
77+ " *.js" ,
78+ ]
79+
6480[tool .hatch .build .targets .wheel ]
6581packages = [" src/klondike_spec_cli" ]
82+ # Treat static assets as artifacts so they're included despite not being .py files
83+ artifacts = [
84+ " *.html" ,
85+ " *.css" ,
86+ " *.js" ,
87+ " *.svg" ,
88+ " *.json" ,
89+ " *.yaml" ,
90+ " *.md" ,
91+ " *.sh" ,
92+ " *.ps1" ,
93+ ]
6694
6795[tool .hatch .build .targets .wheel .sources ]
6896"src" = " "
6997
70- [tool .hatch .build .targets .wheel .force-include ]
71- "src/klondike_spec_cli/static/index.html" = " klondike_spec_cli/static/index.html"
72- "src/klondike_spec_cli/static/assets/index-BcfBK_Up.js" = " klondike_spec_cli/static/assets/index-BcfBK_Up.js"
73- "src/klondike_spec_cli/static/assets/index-Bl_zfboV.css" = " klondike_spec_cli/static/assets/index-Bl_zfboV.css"
74-
7598# Include template files and static files in the package
7699# - templates/ directory: Copilot/Claude templates
77100# - static/ directory: Web UI assets (HTML, CSS, JS) for 'klondike serve'
You can’t perform that action at this time.
0 commit comments