react_on_rails 8.0.6 → 9.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd13892f93e54c4ea606825335be3640ea90d7cf
4
- data.tar.gz: 47836d43c99982cb873e3654fd512f399d7f38e6
3
+ metadata.gz: e1dc751a094a77f26d6c7ccbeffd1fb629138f02
4
+ data.tar.gz: 366a5758c073560392b74d09f2fb6eaa02959453
5
5
  SHA512:
6
- metadata.gz: 8173e67b0d6909006cb30336183fc6f9e8f792bac0702995f72e74a4a0769e44fed2485771db9d8c2284165e46cda5022e8f2ac366415dd929cef095a07252a5
7
- data.tar.gz: 7db0a1f760778ec2513b477b0ee2ce547da3211f0bb1e6f732fd32f79c1666728c09ccd7c49f36eb3c1728aac636e2b53f109f82459a0ab4154b220e35163c02
6
+ metadata.gz: 48c238386729ce992e2535f95c616c331176f549b6717ab9edeb7df2bf7da3a12df1ab4623a439719ec7e911aedd50c03e7e0e89ba4f2f745138ec4a1dbbd076
7
+ data.tar.gz: 4a8d15bd0de012d1230c85e0a2b9f241e96f0fe95e28bad7bde6c1848bacc25c11fd8a99a23f875b35d9fc965bb8d2d84759bc67d99ff1dc9fc481a7a5eac106
data/CHANGELOG.md CHANGED
@@ -8,6 +8,30 @@ Changes since last non-beta release.
8
8
 
9
9
  *Please add entries here for your pull requests.*
10
10
 
11
+ ### [9.0.0.beta.1]
12
+ - Switch over to using Webpacker
13
+
14
+ - If using the WebpackConfigLoader, you will need to rename the following object properties:
15
+ - hotReloadingUrl devServerUrl
16
+ - hotReloadingHostname devServerHost
17
+ - hotReloadingPort devServerPort
18
+
19
+ - Find your webpacker_lite.yml and rename it to webpacker.yml
20
+ - Add a section like this under your development env:
21
+ ```
22
+ dev_server:
23
+ host: localhost
24
+ port: 8080
25
+ https: false
26
+ # Can be enabled by export WEBPACKER_HMR=TRUE in env
27
+ hot: false
28
+ ```
29
+ - remove `hot_reloading_host` and `hot_reloading_enabled_by_default`
30
+ - rename `webpack_public_output_dir` to `public_output_path`
31
+
32
+
33
+
34
+
11
35
  ### [8.0.6]
12
36
  #### fixed
