vite_rails 2.0.5 → 2.0.6

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: 8abb492c94977c4ce3b0fa8412a6d25fa3fe73b8b5bce3e1736233b7daafecd4
4
- data.tar.gz: d9846171170239c19634ab50d3a0eab7840ad305f94cded2c49cc5b6ea9a5af6
3
+ metadata.gz: cb3c710a8f422261f267b758138a55eb592b02f97cb7de4714fd35956a40d140
4
+ data.tar.gz: 4ed1b9749d4759d6b3132829a6b1ebb1bd2617b7d2988fc8e812745f4428dec0
5
5
  SHA512:
6
- metadata.gz: d9273818122428faf644437362cdb3951c4dc733c9935e70491b2effcdf1c2544b0e5ff78702d827413d4ba1e18fbb029d013c33bb5c39ca29711d7094faba33
7
- data.tar.gz: ebef265a9c4d210451a757fe8ac99c01dbd7134c56e6d0587bb7649a7866fc5f810adc1a24f4cfb9b0bfa3f283039b8dddfd4071579b9568a7bab5c0e251c258
6
+ metadata.gz: dfc702ca803be23639a8a3d3d9a5968846bb07b6b659a4b1d388de5bb92d788c3c903cc7f7f680a6e5a6760418b3bb0484ecda14ebc36be664ba76b9279c3a58
7
+ data.tar.gz: b46ce36b00362b4c47f009f1cbda0c789e0b59db4c819d0b9f5d286549757e6a4f4fd3fc0165b316d72cd127070a376295e4c9312800333c119170890b0fc4a5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [2.0.6](https://github.com/ElMassimo/vite_ruby/compare/vite_rails@2.0.5...vite_rails@2.0.6) (2021-03-18)
2
+
3
+
4
+
1
5
  ## [2.0.5](https://github.com/ElMassimo/vite_ruby/compare/vite_rails@2.0.4...vite_rails@2.0.5) (2021-03-18)
2
6
 
3
7
 
@@ -44,6 +44,15 @@ module ViteRails::Installation
44
44
  inject_line_before layout_file, '</head>', <<-HTML
45
45
  <%= vite_client_tag %>
46
46
  <%= vite_javascript_tag 'application' %>
47
+ <!--
48
+ If using a TypeScript entrypoint file:
49
+ vite_typescript_tag 'application'
50
+
51
+ If using a .jsx or .tsx entrypoint, add the extension:
52
+ vite_javascript_tag 'application.jsx'
53
+
54
+ Visit the guide for more information: https://vite-ruby.netlify.app/guide/rails
55
+ -->
47
56
  HTML
48
57
  end
49
58
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ViteRails
4
- VERSION = '2.0.5'
4
+ VERSION = '2.0.6'
5
5
  end
@@ -5,6 +5,14 @@
5
5
  // <%= vite_javascript_tag 'application' %>
6
6
  console.log('Vite ⚡️ Rails')
7
7
 
8
+ // If using a TypeScript entrypoint file:
9
+ // <%= vite_typecript_tag 'application.jsx' %>
10
+ //
11
+ // If you want to use .jsx or .tsx, add the extension:
12
+ // <%= vite_javascript_tag 'application.jsx' %>
13
+
14
+ console.log('Visit the guide for more information: ', 'https://vite-ruby.netlify.app/guide/rails')
15
+
8
16
  // Example: Load Rails libraries in Vite.
9
17
  //
10
18
  // import '@rails/ujs'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vite_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Máximo Mussini
@@ -81,8 +81,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
81
81
  licenses:
82
82
  - MIT
83
83
  metadata:
84
- source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_rails@2.0.5/vite_rails
85
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_rails@2.0.5/vite_rails/CHANGELOG.md
84
+ source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_rails@2.0.6/vite_rails
85
+ changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_rails@2.0.6/vite_rails/CHANGELOG.md
86
86
  post_install_message:
87
87
  rdoc_options: []
88
88
  require_paths: