vite_ruby 3.1.4 → 3.1.5

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: 6c6c364262c7fbccada29a48886537d18ed50d6db595e138088358d630e70f19
4
- data.tar.gz: 2473f05955ee3cef7ee00bbf5a2fdde8fe7d940c8b93acb1419adfa765d2e844
3
+ metadata.gz: 79f37152a70d63bab4b2bac8dcf656baf8fd216268edebf47bfba9fd2ed77257
4
+ data.tar.gz: ec768878dee05400a3a21952fdecec8389aab5302d4f3bd6cfe581b9b0537b31
5
5
  SHA512:
6
- metadata.gz: 03fd3c857b9b2d7d44173fe5fadcbe32eb075ef8fe7e1f6a9aa83e5c4e76dd3ad9de63edf0b1fc7fc20778c6fe97f8493fb44b79aacf3606a3fdf9b49eef08e3
7
- data.tar.gz: 1edfc442d92d83dbe5bf29cd96012ca37c8db0cdfbbaed02ed7ded35b19336c722b5428d3af1afe98714c6e7df21f12c16f83a6e7c702fe8e37715aa05b58135
6
+ metadata.gz: 5851c163ced5eab489934c0e53c36fbbc5f182c0ad86ba0e176fd391ee91bc2d971a30d931aa8d6730c0042a1b24dd2eac33705840f2d87b59657a0999f238f0
7
+ data.tar.gz: a72677b9a933dc5d13605dc44a33212bf88c5d25af035c52c08b30aced52026742e7f34cc182412c43e8002b21a942fbf9d324c8789b19d152dcecc694ebe956
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [3.1.5](https://github.com/ElMassimo/vite_ruby/compare/vite_ruby@3.1.4...vite_ruby@3.1.5) (2022-05-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * install dependencies without confirmation in modern versions of npm ([967fbf5](https://github.com/ElMassimo/vite_ruby/commit/967fbf52aac5e52e1a059bffda79c7472874775f)), closes [#216](https://github.com/ElMassimo/vite_ruby/issues/216)
7
+
8
+
9
+
1
10
  ## [3.1.4](https://github.com/ElMassimo/vite_ruby/compare/vite_ruby@3.1.3...vite_ruby@3.1.4) (2022-05-13)
2
11
 
3
12
 
data/lib/tasks/vite.rake CHANGED
@@ -42,7 +42,8 @@ namespace :vite do
42
42
 
43
43
  desc 'Ensure build dependencies like Vite are installed before bundling'
44
44
  task :install_dependencies do
45
- system({ 'NODE_ENV' => 'development' }, 'npx ci --yes')
45
+ cmd = `npm --version`.to_i < 7 ? 'npx ci --yes' : 'npx --yes ci'
46
+ system({ 'NODE_ENV' => 'development' }, cmd)
46
47
  end
47
48
 
48
49
  desc "Provide information on ViteRuby's environment"
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class ViteRuby
4
- VERSION = '3.1.4'
4
+ VERSION = '3.1.5'
5
5
 
6
6
  # Internal: Versions used by default when running `vite install`.
7
7
  DEFAULT_VITE_VERSION = '^2.9.1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vite_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.4
4
+ version: 3.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Máximo Mussini
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-13 00:00:00.000000000 Z
11
+ date: 2022-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-cli
@@ -202,8 +202,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
202
202
  licenses:
203
203
  - MIT
204
204
  metadata:
205
- source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_ruby@3.1.4/vite_ruby
206
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_ruby@3.1.4/vite_ruby/CHANGELOG.md
205
+ source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_ruby@3.1.5/vite_ruby
206
+ changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_ruby@3.1.5/vite_ruby/CHANGELOG.md
207
207
  post_install_message: "Thanks for installing Vite Ruby!\n\nIf you upgraded the gem
208
208
  manually, please run:\n\tbundle exec vite upgrade"
209
209
  rdoc_options: []
@@ -220,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  - !ruby/object:Gem::Version
221
221
  version: '0'
222
222
  requirements: []
223
- rubygems_version: 3.3.7
223
+ rubygems_version: 3.3.3
224
224
  signing_key:
225
225
  specification_version: 4
226
226
  summary: Use Vite in Ruby and bring joy to your JavaScript experience