13
37
  - Fixes server rendering when using a CDN. Server rendering would try to fetch a file with the "asset_host". This change updates the webpacker_lite dependency to 2.1.0 which has a new helper `pack_path`. [#901](https://github.com/shakacode/react_on_rails/pull/901) by [justin808](https://github.com/justin808). Be sure to update webpacker_lite to 2.1.0.
data/Gemfile CHANGED
@@ -38,6 +38,7 @@ gem "chromedriver-helper"
38
38
  gem "launchy"
39
39
  gem "poltergeist"
40
40
  gem "selenium-webdriver"
41
- gem "webpacker_lite", "~> 2.1"
41
+ gem "webpacker", git: "https://github.com/shakacode/webpacker.git",
42
+ branch: "issue-464-merge-webpacker-lite-into-webpacker"
42
43
 
43
44
  gem "rainbow"
data/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  Thank you for considering using [React on Rails](https://github.com/shakacode/react_on_rails).
8
8
 
9
9
  * **Video:** [Front-End Sadness to Happiness: The React on Rails Story](https://www.youtube.com/watch?v=SGkTvKRPYrk): History, motivations, philosophy, and overview.
10
- * *[Click here for talk slides](http://www.shakacode.com/talks).*
10
+ * [Front-End Sadness to Happiness: The React on Rails Story at GORUCO 2017](https://blog.shakacode.com/front-end-sadness-to-happiness-the-react-on-rails-story-at-goruco-2017-d63b8fd26ca4)
11
11
 
12
12
  We at [ShakaCode](http://www.shakacode.com) are a small, boutique, remote-first application development company. We fund this project by:
13
13
 
@@ -53,6 +53,7 @@ For more testimonials, see [Live Projects](PROJECTS.md) and [Kudos](./KUDOS.md).
53
53
 
54
54
  ### Articles
55
55
 
56
+ * [Front-End Sadness to Happiness: The React on Rails Story at GORUCO 2017](https://blog.shakacode.com/front-end-sadness-to-happiness-the-react-on-rails-story-at-goruco-2017-d63b8fd26ca4)
56
57
  * [Webpacker Lite: Why Fork Webpacker?](https://blog.shakacode.com/webpacker-lite-why-fork-webpacker-f0a7707fac92)
57
58
  * [React on Rails, 2000+ 🌟 Stars](https://medium.com/shakacode/react-on-rails-2000-stars-32ff5cfacfbf#.6gmfb2gpy)
58
59
  * [The React on Rails Doctrine](https://medium.com/@railsonmaui/the-react-on-rails-doctrine-3c59a778c724)
@@ -72,9 +73,9 @@ For more testimonials, see [Live Projects](PROJECTS.md) and [Kudos](./KUDOS.md).
72
73
  ------
73
74
 
74
75
  # NEWS
75
- * The Docs here on `master` refer to 8.0.0 including support for [webpacker_lite](https://github.com/shakacode/webpacker_lite)!
76
+ * **[VERSION 8.1.0](https://rubygems.org/gems/react_on_rails/)** shipped with [webpacker_lite](https://github.com/shakacode/webpacker_lite) (soon [**webpacker**](https://github.com/rails/webpacker/issues/464#issuecomment-310986140) support! [react-webpack-rails-tutorial PR #395](https://github.com/shakacode/react-webpack-rails-tutorial/pull/395) shows the changes needed to migrate from the Asset Pipeline to Webpacker Lite. For more information, see my article: [Webpacker Lite: Why Fork Webpacker?](https://blog.shakacode.com/webpacker-lite-why-fork-webpacker-f0a7707fac92). Per recent discussions, we [will merge Webpacker Lite changes back into Webpacker](https://github.com/rails/webpacker/issues/464#issuecomment-310986140). There's no reason to wait for this. The upgrade will eventually be trivial.
77
+ * The Docs here on `master` refer to 9.0.0 including support for [webpacker](https://github.com/shakacode/webpacker)!
76
78
  *Use the [7.0.4 docs](https://github.com/shakacode/react_on_rails/tree/7.0.4) to refer to the older asset pipeline way.*
77
- * **[VERSION 8.0.0](https://rubygems.org/gems/react_on_rails/)** shipped with [webpacker_lite](https://github.com/shakacode/webpacker_lite) (soon [**webpacker**](https://github.com/rails/webpacker/issues/464#issuecomment-310986140) support! [react-webpack-rails-tutorial PR #395](https://github.com/shakacode/react-webpack-rails-tutorial/pull/395) shows the changes needed to migrate from the Asset Pipeline to Webpacker Lite. For more information, see my article: [Webpacker Lite: Why Fork Webpacker?](https://blog.shakacode.com/webpacker-lite-why-fork-webpacker-f0a7707fac92). Per recent discussions, we [will merge Webpacker Lite changes back into Webpacker](https://github.com/rails/webpacker/issues/464#issuecomment-310986140). There's no reason to wait for this. The upgrade will eventually be trivial.
78
79
  * *See [NEWS.md](NEWS.md) for more notes over time.*
79
80
 
80
81
  ------
@@ -123,7 +124,7 @@ See the [react-webpack-rails-tutorial](https://github.com/shakacode/react-webpac
123
124
 
124
125
  ## Why Webpack?
125
126
 
126
- Webpack is used to generate JavaScript and CSS "bundles" directly to your `/public` directory. [webpacker_lite](https://github.com/shakacode/webpacker_lite) provides view helpers to access the Webpack generated (and fingerprinted) JS and CSS. These files totally skip the Rails asset pipeline. You are responsible for properly processing your Webpack output via the Webpack config files.
127
+ Webpack is used to generate JavaScript and CSS "bundles" directly to your `/public` directory. [webpacker](https://github.com/rails/webpacker) provides view helpers to access the Webpack generated (and fingerprinted) JS and CSS. These files totally skip the Rails asset pipeline. You are responsible for properly processing your Webpack output via the Webpack config files.
127
128
 
128
129
  This usage of webpack fits neatly and simply into existing Rails apps. You can include React components on a Rails view with a simple helper.
129
130
 
@@ -266,9 +267,9 @@ If you have used the provided generator, these bundles will automatically be add
266
267
 
267
268
 
268
269
  ### Generator Functions
269
- Why would you create a function that returns a React component?
270
+ Why would you create a function that returns a React component rather than simply an Object that is a React class?
270
271
 
271
- 1. You need access to the `railsContext`. See documentation for the railsContext in terms of why you might need it.
272
+ 1. You need access to the `railsContext`. See documentation for the railsContext in terms of why you might need it. You **need** a generator function to access the `railsContext`.
272
273
  1. You may want the ability to use the passed-in props to initialize a redux store or set up react-router
273
274
  1. You may want to return different components depending on what's in the props.
274
275
 
@@ -283,7 +284,7 @@ For server rendering, if you wish to return multiple HTML strings from a generat
283
284
  When you use a "generator function" to create react components (or renderedHtml on the server), or you used shared redux stores, you get two params passed to your function that creates a React component:
284
285
 
285
286
  1. `props`: Props that you pass in the view helper of either `react_component` or `redux_store`
286
- 2. `railsContext`: Rails contextual information, such as the current pathname. You can customize this in your config file.
287
+ 2. `railsContext`: Rails contextual information, such as the current pathname. You can customize this in your config file. **Note**: The `railsContext` is not related to the concept of a ["context" for React components](https://facebook.github.io/react/docs/context.html#how-to-use-context).
287
288
 
288
289
  This parameters (`props` and `railsContext`) will be the same regardless of either client or server side rendering, except for the key `serverSide` based on whether or not you are server rendering.
289
290
 
@@ -1,4 +1,4 @@
1
- ## NOTE: These helpers are NOT needed if using webpacker_lite
1
+ ## NOTE: These helpers are NOT needed if using webpacker
2
2
 
3
3
  ## Hot Reloading View Helpers
4
4
  The `env_javascript_include_tag` and `env_stylesheet_link_tag` support the usage of a webpack dev server for providing the JS and CSS assets during development mode. See the [shakacode/react-webpack-rails-tutorial](https://github.com/shakacode/react-webpack-rails-tutorial/) for a working example.
@@ -23,7 +23,7 @@ The default path: `public/webpack` can be loaded with webpackConfigLoader as sho
23
23
  1. You create scripts in `client/package.json` per the example apps. These are used for building your Webpack assets. Also do this for your top level `package.json`.
24
24
 
25
25
  ## Rails Steps (outside of /client)
26
- 1. Add `gem "webpacker_lite"` to the Gemfile, run bundle. The gem provides the `stylesheet_pack_tag` and `javascript_pack_tag` helpers which is used to load the bundled assets to your layouts.[Dummy Example](../../spec/dummy/app/views/layouts/application.html.erb)
26
+ 1. Add `gem "webpacker"` to the Gemfile, run bundle. The gem provides the `stylesheet_pack_tag` and `javascript_pack_tag` helpers which is used to load the bundled assets to your layouts.[Dummy Example](../../spec/dummy/app/views/layouts/application.html.erb)
27
27
  1. Configure the `config/initializers/react_on_rails.rb`. You can adjust some necessary settings and defaults. See file [spec/dummy/config/initializers/react_on_rails.rb](../../spec/dummy/config/initializers/react_on_rails.rb) for a detailed example of configuration, including comments on the different values to configure.
28
28
  1. Configure your Procfiles per the example apps. These are at the root of your Rails installation.
29
29
  1. Configure your top level JavaScript files for inclusion in your layout. You'll want a version that you use for static assets, and you want a file for any files in your setup that are not part of your webpack build. The reason for this is for use with hot-reloading. If you are not using hot reloading, then you only need to configure your `application.js` file to include your Webpack generated files. For more information on hot reloading, see [Hot Reloading of Assets For Rails Development](../additional-reading/hot-reloading-rails-development.md)
@@ -47,7 +47,7 @@ module ReactOnRails
47
47
  def copy_base_files
48
48
  base_path = "base/base/"
49
49
  base_files = %w[app/controllers/hello_world_controller.rb
50
- config/webpacker_lite.yml
50
+ config/webpacker.yml
51
51
  client/.babelrc
52
52
  client/webpack.config.js
53
53
  client/REACT_ON_RAILS_CLIENT_README.md]
@@ -71,7 +71,14 @@ module ReactOnRails
71
71
  end
72
72
 
73
73
  def add_base_gems_to_gemfile
74
- append_to_file("Gemfile", "\ngem 'mini_racer', platforms: :ruby\ngem 'webpacker_lite'\n")
74
+ gems = <<-GEMS.strip_heredoc
75
+
76
+ gem 'mini_racer', platforms: :ruby
77
+ gem 'webpacker', git: "https://github.com/shakacode/webpacker.git",
78
+ branch: "issue-464-merge-webpacker-lite-into-webpacker"
79
+ GEMS
80
+ append_to_file("Gemfile",
81
+ gems)
75
82
  end
76
83
 
77
84
  def append_to_spec_rails_helper
@@ -65,6 +65,8 @@ ReactOnRails.configure do |config|
65
65
  # Replace the following line to the location where you keep translation.js & default.js for use
66
66
  # by the npm packages react-intl. Be sure this directory exists!
67
67
  # config.i18n_dir = Rails.root.join("client", "app", "libs", "i18n")
68
+ # If not using the i18n feature, then leave this section commented out or set the value
69
+ # of config.i18n_dir to nil.
68
70
  #
69
71
  # Replace the following line to the location where you keep your client i18n yml files
70
72
  # that will source for automatic generation on translations.js & default.js
@@ -0,0 +1,26 @@
1
+ # Note: Base output directory of /public is assumed for static files
2
+ default: &default
3
+ # Critical to set compile as false for React on Rails projects
4
+ compile: false
5
+
6
+ development:
7
+ <<: *default
8
+ # generated files for development, in /public/webpack/development
9
+ public_output_path: webpack/development
10
+
11
+ dev_server:
12
+ host: localhost
13
+ port: 8080
14
+ https: false
15
+ # Can be enabled by export WEBPACKER_HMR=TRUE in env
16
+ hot: false
17
+
18
+ test:
19
+ <<: *default
20
+ # generated files for tests, in /public/webpack/test
21
+ public_output_path: webpack/test
22
+
23
+ production:
24
+ <<: *default
25
+ # generated files for tests, in /public/webpack/production
26
+ public_output_path: webpack/production
@@ -24,7 +24,7 @@ module ReactOnRails
24
24
 
25
25
  raise "Error configuring /config/react_on_rails.rb: invalid value for `config.i18n_dir`. "\
26
26
  "Directory does not exist: #{@configuration.i18n_dir}. Set to value to nil or comment it "\
27
- "out if not using this i18n with React on Rails."
27
+ "out if not using the React on Rails i18n feature."
28
28
  end
29
29
 
30
30
  def self.check_i18n_yml_directory_exists
@@ -24,8 +24,8 @@ module ReactOnRails
24
24
  end
25
25
 
26
26
  def stale_generated_webpack_files
27
- manifest_needed = ReactOnRails::Utils.using_webpacker_lite? &&
28
- !WebpackerLite::Manifest.exist?
27
+ manifest_needed = ReactOnRails::Utils.using_webpacker? &&
28
+ !Webpacker::Manifest.exist?
29
29
 
30
30
  return ["manifest.json"] if manifest_needed
31
31
 
@@ -62,25 +62,31 @@ exitstatus: #{status.exitstatus}#{stdout_msg}#{stderr_msg}
62
62
  end
63
63
 
64
64
  def self.server_bundle_js_file_path
65
+ # Don't ever use the hashed file name?
66
+ # Cases:
67
+ # 1. Using same bundle for both server and client, so server bundle will be hashed
68
+ # 2. Using a different bundle (different Webpack config), so file is not hashed
65
69
  bundle_js_file_path(ReactOnRails.configuration.server_bundle_js_file)
66
70
  end
67
71
 
68
- # TODO: conturbo Write Test for this, with BOTH webpacker_lite installed and not, and
69
- # with case for webpacker_lite, but server file is not in the file
72
+ # TODO: conturbo Write Test for this, with BOTH webpacker installed and not, and
73
+ # with case for webpacker, but server file is not in the file
70
74
  def self.bundle_js_file_path(bundle_name)
71
75
  # For testing outside of Rails app
72
76
 
73
- if using_webpacker_lite? && WebpackerLite::Manifest.lookup(bundle_name)
74
- # If using webpacker_lite gem
75
- # Per https://github.com/rails/webpacker/issues/571, this path might
76
- public_subdir_hashed_file_name = ActionController::Base.helpers.pack_path(bundle_name)
77
- return File.join("public", public_subdir_hashed_file_name)
77
+ if using_webpacker?
78
+ # Note, server bundle should not be in the manifest
79
+ # If using webpacker gem
80
+ # Per https://github.com/rails/webpacker/issues/571
81
+ path = Webpacker::Manifest.lookup_path_no_throw(bundle_name)
82
+ return path if path.present?
83
+ # Else either the file is not in the manifest, so we'll default to the non-hashed name.
78
84
  end
79
85
 
80
86
  File.join(ReactOnRails.configuration.generated_assets_dir, bundle_name)
81
87
  end
82
88
 
83
- def self.using_webpacker_lite?
89
+ def self.using_webpacker?
84
90
  ActionController::Base.helpers.respond_to?(:asset_pack_path)
85
91
  end
86
92
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReactOnRails
4
- VERSION = "8.0.6"
4
+ VERSION = "9.0.0.beta.1"
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-on-rails",
3
- "version": "8.0.6",
3
+ "version": "9.0.0-beta.1",
4
4
  "description": "react-on-rails JavaScript for react_on_rails Ruby gem",
5
5
  "main": "node_package/lib/ReactOnRails.js",
6
6
  "directories": {
@@ -23,10 +23,10 @@
23
23
  "blue-tape": "^1.0.0",
24
24
  "create-react-class": "^15.5.2",
25
25
  "eslint": "^3.19.0",
26
- "eslint-config-shakacode": "^14.1.1",
27
- "eslint-plugin-import": "^2.2.0",
28
- "eslint-plugin-jsx-a11y": "^4.0.0",
29
- "eslint-plugin-react": "^6.10.3",
26
+ "eslint-config-shakacode": "^15.0.0",
27
+ "eslint-plugin-import": "^2.6.1",
28
+ "eslint-plugin-jsx-a11y": "^5.1.1",
29
+ "eslint-plugin-react": "^7.1.0",
30
30
  "flow-bin": "^0.43.1",
31
31
  "jsdom": "^9.12.0",
32
32
  "prop-types": "^15.5.7",
@@ -1,48 +1,30 @@
1
1
  /**
2
- * Allow defaults for the config/webpacker_lite.yml. Thee values in this file MUST match values
3
- * in README for https://github.com/shakacode/webpacker_lite
2
+ * Allow defaults for the config/webpacker.yml. Thee values in this file MUST match values
3
+ * in https://github.com/rails/webpacker/blob/master/lib/install/config/webpacker.yml
4
4
  *
5
- * webpack_public_output_dir: 'webpack'
6
- * manifest: 'manifest.json'
7
- *
8
- * hot_reloading_enabled_by_default: false
9
- * hot_reloading_host: localhost:3500
10
- *
11
- * NOTE: for hot reloading, env.HOT_RELOADING value will override any config value. This env value
5
+ * NOTE: for hot reloading, env.WEBPACKER_HMR value will override any config value. This env value
12
6
  * should be set to TRUE to turn this on.
13
7
  */
14
8
  const { join, resolve } = require('path');
15
9
  const { safeLoad } = require('js-yaml');
16
10
  const { readFileSync } = require('fs');
17
11
 
18
- const DEFAULT_WEBPACK_PUBLIC_OUTPUT_DIR = 'webpack';
19
- const DEFAULT_MANIFEST = 'manifest.json';
20
- const DEFAULT_HOT_RELOADING_HOST = 'localhost:3500';
21
- const HOT_RELOADING_ENABLED_BY_DEFAULT = false;
22
-
23
- function getLocation(href) {
24
- const match = href.match(/^(https?:)\/\/(([^:/?#]*)(?::([0-9]+))?)([/]?[^?#]*)(\?[^#]*|)(#.*|)$/);
25
-
26
- return match && {
27
- href,
28
- protocol: match[1],
29
- host: match[2],
30
- hostname: match[3],
31
- port: match[4],
32
- pathname: match[5],
33
- search: match[6],
34
- hash: match[7],
35
- };
36
- }
12
+ const MANIFEST = 'manifest.json';
13
+ const DEFAULT_PUBLIC_OUTPUT_PATH = 'packs';
14
+ const DEFAULT_DEV_SERVER_HOST = 'localhost';
15
+ const DEFAULT_DEV_SERVER_PORT = '8080';
16
+ const DEFAULT_DEV_SERVER_HTTPS = false;
17
+ const DEFAULT_DEV_SERVER_HOT = false;
37
18
 
38
19
  /**
39
- * @param configPath, location where webpacker_lite.yml will be found
20
+ * @param configPath, location where webpacker.yml will be found
40
21
  * @returns {{
41
22
  * devBuild,
42
23
  * hotReloadingEnabled,
43
- * hotReloadingHost,
44
- * hotReloadingPort,
45
- * hotReloadingUrl,
24
+ * devServerEnabled,
25
+ * devServerHost,
26
+ * devServerPort,
27
+ * devServerUrl,
46
28
  * manifest,
47
29
  * webpackOutputPath,
48
30
  * webpackPublicOutputDir
@@ -53,40 +35,37 @@ const configLoader = (configPath) => {
53
35
 
54
36
  // Some test environments might not have the NODE_ENV set, so we'll have fallbacks.
55
37
  const configEnv = (process.env.NODE_ENV || process.env.RAILS_ENV || 'development');
56
- const ymlConfigPath = join(configPath, 'webpacker_lite.yml');
38
+ const ymlConfigPath = join(configPath, 'webpacker.yml');
57
39
  const configuration = safeLoad(readFileSync(ymlConfigPath, 'utf8'))[configEnv];
40
+ const devServerValues = configuration.dev_server;
58
41
  const devBuild = configEnv !== 'production';
59
- const hotReloadingHost = configuration.hot_reloading_host || DEFAULT_HOT_RELOADING_HOST;
42
+ const devServerHost = devServerValues && (devServerValues.host || DEFAULT_DEV_SERVER_HOST);
43
+ const devServerPort = devServerValues && (devServerValues.port || DEFAULT_DEV_SERVER_PORT);
44
+ const devServerHttps = devServerValues && (devServerValues.https || DEFAULT_DEV_SERVER_HTTPS);
45
+ const devServerHot = devServerValues && (devServerValues.https || DEFAULT_DEV_SERVER_HOT);
60
46
 
61
47
  // NOTE: Rails path is hard coded to `/public`
62
- const webpackPublicOutputDir = configuration.webpack_public_output_dir ||
63
- DEFAULT_WEBPACK_PUBLIC_OUTPUT_DIR;
48
+ const webpackPublicOutputDir = configuration.public_output_path ||
49
+ DEFAULT_PUBLIC_OUTPUT_PATH;
64
50
  const webpackOutputPath = resolve(configPath, '..', 'public', webpackPublicOutputDir);
65
51
 
66
- const manifest = configuration.manifest || DEFAULT_MANIFEST;
67
-
68
- const hotReloadingEnabled = (env.HOT_RELOADING === 'TRUE' || env.HOT_RELOADING === 'YES' ||
69
- configuration.hot_reloading_enabled_by_default || HOT_RELOADING_ENABLED_BY_DEFAULT);
52
+ const manifest = MANIFEST;
70
53
 
71
- const hotReloadingUrl = hotReloadingHost.match(/^http/)
72
- ? hotReloadingHost
73
- : `http://${hotReloadingHost}`;
54
+ const devServerEnabled = !!devServerValues;
55
+ const hotReloadingEnabled = !!devServerHot || env.WEBPACKER_HMR === 'TRUE';
74
56
 
75
- const url = getLocation(hotReloadingUrl);
76
- const hotReloadingPort = url.port;
77
- const hotReloadingHostname = url.hostname;
78
- if (hotReloadingPort === '' || hotReloadingHostname === '') {
79
- const msg = 'Missing port number. Please specify the `hot_reloading_host` like `localhost:3500`';
80
- throw new Error(msg);
57
+ let devServerUrl = null;
58
+ if (devServerValues) {
59
+ devServerUrl = `http${devServerHttps ? 's' : ''}://${devServerHost}:${devServerPort}`;
81
60
  }
82
61
 
83
62
  return {
84
63
  devBuild,
85
64
  hotReloadingEnabled,
86
- hotReloadingHost,
87
- hotReloadingHostname,
88
- hotReloadingPort,
89
- hotReloadingUrl,
65
+ devServerEnabled,
66
+ devServerHost,
67
+ devServerPort,
68
+ devServerUrl,
90
69
  manifest,
91
70
  webpackOutputPath,
92
71
  webpackPublicOutputDir,
data/yarn.lock CHANGED
@@ -22,7 +22,7 @@ acorn-globals@^3.1.0:
22
22
  dependencies:
23
23
  acorn "^4.0.4"
24
24
 
25
- acorn-jsx@^3.0.0, acorn-jsx@^3.0.1:
25
+ acorn-jsx@^3.0.0:
26
26
  version "3.0.1"
27
27
  resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b"
28
28
  dependencies:
@@ -102,9 +102,9 @@ argparse@^1.0.7:
102
102
  dependencies:
103
103
  sprintf-js "~1.0.2"
104
104
 
105
- aria-query@^0.3.0:
106
- version "0.3.0"
107
- resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-0.3.0.tgz#cb8a9984e2862711c83c80ade5b8f5ca0de2b467"
105
+ aria-query@^0.7.0:
106
+ version "0.7.0"
107
+ resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-0.7.0.tgz#4af10a1e61573ddea0cf3b99b51c52c05b424d24"
108
108
  dependencies:
109
109
  ast-types-flow "0.0.7"
110
110
 
@@ -122,6 +122,13 @@ array-equal@^1.0.0:
122
122
  version "1.0.0"
123
123
  resolved "https://registry.yarnpkg.com/array-equal/-/array-equal-1.0.0.tgz#8c2a5ef2472fd9ea742b04c77a75093ba2757c93"
124
124
 
125
+ array-includes@^3.0.3:
126
+ version "3.0.3"
127
+ resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.0.3.tgz#184b48f62d92d7452bb31b323165c7f8bd02266d"
128
+ dependencies:
129
+ define-properties "^1.1.2"
130
+ es-abstract "^1.7.0"
131
+
125
132
  array-union@^1.0.1:
126
133
  version "1.0.2"
127
134
  resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39"
@@ -136,13 +143,6 @@ array-unique@^0.2.1:
136
143
  version "0.2.1"
137
144
  resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53"
138
145
 
139
- array.prototype.find@^2.0.1:
140
- version "2.0.3"
141
- resolved "https://registry.yarnpkg.com/array.prototype.find/-/array.prototype.find-2.0.3.tgz#08c3ec33e32ec4bab362a2958e686ae92f59271d"
142
- dependencies:
143
- define-properties "^1.1.2"
144
- es-abstract "^1.7.0"
145
-
146
146
  arrify@^1.0.0:
147
147
  version "1.0.1"
148
148
  resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
@@ -203,6 +203,12 @@ aws4@^1.2.1:
203
203
  version "1.5.0"
204
204
  resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.5.0.tgz#0a29ffb79c31c9e712eeb087e8e7a64b4a56d755"
205
205
 
206
+ axobject-query@^0.1.0:
207
+ version "0.1.0"
208
+ resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-0.1.0.tgz#62f59dbc59c9f9242759ca349960e7a2fe3c36c0"
209
+ dependencies:
210
+ ast-types-flow "0.0.7"
211
+
206
212
  babel-cli@^6.24.1:
207
213
  version "6.24.1"
208
214
  resolved "https://registry.yarnpkg.com/babel-cli/-/babel-cli-6.24.1.tgz#207cd705bba61489b2ea41b5312341cf6aca2283"
@@ -1283,12 +1289,18 @@ date-now@^0.1.4:
1283
1289
  version "0.1.4"
1284
1290
  resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
1285
1291
 
1286
- debug@2, debug@2.2.0, debug@^2.1.1, debug@^2.2.0, debug@~2.2.0:
1292
+ debug@2, debug@^2.1.1, debug@^2.2.0, debug@~2.2.0:
1287
1293
  version "2.2.0"
1288
1294
  resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da"
1289
1295
  dependencies:
1290
1296
  ms "0.7.1"
1291
1297
 
1298
+ debug@^2.6.8:
1299
+ version "2.6.8"
1300
+ resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc"
1301
+ dependencies:
1302
+ ms "2.0.0"
1303
+
1292
1304
  decamelize@^1.0.0, decamelize@^1.1.1:
1293
1305
  version "1.2.0"
1294
1306
  resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
@@ -1357,7 +1369,7 @@ diffie-hellman@^5.0.0:
1357
1369
  miller-rabin "^4.0.0"
1358
1370
  randombytes "^2.0.0"
1359
1371
 
1360
- doctrine@1.5.0, doctrine@^1.2.2:
1372
+ doctrine@1.5.0:
1361
1373
  version "1.5.0"
1362
1374
  resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa"
1363
1375
  dependencies:
@@ -1529,73 +1541,71 @@ escope@^3.6.0:
1529
1541
  esrecurse "^4.1.0"
1530
1542
  estraverse "^4.1.1"
1531
1543
 
1532
- eslint-config-airbnb-base@^11.1.0:
1533
- version "11.1.0"
1534
- resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-11.1.0.tgz#dc9b3ec70b8c74dcbe6d6257c9da3992c39ca2ca"
1544
+ eslint-config-airbnb-base@^11.2.0:
1545
+ version "11.2.0"
1546
+ resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-11.2.0.tgz#19a9dc4481a26f70904545ec040116876018f853"
1535
1547
 
1536
- eslint-config-airbnb@^14.1.0:
1537
- version "14.1.0"
1538
- resolved "https://registry.yarnpkg.com/eslint-config-airbnb/-/eslint-config-airbnb-14.1.0.tgz#355d290040bbf8e00bf8b4b19f4b70cbe7c2317f"
1548
+ eslint-config-airbnb@^15.0.1:
1549
+ version "15.0.2"
1550
+ resolved "https://registry.yarnpkg.com/eslint-config-airbnb/-/eslint-config-airbnb-15.0.2.tgz#7b99fa421d0c15aee3310d647644315b02ea24da"
1539
1551
  dependencies:
1540
- eslint-config-airbnb-base "^11.1.0"
1552
+ eslint-config-airbnb-base "^11.2.0"
1541
1553
 
1542
- eslint-config-shakacode@^14.1.1:
1543
- version "14.1.1"
1544
- resolved "https://registry.yarnpkg.com/eslint-config-shakacode/-/eslint-config-shakacode-14.1.1.tgz#bc31841c20799435c14ae7b008f04fc8e1d7f97a"
1554
+ eslint-config-shakacode@^15.0.0:
1555
+ version "15.0.0"
1556
+ resolved "https://registry.yarnpkg.com/eslint-config-shakacode/-/eslint-config-shakacode-15.0.0.tgz#186a6dd3b4e103aa5faaec8e771f865a10a6e55a"
1545
1557
  dependencies:
1546
1558
  babel-eslint "^7.1.1"
1547
- eslint-config-airbnb "^14.1.0"
1559
+ eslint-config-airbnb "^15.0.1"
1548
1560
 
1549
- eslint-import-resolver-node@^0.2.0:
1550
- version "0.2.3"
1551
- resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.2.3.tgz#5add8106e8c928db2cba232bcd9efa846e3da16c"
1561
+ eslint-import-resolver-node@^0.3.1:
1562
+ version "0.3.1"
1563
+ resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.1.tgz#4422574cde66a9a7b099938ee4d508a199e0e3cc"
1552
1564
  dependencies:
1553
- debug "^2.2.0"
1554
- object-assign "^4.0.1"
1555
- resolve "^1.1.6"
1565
+ debug "^2.6.8"
1566
+ resolve "^1.2.0"
1556
1567
 
1557
- eslint-module-utils@^2.0.0:
1558
- version "2.0.0"
1559
- resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.0.0.tgz#a6f8c21d901358759cdc35dbac1982ae1ee58bce"
1568
+ eslint-module-utils@^2.1.1:
1569
+ version "2.1.1"
1570
+ resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.1.1.tgz#abaec824177613b8a95b299639e1b6facf473449"
1560
1571
  dependencies:
1561
- debug "2.2.0"
1572
+ debug "^2.6.8"
1562
1573
  pkg-dir "^1.0.0"
1563
1574
 
1564
- eslint-plugin-import@^2.2.0:
1565
- version "2.2.0"
1566
- resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.2.0.tgz#72ba306fad305d67c4816348a4699a4229ac8b4e"
1575
+ eslint-plugin-import@^2.6.1:
1576
+ version "2.7.0"
1577
+ resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.7.0.tgz#21de33380b9efb55f5ef6d2e210ec0e07e7fa69f"
1567
1578
  dependencies:
1568
1579
  builtin-modules "^1.1.1"
1569
1580
  contains-path "^0.1.0"
1570
- debug "^2.2.0"
1581
+ debug "^2.6.8"
1571
1582
  doctrine "1.5.0"
1572
- eslint-import-resolver-node "^0.2.0"
1573
- eslint-module-utils "^2.0.0"
1583
+ eslint-import-resolver-node "^0.3.1"
1584
+ eslint-module-utils "^2.1.1"
1574
1585
  has "^1.0.1"
1575
1586
  lodash.cond "^4.3.0"
1576
1587
  minimatch "^3.0.3"
1577
- pkg-up "^1.0.0"
1588
+ read-pkg-up "^2.0.0"
1578
1589
 
1579
- eslint-plugin-jsx-a11y@^4.0.0:
1580
- version "4.0.0"
1581
- resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-4.0.0.tgz#779bb0fe7b08da564a422624911de10061e048ee"
1590
+ eslint-plugin-jsx-a11y@^5.1.1:
1591
+ version "5.1.1"
1592
+ resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-5.1.1.tgz#5c96bb5186ca14e94db1095ff59b3e2bd94069b1"
1582
1593
  dependencies:
1583
- aria-query "^0.3.0"
1594
+ aria-query "^0.7.0"
1595
+ array-includes "^3.0.3"
1584
1596
  ast-types-flow "0.0.7"
1597
+ axobject-query "^0.1.0"
1585
1598
  damerau-levenshtein "^1.0.0"
1586
1599
  emoji-regex "^6.1.0"
1587
- jsx-ast-utils "^1.0.0"
1588
- object-assign "^4.0.1"
1600
+ jsx-ast-utils "^1.4.0"
1589
1601
 
1590
- eslint-plugin-react@^6.10.3:
1591
- version "6.10.3"
1592
- resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-6.10.3.tgz#c5435beb06774e12c7db2f6abaddcbf900cd3f78"
1602
+ eslint-plugin-react@^7.1.0:
1603
+ version "7.1.0"
1604
+ resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.1.0.tgz#27770acf39f5fd49cd0af4083ce58104eb390d4c"
1593
1605
  dependencies:
1594
- array.prototype.find "^2.0.1"
1595
- doctrine "^1.2.2"
1606
+ doctrine "^2.0.0"
1596
1607
  has "^1.0.1"
1597
- jsx-ast-utils "^1.3.4"
1598
- object.assign "^4.0.4"
1608
+ jsx-ast-utils "^1.4.1"
1599
1609
 
1600
1610
  eslint@^3.19.0:
1601
1611
  version "3.19.0"
@@ -1795,6 +1805,12 @@ find-up@^1.0.0:
1795
1805
  path-exists "^2.0.0"
1796
1806
  pinkie-promise "^2.0.0"
1797
1807
 
1808
+ find-up@^2.0.0:
1809
+ version "2.1.0"
1810
+ resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7"
1811
+ dependencies:
1812
+ locate-path "^2.0.0"
1813
+
1798
1814
  flat-cache@^1.2.1:
1799
1815
  version "1.2.1"
1800
1816
  resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.2.1.tgz#6c837d6225a7de5659323740b36d5361f71691ff"
@@ -2453,12 +2469,9 @@ jsprim@^1.2.2:
2453
2469
  json-schema "0.2.3"
2454
2470
  verror "1.3.6"
2455
2471
 
2456
- jsx-ast-utils@^1.0.0, jsx-ast-utils@^1.3.4:
2457
- version "1.3.5"
2458
- resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-1.3.5.tgz#9ba6297198d9f754594d62e59496ffb923778dd4"
2459
- dependencies:
2460
- acorn-jsx "^3.0.1"
2461
- object-assign "^4.1.0"
2472
+ jsx-ast-utils@^1.4.0, jsx-ast-utils@^1.4.1:
2473
+ version "1.4.1"
2474
+ resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-1.4.1.tgz#3867213e8dd79bf1e8f2300c0cfc1efb182c0df1"
2462
2475
 
2463
2476
  kind-of@^3.0.2:
2464
2477
  version "3.0.4"
@@ -2499,6 +2512,15 @@ load-json-file@^1.0.0:
2499
2512
  pinkie-promise "^2.0.0"
2500
2513
  strip-bom "^2.0.0"
2501
2514
 
2515
+ load-json-file@^2.0.0:
2516
+ version "2.0.0"
2517
+ resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8"
2518
+ dependencies:
2519
+ graceful-fs "^4.1.2"
2520
+ parse-json "^2.2.0"
2521
+ pify "^2.0.0"
2522
+ strip-bom "^3.0.0"
2523
+
2502
2524
  loader-runner@^2.3.0:
2503
2525
  version "2.3.0"
2504
2526
  resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2"
@@ -2512,6 +2534,13 @@ loader-utils@^0.2.16:
2512
2534
  json5 "^0.5.0"
2513
2535
  object-assign "^4.0.1"
2514
2536
 
2537
+ locate-path@^2.0.0:
2538
+ version "2.0.0"
2539
+ resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e"
2540
+ dependencies:
2541
+ p-locate "^2.0.0"
2542
+ path-exists "^3.0.0"
2543
+
2515
2544
  lodash-es@^4.2.1:
2516
2545
  version "4.16.4"
2517
2546
  resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.16.4.tgz#4dc3e2cf33a8c343028aa7f7e06d1c9697042599"
@@ -2634,6 +2663,10 @@ ms@0.7.1:
2634
2663
  version "0.7.1"
2635
2664
  resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.1.tgz#9cd13c03adbff25b65effde7ce864ee952017098"
2636
2665
 
2666
+ ms@2.0.0:
2667
+ version "2.0.0"
2668
+ resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
2669
+
2637
2670
  mute-stream@0.0.5:
2638
2671
  version "0.0.5"
2639
2672
  resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.5.tgz#8fbfabb0a98a253d3184331f9e8deb7372fac6c0"
@@ -2755,18 +2788,10 @@ object-inspect@~1.2.1:
2755
2788
  version "1.2.1"
2756
2789
  resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.2.1.tgz#3b62226eb8f6d441751c7d8f22a20ff80ac9dc3f"
2757
2790
 
2758
- object-keys@^1.0.10, object-keys@^1.0.8:
2791
+ object-keys@^1.0.8:
2759
2792
  version "1.0.11"
2760
2793
  resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d"
2761
2794
 
2762
- object.assign@^4.0.4:
2763
- version "4.0.4"
2764
- resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.0.4.tgz#b1c9cc044ef1b9fe63606fc141abbb32e14730cc"
2765
- dependencies:
2766
- define-properties "^1.1.2"
2767
- function-bind "^1.1.0"
2768
- object-keys "^1.0.10"
2769
-
2770
2795
  object.omit@^2.0.0:
2771
2796
  version "2.0.1"
2772
2797
  resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa"
@@ -2833,6 +2858,16 @@ output-file-sync@^1.1.0:
2833
2858
  mkdirp "^0.5.1"
2834
2859
  object-assign "^4.1.0"
2835
2860
 
2861
+ p-limit@^1.1.0:
2862
+ version "1.1.0"
2863
+ resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.1.0.tgz#b07ff2d9a5d88bec806035895a2bab66a27988bc"
2864
+
2865
+ p-locate@^2.0.0:
2866
+ version "2.0.0"
2867
+ resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43"
2868
+ dependencies:
2869
+ p-limit "^1.1.0"
2870
+
2836
2871
  pako@~0.2.0:
2837
2872
  version "0.2.9"
2838
2873
  resolved "https://registry.yarnpkg.com/pako/-/pako-0.2.9.tgz#f3f7522f4ef782348da8161bad9ecfd51bf83a75"
@@ -2884,6 +2919,10 @@ path-exists@^2.0.0:
2884
2919
  dependencies:
2885
2920
  pinkie-promise "^2.0.0"
2886
2921
 
2922
+ path-exists@^3.0.0:
2923
+ version "3.0.0"
2924
+ resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
2925
+
2887
2926
  path-is-absolute@^1.0.0:
2888
2927
  version "1.0.1"
2889
2928
  resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
@@ -2892,6 +2931,10 @@ path-is-inside@^1.0.1:
2892
2931
  version "1.0.2"
2893
2932
  resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53"
2894
2933
 
2934
+ path-parse@^1.0.5:
2935
+ version "1.0.5"
2936
+ resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1"
2937
+
2895
2938
  path-type@^1.0.0:
2896
2939
  version "1.1.0"
2897
2940
  resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441"
@@ -2900,6 +2943,12 @@ path-type@^1.0.0:
2900
2943
  pify "^2.0.0"
2901
2944
  pinkie-promise "^2.0.0"
2902
2945
 
2946
+ path-type@^2.0.0:
2947
+ version "2.0.0"
2948
+ resolved "https://registry.yarnpkg.com/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73"
2949
+ dependencies:
2950
+ pify "^2.0.0"
2951
+
2903
2952
  pbkdf2@^3.0.3:
2904
2953
  version "3.0.9"
2905
2954
  resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.9.tgz#f2c4b25a600058b3c3773c086c37dbbee1ffe693"
@@ -2926,12 +2975,6 @@ pkg-dir@^1.0.0:
2926
2975
  dependencies:
2927
2976
  find-up "^1.0.0"
2928
2977
 
2929
- pkg-up@^1.0.0:
2930
- version "1.0.0"
2931
- resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-1.0.0.tgz#3e08fb461525c4421624a33b9f7e6d0af5b05a26"
2932
- dependencies:
2933
- find-up "^1.0.0"
2934
-
2935
2978
  plur@^1.0.0:
2936
2979
  version "1.0.0"
2937
2980
  resolved "https://registry.yarnpkg.com/plur/-/plur-1.0.0.tgz#db85c6814f5e5e5a3b49efc28d604fec62975156"
@@ -3059,9 +3102,6 @@ react-dom@^15.5.4:
3059
3102
  object-assign "^4.1.0"
3060
3103
  prop-types "~15.5.7"
3061
3104
 
3062
- "react-on-rails@file:./":
3063
- version "6.10.0"
3064
-
3065
3105
  react-proxy@^1.1.7:
3066
3106
  version "1.1.8"
3067
3107
  resolved "https://registry.yarnpkg.com/react-proxy/-/react-proxy-1.1.8.tgz#9dbfd9d927528c3aa9f444e4558c37830ab8c26a"
@@ -3092,6 +3132,13 @@ read-pkg-up@^1.0.1:
3092
3132
  find-up "^1.0.0"
3093
3133
  read-pkg "^1.0.0"
3094
3134
 
3135
+ read-pkg-up@^2.0.0:
3136
+ version "2.0.0"
3137
+ resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be"
3138
+ dependencies:
3139
+ find-up "^2.0.0"
3140
+ read-pkg "^2.0.0"
3141
+
3095
3142
  read-pkg@^1.0.0:
3096
3143
  version "1.1.0"
3097
3144
  resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28"
@@ -3100,6 +3147,14 @@ read-pkg@^1.0.0:
3100
3147
  normalize-package-data "^2.3.2"
3101
3148
  path-type "^1.0.0"
3102
3149
 
3150
+ read-pkg@^2.0.0:
3151
+ version "2.0.0"
3152
+ resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8"
3153
+ dependencies:
3154
+ load-json-file "^2.0.0"
3155
+ normalize-package-data "^2.3.2"
3156
+ path-type "^2.0.0"
3157
+
3103
3158
  readable-stream@^2.0.0, "readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.1.0, readable-stream@^2.2.2:
3104
3159
  version "2.2.9"
3105
3160
  resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.9.tgz#cf78ec6f4a6d1eb43d26488cac97f042e74b7fc8"
@@ -3287,6 +3342,12 @@ resolve@^1.1.6, resolve@~1.1.7:
3287
3342
  version "1.1.7"
3288
3343
  resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
3289
3344
 
3345
+ resolve@^1.2.0:
3346
+ version "1.3.3"
3347
+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.3.3.tgz#655907c3469a8680dc2de3a275a8fdd69691f0e5"
3348
+ dependencies:
3349
+ path-parse "^1.0.5"
3350
+
3290
3351
  restore-cursor@^1.0.1:
3291
3352
  version "1.0.1"
3292
3353
  resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.6
4
+ version: 9.0.0.beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-20 00:00:00.000000000 Z
11
+ date: 2017-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rainbow
@@ -396,7 +396,7 @@ files:
396
396
  - lib/generators/react_on_rails/templates/base/base/client/package.json.tt
397
397
  - lib/generators/react_on_rails/templates/base/base/client/webpack.config.js
398
398
  - lib/generators/react_on_rails/templates/base/base/config/initializers/react_on_rails.rb.tt
399
- - lib/generators/react_on_rails/templates/base/base/config/webpacker_lite.yml
399
+ - lib/generators/react_on_rails/templates/base/base/config/webpacker.yml
400
400
  - lib/generators/react_on_rails/templates/base/base/package.json.tt
401
401
  - lib/generators/react_on_rails/templates/dev_tests/.rspec
402
402
  - lib/generators/react_on_rails/templates/dev_tests/spec/features/hello_world_spec.rb
@@ -470,9 +470,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
470
470
  version: 2.0.0
471
471
  required_rubygems_version: !ruby/object:Gem::Requirement
472
472
  requirements:
473
- - - ">="
473
+ - - ">"
474
474
  - !ruby/object:Gem::Version
475
- version: '0'
475
+ version: 1.3.1
476
476
  requirements: []
477
477
  rubyforge_project:
478
478
  rubygems_version: 2.6.12
@@ -1,27 +0,0 @@
1
- # Note: Base output directory of /public is assumed for static files
2
- default: &default
3
- manifest: manifest.json
4
- # Used in your webpack configuration. Must be created in the
5
- # webpack_public_output_dir folder
6
-
7
- development:
8
- <<: *default
9
- # generated files for development, in /public/webpack/development
10
- webpack_public_output_dir: webpack/development
11
-
12
- # Default is localhost:3500
13
- hot_reloading_host: localhost:3500
14
-
15
- # Developer note: considering removing this option so it can ONLY be turned by using an ENV value.
16
- # Default is false, ENV 'HOT_RELOAD' will always override
17
- hot_reloading_enabled_by_default: false
18
-
19
- test:
20
- <<: *default
21
- # generated files for tests, in /public/webpack/test
22
- webpack_public_output_dir: webpack/test
23
-
24
- production:
25
- <<: *default
26
- # generated files for tests, in /public/webpack/production
27
- webpack_public_output_dir: webpack/production