Skip to content
Snippets Groups Projects
Verified Commit d97d2457 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Update docs and scripts for Vite

parent 3fd148ce
No related branches found
No related tags found
1 merge request!1132Resolve "Evaluate use of Vite instead of Webpack"
......@@ -9,6 +9,12 @@ and this project adheres to `Semantic Versioning`_.
Unreleased
----------
Deprecated
~~~~~~~~~~
* The `webpack_bundle` management command is replaced by the new `vite`
command. The `webpack_bundle` command will be removed in AlekSIS-Core 4.0.
Added
~~~~~
......@@ -19,6 +25,8 @@ Changed
~~~~~~~
* Rewrite of frontend using Vuetify
* The runuwsgi dev server now starts a Vite dev server with HMR in the
background
* OIDC scope "profile" now exposes the avatar instead of the official photo
* Based on Django 4.0
* Use built-in Redis cache backend
......@@ -27,6 +35,7 @@ Changed
requests
* Incorporate SPDX license list for app licenses on About page
* [Dev] The undocumented field `check` on `DataCheckResult` was renamed to `data_check`
* Frontend bundling migrated from Webpack to Vite
Fixed
~~~~~
......
......@@ -75,7 +75,7 @@ CMD ["/usr/local/bin/aleksis-docker-startup"]
# Install assets
FROM core as assets
RUN eatmydata aleksis-admin webpack_bundle; \
RUN eatmydata aleksis-admin vite build; \
eatmydata aleksis-admin collectstatic --no-input; \
rm -rf /usr/local/share/.cache
# FIXME Introduce deletion after we don't need materializecss anymore for SASS
......@@ -124,7 +124,7 @@ ONBUILD RUN set -e; \
if [ -n "$APPS" ]; then \
eatmydata pip install $APPS; \
fi; \
eatmydata aleksis-admin webpack_bundle; \
eatmydata aleksis-admin vite build; \
eatmydata aleksis-admin collectstatic --no-input; \
rm -rf /usr/local/share/.cache; \
eatmydata apt-get remove --purge -y yarnpkg $BUILD_DEPS; \
......
......@@ -144,7 +144,7 @@ After that, you can install the aleksis meta-package, or only `aleksis-core`:
.. code-block:: shell
pip3 install aleksis
aleksis-admin webpack_bundle
aleksis-admin vite build
aleksis-admin collectstatic
aleksis-admin migrate
aleksis-admin createinitialrevisions
......
......@@ -11,7 +11,7 @@ skip_install = true
envdir = {toxworkdir}/globalenv
commands_pre =
poetry install -E ldap
poetry run aleksis-admin webpack_bundle
poetry run aleksis-admin vite build
poetry run aleksis-admin collectstatic --no-input
commands =
poetry run pytest --cov=. {posargs} aleksis/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment