Frontend included in repository.

This commit is contained in:
Leo Vasanko
2023-10-21 22:30:47 +03:00
committed by Leo Vasanko
parent e68a05e663
commit 93351ae86d
44 changed files with 2254 additions and 39 deletions

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",
]