Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1e6d31aeea | ||
![]() |
0484719f2d | ||
![]() |
0494877565 | ||
![]() |
d4f002cbed |
@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "reflex"
|
||||
version = "0.4.8"
|
||||
version = "0.4.9"
|
||||
description = "Web apps in pure Python."
|
||||
license = "Apache-2.0"
|
||||
authors = [
|
||||
|
@ -839,6 +839,9 @@ class App(Base):
|
||||
compile_results.append(
|
||||
compiler.compile_contexts(self.state, self.theme),
|
||||
)
|
||||
# Fix #2992 by removing the top-level appearance prop
|
||||
if self.theme is not None:
|
||||
self.theme.appearance = None
|
||||
|
||||
app_root = self._app_root(app_wrappers=app_wrappers)
|
||||
|
||||
|
@ -112,6 +112,7 @@ class PackageJson(SimpleNamespace):
|
||||
"next-themes": "0.2.1",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"react-focus-lock": "2.11.3",
|
||||
"socket.io-client": "4.6.1",
|
||||
"universal-cookie": "4.0.4",
|
||||
}
|
||||
|
@ -823,7 +823,7 @@ def install_frontend_packages(packages: set[str], config: Config):
|
||||
"""
|
||||
# unsupported archs(arm and 32bit machines) will use npm anyway. so we dont have to run npm twice
|
||||
fallback_command = (
|
||||
get_install_package_manager()
|
||||
get_package_manager()
|
||||
if not constants.IS_WINDOWS
|
||||
or constants.IS_WINDOWS
|
||||
and constants.IS_WINDOWS_BUN_SUPPORTED_MACHINE
|
||||
|
@ -34,6 +34,7 @@ PWD = Path(".").resolve()
|
||||
|
||||
EXCLUDED_FILES = [
|
||||
"__init__.py",
|
||||
"app.py",
|
||||
"component.py",
|
||||
"bare.py",
|
||||
"foreach.py",
|
||||
@ -795,7 +796,11 @@ class PyiGenerator:
|
||||
file_targets = []
|
||||
for target in targets:
|
||||
target_path = Path(target)
|
||||
if target_path.is_file() and target_path.suffix == ".py":
|
||||
if (
|
||||
target_path.is_file()
|
||||
and target_path.suffix == ".py"
|
||||
and target_path.name not in EXCLUDED_FILES
|
||||
):
|
||||
file_targets.append(target_path)
|
||||
continue
|
||||
if not target_path.is_dir():
|
||||
|
Loading…
Reference in New Issue
Block a user