Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
174b554
chore: upgrade next.js to utoo-wasm branch
xusd320 Aug 4, 2025
5df3442
feat: add wasm compatiable features (#2100)
xusd320 Aug 5, 2025
21eb037
feat: enable std::sync::atomic to support tokio (#2104)
xusd320 Aug 6, 2025
f7a2b96
feat(wasm): init wasm (#2098)
elrrrrrrr Aug 7, 2025
70d3ba7
fix(pack): test snapshots
xusd320 Aug 10, 2025
666e7d5
refactor(wasm): add @utoo/web package and add a new demo (#2106)
xusd320 Aug 10, 2025
17a80db
fix: utooweb release
xusd320 Aug 10, 2025
16f1c74
fix: utooweb release
xusd320 Aug 10, 2025
1478d9a
fix(wasm): opfs project (#2109)
xusd320 Aug 11, 2025
5649963
fix: opfs demo (#2110)
elrrrrrrr Aug 11, 2025
97fc077
feat(wasm): support utoopack (#2111)
xusd320 Aug 12, 2025
f4071cd
fix(wasm): utoo-wasm dev (#2113)
xusd320 Aug 12, 2025
6b5280d
fix(wasm): fs across threads (#2114)
xusd320 Aug 12, 2025
65c47f8
chore: opfs-project (#2115)
elrrrrrrr Aug 12, 2025
9285446
chore: update utoo-wasm & turbopack-node (#2116)
fireairforce Aug 13, 2025
462e6f2
feat(wasm): align @utoo/web fs apis align to nodejs fs/promises (#2118)
xusd320 Aug 13, 2025
c97c324
chore: fix types
xusd320 Aug 13, 2025
645fdb7
fix(wasm): write project file
xusd320 Aug 13, 2025
faf500d
chore(wasm): update utooweb demo (#2120)
xusd320 Aug 13, 2025
9d54adc
chore(wasm): update utooweb demo (#2121)
xusd320 Aug 14, 2025
4aaa4da
feat(wasm): remove wasm-pack (#2122)
xusd320 Aug 14, 2025
1f21538
fix(wasm): utooweb-release.yml
xusd320 Aug 14, 2025
661a8da
fix(wasm): utoopack unreachable and add tracing log (#2123)
xusd320 Aug 14, 2025
bd17cd5
fix(wasm): utoopack unreachable and add tracing log (#2124)
xusd320 Aug 15, 2025
9d4bd47
feat: -wasm init project with self bundled worker
xusd320 Aug 15, 2025
608d420
chore(wasm): update utoo-pack as a feature (#2126)
elrrrrrrr Aug 19, 2025
125ead1
chore(wasm): release flow (#2129)
elrrrrrrr Aug 20, 2025
ac4aa64
feat(wasm): @utoo/web pack build support (#2138)
xusd320 Aug 26, 2025
cf19e42
fix(wasm): @utoo/pack project mount cross threads (#2142)
xusd320 Aug 26, 2025
76589ef
feat(wasm): expose threadUrl (#2143)
xusd320 Aug 26, 2025
cbb22d4
chore: update tokio-fs-ext & opfs-project
xusd320 Aug 26, 2025
e4cb429
chore(pack): rename Library to LibraryEntrypoint
xusd320 Aug 26, 2025
2008792
chore: update deps
xusd320 Aug 26, 2025
a09a144
chore: reduce wasm size (#2145)
xusd320 Aug 27, 2025
02793a4
chore: rename worker_thread to thread_worker (#2146)
xusd320 Aug 27, 2025
7a4e627
feat(wasm): update utooweb demo (#2149)
xusd320 Aug 28, 2025
49d7317
chore(wasm): let serviceWorker to be optional (#2150)
xusd320 Aug 28, 2025
4ab9b6b
chore: update umijs/mako to utooland/utoo (#2152)
fireairforce Aug 28, 2025
259f9bf
feat(wasm): resctrict serviceWorker scope (#2155)
xusd320 Aug 29, 2025
80546c2
chore: update utooweb-demo
xusd320 Aug 29, 2025
8bd9f14
chore: update opfs-project (#2154)
elrrrrrrr Aug 29, 2025
f26fc39
chore: update utooweb-demo with viber coding (#2156)
xusd320 Aug 29, 2025
56fb7e9
chore: add sass demo for utooweb-demo (#2157)
fireairforce Aug 29, 2025
fe11b86
perf(wasm): avoid too many console.log (#2158)
xusd320 Aug 29, 2025
e0ee380
feat(wasm): support rm dir and file on wasm (#2160)
xusd320 Aug 29, 2025
aee4903
refactor: @utoo/web code styles
xusd320 Aug 29, 2025
5724df8
chore: update tokio-fs-ext to 0.5.6
xusd320 Aug 30, 2025
be32c0d
fix: service worker handshake (#2161)
xusd320 Sep 1, 2025
8f33aa9
feat(wasm): enable postcss & webpack-loader cfg (#2164)
fireairforce Sep 2, 2025
7ebb0a3
feat(wasm): enable utoopack watch build (#2166)
xusd320 Sep 2, 2025
4d4183b
chore: utoo-web code styles
xusd320 Sep 2, 2025
b1389b4
feat(wasm): update tokio to enable blocking operation (#2169)
xusd320 Sep 3, 2025
37b807e
chore: update next.js
xusd320 Sep 5, 2025
81d2af6
chore: update next.js
xusd320 Sep 5, 2025
832345f
Merge branch 'next' into utoo-wasm
xusd320 Sep 5, 2025
8217da3
chore: update package-lock.json
xusd320 Sep 5, 2025
d22e408
fix: compile err
xusd320 Sep 5, 2025
70d7ec9
chore: update next.js
xusd320 Sep 5, 2025
45eb54a
fix: fmt
xusd320 Sep 5, 2025
360a87a
fix: package-lock.json
xusd320 Sep 5, 2025
e034efd
ci: add utooweb ci
xusd320 Sep 5, 2025
0f61aab
chore: update next.js
xusd320 Sep 5, 2025
bbba80c
Merge branch 'next' into utoo-wasm
xusd320 Sep 5, 2025
01de945
fix: utooweb ci
xusd320 Sep 5, 2025
067aa18
fix: utooweb ci
xusd320 Sep 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,6 @@ incremental = true
[cache]
auto-clean-frequency = "1 day"

[profile.dev]
incremental = true
debug = true

[profile.release]
incremental = true
lto = "thin"
codegen-units = 1
strip = true

[target.x86_64-pc-windows-msvc]
linker = "rust-lld"
rustflags = [
Expand Down Expand Up @@ -87,9 +77,20 @@ rustflags = [
[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"

[target.wasm32-unknown-unknown]
rustflags = [
"--cfg",
"tokio_unstable",
"--cfg",
'getrandom_backend="wasm_js"',
"-Ctarget-feature=+atomics,+bulk-memory,+mutable-globals",
"-Aunused",
]

[unstable.git]
shallow_index = true
shallow_deps = true

[unstable.gitoxide]
fetch = true
checkout = true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pack-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
if: ${{ !matrix.settings.docker }}
with:
toolchain: stable
toolchain: nightly-2025-06-04
targets: ${{ matrix.settings.target }}
- name: Cache cargo
uses: Swatinem/rust-cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pack-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
if: ${{ !matrix.settings.docker }}
with:
toolchain: stable
toolchain: nightly-2025-06-04
targets: ${{ matrix.settings.target }}
- name: Cache cargo
uses: Swatinem/rust-cache@v2
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/utooweb-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: utooweb-ci

env:
APP_NAME: "@utoo/web"

on: [pull_request]

jobs:
build:
name: build-wasm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submoduls: false
- name: Add SSH private keys for submodule repositories
uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: |
${{ secrets.CI_SUBMODULE }}
- name: Init git submodules
run: git submodule update --init
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: |
npm install
npm install binaryen@123.0.0 --global
cargo install -f wasm-bindgen-cli --version 0.2.100
rustup target add wasm32-unknown-unknown
rustup component add rust-src --toolchain nightly-2025-06-04-x86_64-unknown-linux-gnu
- name: Install rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly-2025-06-04
- name: Build WASM
run: |
npm run build:local --workspace=@utoo/web
ls packages/utoo-web/esm/utoo

56 changes: 56 additions & 0 deletions .github/workflows/utooweb-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: utooweb-release

env:
APP_NAME: "@utoo/web"

on:
release:
types: [published]

jobs:
publish:
if: startsWith(github.event.release.tag_name, 'utooweb-v')
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submoduls: false
- name: Add SSH private keys for submodule repositories
uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: |
${{ secrets.CI_SUBMODULE }}
- name: Init git submodules
run: git submodule update --init
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: |
npm install
npm install binaryen@123.0.0 --global
cargo install -f wasm-bindgen-cli --version 0.2.100
rustup target add wasm32-unknown-unknown
rustup component add rust-src --toolchain nightly-2025-06-04-x86_64-unknown-linux-gnu
- name: Install rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly-2025-06-04
- name: Get version from release or use alpha version
id: get_version
run: |
echo "VERSION=${GITHUB_REF#refs/tags/utooweb-v}" >> $GITHUB_OUTPUT
- name: NPM Publish
run: |
# npm config set provenance true
echo "${VERSION}" &&
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc &&

npm version --workspace=@utoo/web "${VERSION}" &&
npm publish --workspace=@utoo/web --access public
env:
VERSION: ${{ steps.get_version.outputs.VERSION }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6 changes: 0 additions & 6 deletions .vscode/setting.json

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.defaultFormatter": "biomejs.biome"
}
Loading
Loading