-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpixi.toml
More file actions
52 lines (44 loc) · 1.43 KB
/
pixi.toml
File metadata and controls
52 lines (44 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[workspace]
name = "splash-links"
version = "0.1.0"
description = "Entity link graph service backed by SQLite and served over GraphQL"
channels = ["https://prefix.dev/conda-forge"]
platforms = ["linux-64", "osx-arm64", "osx-64"]
[dependencies]
python = ">=3.11,<3.13"
pytz = "*"
pip = "*"
nodejs = ">=20"
[pypi-dependencies]
# Install the local package (and its runtime deps from pyproject.toml) as editable.
splash-links = { path = ".", editable = true }
# Test / dev
httpx = "*"
pytest = "*"
pytest-cov = "*"
ruff = "*"
pre-commit = "*"
# Docs
mkdocs = "*"
mkdocs-material = "*"
mkdocs-mermaid2-plugin = "*"
[feature.client.pypi-dependencies]
ipython = "*"
[feature.tiled.pypi-dependencies]
tiled = { version = "*", extras = ["client"] }
[environments]
client = ["client"]
tiled = ["client", "tiled"]
[tasks]
serve = "uvicorn splash_links.main:app --host 0.0.0.0 --port 8080 --reload"
test = "pytest --cov=splash_links --cov-report=term-missing --cov-fail-under=90"
lint = "ruff check src _tests"
fmt = "ruff format src _tests"
docs = "mkdocs serve -f mkdocs/mkdocs.yml"
db = "splash-links shell"
entities = "splash-links entities"
links = "splash-links links"
migrate = "alembic upgrade head"
frontend-install = "npm install --prefix frontend"
frontend-dev = { cmd = "npm run dev --prefix frontend", depends-on = ["frontend-install"] }
frontend-build = { cmd = "npm run build --prefix frontend", depends-on = ["frontend-install"] }