Frontend included in repository.
This commit is contained in:
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user