Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use Vite 3 as the default #225

Merged
merged 13 commits into from
Jul 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '14'

- uses: ruby/setup-ruby@v1
with:
Expand Down
18 changes: 9 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PATH
PATH
remote: vite_ruby
specs:
vite_ruby (3.1.7)
vite_ruby (3.2.0.beta0)
dry-cli (~> 0.7.0)
rack-proxy (~> 0.6, >= 0.6.1)
zeitwerk (~> 2.2)
Expand Down Expand Up @@ -94,7 +94,7 @@ GEM
erubi (1.10.0)
globalid (0.4.2)
activesupport (>= 4.2.0)
i18n (1.10.0)
i18n (1.11.0)
concurrent-ruby (~> 1.0)
json (2.5.1)
loofah (2.18.0)
Expand All @@ -109,15 +109,15 @@ GEM
method_source (1.0.0)
mini_mime (1.0.3)
mini_portile2 (2.8.0)
minitest (5.15.0)
minitest (5.16.2)
minitest-reporters (1.4.3)
ansi
builder
minitest (>= 5.0)
ruby-progressbar
minitest-stub_any_instance (1.0.2)
nio4r (2.5.7)
nokogiri (1.13.6)
nokogiri (1.13.7)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
parallel (1.21.0)
Expand All @@ -130,11 +130,11 @@ GEM
byebug (~> 11.0)
pry (~> 0.13.0)
racc (1.6.0)
rack (2.2.3.1)
rack (2.2.4)
rack-proxy (0.7.2)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rack-test (2.0.2)
rack (>= 1.3)
rails (6.1.3.1)
actioncable (= 6.1.3.1)
actionmailbox (= 6.1.3.1)
Expand All @@ -153,7 +153,7 @@ GEM
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.4.2)
rails-html-sanitizer (1.4.3)
loofah (~> 2.3)
railties (6.1.3.1)
actionpack (= 6.1.3.1)
Expand Down Expand Up @@ -202,7 +202,7 @@ GEM
websocket-driver (0.7.3)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
zeitwerk (2.5.4)
zeitwerk (2.6.0)

PLATFORMS
ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/hanami_bookshelf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"devDependencies": {
"sass": "^1.35.2",
"vite": "^2.8.6",
"vite": "^3.0.0",
"vite-plugin-ruby": "^3.0.8"
}
}
2 changes: 1 addition & 1 deletion examples/padrino_blog_tutorial/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"devDependencies": {
"vite": "^2.8.6",
"vite": "^3.0.0",
"vite-plugin-ruby":"^3.0.8"
},
"dependencies": {
Expand Down
7 changes: 6 additions & 1 deletion examples/rails/example_engine/package.json
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{"devDependencies":{"vite":"^2.9.1","vite-plugin-ruby":"^3.0.9"}}
{
"devDependencies": {
"vite": "^3.0.0",
"vite-plugin-ruby":"^3.0.9"
}
}
11 changes: 6 additions & 5 deletions examples/rails/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,20 @@
"@hotwired/turbo": "^7.1.0",
"@rails/actioncable": "^7.0.1",
"@rails/activestorage": "^7.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"version": "0.1.0",
"devDependencies": {
"@types/rails__activestorage": "^7.0.0",
"@vitejs/plugin-legacy": "^1.6.4",
"@vitejs/plugin-react": "^1.1.4",
"@vitejs/plugin-legacy": "2.0.0-alpha.2",
"@vitejs/plugin-react": "2.0.0-alpha.2",
"less": "^4.1.2",
"ms": "^2.1.3",
"sass": "^1.49.4",
"stylus": "^0.54.8",
"vite": "^2.9.1",
"terser": "^5.14.1",
"vite": "^3.0.0",
"vite-plugin-bugsnag": "^2.0.0",
"vite-plugin-environment": "^1.1.0",
"vite-plugin-full-reload": "^1.0.0",
Expand Down
Loading