Skip to content

Commit

Permalink
chore: rename to wnfs-wasm and actions fix *maybe*
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanlakhani committed Dec 6, 2022
1 parent a370749 commit 42ac27c
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 15 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.repository_owner == 'wnfs-wg'

outputs:
releases_created: ${{ steps.release.outputs.releases_created }}

steps:
- name: Run release-please
id: release
Expand Down
7 changes: 3 additions & 4 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"wnfs": "0.1.10",
"wasm-wnfs": "0.1.9",
"wnfs-wasm": "0.1.10",
"wnfs-bench": "0.0.1"
"wnfs": "0.1.9",
"wnfs-wasm": "0.1.9",
"wnfs-bench": "0.1.9"
}
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[workspace]
members = [
"wnfs",
"wnfs-bench",
"wnfs-wasm"
]
"wnfs-bench"
,
"wnfs-wasm"]

# Speedup build on macOS
# See https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#splitting-debug-information
Expand Down
2 changes: 1 addition & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"bump-patch-for-minor-pre-major": true,
"packages": {
"wnfs": {},
"wasm-wnfs": {}
"wnfs-wasm": {}
}
}
6 changes: 3 additions & 3 deletions scripts/rs-wnfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ build_fs() {
}

build_wasm() {
display_header "💿 | BUILDING WASM-WNFS PROJECT | 💿"
display_header "💿 | BUILDING WNFS-WASM PROJECT | 💿"
cd $script_dir/../wnfs-wasm
WASM_BINDGEN_WEAKREF=1 wasm-pack build --target web
sed -i.bak \
-e 's/"name": "wasm-wnfs"/"name": "wnfs",\n "type": "module"/g' \
-e 's/"name": "wnfs-wasm"/"name": "wnfs",\n "type": "module"/g' \
-e 's/"module": "wasm_wnfs\.js"/"module": "wasm_wnfs\.js",\n "main": "wasm_wnfs\.js"/g' \
pkg/package.json
rm pkg/package.json.bak
Expand Down Expand Up @@ -144,7 +144,7 @@ test_fs() {
}

test_wasm() {
display_header "🧪 | RUNNING WASM-WNFS TESTS | 🧪"
display_header "🧪 | RUNNING WNFS-WASM TESTS | 🧪"
cd $script_dir/../wnfs-wasm
yarn playwright test
}
Expand Down
2 changes: 1 addition & 1 deletion wnfs-bench/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wnfs-bench"
version = "0.0.1"
version = "0.1.9"
description = "WNFS Benchmarks"
publish = false
edition = "2021"
Expand Down
4 changes: 2 additions & 2 deletions wnfs-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "wasm-wnfs"
name = "wnfs-wasm"
version = "0.1.10"
description = "WebNative Filesystem API (WebAssembly)"
keywords = ["wnfs", "wasm", "webnative", "ipfs", "decentralisation"]
Expand Down Expand Up @@ -29,7 +29,7 @@ rand_core = "0.6"
wasm-bindgen = { version = "0.2", optional = true, features = ["serde-serialize"] }
wasm-bindgen-futures = { version = "0.4", optional = true }
web-sys = { version = "0.3", optional = true }
wnfs = { path = "../wnfs", version = "0.1.10" }
wnfs = { path = "../wnfs", version = "0.1.9" }

[dev-dependencies]
wasm-bindgen-test = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion wnfs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wnfs"
version = "0.1.10"
version = "0.1.9"
description = "WebNative filesystem core implementation"
keywords = ["wnfs", "webnative", "ipfs", "decentralisation"]
categories = [
Expand Down

0 comments on commit 42ac27c

Please sign in to comment.