Skip to content

Commit 2ff2cad

Browse files
committed
Merge pull request motdotla#92 from DeviaVir/bump/0.8.1
Version 0.8.1
2 parents 1e97000 + 7685b82 commit 2ff2cad

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1919
- Added support for `post install scripts`, this `post_install.sh` file will be triggered after `npm install --production` in case you want to run any code on your application before zipping
2020
- Added `-x` / `--excludeGlobs` to allow custom file exclusion
2121
- Excluding `*.swp`, `deploy.env` by default now
22+
23+
## [0.8.1] - 2016-04-22
24+
### Bugfixes
25+
- Resolved a problem with excludes not being set [#91](https://github.com/motdotla/node-lambda/pull/91)
26+
- Resolved a problem with the package command and a custom config file [#90](https://github.com/motdotla/node-lambda/pull/90)
27+
- Allow `use strict` [#86](https://github.com/motdotla/node-lambda/pull/86)
28+
- Updated the `env.example` file to set the default (and by AWS recommended) runtime to `nodejs4.3` [#84](https://github.com/motdotla/node-lambda/pull/84)

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Lambda.prototype._zipfileTmpPath = function (program) {
138138
};
139139

140140
Lambda.prototype._rsync = function (program, codeDirectory, callback) {
141-
var excludes = ['.git*', '*.swp', '.editorconfig', 'deploy.env', '*.log', 'build/'],
141+
var excludes = ['.git*', '*.swp', '.editorconfig', 'deploy.env', '*.log', 'build/', 'node_modules'],
142142
excludeGlobs = [];
143143
if (program.excludeGlobs) {
144144
excludeGlobs = program.excludeGlobs.split(' ');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-lambda",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"description": "Command line tool for locally running and remotely deploying your node.js applications to Amazon Lambda.",
55
"main": "lib/main.js",
66
"directories": {

test/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('node-lambda', function () {
3232
});
3333

3434
it('version should be set', function () {
35-
assert.equal(lambda.version, '0.8.0');
35+
assert.equal(lambda.version, '0.8.1');
3636
});
3737

3838
describe('_params', function () {

0 commit comments

Comments
 (0)