3.9.1 (2024-11-21)
3.9.0 (2024-10-11)
- enforce vite 5 manifest location (#432) (ce2df58), closes /github.com/ElMassimo/vite_ruby/blob/main/vite_ruby/lib/vite_ruby/builder.rb#L16
3.8.3 (2024-10-11)
3.8.2 (2024-09-05)
3.8.1 (2024-09-04)
3.8.0 (2024-08-12)
3.7.0 (2024-07-17)
- add
package_manager
config option, experimental support for bun (#481) (4426cb1), closes #324 - change default execution to use
npx vite
instead (#480) (330f61f), closes #462
3.6.2 (2024-07-16)
3.6.1 (2024-07-16)
3.6.0 (2024-06-07)
3.5.0 (2023-11-16)
- prevent clean from deleting assets referenced in the manifests (8a581c1)
- use vite 5 in new installations (f063f28)
3.4.0 (2023-11-16)
- breaking: check for any existing manifest path before cleaning (c450483)
- add support for vite 5, which changed default manifest path (818132a)
3.3.4 (2023-06-27)
3.3.3 (2023-06-19)
- allow skipping dev dependencies on install (#374) (a309f4f)
- Use javascript_tag helper for vite_react_refresh_tag (#372) (238c6bd), closes #249
3.3.2 (2023-05-09)
- ensure assets:precompile task is displayed when using
rake -T
(66af6eb)
3.3.1 (2023-04-28)
- upgrade default vite version to 4.3 (b186456)
3.3.0 (2023-03-16)
- add support for the --profile flag when running vite build (4a949fd), closes #332
- change defaults to vite@4.2.0 and vite-plugin-ruby@3.2.0 (e9f5702)
3.2.15 (2023-03-01)
3.2.14 (2022-12-22)
3.2.13 (2022-12-09)
- install vite 4 by default (c1a2e16)
3.2.12 (2022-12-02)
- add experimental
skipProxy
setting (#315) (e9285f6) - add ViteRuby.instance.configure API to be used in config/vite.rb (b5b8681)
3.2.11 (2022-11-13)
3.2.10 (2022-11-03)
3.2.9 (2022-11-02)
- allow different ViteRuby instances to set different env vars (25628a7)
- output exit code when vite process fails (#294) (eb8f678), closes #292
3.2.8 (2022-10-28)
- default to vite@3.2.0 (2ef83a5)
3.2.7 (2022-10-19)
3.2.6 (2022-10-07)
3.2.5 (2022-10-07)
3.2.4 (2022-10-04)
3.2.3 (2022-08-28)
3.2.2 (2022-08-12)
- allow framework-specific libraries to extend the CLI (a0ed66f)
3.2.1 (2022-08-11)
3.2.0 (2022-07-13)
3.1.7 (2022-07-13)
3.1.6 (2022-06-02)
- Catch npm command not found, for folks who install deps with yarn (7a0407b3211e682bc1da40d29225af58d3396cbd)
3.1.5 (2022-05-30)
3.1.4 (2022-05-13)
- expose
ViteRuby.digest
to simplify asset versioning. (ff92ce6)
3.1.3 (2022-05-13)
- change default for ssrOutputDir so it's ignored by default (2f93b76)
3.1.2 (2022-05-12)
- add support for SSR builds (experimental) (#212) (4d6cd2b)
- ignore any vite dirs in .gitignore installation (for ssr builds) (fd68420)
3.1.1 (2022-04-14)
3.1.0 (2022-04-01)
3.0.11 (2022-04-01)
- bump the default vite version (2cb8952)
3.0.10 (2022-03-17)
- avoid proxying requests starting with @ (93d071b)
- MissingExecutableError when deploying with Capistrano (close #192) (22e1691)
- bump up default vite version to 2.8.6 (fd53030)
3.0.9 (2022-02-09)
- support older versions of npm (v6) that ship with node 12 and 14 (0accc36)
3.0.8 (2022-01-18)
3.0.7 (2021-12-27)
3.0.6 (2021-12-24)
3.0.5 (2021-12-17)
- ensure vite_plugin_legacy is upgraded by the upgrade command (2f9437d)
3.0.4 (2021-12-17)
- if using
vite_plugin_legacy
, make sure to upgrade to 3.0.1
3.0.3 (2021-12-09)
- ensure bundler does not keep generating binstubs (0dc133a)
- explicitly require socket to enable usage in bare ruby (cf22165)
3.0.2 (2021-10-29)
- enable hmr when running tests in development with vite dev server (e253bba)
3.0.1 (2021-10-27)
- expose the
--watch
flag for the build command (4e20d0a)
3.0.0 (2021-08-16)
See #116 for features and breaking changes.
1.2.20 (2021-07-30)
- use
asset_host
for Vite client if set during development (89a338c) - Watch Windi CSS config file by default if it exists (842c5eb)
1.2.18 (2021-07-19)
- fix: Proxy entrypoint HMR requests only after verifying the file exists (close #102) (67c22ec), closes #102
1.2.17 (2021-07-12)
- fix: Proxy CSS Modules requests to Vite.js with the correct extension (close #98) (8976872), closes #98
1.2.16 (2021-07-07)
- feat: Enable usage in engines by using
run
from the current instance (023a61d)
1.2.15 (2021-07-01)
1.2.14 (2021-07-01)
- Add support for Jekyll installer (7b942ec)
1.2.13 (2021-06-30)
- Improve the error message when npm packages are missing (9159557)
1.2.12 (2021-06-08)
1.2.11 (2021-05-10)
- Upgrade to dry-cli 0.7 while avoiding dependency on
dry-files
(f5b87e)
1.2.10 (2021-05-09)
1.2.9 (2021-05-04)
- Stream output during installation and don't skip installation of npm packages when no lockfile is detected (#73) (028a5ba)
1.2.8 (2021-04-29)
1.2.7 (2021-04-28)
- Support Rails 5.1 by avoiding incorrectly monkeypatched
Array#append
(1b59551)
1.2.6 (2021-04-26)
1.2.5 (2021-04-21)
- Add helpers to enable HMR when using @vitejs/plugin-react-refresh (a80f286)
1.2.4 (2021-04-21)
- Avoid removing
base
from proxied requests to avoid confusion. (25f79a9)
1.2.3 (2021-04-15)
1.2.2 (2021-03-20)
- Avoid prompts when using npx outside a CI (ed7ccd7)
- Simplify installation of build dependencies by using package manager flags (5c8bb62)
1.2.1 (2021-03-19)
- Use the mode option in
clobber
(add76b2)
1.2.0 (2021-03-19)
- Add
clobber
to the CLI, usable as--clear
in thedev
andbuild
commands (331d861) - Allow
clobber
to receive a--mode
option. (e6e7a6d)
1.1.2 (2021-03-19)
- Automatically retry failed builds after a certain time (cbb3058)
1.1.1 (2021-03-19)
1.1.0 (2021-03-07)
- Add development mutex in manifest to prevent re-entrant builds (a6c6976)
- Allow passing --inspect and other options to the build command (1818ea4)
- Record status and timestamp of each build to provide better errors (a35a64a)
- Stream build output to provide feedback as the command runs (2bce338)
1.0.5 (2021-03-03)
1.0.4 (2021-02-25)
1.0.3 (2021-02-25)
- Infer package manager correctly (09d3036)
- Fix auto-compilation when the dev server is not available.
- Fix installation script in Ruby 2.5
- Initial release, extracted core functionality from
vite_rails
.