From a2f9c6ed1fa36f963ca4a3f7f769ce066091266c Mon Sep 17 00:00:00 2001 From: Shotaro Tanaka Date: Sun, 17 Jan 2021 00:07:26 +0900 Subject: [PATCH] fix packaging issue (#6) --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 4 ++++ pkg/package.json | 22 ++++++++++++---------- pkg/quintet_bg.wasm | Bin 54569 -> 54569 bytes 5 files changed, 18 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2b36712..dc6a669 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -44,7 +44,7 @@ dependencies = [ [[package]] name = "quintet" -version = "0.1.0" +version = "0.1.2" dependencies = [ "wasm-bindgen", ] diff --git a/Cargo.toml b/Cargo.toml index e21c84b..23eb70c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "quintet" -version = "0.1.0" +version = "0.1.2" authors = ["yubessy "] description = "Renju library with wasm-pack" license = "MIT" diff --git a/README.md b/README.md index 7aef8ad..f585c53 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # quintet Renju library with wasm-pack + +# Note + +manually fixed https://github.com/rustwasm/wasm-pack/issues/837 diff --git a/pkg/package.json b/pkg/package.json index 816899b..9fb1f90 100644 --- a/pkg/package.json +++ b/pkg/package.json @@ -1,21 +1,23 @@ { - "name": "@renju-note/quintet", "collaborators": [ "yubessy " ], "description": "Renju library with wasm-pack", - "version": "0.1.0", + "files": [ + "quintet_bg.js", + "quintet_bg.wasm", + "quintet_bg.wasm.d.ts", + "quintet.d.ts", + "quintet.js" + ], "license": "MIT", + "module": "quintet.js", + "name": "@renju-note/quintet", "repository": { "type": "git", "url": "https://github.com/renju-note/quintet" }, - "files": [ - "quintet_bg.wasm", - "quintet.js", - "quintet.d.ts" - ], - "module": "quintet.js", + "sideEffects": false, "types": "quintet.d.ts", - "sideEffects": false -} \ No newline at end of file + "version": "0.1.2" +} diff --git a/pkg/quintet_bg.wasm b/pkg/quintet_bg.wasm index 638cae779f5827c42e4fda6652992f3c0ab4988a..849c1c521300bac5cf4aa3209eef3e9bd0bda308 100644 GIT binary patch delta 113 zcmZ3vih1QK<_Q~_7@0S2F12JdpR8$hkI{THhqVq1qxoV}dlp8k&1TLs6c{ZwpHH5y z$7nSbwhrDw)40hL$GZf9k*+O%*k7f{{2)v8=T6-Tx{WZYc8qm5~D R=uY3spSJgIX5FnK1pv2FDhL1o delta 121 zcmZ3vih1QK<_Q~_m>D;2F12K|n5=1akI`Z?hqVq1qs3xVdlp9X&1TLs6c{ZxpHH5y z$7nt|ebRKG*#Ak=Y>ZZ$rDw)40hL$GZf9jQ-?VTp7f{{2)v8=T6-Tx{WSp$M>lXVJ ZMkc0u#=6N3I~+H^-EPOUnRT~{6ae;)E2;nh