diff --git a/cli/Cargo.toml b/cli/Cargo.toml index e984b94..6b06fd2 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nanopub-cli" -version = "0.0.5" +version = "0.0.6" description = """ A cross-platform CLI tool written in Rust to sign Nanopublications. """ @@ -14,5 +14,5 @@ homepage.workspace = true categories.workspace = true [dependencies] -nanopub = { version = "0.0.5", path = "../lib" } +nanopub = { version = "0.0.6", path = "../lib" } clap = { version = "4.4.8", features = ["derive"] } diff --git a/js/Cargo.toml b/js/Cargo.toml index a991b5f..fb6f8a8 100644 --- a/js/Cargo.toml +++ b/js/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nanopub-js" -version = "0.0.5" +version = "0.0.6" description = "JavaScript bindings for the Nanopub rust toolkit" repository = "https://github.com/vemonet/nanopub-rs/tree/main/js" authors.workspace = true @@ -15,7 +15,7 @@ categories.workspace = true crate-type = ["cdylib"] [dependencies] -nanopub = { version = "0.0.5", path = "../lib" } +nanopub = { version = "0.0.6", path = "../lib" } wasm-bindgen = "0.2" js-sys = "0.3" console_error_panic_hook = "0.1" diff --git a/js/build_package.js b/js/build_package.js index a1f1cea..246d886 100644 --- a/js/build_package.js +++ b/js/build_package.js @@ -24,7 +24,7 @@ pkg.bugs = { pkg.collaborators = undefined; pkg.repository = { type: "git", - url: "https://github.com/vemonet/nanopub-rs.git", + url: "git+https://github.com/vemonet/nanopub-rs.git", directory: "js", }; -fs.writeFileSync("./pkg/package.json", JSON.stringify(pkg, null, 2)); \ No newline at end of file +fs.writeFileSync("./pkg/package.json", JSON.stringify(pkg, null, 2)); diff --git a/js/package.json b/js/package.json index dcbe776..445f4a9 100644 --- a/js/package.json +++ b/js/package.json @@ -11,7 +11,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/vemonet/nanopub-rs/tree/main/js" + "url": "git+https://github.com/vemonet/nanopub-rs.git" }, "files": [ "*.{js,wasm,d.ts}" @@ -24,7 +24,7 @@ "test": "wasm-pack build --debug --target nodejs && mocha", "build": "rm -rf pkg && wasm-pack build --release --target web --out-name web && mv pkg pkg-web && wasm-pack build --release --target nodejs --out-name node && mv pkg pkg-node && node build_package.js && rm -r pkg-web && rm -r pkg-node", "start": "http-server ./", - "release": "npm run build && npm publish ./pkg", + "release": "npm run build && npm publish ./pkg --access public", "pack": "npm run build && npm pack ./pkg" }, "standard": { diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 307657f..6a40ee2 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nanopub" -version = "0.0.5" +version = "0.0.6" description = """ A cross-platform Rust library to sign Nanopublications, with bindings to Python and JS (wasm) """ diff --git a/python/Cargo.toml b/python/Cargo.toml index 41afe3f..e0254c5 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nanopub-sign" -version = "0.0.5" +version = "0.0.6" description = "Python bindings for the Nanopub rust toolkit" repository = "https://github.com/vemonet/nanopub-rs/tree/main/python" authors.workspace = true @@ -16,5 +16,5 @@ name = "nanopub_sign" crate-type = ["cdylib"] [dependencies] -nanopub = { version = "0.0.5", path = "../lib" } +nanopub = { version = "0.0.6", path = "../lib" } pyo3 = { version = "0.20", features = ["extension-module"] }