diff --git a/TOOLS.md b/TOOLS.md index 03f8e420..986bf691 100644 --- a/TOOLS.md +++ b/TOOLS.md @@ -97,7 +97,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho | [**wait-for-them**](https://github.com/shenek/wait-for-them) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/shenek/wait-for-them/releases) | Linux, macOS, Windows | [GPL-3.0](https://github.com/shenek/wait-for-them/blob/v0.4.0/Cargo.toml#L7) | | [**wash**](https://github.com/wasmCloud/wasmCloud) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/wasmCloud/wasmCloud/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/wasmCloud/wasmCloud/blob/main/LICENSE) | | [**wasm-bindgen**](https://github.com/wasm-bindgen/wasm-bindgen) (alias: `wasm-bindgen-cli`) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/wasm-bindgen/wasm-bindgen/releases) | Linux, macOS, Windows | [MIT](https://github.com/wasm-bindgen/wasm-bindgen/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/wasm-bindgen/wasm-bindgen/blob/main/LICENSE-APACHE) | -| [**wasm-pack**](https://github.com/drager/wasm-pack) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/drager/wasm-pack/releases) | Linux, macOS, Windows | [MIT](https://github.com/drager/wasm-pack/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/drager/wasm-pack/blob/master/LICENSE-APACHE) | +| [**wasm-pack**](https://github.com/wasm-bindgen/wasm-pack) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/wasm-bindgen/wasm-pack/releases) | Linux, macOS, Windows | [MIT](https://github.com/wasm-bindgen/wasm-pack/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/wasm-bindgen/wasm-pack/blob/master/LICENSE-APACHE) | | [**wasm-tools**](https://github.com/bytecodealliance/wasm-tools) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/bytecodealliance/wasm-tools/releases) | Linux, macOS, Windows | [Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasm-tools/blob/main/LICENSE-APACHE) OR [Apache-2.0](https://github.com/bytecodealliance/wasm-tools/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/bytecodealliance/wasm-tools/blob/main/LICENSE-MIT) | | [**wasmtime**](https://github.com/bytecodealliance/wasmtime) (alias: `wasmtime-cli`) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/bytecodealliance/wasmtime/releases) | Linux, macOS, Windows | [Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasmtime/blob/main/LICENSE) | | [**xbuild**](https://github.com/rust-mobile/xbuild) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rust-mobile/xbuild/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/rust-mobile/xbuild/blob/v0.2.0/xbuild/Cargo.toml#L7) | diff --git a/manifests/wasm-pack.json b/manifests/wasm-pack.json index 2dcfde40..102913fe 100644 --- a/manifests/wasm-pack.json +++ b/manifests/wasm-pack.json @@ -2,23 +2,23 @@ "rust_crate": "wasm-pack", "template": { "x86_64_linux_musl": { - "url": "https://github.com/drager/wasm-pack/releases/download/v${version}/wasm-pack-v${version}-x86_64-unknown-linux-musl.tar.gz", + "url": "https://github.com/wasm-bindgen/wasm-pack/releases/download/v${version}/wasm-pack-v${version}-x86_64-unknown-linux-musl.tar.gz", "bin": "wasm-pack-v${version}-x86_64-unknown-linux-musl/wasm-pack" }, "x86_64_macos": { - "url": "https://github.com/drager/wasm-pack/releases/download/v${version}/wasm-pack-v${version}-x86_64-apple-darwin.tar.gz", + "url": "https://github.com/wasm-bindgen/wasm-pack/releases/download/v${version}/wasm-pack-v${version}-x86_64-apple-darwin.tar.gz", "bin": "wasm-pack-v${version}-x86_64-apple-darwin/wasm-pack" }, "x86_64_windows": { - "url": "https://github.com/drager/wasm-pack/releases/download/v${version}/wasm-pack-v${version}-x86_64-pc-windows-msvc.tar.gz", + "url": "https://github.com/wasm-bindgen/wasm-pack/releases/download/v${version}/wasm-pack-v${version}-x86_64-pc-windows-msvc.tar.gz", "bin": "wasm-pack-v${version}-x86_64-pc-windows-msvc/wasm-pack.exe" }, "aarch64_linux_musl": { - "url": "https://github.com/drager/wasm-pack/releases/download/v${version}/wasm-pack-v${version}-aarch64-unknown-linux-musl.tar.gz", + "url": "https://github.com/wasm-bindgen/wasm-pack/releases/download/v${version}/wasm-pack-v${version}-aarch64-unknown-linux-musl.tar.gz", "bin": "wasm-pack-v${version}-aarch64-unknown-linux-musl/wasm-pack" }, "aarch64_macos": { - "url": "https://github.com/drager/wasm-pack/releases/download/v${version}/wasm-pack-v${version}-aarch64-apple-darwin.tar.gz", + "url": "https://github.com/wasm-bindgen/wasm-pack/releases/download/v${version}/wasm-pack-v${version}-aarch64-apple-darwin.tar.gz", "bin": "wasm-pack-v${version}-aarch64-apple-darwin/wasm-pack" } }, diff --git a/tools/codegen/base/wasm-pack.json b/tools/codegen/base/wasm-pack.json index 79449f0b..78091ce9 100644 --- a/tools/codegen/base/wasm-pack.json +++ b/tools/codegen/base/wasm-pack.json @@ -1,6 +1,6 @@ { - "repository": "https://github.com/drager/wasm-pack", - "license_markdown": "[MIT](https://github.com/drager/wasm-pack/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/drager/wasm-pack/blob/master/LICENSE-APACHE)", + "repository": "https://github.com/wasm-bindgen/wasm-pack", + "license_markdown": "[MIT](https://github.com/wasm-bindgen/wasm-pack/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/wasm-bindgen/wasm-pack/blob/master/LICENSE-APACHE)", "tag_prefix": "v", "rust_crate": "${package}", "asset_name": "${package}-v${version}-${rust_target}.tar.gz", diff --git a/tools/codegen/src/main.rs b/tools/codegen/src/main.rs index 1ff36fac..2e54146b 100644 --- a/tools/codegen/src/main.rs +++ b/tools/codegen/src/main.rs @@ -118,7 +118,12 @@ fn main() { if let Some(crate_repository) = info.crate_.repository.clone() { if !crate_repository.to_lowercase().starts_with(&base_info.repository.to_lowercase()) { - panic!("repository {crate_repository} from crates.io differs from base manifest"); + // TODO: wasm-pack repo has been moved, but there is no release since it. + if package != "wasm-pack" { + panic!( + "repository {crate_repository} from crates.io differs from base manifest" + ); + } } } else { panic!("crate metadata does not include a repository");