From 56c59fe429181d1a1b62dd7fab7af47cb5660f6d Mon Sep 17 00:00:00 2001 From: Jeremy Date: Fri, 29 Dec 2023 13:18:13 +0800 Subject: [PATCH] release: upgrade to v0.5 (#213) --- Cargo.lock | 14 +++++++------- Cargo.toml | 6 +++--- crates/controller/Cargo.toml | 12 ++++++------ crates/controller/ast_checker/Cargo.toml | 6 +++--- crates/controller/base/Cargo.toml | 4 ++-- crates/controller/lexer/Cargo.toml | 2 +- crates/controller/parser/Cargo.toml | 6 +++--- crates/logiscript/Cargo.toml | 2 +- crates/workbook/Cargo.toml | 2 +- packages/node/package.json | 11 ++++++++--- 10 files changed, 35 insertions(+), 30 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d514e7b0..00b62a99 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -599,7 +599,7 @@ dependencies = [ [[package]] name = "logisheets" -version = "0.4.0" +version = "0.5.0" dependencies = [ "glob", "logiscript", @@ -609,7 +609,7 @@ dependencies = [ [[package]] name = "logisheets_astchecker" -version = "0.4.0" +version = "0.5.0" dependencies = [ "logisheets_base", "logisheets_parser", @@ -617,7 +617,7 @@ dependencies = [ [[package]] name = "logisheets_base" -version = "0.4.0" +version = "0.5.0" dependencies = [ "chrono", "futures", @@ -631,7 +631,7 @@ dependencies = [ [[package]] name = "logisheets_controller" -version = "0.4.0" +version = "0.5.0" dependencies = [ "chrono", "colorsys", @@ -670,7 +670,7 @@ dependencies = [ [[package]] name = "logisheets_lexer" -version = "0.4.0" +version = "0.5.0" dependencies = [ "pest", "pest_derive", @@ -679,7 +679,7 @@ dependencies = [ [[package]] name = "logisheets_parser" -version = "0.4.0" +version = "0.5.0" dependencies = [ "chrono", "lazy_static", @@ -740,7 +740,7 @@ dependencies = [ [[package]] name = "logisheets_workbook" -version = "0.4.0" +version = "0.5.0" dependencies = [ "gents", "gents_derives", diff --git a/Cargo.toml b/Cargo.toml index d54ed672..cb85f8d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "logisheets" -version = "0.4.0" +version = "0.5.0" description = "A web spreadsheets application written in Rust and Typescript" keywords = ["excel", "spreadsheets", "ooxml", "logisheets", "xlsx"] readme = "README.md" @@ -28,8 +28,8 @@ members = [ ] [dependencies] -logisheets_controller = {path = "crates/controller", version = "0.4.0"} -logisheets_workbook = {path = "crates/workbook", version = "0.4.0"} +logisheets_controller = {path = "crates/controller", version = "0.5.0"} +logisheets_workbook = {path = "crates/workbook", version = "0.5.0"} [dev-dependencies] glob = "0.3.1" diff --git a/crates/controller/Cargo.toml b/crates/controller/Cargo.toml index b677ccc7..d250c08d 100644 --- a/crates/controller/Cargo.toml +++ b/crates/controller/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "logisheets_controller" -version = "0.4.0" +version = "0.5.0" description = "the core of LogiSheets" authors = ["ImJeremyHe"] edition = "2018" @@ -26,11 +26,11 @@ unicode-segmentation = "1.10.1" wildescape = "0.1.0" uuid ={ version = "1.4.1", features = ["v4", "fast-rng", "macro-diagnostics"]} -logisheets_base = {version = "0.4.0", path = "./base", features = ["gents"]} -logisheets_lexer = {version = "0.4.0", path = "./lexer"} -logisheets_parser = {version = "0.4.0", path = "./parser"} -logisheets_workbook = {version = "0.4.0", path = "../workbook", features = ["gents"]} -logisheets_astchecker = {version = "0.4.0", path = "./ast_checker"} +logisheets_base = {version = "0.5.0", path = "./base", features = ["gents"]} +logisheets_lexer = {version = "0.5.0", path = "./lexer"} +logisheets_parser = {version = "0.5.0", path = "./parser"} +logisheets_workbook = {version = "0.5.0", path = "../workbook", features = ["gents"]} +logisheets_astchecker = {version = "0.5.0", path = "./ast_checker"} gents = {version = "0.8.0", optional = true} gents_derives = {version = "0.8.0", optional = true} diff --git a/crates/controller/ast_checker/Cargo.toml b/crates/controller/ast_checker/Cargo.toml index 9369890c..16707b83 100644 --- a/crates/controller/ast_checker/Cargo.toml +++ b/crates/controller/ast_checker/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "logisheets_astchecker" -version = "0.4.0" +version = "0.5.0" edition = "2018" description = "validate the arguments in ast" authors = ["ImJeremyHe"] license = "MIT" [dependencies] -logisheets_parser = {version = "0.4.0", path = "../parser"} -logisheets_base = {version = "0.4.0", path = "../base"} \ No newline at end of file +logisheets_parser = {version = "0.5.0", path = "../parser"} +logisheets_base = {version = "0.5.0", path = "../base"} \ No newline at end of file diff --git a/crates/controller/base/Cargo.toml b/crates/controller/base/Cargo.toml index 40c68e97..1ad55005 100644 --- a/crates/controller/base/Cargo.toml +++ b/crates/controller/base/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "logisheets_base" -version = "0.4.0" +version = "0.5.0" description = "some basic definitions for LogiSheets" authors = ["ImJeremyHe"] license = "MIT" @@ -13,7 +13,7 @@ im = "15.0.0" serde = {version = "1.0.125", features = ["derive"]} thiserror = "1.0.48" -logisheets_workbook = {version = "0.4.0", path = "../../workbook"} +logisheets_workbook = {version = "0.5.0", path = "../../workbook"} gents = {version = "0.8.0", optional = true} gents_derives = {version = "0.8.0", optional = true} diff --git a/crates/controller/lexer/Cargo.toml b/crates/controller/lexer/Cargo.toml index 75bd2c41..b142c624 100644 --- a/crates/controller/lexer/Cargo.toml +++ b/crates/controller/lexer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "logisheets_lexer" -version = "0.4.0" +version = "0.5.0" edition = "2018" description = "the lexer for excel formula" authors = ["ImJeremyHe"] diff --git a/crates/controller/parser/Cargo.toml b/crates/controller/parser/Cargo.toml index 6fcb3d8f..8f7f7f80 100644 --- a/crates/controller/parser/Cargo.toml +++ b/crates/controller/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "logisheets_parser" -version = "0.4.0" +version = "0.5.0" edition = "2018" description = "the parser of excel formula" authors = ["ImJeremyHe"] @@ -13,5 +13,5 @@ pest = "2.1.3" pest_derive = "2.1.0" chrono = "0.4.19" regex = "1" -logisheets_lexer = {version = "0.4.0", path = "../lexer"} -logisheets_base = {version = "0.4.0", path = "../base"} +logisheets_lexer = {version = "0.5.0", path = "../lexer"} +logisheets_base = {version = "0.5.0", path = "../base"} diff --git a/crates/logiscript/Cargo.toml b/crates/logiscript/Cargo.toml index 7c7ce1b4..11bad59f 100644 --- a/crates/logiscript/Cargo.toml +++ b/crates/logiscript/Cargo.toml @@ -10,4 +10,4 @@ license = "MIT" pest = "2.7.0" pest_derive = "2.5.6" -logisheets_controller = {version = "0.4.0", path = "../controller"} +logisheets_controller = {version = "*", path = "../controller"} diff --git a/crates/workbook/Cargo.toml b/crates/workbook/Cargo.toml index ece3ccf1..e7703132 100644 --- a/crates/workbook/Cargo.toml +++ b/crates/workbook/Cargo.toml @@ -2,7 +2,7 @@ authors = ["ImJeremyHe"] edition = "2018" name = "logisheets_workbook" -version = "0.4.0" +version = "0.5.0" license = "MIT" description = "Tools for LogiSheets to unarchive and write .xlsx file" diff --git a/packages/node/package.json b/packages/node/package.json index c3c826e0..a1fd33d0 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,10 +1,10 @@ { "name": "logisheets", - "version": "1.0.0", + "version": "0.5.0", "description": "Read and write the xlsx files", "main": "index.js", "scripts": { - "wasm-build": "wasm-pack build ../crates/wasms/server --out-dir ../../../packages/node/wasm --target nodejs", + "wasm-build": "wasm-pack build ../../crates/wasms/server --out-dir ../../../packages/node/wasm --target nodejs", "link": "rm -rf ./src && cp -r ../web/src ./src", "prepublishOnly": "yarn link && yarn wasm-build", "prepare": "yarn link && yarn wasm-build" @@ -22,5 +22,10 @@ "bugs": { "url": "https://github.com/logisky/LogiSheets/issues" }, - "homepage": "https://github.com/logisky/LogiSheets" + "homepage": "https://github.com/logisky/LogiSheets", + "files": [ + "wasm/*", + "src/*", + "index.ts" + ] } \ No newline at end of file