Skip to content

Commit

Permalink
Change prepublish to prepare (#1090)
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 authored May 16, 2018
1 parent 2411d14 commit 56387b6
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 15 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"scripts": {
"test": "babel-tape-runner -r node_package/tests/helpers/test_helper.js node_package/tests/*.js | tap-spec",
"clean": "rm -rf node_package/lib",
"prepublish": "yarn run build",
"prepare": "yarn run build",
"prepublish": "check-node-version --npm \">=4\" || npm run prepare",
"babel": "babel --out-dir node_package/lib node_package/src",
"build": "yarn run clean && yarn run babel",
"build-watch": "babel --watch --out-dir node_package/lib node_package/src",
Expand Down
6 changes: 3 additions & 3 deletions spec/dummy/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GIT
PATH
remote: ../..
specs:
react_on_rails (11.0.5)
react_on_rails (11.0.6)
addressable
connection_pool
execjs (~> 2.5)
Expand Down Expand Up @@ -150,7 +150,7 @@ GEM
minitest (5.11.3)
msgpack (1.2.4)
multi_json (1.13.1)
nio4r (2.3.0)
nio4r (2.3.1)
nokogiri (1.8.2)
mini_portile2 (~> 2.3.0)
parallel (1.12.1)
Expand Down Expand Up @@ -180,7 +180,7 @@ GEM
pry (>= 0.9.11)
public_suffix (3.0.2)
puma (3.11.4)
rack (2.0.4)
rack (2.0.5)
rack-proxy (0.6.4)
rack
rack-test (1.0.0)
Expand Down
2 changes: 1 addition & 1 deletion spec/dummy/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"react-dom": "^15.6.1",
"react-helmet": "^5.1.3",
"react-hot-loader": "^3.0.0-beta.6",
"react-on-rails": "11.0.5",
"react-on-rails": "11.0.6",
"react-proptypes": "^1.0.0",
"react-redux": "^5.0.5",
"react-router": "3.0.5",
Expand Down
6 changes: 3 additions & 3 deletions spec/dummy/client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4521,9 +4521,9 @@ react-hot-loader@^3.0.0-beta.6:
redbox-react "^1.3.6"
source-map "^0.4.4"

[email protected].5:
version "11.0.5"
resolved "https://registry.yarnpkg.com/react-on-rails/-/react-on-rails-11.0.5.tgz#578a149ed860b8a0bbf71353466fc3a02dd31243"
[email protected].6:
version "11.0.6"
resolved "https://registry.yarnpkg.com/react-on-rails/-/react-on-rails-11.0.6.tgz#edb25ea9a0e3cbacbb517598e21dc0618e1fd7e2"

react-proptypes@^1.0.0:
version "1.0.0"
Expand Down
6 changes: 3 additions & 3 deletions spec/dummy_no_webpacker/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GIT
PATH
remote: ../..
specs:
react_on_rails (11.0.3)
react_on_rails (11.0.6)
addressable
connection_pool
execjs (~> 2.5)
Expand Down Expand Up @@ -147,7 +147,7 @@ GEM
libv8 (~> 6.3)
minitest (5.11.3)
multi_json (1.13.1)
nio4r (2.3.0)
nio4r (2.3.1)
nokogiri (1.8.2)
mini_portile2 (~> 2.3.0)
parallel (1.12.1)
Expand Down Expand Up @@ -177,7 +177,7 @@ GEM
pry (>= 0.9.11)
public_suffix (3.0.2)
puma (3.11.4)
rack (2.0.4)
rack (2.0.5)
rack-test (1.0.0)
rack (>= 1.0, < 3)
rails (5.2.0)
Expand Down
2 changes: 1 addition & 1 deletion spec/dummy_no_webpacker/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"react-dom": "^15.6.1",
"react-helmet": "^5.1.3",
"react-hot-loader": "^3.0.0-beta.6",
"react-on-rails": "11.0.5",
"react-on-rails": "11.0.6",
"react-proptypes": "^1.0.0",
"react-redux": "^5.0.5",
"react-router": "3.0.5",
Expand Down
6 changes: 3 additions & 3 deletions spec/dummy_no_webpacker/client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5538,9 +5538,9 @@ react-hot-loader@^3.0.0-beta.6:
redbox-react "^1.3.6"
source-map "^0.6.1"

[email protected].5:
version "11.0.5"
resolved "https://registry.yarnpkg.com/react-on-rails/-/react-on-rails-11.0.5.tgz#578a149ed860b8a0bbf71353466fc3a02dd31243"
[email protected].6:
version "11.0.6"
resolved "https://registry.yarnpkg.com/react-on-rails/-/react-on-rails-11.0.6.tgz#edb25ea9a0e3cbacbb517598e21dc0618e1fd7e2"

react-proptypes@^1.0.0:
version "1.0.0"
Expand Down

0 comments on commit 56387b6

Please sign in to comment.