Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

fix(NA): add a return after first post-install when it should install dev dependencies. #218

Merged
merged 5 commits into from
Jul 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

### vNEXT
- Return after first post-install when it should install dev dependencies [PR #218](https://github.com/apollographql/subscriptions-transport-ws/pull/218)

### 0.8.0
- Expose opId `onOperationComplete` method [PR #211](https://github.com/apollographql/subscriptions-transport-ws/pull/211)
Expand Down
1 change: 1 addition & 0 deletions scripts/post-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function exec(command) {
stat('dist', function(error, stat) {
if (process && process.env && process.env.npm_config_only !== 'dev') {
exec('npm install --only=dev');
return;
}

if (error || !stat.isDirectory()) {
Expand Down