Skip to content

Commit cf6e3a6

Browse files
authored
0815dev (#5853)
* 0815dev * set loglevel to debug * log-level is fine * hm * maybe it's react * .13? * set react version * .14
1 parent b7230bd commit cf6e3a6

File tree

9 files changed

+145
-119
lines changed

9 files changed

+145
-119
lines changed

pyi_hashes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"reflex/components/el/elements/tables.pyi": "e3f299e59bb8ff87aa949c6b606551c9",
4040
"reflex/components/el/elements/typography.pyi": "b4ec4ffb448f7a9b5f94712404448d9e",
4141
"reflex/components/gridjs/datatable.pyi": "98a7e1b3f3b60cafcdfcd8879750ee42",
42-
"reflex/components/lucide/icon.pyi": "2e042d46ddeaf884e93f7f47edf6822c",
42+
"reflex/components/lucide/icon.pyi": "b319ed95a52ef34a7e3373af36a7ae00",
4343
"reflex/components/markdown/markdown.pyi": "2f84254a548e908020949564fc289339",
4444
"reflex/components/moment/moment.pyi": "93fa4c6009390fe9400197ab52735b84",
4545
"reflex/components/plotly/plotly.pyi": "4311a0aae2abcc9226abb6a273f96372",

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "reflex"
3-
version = "0.8.14dev1"
3+
version = "0.8.15dev1"
44
description = "Web apps in pure Python."
55
license.text = "Apache-2.0"
66
authors = [
@@ -229,7 +229,7 @@ fail_fast = true
229229

230230
[[tool.pre-commit.repos]]
231231
repo = "https://github.com/astral-sh/ruff-pre-commit"
232-
rev = "v0.13.2"
232+
rev = "v0.13.3"
233233
hooks = [
234234
{ id = "ruff-format", args = [
235235
"reflex",
@@ -261,7 +261,7 @@ hooks = [
261261

262262
[[tool.pre-commit.repos]]
263263
repo = "https://github.com/RobertCraigie/pyright-python"
264-
rev = "v1.1.405"
264+
rev = "v1.1.406"
265265
hooks = [{ id = "pyright", args = ["reflex", "tests"], language = "system" }]
266266

267267
[[tool.pre-commit.repos]]

reflex/components/lucide/icon.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from reflex.vars.base import LiteralVar, Var
77
from reflex.vars.sequence import LiteralStringVar, StringVar
88

9-
LUCIDE_LIBRARY = "lucide-react@0.544.0"
9+
LUCIDE_LIBRARY = "lucide-react@0.545.0"
1010

1111

1212
class LucideIconComponent(Component):
@@ -1129,6 +1129,7 @@ def _get_imports(self):
11291129
"monitor",
11301130
"moon_star",
11311131
"moon",
1132+
"motorbike",
11321133
"mountain_snow",
11331134
"mountain",
11341135
"mouse_off",

reflex/constants/installer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def _determine_react_router_version() -> str:
8787

8888

8989
def _determine_react_version() -> str:
90-
default_version = "19.1.1"
90+
default_version = "19.2.0"
9191
if (version := os.getenv("REACT_VERSION")) and version != default_version:
9292
from reflex.utils import console
9393

@@ -143,11 +143,11 @@ def DEPENDENCIES(cls) -> dict[str, str]:
143143
"postcss-import": "16.1.1",
144144
"@react-router/dev": _react_router_version,
145145
"@react-router/fs-routes": _react_router_version,
146-
"vite": "npm:[email protected].13",
146+
"vite": "npm:[email protected].14",
147147
}
148148
OVERRIDES = {
149149
# This should always match the `react` version in DEPENDENCIES for recharts compatibility.
150150
"react-is": _react_version,
151151
"cookie": "1.0.2",
152-
"vite": "npm:[email protected].13",
152+
"vite": "npm:[email protected].14",
153153
}

reflex/plugins/tailwind_v4.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Constants(SimpleNamespace):
1717
"""Tailwind constants."""
1818

1919
# The Tailwindcss version
20-
VERSION = "[email protected].13"
20+
VERSION = "[email protected].14"
2121
# The Tailwind config.
2222
CONFIG = "tailwind.config.js"
2323
# Default Tailwind content paths
@@ -156,7 +156,7 @@ def get_frontend_development_dependencies(self, **context) -> list[str]:
156156
return [
157157
*super().get_frontend_development_dependencies(**context),
158158
Constants.VERSION,
159-
"@tailwindcss/[email protected].13",
159+
"@tailwindcss/[email protected].14",
160160
]
161161

162162
def pre_compile(self, **context):

reflex/reflex.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ def cli():
4040

4141
loglevel_option = click.option(
4242
"--loglevel",
43+
"--log-level",
44+
"loglevel",
4345
type=click.Choice(
4446
[loglevel.value for loglevel in constants.LogLevel],
4547
case_sensitive=False,

reflex/utils/build.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,11 @@ def _duplicate_index_html_to_parent_directory(directory: Path):
187187

188188

189189
def build():
190-
"""Build the app for deployment."""
190+
"""Build the app for deployment.
191+
192+
Raises:
193+
SystemExit: If the build process fails.
194+
"""
191195
wdir = prerequisites.get_web_dir()
192196

193197
# Clean the static directory if it exists.
@@ -214,6 +218,12 @@ def build():
214218
},
215219
)
216220
processes.show_progress("Creating Production Build", process, checkpoints)
221+
process.wait()
222+
if process.returncode != 0:
223+
console.error(
224+
"Failed to build the frontend. Please run with --loglevel debug for more information.",
225+
)
226+
raise SystemExit(1)
217227
_duplicate_index_html_to_parent_directory(wdir / constants.Dirs.STATIC)
218228

219229
spa_fallback = wdir / constants.Dirs.STATIC / constants.ReactRouter.SPA_FALLBACK

tests/integration/init-test/in_docker_test_script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function do_export () {
1111
cd ~/"$template"
1212
rm -rf ~/.local/share/reflex ~/"$template"/.web
1313
reflex init --template "$template"
14-
reflex export
14+
reflex export --loglevel debug
1515
(
1616
cd "$SCRIPTPATH/../../.."
1717
scripts/integration.sh ~/"$template" dev

uv.lock

Lines changed: 120 additions & 107 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)