Skip to content

Commit

Permalink
feat: use Vite 3 as the default (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElMassimo committed Jul 13, 2022
1 parent 0d49a13 commit 8fab191
Show file tree
Hide file tree
Showing 27 changed files with 2,427 additions and 2,363 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
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
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
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
@@ -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
@@ -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
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

0 comments on commit 8fab191

Please sign in to comment.