eb-fix-npm
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "eb-fix-npm", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Fixes npm in Elastic Beanstalk environments.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
# eb-fix-npm | ||
This module installs an `.ebextensions` config file that will fix npm in various | ||
ways in AWS Elastic Beanstalk. | ||
ways in AWS Elastic Beanstalk to make your deploys faster and more reliable. | ||
@@ -9,4 +9,6 @@ The config file will do this by installing deployment hooks that perform setup | ||
* Downgrade npm to npm 2 because npm 3 is too slow for EB (deploys will time out) | ||
* Downgrade npm to npm 2 because npm 3 is too slow to install packages for EB (deploys will time out) | ||
* Cache Node modules between deploys | ||
* Only install (don't rebuild) Node modules on application deploy | ||
* Only rebuild (don't install) Node modules on configuration deploy | ||
* Remove npm temp files [leftover](https://github.com/npm/npm/issues/6855) by installing from shrinkwrap | ||
@@ -20,3 +22,3 @@ | ||
1. `npm install eb-fix-npm --save` | ||
1. `npm install eb-fix-npm --save-dev` (see [here](https://github.com/mixmaxhq/install-files/blob/master/README.md#installation) for why `--save-dev`) | ||
2. Commit the `.ebextensions` file it creates. | ||
@@ -42,3 +44,4 @@ 3. Deploy. | ||
* 1.2.0 Avoid unnecessarily installing/rebuilding Node modules | ||
* 1.1.0 Cache Node modules between deploys | ||
* 1.0.0 Initial commit | ||
* 1.0.0 Initial commit |
Sorry, the diff of this file is not supported yet
7715
45