vite_ruby 3.9.1 → 3.9.3

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: 55db4ef1d378ff6bb8997a0397e0fa54cf965e8daa38acbd62385f5240a662c1
4
- data.tar.gz: 4a40c9bbff8ca9c31437c11f26cc28205e7e4f9d78d776e096dbd85cc609d971
3
+ metadata.gz: d6d602d4dbf293cf3a31f0b545fd2465592d550408f86f4d1b376c1425a7dd09
4
+ data.tar.gz: '0298510eae4b5d2e00738aced19af8bdf72d8bd6b0af20dff631060d5ef1f079'
5
5
  SHA512:
6
- metadata.gz: 780e4335344468afca8e6244788731fdb3c51936609873fb8fa56b31109b120f3ccdd5a6c4b3ce7067135624dec4e146d1236eec2e300e52a74dda2a5cc8f542
7
- data.tar.gz: 3e36a40cfd918be439dd550d42e4276013fe97cd6d7d8f651fecb4763a32bcbc9566eaf5368c992ddf29103a6e6de51f8b8ecb184a323a8c3bbe6654fbed9b4a
6
+ metadata.gz: 9a55d1f7ee8697c1b42d0690ef63a86e9a5fa08553ffc0eceee7899293b38dc83adfc3612b3e59fba2f03472ed3be53c82c4abe4d4bbc53632dcd1dedb79edc3
7
+ data.tar.gz: 0f3a5babab58ae5d821ad133f28b03531862f2c7bec1abdcd957c8c6dabe6e63002492c0715448ce83ce2e4337799a9ac6214ee51c50f7925d330406722919e2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,26 @@
1
+ ## [3.9.3](https://github.com/ElMassimo/vite_ruby/compare/vite_ruby@3.9.2...vite_ruby@3.9.3) (2026-02-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * coerce dev server connect timeout when set via env vars ([0e2801e](https://github.com/ElMassimo/vite_ruby/commit/0e2801e6e9a4da6e534d1b0dbba28f5baadefd4d)), closes [#591](https://github.com/ElMassimo/vite_ruby/issues/591)
7
+
8
+
9
+ ### Features
10
+
11
+ * upgrade default vite version to 6.2.6 ([95c247a](https://github.com/ElMassimo/vite_ruby/commit/95c247a66d86f15ad9ce783acf92fef96646091b))
12
+
13
+
14
+
15
+ ## [3.9.2](https://github.com/ElMassimo/vite_ruby/compare/vite_ruby@3.9.1...vite_ruby@3.9.2) (2025-03-26)
16
+
17
+
18
+ ### Features
19
+
20
+ * update `detect_package_manager` to look for new Bun lockfile ([#530](https://github.com/ElMassimo/vite_ruby/issues/530)) ([eca05a3](https://github.com/ElMassimo/vite_ruby/commit/eca05a3021250736776746e4711066a1e00fde68))
21
+
22
+
23
+
1
24
  ## [3.9.1](https://github.com/ElMassimo/vite_ruby/compare/vite_ruby@3.9.0...vite_ruby@3.9.1) (2024-11-21)
2
25
 
3
26
 
@@ -95,6 +95,7 @@ private
95
95
  config["root"] = root = Pathname.new(config["root"])
96
96
  config["build_cache_dir"] = root.join(config["build_cache_dir"])
97
97
  config["ssr_output_dir"] = root.join(config["ssr_output_dir"])
98
+ config["dev_server_connect_timeout"] = config["dev_server_connect_timeout"].to_f
98
99
  coerce_booleans(config, "auto_build", "hide_build_console_output", "https", "skip_compatibility_check", "skip_proxy")
99
100
  config["package_manager"] ||= detect_package_manager(root)
100
101
  end
@@ -108,7 +109,7 @@ private
108
109
  def detect_package_manager(root)
109
110
  return "npm" if root.join("package-lock.json").exist?
110
111
  return "pnpm" if root.join("pnpm-lock.yaml").exist?
111
- return "bun" if root.join("bun.lockb").exist?
112
+ return "bun" if root.join("bun.lockb").exist? || root.join("bun.lock").exist?
112
113
  return "yarn" if root.join("yarn.lock").exist?
113
114
 
114
115
  "npm"
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class ViteRuby
4
- VERSION = "3.9.1"
4
+ VERSION = "3.9.3"
5
5
 
6
6
  # Internal: Versions used by default when running `vite install`.
7
- DEFAULT_VITE_VERSION = "^5.0.0"
8
- DEFAULT_PLUGIN_VERSION = "^5.1.0"
7
+ DEFAULT_VITE_VERSION = "^6.2.6"
8
+ DEFAULT_PLUGIN_VERSION = "^5.1.1"
9
9
  end
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.9.1
4
+ version: 3.9.3
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: 2024-11-21 00:00:00.000000000 Z
11
+ date: 2026-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-cli
@@ -182,14 +182,14 @@ dependencies:
182
182
  requirements:
183
183
  - - "<"
184
184
  - !ruby/object:Gem::Version
185
- version: '0.18'
185
+ version: '0.23'
186
186
  type: :development
187
187
  prerelease: false
188
188
  version_requirements: !ruby/object:Gem::Requirement
189
189
  requirements:
190
190
  - - "<"
191
191
  - !ruby/object:Gem::Version
192
- version: '0.18'
192
+ version: '0.23'
193
193
  description:
194
194
  email:
195
195
  - maximomussini@gmail.com
@@ -236,8 +236,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
236
236
  licenses:
237
237
  - MIT
238
238
  metadata:
239
- source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_ruby@3.9.1/vite_ruby
240
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_ruby@3.9.1/vite_ruby/CHANGELOG.md
239
+ source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_ruby@3.9.3/vite_ruby
240
+ changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_ruby@3.9.3/vite_ruby/CHANGELOG.md
241
241
  rubygems_mfa_required: 'true'
242
242
  post_install_message: "Thanks for installing Vite Ruby!\n\nIf you upgraded the gem
243
243
  manually, please run:\n\tbundle exec vite upgrade"