jsbundling-rails 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/install/Procfile.dev +1 -1
- data/lib/install/install.rb +1 -1
- data/lib/jsbundling/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a33dca86c8cca2151366ae5d1d18262cfca426ff330745c2168b621b9e66f2e
|
4
|
+
data.tar.gz: 2ac326bf65dde1b8dbdc1c50d133188c307debab60f92938d790c508c81d7e6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1640ce2af097577e53947e1ac936ec815a67901d33856db90d17da4fa1ee42c412c50c69320de081fb935113e16752ca58f230cf091eb7093cb96c7c891faa0
|
7
|
+
data.tar.gz: 315d928a0f866a1b9152bc2773f3f7168f4bee47726aa111414f43a60947953d511b433b47cbbcc9481062168617fd28c5d5137fe29f294381604fec954092ae
|
data/README.md
CHANGED
@@ -15,7 +15,7 @@ You can configure your bundler options in the `build` script in `package.json` o
|
|
15
15
|
|
16
16
|
## Installation
|
17
17
|
|
18
|
-
You must already have node and yarn installed on your system. Then:
|
18
|
+
You must already have node and yarn installed on your system. You will also need npx version 7.1.0 or later. Then:
|
19
19
|
|
20
20
|
1. Add `jsbundling-rails` to your Gemfile with `gem 'jsbundling-rails'`
|
21
21
|
2. Run `./bin/bundle install`
|
data/lib/install/Procfile.dev
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
web: bin/rails server
|
1
|
+
web: bin/rails server -p 3000
|
2
2
|
js: yarn build --watch
|
data/lib/install/install.rb
CHANGED
@@ -4,7 +4,7 @@ keep_file "app/assets/builds"
|
|
4
4
|
append_to_file "app/assets/config/manifest.js", %(//= link_tree ../builds\n)
|
5
5
|
|
6
6
|
if Rails.root.join(".gitignore").exist?
|
7
|
-
append_to_file
|
7
|
+
append_to_file(".gitignore", %(/app/assets/builds\n!/app/assets/builds/.keep\n))
|
8
8
|
end
|
9
9
|
|
10
10
|
if (app_layout_path = Rails.root.join("app/views/layouts/application.html.erb")).exist?
|
data/lib/jsbundling/version.rb
CHANGED