Skip to content

Commit 8fab191

Browse files
authored
feat: use Vite 3 as the default (#225)
1 parent 0d49a13 commit 8fab191

File tree

27 files changed

+2427
-2363
lines changed

27 files changed

+2427
-2363
lines changed

.github/workflows/ruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- uses: actions/setup-node@v3
3535
with:
36-
node-version: '16'
36+
node-version: '14'
3737

3838
- uses: ruby/setup-ruby@v1
3939
with:

Gemfile.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ PATH
1414
PATH
1515
remote: vite_ruby
1616
specs:
17-
vite_ruby (3.1.7)
17+
vite_ruby (3.2.0.beta0)
1818
dry-cli (~> 0.7.0)
1919
rack-proxy (~> 0.6, >= 0.6.1)
2020
zeitwerk (~> 2.2)
@@ -94,7 +94,7 @@ GEM
9494
erubi (1.10.0)
9595
globalid (0.4.2)
9696
activesupport (>= 4.2.0)
97-
i18n (1.10.0)
97+
i18n (1.11.0)
9898
concurrent-ruby (~> 1.0)
9999
json (2.5.1)
100100
loofah (2.18.0)
@@ -109,15 +109,15 @@ GEM
109109
method_source (1.0.0)
110110
mini_mime (1.0.3)
111111
mini_portile2 (2.8.0)
112-
minitest (5.15.0)
112+
minitest (5.16.2)
113113
minitest-reporters (1.4.3)
114114
ansi
115115
builder
116116
minitest (>= 5.0)
117117
ruby-progressbar
118118
minitest-stub_any_instance (1.0.2)
119119
nio4r (2.5.7)
120-
nokogiri (1.13.6)
120+
nokogiri (1.13.7)
121121
mini_portile2 (~> 2.8.0)
122122
racc (~> 1.4)
123123
parallel (1.21.0)
@@ -130,11 +130,11 @@ GEM
130130
byebug (~> 11.0)
131131
pry (~> 0.13.0)
132132
racc (1.6.0)
133-
rack (2.2.3.1)
133+
rack (2.2.4)
134134
rack-proxy (0.7.2)
135135
rack
136-
rack-test (1.1.0)
137-
rack (>= 1.0, < 3)
136+
rack-test (2.0.2)
137+
rack (>= 1.3)
138138
rails (6.1.3.1)
139139
actioncable (= 6.1.3.1)
140140
actionmailbox (= 6.1.3.1)
@@ -153,7 +153,7 @@ GEM
153153
rails-dom-testing (2.0.3)
154154
activesupport (>= 4.2.0)
155155
nokogiri (>= 1.6)
156-
rails-html-sanitizer (1.4.2)
156+
rails-html-sanitizer (1.4.3)
157157
loofah (~> 2.3)
158158
railties (6.1.3.1)
159159
actionpack (= 6.1.3.1)
@@ -202,7 +202,7 @@ GEM
202202
websocket-driver (0.7.3)
203203
websocket-extensions (>= 0.1.0)
204204
websocket-extensions (0.1.5)
205-
zeitwerk (2.5.4)
205+
zeitwerk (2.6.0)
206206

207207
PLATFORMS
208208
ruby

examples/hanami_bookshelf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"devDependencies": {
99
"sass": "^1.35.2",
10-
"vite": "^2.8.6",
10+
"vite": "^3.0.0",
1111
"vite-plugin-ruby": "^3.0.8"
1212
}
1313
}

examples/padrino_blog_tutorial/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"devDependencies": {
3-
"vite": "^2.8.6",
3+
"vite": "^3.0.0",
44
"vite-plugin-ruby":"^3.0.8"
55
},
66
"dependencies": {
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
{"devDependencies":{"vite":"^2.9.1","vite-plugin-ruby":"^3.0.9"}}
1+
{
2+
"devDependencies": {
3+
"vite": "^3.0.0",
4+
"vite-plugin-ruby":"^3.0.9"
5+
}
6+
}

examples/rails/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,20 @@
1414
"@hotwired/turbo": "^7.1.0",
1515
"@rails/actioncable": "^7.0.1",
1616
"@rails/activestorage": "^7.0.1",
17-
"react": "^17.0.2",
18-
"react-dom": "^17.0.2"
17+
"react": "^18.2.0",
18+
"react-dom": "^18.2.0"
1919
},
2020
"version": "0.1.0",
2121
"devDependencies": {
2222
"@types/rails__activestorage": "^7.0.0",
23-
"@vitejs/plugin-legacy": "^1.6.4",
24-
"@vitejs/plugin-react": "^1.1.4",
23+
"@vitejs/plugin-legacy": "2.0.0-alpha.2",
24+
"@vitejs/plugin-react": "2.0.0-alpha.2",
2525
"less": "^4.1.2",
2626
"ms": "^2.1.3",
2727
"sass": "^1.49.4",
2828
"stylus": "^0.54.8",
29-
"vite": "^2.9.1",
29+
"terser": "^5.14.1",
30+
"vite": "^3.0.0",
3031
"vite-plugin-bugsnag": "^2.0.0",
3132
"vite-plugin-environment": "^1.1.0",
3233
"vite-plugin-full-reload": "^1.0.0",

0 commit comments

Comments
 (0)