From 0494db2d01ea7412f5a9218d04a3116662c628e9 Mon Sep 17 00:00:00 2001 From: Toon Willems Date: Wed, 4 Dec 2024 13:57:49 +0100 Subject: [PATCH] Fix ruby version by fixing JS version (#5) --- .tool-versions | 1 + Cargo.lock | 2 +- Cargo.toml | 6 ++++++ expression-js/Cargo.toml | 6 +----- 4 files changed, 9 insertions(+), 6 deletions(-) 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'