From a761049790971b6d9c18e7e5812c11812494f5a3 Mon Sep 17 00:00:00 2001 From: t0yohei Date: Mon, 15 Dec 2025 15:58:50 +0900 Subject: [PATCH 1/4] feat: create dist dir for deployment --- examples/.gitignore | 3 +- examples/Gemfile.lock | 2 +- examples/src/index.html | 2 +- lib/ruby_wasm_ui/cli/command/dev.rb | 53 ++++++-- lib/ruby_wasm_ui/cli/command/pack.rb | 42 ++++++- lib/ruby_wasm_ui/cli/command/setup.rb | 4 +- spec/ruby_wasm_ui/cli/command/dev_spec.rb | 129 ++++++++++++++++++-- spec/ruby_wasm_ui/cli/command/pack_spec.rb | 104 +++++++++++++++- spec/ruby_wasm_ui/cli/command/setup_spec.rb | 2 +- 9 files changed, 314 insertions(+), 27 deletions(-) diff --git a/examples/.gitignore b/examples/.gitignore index 64fd3c0..2c56460 100644 --- a/examples/.gitignore +++ b/examples/.gitignore @@ -1,3 +1,4 @@ -*.wasm +ruby.wasm /rubies /build +/dist diff --git a/examples/Gemfile.lock b/examples/Gemfile.lock index c3cac2c..19c35c5 100644 --- a/examples/Gemfile.lock +++ b/examples/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: ../.. specs: - ruby_wasm_ui (0.8.3) + ruby_wasm_ui (0.9.0) js (~> 2.7) listen (~> 3.8) puma (~> 6.0) diff --git a/examples/src/index.html b/examples/src/index.html index d671269..f0dec56 100644 --- a/examples/src/index.html +++ b/examples/src/index.html @@ -5,7 +5,7 @@ My App