Skip to content

Commit

Permalink
fix(build): corrects issues related to hatchling
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Jan 4, 2025
1 parent 9c0a016 commit ce55b6a
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 129 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.8.4"
rev: "v0.8.6"
hooks:
# Run the linter.
- id: ruff
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 1 addition & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,12 @@ nodeenv = ["nodeenv"]
build-backend = "hatchling.build"
requires = ["hatchling"]

[tool.hatch.build]
dev-mode-dirs = ["src/py", "."]


[tool.hatch.build.targets.sdist]
exclude = [".github", "docs"]
packages = ["src/py/litestar_vite", "src/py/tests"]
exclude = ["/.github", "/docs"]
include = ["src/py/*","src/js/*"]
skip-excluded-dirs = false

[tool.hatch.build.targets.wheel]
packages = ["src/py/litestar_vite"]
sources = ["src/py"]

[dependency-groups]
dev = [ {include-group = "build"}, { include-group = "linting" }, { include-group = "test" }, { include-group = "docs" } ]
Expand Down
Loading

0 comments on commit ce55b6a

Please sign in to comment.