vite_ruby 3.0.0 → 3.0.1

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: '059c10492c1cc0b47f4347ef78f0de17c9220392611945ba189b5169c02729ba'
4
- data.tar.gz: 534b84c6bd67bf9e7e0a74bec9ad8d277ebe37693829d3d995a26eba5b8ac2b2
3
+ metadata.gz: 9606e4636341971487203132916240e61c6f78de01009ee2cc001ad8cc13f12a
4
+ data.tar.gz: 521ccded8cafa3b17ae62408650c0673c78b1441fc669532b240555702b51642
5
5
  SHA512:
6
- metadata.gz: e23a593394165dfea0f743fab1699535e9c1a531cde25cd53a85d19fb454795851fe85d83907d802d7dae6adbca25b449b0c7b6ab33b6530102fb49a5526aeb4
7
- data.tar.gz: dcf237f94f9009a4427a27e807a66c3aae8a77b6ca39370a03c0f860d2d4b2d2bb4ecb93bc0f78f7a979c2105fe126c79c0297bdc32e24d7d88f860af2baf184
6
+ metadata.gz: b903a283f653cd02e89272174d66efd5991266c174418e978ed680205ea703d2d2a9384b16a155618788eaaae3748cb900eeca5b354e3e4277de7709a7784605
7
+ data.tar.gz: 60e731442205c932f7033317ea75651370474ae419d70f6204fa59059be61d54f472f583d136d93672167ac0777d049a229928f79896b6a96448525b44e5be83
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [3.0.1](https://github.com/ElMassimo/vite_ruby/compare/vite_ruby@3.0.0...vite_ruby@3.0.1) (2021-10-27)
2
+
3
+
4
+ ### Features
5
+
6
+ * expose the `--watch` flag for the build command ([4e20d0a](https://github.com/ElMassimo/vite_ruby/commit/4e20d0a7b697b535e13335dac5a75fb8a193a133))
7
+
8
+
9
+
1
10
  # [3.0.0](https://github.com/ElMassimo/vite_ruby/compare/vite_ruby@1.2.20...vite_ruby@3.0.0) (2021-08-16)
2
11
 
3
12
  See https://github.com/ElMassimo/vite_ruby/pull/116 for features and breaking changes.
@@ -6,6 +6,7 @@ class ViteRuby::CLI::Build < ViteRuby::CLI::Vite
6
6
  desc 'Bundle all entrypoints using Vite.'
7
7
  shared_options
8
8
  option(:force, desc: 'Force the build even if assets have not changed', type: :boolean)
9
+ option(:watch, desc: 'Start the Rollup watcher and rebuild on files changes', type: :boolean)
9
10
 
10
11
  def call(**options)
11
12
  super { |args| ViteRuby.commands.build_from_task(*args) }
@@ -71,7 +71,7 @@ class ViteRuby::Commands
71
71
  warn <<~WARN
72
72
 
73
73
  vite binstub not found.
74
- Have you run `bundle binstub vite`?
74
+ Have you run `bundle binstub vite_ruby`?
75
75
  Make sure the bin directory and bin/vite are not included in .gitignore
76
76
  WARN
77
77
  end
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class ViteRuby
4
- VERSION = '3.0.0'
4
+ VERSION = '3.0.1'
5
5
 
6
6
  # Internal: Versions used by default when running `vite install`.
7
- DEFAULT_VITE_VERSION = '^2.5.0'
8
- DEFAULT_PLUGIN_VERSION = '^3.0.0'
7
+ DEFAULT_VITE_VERSION = '^2.6.13'
8
+ DEFAULT_PLUGIN_VERSION = '^3.0.2'
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.0.0
4
+ version: 3.0.1
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: 2021-08-16 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-cli
@@ -201,8 +201,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
201
201
  licenses:
202
202
  - MIT
203
203
  metadata:
204
- source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_ruby@3.0.0/vite_ruby
205
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_ruby@3.0.0/vite_ruby/CHANGELOG.md
204
+ source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_ruby@3.0.1/vite_ruby
205
+ changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_ruby@3.0.1/vite_ruby/CHANGELOG.md
206
206
  post_install_message: "Thanks for installing Vite Ruby!\n\nIf you upgraded the gem
207
207
  manually, please run:\n\tbundle exec vite upgrade"
208
208
  rdoc_options: []