Commit graph

54 commits

Author SHA1 Message Date
Jonathan Kelley
a9d7b4d32a Prepare CLI for move into mainline 2023-06-28 17:21:23 -07:00
Evan Almloff
42011b7aa7 improve dioxus create 2023-06-26 13:12:42 -07:00
Evan Almloff
9fbeb84921 update to git dioxus 2023-06-26 08:53:45 -07:00
YuKun Liu
b196affb02 fix: changed flag name to cross-origin-policy 2023-05-06 19:37:36 -07:00
Qichao Lan
4f95a0ba6b
Merge branch 'master' into shared_array_buffer_as_optional_config 2023-05-06 08:18:29 +02:00
chaosprint
257465a6d5 add shared array buffer support for dev server as opt config 2023-05-06 08:13:28 +02:00
chaosprint
a2a52717a0 cargo update lock 2023-05-04 13:34:24 +02:00
Antonio Curavalea
f6cd48c612 feat: open browser during serve with "--open" 2023-04-30 23:13:46 +03:00
Jonathan Kelley
c4a307ac95 publish new version of cli
note that we have to use a slightly outdated version of the hot reloading crate.
2023-03-24 09:49:39 -07:00
Arne Beer
b15d7d4204
chore: Bump deps and fix failing compilation 2023-03-02 14:41:55 +01:00
Ben Sully
ead183dd2c
Add minimal proxy capabilities to dioxus serve
This adds an MVP of some proxying capabilities to the `dioxus serve`
server. The config is similar to that of `trunk serve`: the user can
specify one or more proxy backends under `[[web.proxy]]` in Dioxus.toml,
and the server will intercept requests targeted at the _path_ of that
configured backend and forward them to the backend server.

Example
-------

For example, if the dev server is serving on port 8080 with this config:

```
[[web.proxy]]
backend = "http://localhost:9000/api"
```

then requests to http://localhost:8080/api,
http://localhost:8080/api/ and http://localhost:8080/api/any-subpath
to be forwarded to the respective paths on http://localhost:9000.

This PR doesn't handle path rewriting or anything yet but it would be
fairly simple to add in future if anyone needs it.
2023-02-27 10:44:32 +00:00
Evan Almloff
24fe266ce1 use git dependancies 2023-02-22 07:49:39 -06:00
YuKun Liu
90ee614ca3
Merge pull request #95 from mgbvox/mgb-dioxus-create
`dioxus create some_project` now actually creates said project
2023-02-15 14:16:57 -08:00
Koji AGAWA
32ea636bc7 fix: rebuild hangs on windows 2023-02-11 22:40:48 +09:00
mgbvox
eb91d779cf started tests; some minor build optimization 2023-01-19 10:18:36 -05:00
Jonathan Kelley
af381a112f chore: bump autofmt crate 2023-01-12 17:05:27 -08:00
Jonathan Kelley
e1705a2920 Merge branch 'master' into jk/autofmt-project 2023-01-12 15:43:23 -08:00
Jonathan Kelley
6684e17024 commit lockfile 2023-01-12 15:42:18 -08:00
Jonathan Kelley
964725a069 feat: enable project autoformatting 2023-01-12 15:36:10 -08:00
Jonathan Kelley
479ee2a0f1 chore: use rosetta 2022-12-29 02:24:24 -05:00
Jonathan Kelley
98aa80d0c7 chore: commit cargo lock 2022-12-25 23:38:42 -05:00
Evan Almloff
3cc52f432a Merge branch 'fix-hot-reloading' of https://github.com/Demonthos/cli into fix-hot-reloading 2022-12-23 15:42:24 -06:00
Evan Almloff
33e3f9c360 move hot reloading utilities to dioxus repository 2022-12-23 15:42:14 -06:00
Evan Almloff
49a0400d95 don't use local dependencies 2022-12-22 19:36:25 -06:00
Evan Almloff
9261e4d5e9 fix diffing 2022-12-20 15:07:35 -06:00
Evan Almloff
690aad7912 Merge branch 'fix-hot-reloading' of https://github.com/Demonthos/cli into fix-hot-reloading 2022-12-20 14:32:47 -06:00
Evan Almloff
fb7c55f9bd match the render macro as well 2022-12-20 14:32:04 -06:00
=
f50988b01f add serialize feature to core depenancy 2022-12-19 22:46:50 -06:00
Evan Almloff
c5ac7698fa fix hot reloading 2022-12-19 20:48:35 -06:00
=
6da1b531bb WIP update templates 2022-12-18 21:00:31 -06:00
Jonathan Kelley
15ec138320 chore: fix 2022-12-11 13:01:50 -08:00
Jonathan Kelley
21172850e8 chore: bumpb cli 2022-12-11 12:57:25 -08:00
Jonathan Kelley
7d49f71cd5 fix: disable hotreloaidng stuff 2022-12-11 12:54:17 -08:00
Jonathan Kelley
aa05dc3054 fix: builds of CLI 2022-12-07 12:55:28 -08:00
Jon Kelley
2e804f71b3
Merge pull request #57 from mrxiaozhuox/master 2022-11-18 18:48:38 -08:00
Jonathan Kelley
d39045799e chore: bump version 2022-11-14 18:10:22 -08:00
YuKun Liu
ad1ed6cfb5
Merge branch 'master' into master 2022-11-03 00:21:31 -07:00
Evan Almloff
16935bded1 create out_dir if it doesn't exist on serve 2022-10-30 21:07:05 -05:00
YuKun Liu
5104f767b3 Merge branch 'master' of https://github.com/DioxusLabs/cli 2022-10-03 09:37:26 -07:00
YuKun Liu
77393b273e feat: commit plugin error handle 2022-10-01 15:17:09 -07:00
YuKun Liu
20c29ed042 feat: add serve-shutdown support 2022-09-21 22:57:26 -07:00
YuKun Liu
37ef7c3ff9 feat: support some event 2022-09-21 16:56:36 -07:00
Evan Almloff
7b9a321356 update to work with templates 2022-08-26 16:28:46 -05:00
mrxiaozhuox
062d0eab47 feat: commit serve info 2022-08-23 15:41:39 -07:00
mrxiaozhuox
6c1374edb3 feat: commit code 2022-08-22 11:00:31 -07:00
mrxiaozhuox
d9891d9f0c feat: commit build field 2022-08-18 15:54:42 -07:00
trevyn
9364119734 Update Cargo.lock 2022-08-15 07:37:51 -04:00
mrxiaozhuox
2ad5c7e282 feat: commit file download 2022-08-01 16:03:17 +08:00
mrxiaozhuox
da53c67841 feat: commit plugin interface 2022-07-27 23:51:35 +08:00
mrxiaozhuox
a21433016a fix: update wasm-bindgen version 2022-07-26 17:03:34 +08:00