diff --git a/CHANGELOG.md b/CHANGELOG.md index 69ffa9cf..0a7b2970 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## Vite Rails 1.0.11 (2020-01-24) + +- Fix bug in `assetHost` that caused `base` to be configured incorrectly. +- Allow installing `vite` and `vite-plugin-ruby` as devDependencies, and install them when precompiling assets. +- Move `base` to the configuration root after Vite's update in beta.38 + ## Vite Rails 1.0.10 (2020-01-23) - Use `path_to_asset` in `vite_asset_path` so that it's prefixed automatically diff --git a/Gemfile.lock b/Gemfile.lock index f5e8b4d5..ed9f7499 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - vite_rails (1.0.10) + vite_rails (1.0.11) activesupport (>= 5.1) rack-proxy (>= 0.6.1) railties (>= 5.1) diff --git a/examples/blog/Gemfile.lock b/examples/blog/Gemfile.lock index 9fa7736a..d13fcfed 100644 --- a/examples/blog/Gemfile.lock +++ b/examples/blog/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: ../.. specs: - vite_rails (1.0.10) + vite_rails (1.0.11) activesupport (>= 5.1) rack-proxy (>= 0.6.1) railties (>= 5.1) diff --git a/examples/blog/package.json b/examples/blog/package.json index b9b02bdf..e52e9b51 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,7 +11,7 @@ }, "version": "0.1.0", "devDependencies": { - "vite-plugin-ruby": "file:../../package", + "vite-plugin-ruby": "1.0.5", "postcss": "8.2.4", "vite": "^2.0.0-beta.46", "tailwindcss": "^2.0.2", diff --git a/examples/blog/yarn.lock b/examples/blog/yarn.lock index dfe05e93..27500100 100644 --- a/examples/blog/yarn.lock +++ b/examples/blog/yarn.lock @@ -7647,8 +7647,10 @@ verror@1.10.0: core-util-is "1.0.2" extsprintf "^1.2.0" -"vite-plugin-ruby@file:../../package": +vite-plugin-ruby@1.0.5: version "1.0.5" + resolved "https://registry.yarnpkg.com/vite-plugin-ruby/-/vite-plugin-ruby-1.0.5.tgz#7e10bacec9afc109172bac53075700f72ab00dfd" + integrity sha512-SINoMp2OZQmAOQoWz3ckGop6iQUUg9ERF7PHe5NK+ENd0TOB55+Ch5Kbc3fi7qtY8qHKMev3lJYgdS2Qay+X4A== dependencies: fast-glob "^3.2.4" diff --git a/lib/vite_rails/version.rb b/lib/vite_rails/version.rb index 72ce5c51..df03b318 100644 --- a/lib/vite_rails/version.rb +++ b/lib/vite_rails/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true class ViteRails - VERSION = '1.0.10' + VERSION = '1.0.11' end diff --git a/package.json b/package.json index 4145c741..8c89cf61 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,6 @@ }, "dependencies": { "vite": "^2.0.0-beta.46", - "vite-plugin-ruby": "^1.0.4" + "vite-plugin-ruby": "^1.0.5" } } diff --git a/test/mounted_app/test/dummy/package.json b/test/mounted_app/test/dummy/package.json index 9d6fe33d..5a25bab0 100644 --- a/test/mounted_app/test/dummy/package.json +++ b/test/mounted_app/test/dummy/package.json @@ -3,6 +3,6 @@ "license": "MIT", "devDependencies": { "vite": "^2.0.0-beta.46", - "vite-plugin-ruby": "^1.0.4" + "vite-plugin-ruby": "^1.0.5" } }