Commit Graph
218 Commits
Author SHA1 Message Date
Robin Tretter 8eda67ecb2 added hot-reload as config option with default to true (#2024) 2024-03-08 14:54:03 -06:00
rtretter 3ffb1facf3 search for first valid platform in features 2024-03-06 21:38:11 +01:00
rtretter f62c81ea0d added automatic platform detection to cli if none is passed 2024-03-06 21:16:51 +01:00
Evan Almloff c4a4a31eec Merge branch 'master' into pr/atty303/1948 2024-02-19 08:35:31 -06:00
Jonathan Kelley ebdb98bff2 Make clippy happy, pass tests 2024-02-18 21:08:48 -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
Koji AGAWA 1f0e03ca19 feat(fullstack): support wasm target 2024-02-17 05:12:33 +09:00
Evan Almloff 194d90e66f fix a few CLI errors 2024-02-16 12:39:36 -06:00
Jonathan Kelley 2763adb2d3 clean up workflow, fix some more axum stuff 2024-02-15 19:03:46 -08: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 f4651cecb8 Merge pull request #1916 from DogeDark/master
Add Prerelease Doc Generation
2024-02-09 12:45:59 -06:00
Evan Almloff b4d17abfc1 document all features 2024-02-09 12:15:59 -06:00
Evan Almloff d1ed15c2ac fix autofmt tests 2024-02-08 10:13:57 -06:00
Evan Almloff 23e15ee9c8 change rustfmt flag to all_code now that we don't use rustfmt 2024-02-08 10:03:52 -06: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 c89a4b37dc remove the link in comment and unused error variant 2024-02-07 22:35:55 +08:00
Evan Almloff 3270f7341a fix manganis support for dioxus desktop 2024-02-06 11:39:30 -06:00
Evan Almloff 1909b05412 Merge branch 'master' into pr/Andrew15-5/1903 2024-02-06 10:28:49 -06:00
Evan Almloff 7f32809a96 use out_dir in a few more places 2024-02-06 10:27:26 -06:00
Dangerise 82fc7acaa5 remove debug print 2024-02-06 21:04:37 +08:00
Dangerise 71125c22e0 remove unused import 2024-02-06 21:03:04 +08:00
Dangerise d170304a59 remove dead code 2024-02-06 21:01:33 +08:00
Dangerise 192fa3471b clippy fix 2024-02-06 20:56:12 +08:00
Dangerise f40e2f3cef replace gitignore with ignore 2024-02-06 20:53:28 +08:00
Jonathan Kelley 4f8868d43d Merge pull request #1791 from ealmloff/breaking
Remove scope, use_state, use_ref, bump allocator and make everything 'static
2024-02-05 14:19:47 -08:00
Andrew Voynov ea9622a75c fix(serve): fixed long rebuilds with dx serve 2024-02-06 00:27:45 +03:00
Evan Almloff 417cea7569 Merge pull request #1898 from Andrew15-5/fix-fullstack-cli-build
Now fullstack client uses correct config via `dx build`
2024-02-05 09:28:45 -06:00
Dangerise 2eec2bc673 add rustfmt support 2024-02-05 21:51:49 +08:00
Andrew Voynov 009238b068 feat(cli): added short release build option
Same as `cargo build` has `-r` now `dx build` and `dx bundle` also have
it. Since user probably wants to use these commands for production-ready
artifacts, the `--release` option is probably used often, same as with
`cargo build`. This allow users to use the same `build -r` "pattern".
2024-02-04 23:36:43 +03:00
Andrew Voynov 62b0f876f2 fix(build): now fullstack client uses correct config 2024-02-04 18:56:59 +03:00
Jonathan Kelley 0bd9692e45 Fix cargo test and a number of little cleanup bugs 2024-01-30 17:33:14 -08:00
Jonathan Kelley eff1dd6c90 Merge branch 'master' into breaking 2024-01-30 16:20:19 -08:00
ealmloff d5c17af13c Merge pull request #1882 from Andrew15-5/refactor-crateconfig-struct
Converted `out_dir` and `asset_dir` fields to methods in `CrateConfig` (cli-config refactor)
2024-01-30 16:24:14 -06:00
Andrew Voynov 48957b11d8 refactor(cli-config): modified CrateConfig struct
`out_dir` and `asset_dir` are now methods, because they derive from
`crate_dir` and `dioxus_config`.
2024-01-30 23:23:00 +03:00
Andrew Voynov c22014571e refactor(cli): added multiple nested errors support
Before the top-level error message would print the dependent error
message. Now multiple nested errors can be shown (with anyhow context).
2024-01-30 18:09:21 +03:00
YuKun Liu 37e5f53f9e Merge branch 'master' into master 2024-01-28 11:57:38 -08:00
YuKun Liu 492f49700a fix: cargo fmt 2024-01-28 11:52:42 -08:00
YuKun Liu a0508861bc fix: upgrade crates & fixed repeat build error 2024-01-28 11:51:02 -08:00
marc2332 fad0607667 feat: Reduce CLI deps 2024-01-27 22:27:23 +01:00
Evan Almloff 636aeb4b90 integrate liveview with the launch builder 2024-01-22 11:56:34 -06:00
Ege Gungordu 91e378fc5e mark hot-reload flag incompatible with release 2024-01-20 20:49:45 +03:00
Jonathan Kelley d8af9b7ed1 Fix compile checks on numerous packages using --all --all-features 2024-01-18 16:27:43 -08:00
Granville Schmidt b372701d30 fix wording in CLI building waiting message 2024-01-17 18:13:58 -07:00
Evan Almloff 611f0d3b5f Merge branch 'maybe-sync-signal' into breaking 2024-01-16 13:49:53 -06:00
Evan Almloff d44b0b34c8 Merge branch 'master' into breaking 2024-01-16 10:38:55 -06:00
hem1t c6e1b0f728 init subcommand (#1840)
* `init` subcommand

* clippy
2024-01-16 10:25:07 -06:00
hem1t 1db8bd7edd Minor fixes in cli (#1837)
* not using bin, until needed

also removes an unnecessary warning!

* removed redundant line

maybe, it was readability?

* using same `if let` pattern as below

* to `get_bin(args.bin)?` with `Ok(())` at last

* unreachable!
2024-01-16 07:21:01 -06:00