feat: appflowy_web build (#4302)

* chore: create web folder

* fix: support lib-dispatch and notification compiling to wasm

* refactor: wasm

* refactor: call async evnet

* chore: add web ci

* ci: fix

* ci: fix

* ci: fix

---------

Co-authored-by: nathan <nathan@appflowy.io>
This commit is contained in:
Kilu.He
2024-01-06 11:50:05 +08:00
committed by GitHub
parent 89370b4a55
commit 79c912219d
49 changed files with 4801 additions and 123 deletions

View File

@ -101,7 +101,7 @@ rustup target add x86_64-unknown-linux-gnu
"""
[tasks.install_tauri_prerequests]
dependencies=["install_targets", "install_tauri_protobuf"]
dependencies=["install_targets", "install_web_protobuf"]
[tasks.install_flutter_prerequests]
dependencies=["install_targets", "install_flutter_protobuf"]

View File

@ -1,17 +1,17 @@
[tasks.install_tauri_protobuf.windows]
[tasks.install_web_protobuf.windows]
script = """
npm install -g protoc-gen-ts typescript@4.9.5
"""
script_runner = "@shell"
[tasks.install_tauri_protobuf.mac]
[tasks.install_web_protobuf.mac]
script = """
sudo npm install -g protoc-gen-ts typescript@4.9.5
"""
script_runner = "@shell"
[tasks.install_tauri_protobuf.linux]
[tasks.install_web_protobuf.linux]
script = """
sudo npm install -g protoc-gen-ts typescript@4.9.5
"""