Commit Graph
97 Commits
Author SHA1 Message Date
Evan Almloff a09548d80e Remove implicit optional dependency features (#2512)
* remove implicit optional dependency features

* switch to new features in desktop, router and signals crates
2024-06-18 18:39:15 -05:00
Evan Almloff 9d55bfc1dc Integrate wasm-opt into the CLI (#2434)
* integrate wasm-opt

* include wasm opt configuration in the default dioxus.toml
2024-06-10 20:48:04 -07:00
Evan Almloff 245003a5d4 Create a Static Site Generation platform; Deduplicate hot reloading code (#2226)
* create static site generation helpers in the router crate

* work on integrating static site generation into fullstack

* move ssg into a separate crate

* integrate ssg with the launch builder

* simplify ssg example

* fix static_routes for child routes

* move CLI hot reloading websocket code into dioxus-hot-reload

* fix some unused imports

* use the same hot reloading websocket code for fullstack

* fix fullstack hot reloading

* move cli hot reloading logic into the hot reload crate

* ssg example working with dx serve

* add more examples

* fix clippy

* fix formatting

* fix hot reload doctest imports

* fix axum imports

* don't run server doc tests

* Fix hot reload websocket doc examples
2024-05-22 07:24:15 -05:00
Andrew Voynov 720899e19e feat(cli): now user interaction can be skipped (#1872)
when creating a new project
2024-05-14 09:39:56 -05:00
Evan Almloff a27d4e71ed Only compress web assets in the CLI (#2329)
* only compress web assets in the CLI

* precompressed -> pre-compressed

* only enable pre-compression in release builds
2024-04-26 00:47:04 -04:00
Jonathan Kelley 7eccc7a104 Release 0.5.2
dioxus-cli@0.5.2
dioxus-fullstack@0.5.2

Generated by cargo-workspaces
2024-04-04 18:32:14 -07:00
Jonathan Kelley 9c5e5f969f Release 0.5.1
dioxus@0.5.1
dioxus-autofmt@0.5.1
dioxus-check@0.5.1
dioxus-cli@0.5.1
dioxus-core@0.5.1
dioxus-core-macro@0.5.1
dioxus-desktop@0.5.1
dioxus-fullstack@0.5.1
dioxus-hooks@0.5.1
dioxus-html@0.5.1
dioxus-interpreter-js@0.5.1
dioxus-lib@0.5.1
dioxus-liveview@0.5.1
dioxus-mobile@0.5.1
dioxus-router-macro@0.5.1
dioxus-rsx@0.5.1
dioxus-signals@0.5.1
dioxus-ssr@0.5.1
dioxus-web@0.5.1
dioxus_server_macro@0.5.1
generational-box@0.5.1
rsx-rosetta@0.5.1

Generated by cargo-workspaces
2024-04-04 17:05:21 -07:00
Jonathan Kelley 2461790baf bump cli to 0.5.4 2024-03-28 21:11:54 -07:00
Jonathan Kelley ac1aea4783 Binstalls not working, need archive suffix 2024-03-27 19:35:38 -07:00
Jonathan Kelley 1f6c7cfbd0 fix binstall 2024-03-27 18:55:29 -07:00
Miles Murgaw 44f3047780 Revision: Change Default Logging In CLI (#2157)
* revision: filter to warn logs

* revision: change to use DIOXUS_LOG
2024-03-27 12:07:44 -07:00
Jonathan Kelley 08944223be fix binstall 2024-03-27 00:37:58 -07:00
Jonathan Kelley 3f127f5fcb fix vendored flag 2024-03-26 22:40:24 -07:00
Jonathan Kelley fd64d1a419 use vendored ssl on mac 2024-03-26 22:26:54 -07:00
Jonathan Kelley 85c3cf1f9b Make my editor happier with the cargo 2024-03-26 20:26:45 -07:00
Evan AlmloffandJonathan Kelley 460a685fa3 Warn if cli-config is not available at compile time (#2135)
* warn if a package relies on the CLI config, but it is not built with the CLI

* fix default features

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-26 19:10:26 -07:00
Evan Almloff 1b03bed20a Provide a better error message for wasm bindgen version mismatches (#2136)
* provide a better error message for wasm bindgen version mismatches

* fix clippy

* only rerun wasm bindgen if the first run fails

* remove old logs
2024-03-26 19:08:12 -07:00
Evan Almloff 2ac4bdb673 Switch to tracing for the cli (#2137)
* switch to tracing in the dioxus-cli

* bump manganis

* fix manganis features

* only print processing assets if skip assets is disabled

* switch all logs to tracing

* switch to published version of manganis

* undo all changes to cargo.toml

* remove reference to log
2024-03-25 15:21:51 -05:00
Evan Almloff da3b066934 Revert "switch to tracing"
This reverts commit 6608f73a2e.
2024-03-25 10:09:53 -05:00
Evan Almloff 6608f73a2e switch to tracing 2024-03-25 10:07:31 -05:00
Jonathan Kelley bb8b4dc2fb FIx:
- asset hotreloading for desktop,
- asset dir for dxserve on desktop,
- extend features with platform
2024-03-13 17:15:49 -07:00
Jonathan Kelley 982b96074a Add basic hotreload test samples 2024-03-13 13:07:15 -07:00
Jonathan Kelley bca5335f31 fix: hotreloading files with multiple templates, asset hotreloading 2024-03-13 02:13:37 -07:00
Jonathan Kelley ad7a350d2e fix hotreloading issues in the CLI 2024-03-12 13:39:42 -07:00
Jonathan Kelley be29c1fdaa chore: move all packages onto workspace versions 2024-02-21 14:30:13 -08:00
Jonathan Kelley d732269b8f backend proxy tests almost work! 2024-02-18 09:45:27 -08:00
Evan Almloff e7d8a25d17 get the dioxus CLI compiling 2024-02-16 14:55:44 -06:00
Jonathan Kelley 64a321eacc Get more axum stuff upgraded to 0.7 2024-02-15 18:59:57 -08:00
Jonathan Kelley 214a907adc Upgrade to axum 0.7, drop 3rd party adapters 2024-02-15 18:05:30 -08:00
Evan Almloff b88c66d8df report syn parse errors to the user 2024-02-08 10:00:25 -06:00
Evan Almloff 65d4f922b4 Merge branch 'master' into pr/Dangerised/1902 2024-02-08 09:41:08 -06:00
Dangerise f40e2f3cef replace gitignore with ignore 2024-02-06 20:53:28 +08:00
Jonathan Kelley eff1dd6c90 Merge branch 'master' into breaking 2024-01-30 16:20:19 -08:00
YuKun Liu 37e5f53f9e Merge branch 'master' into master 2024-01-28 11:57:38 -08:00
YuKun Liu a0508861bc fix: upgrade crates & fixed repeat build error 2024-01-28 11:51:02 -08:00
ealmloff df74e4c2fc Merge pull request #1874 from marc2332/feat/reduce-cli-deps
feat: Reduce cli deps
2024-01-27 20:22:22 -06:00
ealmloff d83a6d683f use the workspace version of futures utils 2024-01-27 20:07:16 -06:00
marc2332 63b82b279b ok 2024-01-27 22:29:28 +01:00
marc2332 fad0607667 feat: Reduce CLI deps 2024-01-27 22:27:23 +01:00
Andrew Voynov f7041b118d chore(deps): bump cargo-generate from 0.18 to 0.19
When building the `dx` CLI there is 1 less dependency (from 710 to 709).
2024-01-27 21:52:52 +03:00
Jonathan Kelley 6ed3aafb2f Get cargo check --all working 2024-01-18 19:27:55 -08:00
Jonathan Kelley d8af9b7ed1 Fix compile checks on numerous packages using --all --all-features 2024-01-18 16:27:43 -08:00
Evan Almloff 663296ae45 make collect-assets not optional in dioxus fullstack 2024-01-09 13:58:28 -06:00
Jonathan Kelley 28a9dc6805 Pin assets sha to keep CI in check 2024-01-08 14:54:02 -08:00
Evan Almloff 2cc6f2f51f fix merge and reorganize the CLI a bit 2024-01-08 13:39:12 -06:00
Evan Almloff 23509ada9f Merge branch 'master' into cli-config-library 2024-01-08 13:24:16 -06:00
Jonathan Kelley fb40e72520 Merge pull request #1603 from divinerapier/master
Bump tauri bundler for using proxy to fetch resources
2024-01-08 10:38:05 -08:00
ealmloff 2853b16cd6 Merge branch 'DioxusLabs:master' into intigrate-collect-assets 2023-12-21 14:00:35 -06:00
Exotik850andEvan Almloff 1ec230ae29 Autoformat ignores files in .gitignore (#1704)
* Make autofmt ignore gitignored files

* don't panic if it can't get the git ignore files

* replace some with ok

* Filter rs files from gitignore

* fmt

* remove early return

* only ignore paths that start with target

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-12-13 09:44:01 -06:00
Evan Almloff 66e2c02bf7 Merge branch 'master' into intigrate-collect-assets 2023-12-08 08:49:17 -06:00