We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e8e3a7 commit 707686dCopy full SHA for 707686d
Gemfile
@@ -7,7 +7,7 @@ ruby "3.1.2"
7
8
gem "cpl", "~> 0.3.3"
9
gem "react_on_rails", "13.2.0"
10
-gem "shakapacker", "7.0.2"
+gem "shakapacker", "7.0.3"
11
12
# Bundle edge Rails instead: gem "rails", github: "rails/rails"
13
gem "listen"
Gemfile.lock
@@ -212,7 +212,7 @@ GEM
212
nio4r (~> 2.0)
213
racc (1.7.1)
214
rack (2.2.8)
215
- rack-proxy (0.7.6)
+ rack-proxy (0.7.7)
216
rack
217
rack-test (2.1.0)
218
rack (>= 1.3)
@@ -336,7 +336,7 @@ GEM
336
websocket (~> 1.0)
337
semantic_range (3.0.0)
338
sexp_processor (4.17.0)
339
- shakapacker (7.0.2)
+ shakapacker (7.0.3)
340
activesupport (>= 5.2)
341
rack-proxy (>= 0.6.1)
342
railties (>= 5.2)
@@ -438,7 +438,7 @@ DEPENDENCIES
438
scss_lint
439
sdoc
440
selenium-webdriver (~> 4)
441
- shakapacker (= 7.0.2)
+ shakapacker (= 7.0.3)
442
spring
443
spring-commands-rspec
444
stimulus-rails (~> 1.2)
bin/dev
@@ -0,0 +1,30 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+def installed?(process)
5
+ IO.popen "#{process} -v"
6
+rescue Errno::ENOENT
+ false
+end
+def run(process)
+ system "#{process} start -f Procfile.dev"
+ warn <<~MSG
14
+ ERROR:
15
+ Please ensure `Procfile.dev` exists in your project!
16
+ MSG
17
+ exit!
18
19
20
+if installed? "overmind"
21
+ run "overmind"
22
+elsif installed? "foreman"
23
+ run "foreman"
24
+else
25
26
+ NOTICE:
27
+ For this script to run, you need either 'overmind' or 'foreman' installed on your machine. Please try this script after installing one of them.
28
29
30
bin/dev-static
+ system "#{process} start -f Procfile.dev-static"
+ Please ensure `Procfile.dev-static` exists in your project!
package.json
@@ -88,7 +88,7 @@
88
"sass-loader": "^13.3.2",
89
"sass-resources-loader": "^2.2.5",
90
"stimulus": "^3.0.1",
91
- "shakapacker": "7.0.2",
+ "shakapacker": "7.0.3",
92
"style-loader": "^3.3.1",
93
"terser-webpack-plugin": "5",
94
"turbolinks": "^5.2.0",
yarn.lock
@@ -8541,10 +8541,10 @@ setprototypeof@1.2.0:
8541
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424"
8542
integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==
8543
8544
-shakapacker@7.0.2:
8545
- version "7.0.2"
8546
- resolved "https://registry.yarnpkg.com/shakapacker/-/shakapacker-7.0.2.tgz#cd7cb5075fdbf4d06e60d894f9076c8e56643a98"
8547
- integrity sha512-TF2GFb0E28fvQpn2L6RdvAHJRZmFMTvpJg93102tCbFywHq3tmTqwD/ijvlD+eMuZ8d1i3AMTnhO+45ayN3dYg==
+shakapacker@7.0.3:
+ version "7.0.3"
+ resolved "https://registry.yarnpkg.com/shakapacker/-/shakapacker-7.0.3.tgz#e67fca4e74c3ef380e1acf53a1d51ab4784ca01c"
+ integrity sha512-2kwNP8kadkmGOqb7Bp/iNzF3bV31zni8b35Uzst2DZHjnFcnDbW96MERXHc7lS3p3AmKJVbUBmHAFCPsLT9tcw==
8548
dependencies:
8549
glob "^7.2.0"
8550
js-yaml "^4.1.0"
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments