File tree 4 files changed +7
-7
lines changed
lib/generators/react_on_rails/templates/base/base/client
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 71
71
<%- if options.redux? -%>
72
72
"mirror-creator": "1.1.0",
73
73
<%- end -%>
74
- "react": "^0.14.8",
74
+ "react": "^0.14.8 || ^15.0.0 ",
75
75
<%- unless options.skip_bootstrap? -%>
76
76
"react-bootstrap": "^0.28.5",
77
77
<%- end -%>
78
- "react-dom": "^0.14.8",
78
+ "react-dom": "^0.14.8 || ^15.0.0 ",
79
79
"react-on-rails": "<%= VersionSyntaxConverter.new.rubygem_to_npm %>",
80
80
<%- if options.redux? -%>
81
81
"react-redux": "^4.4.1",
Original file line number Diff line number Diff line change 24
24
"eslint-plugin-react" : " ^4.2.3" ,
25
25
"jscs" : " ^2.11.0" ,
26
26
"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 " ,
29
29
"react-transform-hmr" : " ^1.0.4" ,
30
30
"redux" : " ^3.3.1" ,
31
31
"release-it" : " ^2.3.1" ,
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ if ENV["DISABLE_TURBOLINKS"].nil? || ENV["DISABLE_TURBOLINKS"].strip.empty?
23
23
if ENV [ "ENABLE_TURBOLINKS_5" ] . nil? || ENV [ "ENABLE_TURBOLINKS_5" ] . strip . empty?
24
24
gem 'turbolinks' , '2.5.3'
25
25
else
26
- gem 'turbolinks' , '~> 5.0.0.beta '
26
+ gem 'turbolinks' , '~> 5.0.0.beta2 '
27
27
end
28
28
end
29
29
Original file line number Diff line number Diff line change 32
32
"node-libs-browser" : " ^1.0.0" ,
33
33
"node-sass" : " ^3.4.2" ,
34
34
"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 " ,
37
37
"react-on-rails" : " ../../.." ,
38
38
"react-redux" : " ^4.4.1" ,
39
39
"react-router" : " ^2.0.1" ,
You can’t perform that action at this time.
0 commit comments