vite_plugin_legacy 1.0.0.beta.1 → 3.0.2

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: 92557668a956812cb7c3f58009c06aeb2b410c8538344a3c4afa0d0f014f82d8
4
- data.tar.gz: 6bcd40d3b87621877a99776c8fcbe678d39c4649ac1baee13ad84faffa26f7ac
3
+ metadata.gz: c471ac5735059397b214ca222a9f246716c6607205cb4283f15c637b1798e00d
4
+ data.tar.gz: 11935261a11a702aa447521b2b73c6c29a1bd7483c959284e8cfe1757333faed
5
5
  SHA512:
6
- metadata.gz: 1b834ca1e3a9306799763d8dbfe556307f7007a49071cbba969eec08054a61ae34d0de3e6df269609fd9a97b917e37df7d019ee03a2348afab7d37d2ebeca998
7
- data.tar.gz: 36bae941570b1a6f92832288f68490a9a4c25ccb8ca7bbaa847a7d6b60308feffa40ca9816f8c0258a321506cbf784715aaa022fd9894002b8623356c5e85324
6
+ metadata.gz: 2d23fb8621aad419a70f29f928b792a786eb7cb759aae14f8d878a9a7ac0db2038767cdad510203138de14fcd9f6ad42edf403d81ab5d8c3c2f7ae0caab093c9
7
+ data.tar.gz: 035ef432c1de0838f92afb4192d86e655d15df95660b4dcd66adab60eed9257bad69b52226d5e49eb04167ab98b1402ddca5ced8966432f49e32c1d3b7bfaad8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
1
+ ## [3.0.2](https://github.com/ElMassimo/vite_ruby/compare/vite_plugin_legacy@3.0.1...vite_plugin_legacy@3.0.2) (2021-12-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * ensure vite_plugin_legacy is upgraded by the upgrade command ([2f9437d](https://github.com/ElMassimo/vite_ruby/commit/2f9437d248e27aa03b5b8a1df3e3d6a52c791cd1))
7
+
8
+
9
+
10
+ ## [3.0.1](https://github.com/ElMassimo/vite_ruby/compare/vite_plugin_legacy@3.0.0...vite_plugin_legacy@3.0.1) (2021-12-17)
11
+
12
+ - Support vite@2.7.0, which added a null character to the legacy polyfills entry name.
13
+
14
+ # [3.0.0](https://github.com/ElMassimo/vite_ruby/compare/vite_plugin_legacy@0.5.6...vite_plugin_legacy@3.0.0) (2021-08-16)
15
+
16
+ See https://github.com/ElMassimo/vite_ruby/pull/116 for features and breaking changes.
17
+
1
18
  ## [0.5.6](https://github.com/ElMassimo/vite_ruby/compare/vite_plugin_legacy@0.5.5...vite_plugin_legacy@0.5.6) (2021-07-19)
2
19
 
3
20
  ### Improvements
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'vite_plugin_legacy'
@@ -25,8 +25,6 @@ module VitePluginLegacy::TagHelpers
25
25
  def vite_legacy_polyfill_tag
26
26
  return if ViteRuby.instance.dev_server_running?
27
27
 
28
- name = vite_manifest.send(:manifest).keys.find { |file| file.include?('legacy-polyfills') } ||
29
- raise(ArgumentError, 'Vite legacy polyfill not found in manifest.json')
30
- content_tag(:script, nil, nomodule: true, src: vite_asset_path(name))
28
+ content_tag(:script, nil, nomodule: true, src: vite_asset_path('legacy-polyfills', type: :virtual))
31
29
  end
32
30
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VitePluginLegacy
4
- VERSION = '1.0.0.beta.1'
4
+ VERSION = '3.0.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vite_plugin_legacy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Máximo Mussini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-11 00:00:00.000000000 Z
11
+ date: 2021-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vite_ruby
@@ -16,14 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.0.beta.1
19
+ version: '3.0'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 3.0.4
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: 2.0.0.beta.1
29
+ version: '3.0'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 3.0.4
27
33
  description:
28
34
  email:
29
35
  - maximomussini@gmail.com
@@ -36,14 +42,15 @@ files:
36
42
  - README.md
37
43
  - lib/vite_plugin_legacy.rb
38
44
  - lib/vite_plugin_legacy/engine.rb
45
+ - lib/vite_plugin_legacy/installation.rb
39
46
  - lib/vite_plugin_legacy/tag_helpers.rb
40
47
  - lib/vite_plugin_legacy/version.rb
41
48
  homepage: https://github.com/ElMassimo/vite_ruby
42
49
  licenses:
43
50
  - MIT
44
51
  metadata:
45
- source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_plugin_legacy@1.0.0.beta.1/vite_plugin_legacy
46
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_plugin_legacy@1.0.0.beta.1/vite_plugin_legacy/CHANGELOG.md
52
+ source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_plugin_legacy@3.0.2/vite_plugin_legacy
53
+ changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_plugin_legacy@3.0.2/vite_plugin_legacy/CHANGELOG.md
47
54
  post_install_message:
48
55
  rdoc_options: []
49
56
  require_paths:
@@ -52,12 +59,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
52
59
  requirements:
53
60
  - - ">="
54
61
  - !ruby/object:Gem::Version
55
- version: '2.5'
62
+ version: '2.4'
56
63
  required_rubygems_version: !ruby/object:Gem::Requirement
57
64
  requirements:
58
- - - ">"
65
+ - - ">="
59
66
  - !ruby/object:Gem::Version
60
- version: 1.3.1
67
+ version: '0'
61
68
  requirements: []
62
69
  rubygems_version: 3.1.4
63
70
  signing_key: