Skip to content

Commit 33c1aaf

Browse files
authored
Merge pull request #646 from reactjs/update-react
feat(react.js) build with yarn; update to React 15.4.1
2 parents b95d6e5 + f73d596 commit 33c1aaf

File tree

12 files changed

+18957
-17368
lines changed

12 files changed

+18957
-17368
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ gemfiles/*.lock
77
/vendor/react
88
react-builds/node_modules
99
react-builds/build
10+
coverage/

Rakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace :react do
1919
desc "Build the JS bundles with Webpack"
2020
task :build do
2121
Dir.chdir("react-builds") do
22-
`npm run build`
22+
`yarn run build`
2323
end
2424
end
2525

@@ -37,10 +37,10 @@ namespace :react do
3737
end
3838
end
3939

40-
desc "Use NPM to install the JavaScript dependencies"
40+
desc "Install the JavaScript dependencies"
4141
task :install do
4242
Dir.chdir("react-builds") do
43-
`npm install`
43+
`yarn install`
4444
end
4545
end
4646
end

0 commit comments

Comments
 (0)