Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "eb-fix-npm", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Fixes npm in Elastic Beanstalk environments.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -7,4 +7,8 @@ # eb-fix-npm | ||
The config file will do this by installing deployment hooks that perform setup | ||
and cleanup related to Elastic Beanstalk's use of npm. | ||
and cleanup related to Elastic Beanstalk's use of npm: | ||
* Downgrade npm to npm 2 because npm 3 is too slow for EB (deploys will time out) | ||
* Cache Node modules between deploys | ||
* Remove npm temp files [leftover](https://github.com/npm/npm/issues/6855) by installing from shrinkwrap | ||
The hooks expect that you're running the | ||
@@ -29,2 +33,11 @@ [latest Node.js configuration](http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html#concepts.platforms.nodejs) | ||
this module after installing the `.ebextensions` file. Uninstallation won't take | ||
the file with it. | ||
the file with it. | ||
## Acknowledgements | ||
Some of the hooks are based on logic from https://github.com/kopurando/better-faster-elastic-beanstalk. | ||
## Release History | ||
* 1.1.0 Cache Node modules between deploys | ||
* 1.0.0 Initial commit |
Sorry, the diff of this file is not supported yet
5675
41