diff --git a/Cargo.toml b/Cargo.toml index 9e079d1..833eb51 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -88,8 +88,9 @@ members = [ "packages/leptos/utils", # Utility functions "scripts/run_quality_assessment", - "scripts/generate_component_tests" -, "leptos_v0_8_test_app"] + "scripts/generate_component_tests", + "packages/bundle-size-monitor", # Bundle size monitoring tool + "leptos_v0_8_test_app"] [workspace.package] authors = ["CloudShuttle "] diff --git a/packages/bundle-size-monitor/Cargo.toml b/packages/bundle-size-monitor/Cargo.toml new file mode 100644 index 0000000..c661235 --- /dev/null +++ b/packages/bundle-size-monitor/Cargo.toml @@ -0,0 +1,23 @@ +[package] +name = "bundle-size-monitor" +description = "Automated bundle size tracking for WASM bundles" +publish = false + +authors.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +version.workspace = "0.9.0" + +[dependencies] +anyhow.workspace = true +cargo_metadata = "0.18" +chrono = "0.4" +dirs = "5.0" +serde.workspace = true +serde_json.workspace = true +glob = "0.3" + +[[bin]] +name = "bundle-size-monitor" +path = "src/main.rs"