Skip to content

Commit a352eb2

Browse files
committed
Merge pull request #379 from brucek/react_15
Updating to react 15
2 parents 5929b3a + 8ce8935 commit a352eb2

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

lib/generators/react_on_rails/templates/base/base/client/package.json.tt

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@
7171
<%- if options.redux? -%>
7272
"mirror-creator": "1.1.0",
7373
<%- end -%>
74-
"react": "^0.14.8",
74+
"react": "^0.14.8 || ^15.0.0",
7575
<%- unless options.skip_bootstrap? -%>
7676
"react-bootstrap": "^0.28.5",
7777
<%- end -%>
78-
"react-dom": "^0.14.8",
78+
"react-dom": "^0.14.8 || ^15.0.0",
7979
"react-on-rails": "<%= VersionSyntaxConverter.new.rubygem_to_npm %>",
8080
<%- if options.redux? -%>
8181
"react-redux": "^4.4.1",

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"eslint-plugin-react": "^4.2.3",
2525
"jscs": "^2.11.0",
2626
"jsdom": "^8.2.0",
27-
"react": "^0.14.8",
28-
"react-dom": "^0.14.8",
27+
"react": "^15.0.0",
28+
"react-dom": "^15.0.0",
2929
"react-transform-hmr": "^1.0.4",
3030
"redux": "^3.3.1",
3131
"release-it": "^2.3.1",

spec/dummy/Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if ENV["DISABLE_TURBOLINKS"].nil? || ENV["DISABLE_TURBOLINKS"].strip.empty?
2323
if ENV["ENABLE_TURBOLINKS_5"].nil? || ENV["ENABLE_TURBOLINKS_5"].strip.empty?
2424
gem 'turbolinks', '2.5.3'
2525
else
26-
gem 'turbolinks', '~> 5.0.0.beta'
26+
gem 'turbolinks', '~> 5.0.0.beta2'
2727
end
2828
end
2929

spec/dummy/client/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"node-libs-browser": "^1.0.0",
3333
"node-sass": "^3.4.2",
3434
"postcss-loader": "^0.8.2",
35-
"react": "^0.14.8",
36-
"react-dom": "^0.14.8",
35+
"react": "^15.0.0",
36+
"react-dom": "^15.0.0",
3737
"react-on-rails": "../../..",
3838
"react-redux": "^4.4.1",
3939
"react-router": "^2.0.1",

0 commit comments

Comments
 (0)