vite_ruby 3.2.13 → 3.2.15

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: 2e34c2bcc6d264948692cf03c4114c18ba6036dea141630ba694257b64ec0933
4
- data.tar.gz: 88c6fdd483d9ba1daec12e43b5c18efc4bdd839b40a1a47fe3f99b79c0648ba4
3
+ metadata.gz: 77c7fc2754b88cfa032ac96e1a40534a5a8a2a1df4fe514d3975a05e25e94adb
4
+ data.tar.gz: a0b7c84677e0a50f47f677d4344694effee7fabe492f11d66159d07033c43b7a
5
5
  SHA512:
6
- metadata.gz: 4d57e556cce105bd43fcb2d8e74a57cf8b9e0c2d3d029e402c91f89b1f15185cc4937128ad6bb53d51a940d671ed1c3baa716bc5ca06ac6d8d2f6f6efb63f45e
7
- data.tar.gz: 5eec13d81e6cc4c5ce0d3a967abcd1af14332f0dddfea0086c68e0b78e0ef200c7c9d5c0faefa28cb36a362d2fbebac66665fa8ba4f4b99197995180270ccf00
6
+ metadata.gz: 9b0ebcbdb4d0884b66d0b8a80b8fa387fe68a06a1819ebf7bfdf2df106f05d66c9c966136a89d5ebdccb02f7e462ba95061ab8eb14d73785c8ac70524cb8e1a1
7
+ data.tar.gz: b50dc6e34a281640b697386494e401ae001f293279b575b3de9a64ace6026796d67131cb4d665e11f43369731f129c508db82d61ec0c9a5925c6c1779dd1a2ec
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## [3.2.15](https://github.com/ElMassimo/vite_ruby/compare/vite_ruby@3.2.14...vite_ruby@3.2.15) (2023-03-01)
2
+
3
+
4
+ ### Features
5
+
6
+ * install dependencies with yarn if npx is not available ([#343](https://github.com/ElMassimo/vite_ruby/issues/343)) ([90c5db2](https://github.com/ElMassimo/vite_ruby/commit/90c5db2e45ed89aedfa02f0f167925e4ccb02d6d)), closes [#342](https://github.com/ElMassimo/vite_ruby/issues/342)
7
+
8
+
9
+
10
+ ## [3.2.14](https://github.com/ElMassimo/vite_ruby/compare/vite_ruby@3.2.13...vite_ruby@3.2.14) (2022-12-22)
11
+
12
+
13
+
1
14
  ## [3.2.13](https://github.com/ElMassimo/vite_ruby/compare/vite_ruby@3.2.12...vite_ruby@3.2.13) (2022-12-09)
2
15
 
3
16
 
data/lib/tasks/vite.rake CHANGED
@@ -43,7 +43,10 @@ namespace :vite do
43
43
  desc 'Ensure build dependencies like Vite are installed before bundling'
44
44
  task :install_dependencies do
45
45
  cmd = ViteRuby.commands.legacy_npm_version? ? 'npx ci --yes' : 'npx --yes ci'
46
- system({ 'NODE_ENV' => 'development' }, cmd)
46
+ result = system({ 'NODE_ENV' => 'development' }, cmd)
47
+
48
+ # Fallback to `yarn` if `npx` is not available.
49
+ system({ 'NODE_ENV' => 'development' }, 'yarn install --frozen-lockfile') if result.nil?
47
50
  end
48
51
 
49
52
  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.2.13'
4
+ VERSION = '3.2.15'
5
5
 
6
6
  # Internal: Versions used by default when running `vite install`.
7
7
  DEFAULT_VITE_VERSION = '^4.0.0'
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vite_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.13
4
+ version: 3.2.15
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-12-09 00:00:00.000000000 Z
11
+ date: 2023-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-cli
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0.7'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: 0.7.0
22
+ version: '2'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.7'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: 0.7.0
32
+ version: '2'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rack-proxy
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -202,8 +208,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
202
208
  licenses:
203
209
  - MIT
204
210
  metadata:
205
- source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_ruby@3.2.13/vite_ruby
206
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_ruby@3.2.13/vite_ruby/CHANGELOG.md
211
+ source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_ruby@3.2.15/vite_ruby
212
+ changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_ruby@3.2.15/vite_ruby/CHANGELOG.md
207
213
  post_install_message: "Thanks for installing Vite Ruby!\n\nIf you upgraded the gem
208
214
  manually, please run:\n\tbundle exec vite upgrade"
209
215
  rdoc_options: []