diff --git a/pyproject.toml b/pyproject.toml index 76e21df..b7403b0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,7 +62,7 @@ basic-auth = "mlflow_oidc_auth.client:AuthServiceClient" [tool.setuptools.package-data] mlflow_oidc_auth = [ "db/migrations/alembic.ini", - "menu.html", + "hack/menu.html", "static/*", "templates/*", "ui/*", diff --git a/scripts/release.sh b/scripts/release.sh index 81dc49e..d194fb0 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash export MLFLOW_OIDC_AUTH_VERSION=${1:-0.0.0.dev0} -pushd web-ui -yarn install -yarn release -popd +pushd web-ui &&\ +yarn install &&\ +yarn release &&\ +popd &&\ python -m build diff --git a/web-ui/angular.json b/web-ui/angular.json index b02d3fd..478c08c 100644 --- a/web-ui/angular.json +++ b/web-ui/angular.json @@ -39,7 +39,7 @@ { "type": "initial", "maximumWarning": "500kb", - "maximumError": "1mb" + "maximumError": "10mb" }, { "type": "anyComponentStyle",