Skip to content

Commit 6139468

Browse files
committed
Move to vite and fix themes
1 parent 4ad1926 commit 6139468

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+16227
-17835
lines changed

.github/workflows/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
101101
- name: Build demo docs
102102
run: |
103-
task docs-build
103+
task docs:build
104104
105105
- name: Cache website
106106
id: cache-build

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
111111
- name: Run tests
112112
run: |
113-
task test-all
113+
task test:all
114114
task report
115115
116116
- name: Codecov

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ celerybeat-schedule
9696
.pydevproject
9797

9898
# mkdocs documentation
99+
site
99100
demo/dist
100101

101102
# mypy

Taskfile.yml

+12-17
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ env:
66
tasks:
77
build:
88
cmds:
9-
- hatch build
9+
- rye build
1010

1111
check:
1212
ignore_error: true
@@ -27,7 +27,7 @@ tasks:
2727
cmds:
2828
- pytest -k "{{.PYTEST_K}}"
2929

30-
test-all:
30+
test:all:
3131
cmds:
3232
- pytest .
3333

@@ -36,47 +36,42 @@ tasks:
3636
- coverage xml
3737
- coverage html
3838

39-
lockfiles:
40-
cmds:
41-
- pip-compile -q --resolver=backtracking -o requirements/pyproject.txt pyproject.toml --extra=test
42-
- pip-compile -q --resolver=backtracking -o requirements/linting.txt requirements/linting.in
43-
4439
publish:
4540
cmds:
4641
- hatch publish
4742

48-
py-clean:
43+
py:clean:
4944
cmds:
5045
- rm -rf .pytest_cache dist htmlcov test-results .ruff_cache
5146
- rm -f .coverage coverage.xml
5247
- find . -type f -name '*.py[co]' -delete
5348
- find . -type d -name __pycache__ -exec rm -rf {} +
5449
- find . -type d -name .ipynb_checkpoints -exec rm -rf {} +
5550

56-
docs-build:
51+
docs:build:
5752
dir: demo
5853
cmds:
5954
- mkdocs build
6055

6156
# ------------------------------------------------------------------------------
6257
# Javascript
6358

64-
js-install:
59+
js:install:
6560
dir: js
6661
cmds:
67-
- npm install
62+
- pnpm install
6863

69-
js-build:
64+
js:build:
7065
dir: js
7166
cmds:
72-
- npm run build
67+
- pnpm run build
7368

74-
js-dev:
69+
js:dev:
7570
dir: js
7671
cmds:
77-
- npm run dev
72+
- pnpm run dev
7873

79-
js-clean:
74+
js:clean:
8075
dir: js
8176
cmds:
82-
- npm run clean
77+
- pnpm run clean

0 commit comments

Comments
 (0)