svelte-on-rails 0.0.21 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4760a8d0ae7d7de9e8bfb08b82e6cc7ff830979ef1297001606ab9a6eb282bff
4
- data.tar.gz: 49ba7cbb917e62092d1997a4d39b1815d43a71546d78c5c5e52845e95a4c2d7e
3
+ metadata.gz: b9171b9d426450c01ff922c667fff82f135416693c935b2cd131d5ee2326e854
4
+ data.tar.gz: 96daa72a3460ace56b5e5e6382f678ba354b1693b95a87113639ed4cb3c2afe3
5
5
  SHA512:
6
- metadata.gz: 4a3774a457cb886ff0854393857aea33b0c067cb814f72a94bad40c7beb4265018544370b1df2e5c6968daf35df9318897dcc666e16e595e8108f1e04c63547a
7
- data.tar.gz: b35eabfabd993155ced5ad68f90f9c8795e9520234312f142bd42c25c98b5fe16ebddec50c230879df72a144c13c31e3ace74a9cbaee7681264f4707e658c613
6
+ metadata.gz: 52a206e75f0fe55f8121a05ae103701fefdd02e9ab6a4c5874179aa5b0ea2429fdb9c7d88d191c5c444fe0259990571ca1f5315ee017387d02d1e14271741d2c
7
+ data.tar.gz: d9370b582b86edd05470e54d6f6c78a993412f67ec2dd454e11cb282e96ebc97c379ba0e94f644157edb13c946e2d4bf238667895402f92c2644b48822eb43c1
@@ -25,7 +25,9 @@ module SvelteOnRails
25
25
  gu.install_gem('vite_rails')
26
26
 
27
27
  Dir.chdir(Rails.root) do
28
+ puts '++ running «bundle exec vite install» ++'
28
29
  `bundle exec vite install`
30
+ puts '++ vite installer finished ++'
29
31
  end
30
32
 
31
33
  end
@@ -17,6 +17,17 @@ namespace :svelte_on_rails do
17
17
  puts '-' * 80
18
18
  puts 'STARTING SVELTE-ON-RAILS INSTALLATION'
19
19
 
20
+
21
+ # haml
22
+
23
+ haml_i = SvelteOnRails::Installer::Haml
24
+ haml_i.install_haml_and_convert
25
+
26
+ # vite
27
+
28
+ vite_i = SvelteOnRails::Installer::Vite
29
+ vite_i.install_vite
30
+
20
31
  # svelte_on_rails
21
32
 
22
33
  utils.write_templates(['config/svelte_on_rails.yml'])
@@ -29,17 +40,6 @@ namespace :svelte_on_rails do
29
40
  init_stat = '../initializers/svelte.js'
30
41
  js_i.append_import_statement(application_js_path, init_stat, "import '#{init_stat}';")
31
42
 
32
-
33
- # haml
34
-
35
- haml_i = SvelteOnRails::Installer::Haml
36
- haml_i.install_haml_and_convert
37
-
38
- # vite
39
-
40
- vite_i = SvelteOnRails::Installer::Vite
41
- vite_i.install_vite
42
-
43
43
  # turbo
44
44
 
45
45
  tr_pkg = '@hotwired/turbo-rails'
@@ -72,7 +72,7 @@ namespace :svelte_on_rails do
72
72
  puts "SvelteOnRails installed successfully!"
73
73
  puts "Restart the server and check if it all works."
74
74
  if hello_world_path
75
- puts "You can now see the Hello World component on: #{hello_world_path}."
75
+ puts "You can now access the Hello World component on: http://localhost:your-port-number#{hello_world_path}."
76
76
  end
77
77
  puts "Happy coding!"
78
78
  #exit
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svelte-on-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Sedlmair