diff --git a/.tool-versions b/.tool-versions index 05668b7..c49709d 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1,2 @@ ruby 3.3.4 +nodejs 22.11.0 diff --git a/Cargo.lock b/Cargo.lock index 8e4ef39..b914f98 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -359,7 +359,7 @@ dependencies = [ [[package]] name = "lago-expression" -version = "0.1.1" +version = "0.1.2" dependencies = [ "bigdecimal", "console_error_panic_hook", diff --git a/Cargo.toml b/Cargo.toml index d2b6fdb..56276f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,3 +6,9 @@ members = [ "expression-ruby/ext/lago_expression", "expression-go", ] + +[profile.release] +lto = true + +[profile.release.package.lago-expression] +opt-level = 's' diff --git a/expression-js/Cargo.toml b/expression-js/Cargo.toml index 17b0bf4..b2c2fbc 100644 --- a/expression-js/Cargo.toml +++ b/expression-js/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lago-expression" -version = "0.1.1" +version = "0.1.2" edition = "2021" [lib] @@ -13,7 +13,3 @@ expression-core = { path = '../expression-core' } js-sys = "0.3.72" wasm-bindgen = "0.2.95" web-sys = { version = "0.3.72", features = ["console"] } - -[profile.release] -lto = true -opt-level = 's'