wasmify-rails 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55efaa8fa8cd15d3eb906efe9342baa453af8e53d363f12bc72fb4c3f2afc1a8
4
- data.tar.gz: a20c26e0a6525f9f0bb183a4d59620895864c6f450739677d39e39a95c471a49
3
+ metadata.gz: 615df0740a9931fc1b029ac2a8c77f4f5ff5c6bddacc3d188478d31ee5cc43d9
4
+ data.tar.gz: 9ddabc5d8422088507b781cd117b28c6b79095b1b154ff56b31ad9633ddf90a2
5
5
  SHA512:
6
- metadata.gz: 78329c56067b9bf41c72bd46fb02686ceea78b12f9785f6f2623bf12558476d36d45db1e6ac0402be16f070fc83e2ce4490ef816d55626c1ea847762059d5fff
7
- data.tar.gz: 3e783be0989c85ba28841078b7f2ea7626f7b682d9c807fa411307a08988d73046c8f56aa8eecc1ad4a5c0c41d757c1003e0499378465616a46d04242002c22c
6
+ metadata.gz: d6d5a1d436fa0dd77ae3bb59f6a81c0f58e68e22416dfe4a3a3832c95e049ed0b9ec35f8033a63b0642bca1f391291e7a1786e65771a342c285937408205e0cc
7
+ data.tar.gz: 7b60876fe1baf69aba5b4b659e826cd95ede5bf8485e2feac17b4b0860374172f2e412b47068cda5b26305dea9982401d1d72e9f5aae09b501ccd48dd0caf7ac
data/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## master
4
4
 
5
+ - Minor generators updates.
6
+
5
7
  ## 0.2.0
6
8
 
7
9
  - Add pglite support.
@@ -89,6 +89,7 @@ class Wasmify::InstallGenerator < Rails::Generators::Base
89
89
  solid_cache
90
90
  jsbundling-rails
91
91
  cssbundling-rails
92
+ tailwindcss-rails
92
93
  thruster
93
94
  kamal
94
95
  byebug
@@ -7,6 +7,22 @@ class Wasmify::PwaGenerator < Rails::Generators::Base
7
7
  directory "pwa", "pwa"
8
8
  end
9
9
 
10
+ def configure_wasm_dist
11
+ prepend_to_file "config/wasmify.yml", <<~EOF
12
+ output_dir: pwa
13
+ EOF
14
+ end
15
+
16
+ def install_npm_deps
17
+ begin
18
+ in_root do
19
+ run "(cd pwa/ && yarn install)"
20
+ end
21
+ rescue
22
+ say "Please, make sure to run `yarn install` within the pwa/ folder", :red
23
+ end
24
+ end
25
+
10
26
  private
11
27
 
12
28
  def wasmify_rails_version = Wasmify::Rails::VERSION
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Wasmify
4
4
  module Rails # :nodoc:
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wasmify-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-18 00:00:00.000000000 Z
11
+ date: 2024-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties