Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diff test #3

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f6468bf
feat(multi-config): rework how configuration definition is handled
MrBin99 Jul 29, 2022
c5d6f36
style: disable flake8 line-length check
MrBin99 Jul 29, 2022
9571159
setup tests, linting and codestyle checks
May 14, 2023
a2dd8ce
add a simple smoke test with some standard django settings
May 14, 2023
98a6788
add Github Action to run Tox test matrix
May 14, 2023
e0b752e
fix codestyle warning
thijskramer Jun 2, 2023
7c02345
update pre-commit config
thijskramer Jun 2, 2023
adedfde
re-format code with black
thijskramer Jun 2, 2023
1b68f58
add troves to clarify for which django and python versions Django-Vit…
thijskramer Jun 2, 2023
9c1ed2c
fix linting errors
thijskramer Jun 5, 2023
05d2121
add tests for templatetags
thijskramer Jun 5, 2023
196382d
Merge branch 'master' into multi-config-2023
Niicck Oct 13, 2023
ebc5f68
config-ify DJANGO_VITE_REACT_REFRESH_URL
Niicck Oct 14, 2023
b77eb63
run pre-commit, remove duplicated _generate_css_files_of_asset
Niicck Oct 14, 2023
502ed2f
set rev for pre-commit commitizen
Niicck Oct 14, 2023
c7c213f
config-ify _generate_production_server_url; set defaults for config_key
Niicck Oct 14, 2023
47eaaa4
remove flake; increase black line-length
Niicck Oct 14, 2023
b72a032
config-ify preload_vite_asset
Niicck Oct 14, 2023
1ff26b8
remove unused 'already_processed' arg from _preload_css_files_of_asse…
Niicck Oct 14, 2023
a71580d
remove _static_urls since static_url is now a property of DjangoViteC…
Niicck Oct 14, 2023
8e7f9e3
fix missed merge conflict issues
Niicck Oct 14, 2023
94a6fcb
create patch_settings fixture
Niicck Oct 15, 2023
1a479e4
Merge branch 'master' into setup-tests
Niicck Oct 15, 2023
da1dae6
100% test coverage
Niicck Oct 15, 2023
558b7fd
Merge branch 'setup-tests' into multi-config-2023-apps
Niicck Oct 15, 2023
6aa177c
100% test coverage
Niicck Oct 15, 2023
a3983aa
Merge branch 'setup-tests' into multi-config-2023-apps
Niicck Oct 15, 2023
6f8901c
pass tests after merge
Niicck Oct 15, 2023
82e9a9e
Merge branch 'master' into multi-config-2023-apps
Niicck Oct 16, 2023
e6100b0
duplicate django_vite/templatetags/django_vite.py to django_vite/load…
Niicck Oct 16, 2023
bd97cf0
restore duplicated django_vite/templatetags/django_vite.py
Niicck Oct 16, 2023
d447248
Merge branch 'loader' into multi-config-2023-apps
Niicck Oct 16, 2023
e099d4c
duplicate django_vite/templatetags/django_vite.py to django_vite/tag_…
Niicck Oct 16, 2023
2a024e8
restore duplicated django_vite/templatetags/django_vite.py
Niicck Oct 16, 2023
b79a972
Merge branch 'tag-generator' into multi-config-2023-apps
Niicck Oct 16, 2023
1ecbed8
enable multi-app configs with DjangoViteAppClient
Niicck Oct 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
- id: "black"

- repo: "https://github.com/commitizen-tools/commitizen"
rev: master
rev: "3.10.0"
hooks:
- id: "commitizen"
stages: ["commit-msg"]
4 changes: 4 additions & 0 deletions django_vite/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .loader import DjangoViteConfig


__all__ = ["DjangoViteConfig"]
6 changes: 6 additions & 0 deletions django_vite/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ class DjangoViteAssetNotFoundError(RuntimeError):
"""Vite Asset could not be found."""

pass


class DjangoViteConfigNotFoundError(RuntimeError):
"""DjangoViteConfig not found in DJANGO_VITE settings."""

pass
Loading