Frontend included in repository.

This commit is contained in:
2023-10-21 16:30:47 +00:00
parent bfc04b3831
commit ce0b6c9bd2
44 changed files with 2254 additions and 39 deletions
+6 -2
View File
@@ -35,6 +35,10 @@ dev = [
"pytest",
]
[tool.hatchling]
# Build frontend
pre_build = "npm run build --prefix cista-front"
[tool.hatch.version]
source = "vcs"
@@ -42,9 +46,9 @@ source = "vcs"
hooks.vcs.version-file = "cista/_version.py"
hooks.vcs.template = """
# This file is automatically generated by hatch build.
version = {version!r}
version_tuple = {version_tuple!r}
__version__ = {version!r}
"""
targets.sdist.include = [
"/cista",
]