Skip to content

Commit 39bd69a

Browse files
author
Matthew Saginario
committed
changed webpack-only to webpack
1 parent 5cfc416 commit 39bd69a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/installation/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ following sections.
6262
```
6363
bundle exec ... # for best results always use bundle exec!
6464
rails hyperstack:install # full system install
65-
rails hyperstack:install:webpack-only # just add webpack
65+
rails hyperstack:install:webpack # just add webpack
6666
rails hyperstack:install:skip-webpack # all but webpack
6767
rails hyperstack:install:hyper-model-only # just add hyper-model
6868
rails hyperstack:install:skip-hyper-model # all but hyper-model
@@ -98,7 +98,7 @@ rails g hyper:router CompName # adds a router component
9898
# Note that hyperstack:install is the same as running:
9999
100100
rails g hyper:component App --add-route
101-
rails hyperstack:install:webpack-only
101+
rails hyperstack:install:webpack
102102
rails hyperstack:install:hyper-model-only
103103
rails hyperstack:install:hotloader-only
104104
```

ruby/rails-hyperstack/lib/generators/hyperstack/install_generator.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,19 +185,19 @@ def report
185185
private
186186

187187
def skip_adding_component?
188-
options['hotloader-only'] || options['webpack-only'] || options['hyper-model-only']
188+
options['hotloader-only'] || options['webpack'] || options['hyper-model-only']
189189
end
190190

191191
def skip_hotloader?
192-
options['skip-hotloader'] || options['webpack-only'] || options['hyper-model-only']
192+
options['skip-hotloader'] || options['webpack'] || options['hyper-model-only']
193193
end
194194

195195
def skip_webpack?
196196
options['hotloader-only'] || options['skip-webpack'] || options['hyper-model-only']
197197
end
198198

199199
def skip_hyper_model?
200-
options['hotloader-only'] || options['webpack-only'] || options['skip-hyper-model']
200+
options['hotloader-only'] || options['webpack'] || options['skip-hyper-model']
201201
end
202202

203203
def inject_into_initializer(s)

ruby/rails-hyperstack/lib/tasks/hyperstack/install.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace :hyperstack do
1313
task "hotloader-only" do
1414
exec "#{RbConfig.ruby} #{bin_path}/rails g hyperstack:install --hotloader-only"
1515
end
16-
task "webpack-only" do
16+
task "webpack" do
1717
exec "#{RbConfig.ruby} #{bin_path}/rails g hyperstack:install --webpack-only"
1818
end
1919
task "hyper-model-only" do

ruby/rails-hyperstack/rails-hyperstack.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ gets installed:
4949
You can always install these pieces later using these options:
5050
5151
--hotloader-only # just add the hotloader
52-
--webpack-only # just add webpack
52+
--webpack # just add webpack
5353
--hyper-model-only # just add hyper-model, and default policy files
5454
5555
*******************************************************************************

0 commit comments

Comments
 (0)