Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
upgrade deps and fix type error in template
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejhiggs committed Jan 21, 2018
1 parent 3254512 commit 7d66e94
Show file tree
Hide file tree
Showing 4 changed files with 681 additions and 130 deletions.
2 changes: 1 addition & 1 deletion example/mynicefunction/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const func: Handler = (event, context, callback) => {
return;
}

callback(null, { key1: `${event.key1}`}); // Echo back the value in the property key1
callback(undefined, { key1: `${event.key1}`}); // Echo back the value in the property key1
};

export default func;
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-lambda-typescript",
"version": "1.0.1",
"version": "1.0.2",
"description": "simple build pipeline for creating lambda functions in typescript",
"main": "index.js",
"scripts": {
Expand All @@ -22,24 +22,24 @@
},
"homepage": "https://github.com/stevejhiggs/aws-lambda-typescript#readme",
"dependencies": {
"@types/aws-lambda": "0.0.17",
"@types/node": "^8.0.34",
"aws-sdk": "^2.133.0",
"@types/aws-lambda": "0.0.27",
"@types/node": "^9.3.0",
"aws-sdk": "^2.185.0",
"body-parser": "^1.18.2",
"copy": "^0.3.1",
"del": "^3.0.0",
"express": "^4.16.2",
"gulp": "^3.9.1",
"gulp-install": "^1.1.0",
"gulp-util": "^3.0.8",
"gulp-webpack-typescript-pipeline": "^8.0.0",
"gulp-zip": "^4.0.0",
"gulp-webpack-typescript-pipeline": "^9.0.1",
"gulp-zip": "^4.1.0",
"node-aws-lambda": "^0.1.8",
"pino-http": "^2.6.2",
"run-sequence": "^2.2.0",
"ts-node": "^3.3.0"
"pino-http": "^3.0.1",
"run-sequence": "^2.2.1",
"ts-node": "^4.1.0"
},
"devDependencies": {
"eslint-config-airbnb": "^16.0.0"
"eslint-config-airbnb": "^16.1.0"
}
}
2 changes: 1 addition & 1 deletion templates/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const func: Handler = (event, context, callback) => {
return;
}

callback(null, { key1: `${event.key1}`}); // Echo back the value in the property key1
callback(undefined, { key1: `${event.key1}`}); // Echo back the value in the property key1
};

export default func;
Loading

0 comments on commit 7d66e94

Please sign in to comment.