Skip to content

Commit

Permalink
Trigger npm i in all child packages when triggered in parent (#3930)
Browse files Browse the repository at this point in the history
* Trigger `npm i` in all child packages when triggered in parent

* Restore previous Boost bundlesize threshold

Now that we've fixed `npm install`ing child packages properly,
our revised `apollo-boost` bundle sizes are off. This lines the
limit back up with (current) reality.
  • Loading branch information
hwillson authored Sep 19, 2018
1 parent f60a9ec commit c1fb165
Show file tree
Hide file tree
Showing 7 changed files with 192 additions and 11,964 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"license": "MIT",
"scripts": {
"postinstall": "lerna run prepare",
"postinstall": "lerna exec -- npm install && lerna run prepare",
"diff": "check-if-folder-contents-changed-in-git-commit-range",
"build": "lerna run build",
"test": "jest --verbose",
Expand Down Expand Up @@ -39,7 +39,7 @@
{
"name": "apollo-boost",
"path": "./packages/apollo-boost/lib/bundle.min.js",
"maxSize": "22 kB"
"maxSize": "35 kB"
},
{
"name": "apollo-utilities",
Expand Down
171 changes: 102 additions & 69 deletions packages/apollo-boost/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c1fb165

Please sign in to comment.