Skip to content

Commit ddcbb69

Browse files
committed
Various updates preparing for 2.0.0
1 parent 189b7d8 commit ddcbb69

File tree

5 files changed

+41
-10
lines changed

5 files changed

+41
-10
lines changed

.github/workflows/unittests.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Lambda-local unit tests
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
# The branches below must be a subset of the branches above
8+
branches: [master]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
node-version: [8.x, 10.x, 12.x, 14.x, 15.x]
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- run: npm ci
23+
- run: npm run build --if-present
24+
- run: npm test

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# ChangeLog
22

3+
## 2.0.0 (2021/06/19)
4+
* **BREAKING CHANGE: removed aws-sdk dependency**. This allows to make `lambda-local` significantly smaller
5+
* Bump depencies
6+
* Move CI
7+
* Minor CLI fixes
8+
39
## 1.7.4 (2020/10/12)
410
* Fix crash when an Error is raised with no stack (#GH202)
511
* Add --version and `lambdaLocal.version` support

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lambda-local",
3-
"version": "1.7.4",
3+
"version": "2.0.0",
44
"description": "Commandline tool to run Lambda functions on your local machine.",
55
"main": "build/lambdalocal.js",
66
"types": "build/lambdalocal.d.ts",
@@ -36,16 +36,16 @@
3636
"node": ">=6"
3737
},
3838
"dependencies": {
39-
"commander": "^6.1.0",
40-
"dotenv": "^8.2.0",
41-
"winston": "^3.2.1"
39+
"commander": "^7.2.0",
40+
"dotenv": "^10.0.0",
41+
"winston": "^3.3.3"
4242
},
4343
"devDependencies": {
44-
"@types/node": "^14.0.10",
45-
"chai": "^4.2.0",
46-
"mocha": "^7.2.0",
47-
"sinon": "^9.0.2",
48-
"typescript": "^4.0.3"
44+
"@types/node": "^15.12.4",
45+
"chai": "^4.3.4",
46+
"mocha": "^9.0.1",
47+
"sinon": "^11.1.1",
48+
"typescript": "^4.3.4"
4949
},
5050
"preferGlobal": true,
5151
"repository": {

src/cli.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import utils = require('./lib/utils');
1414
// process opts
1515
var program = require('commander');
1616
program
17+
.storeOptionsAsProperties()
1718
.name('lambda-local')
1819
.version(lambdaLocal.version)
1920
.option('-l, --lambda-path <lambda index path>', '(required) Lambda function file name.')

src/lambdalocal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import Context = require('./lib/context.js');
1717
/*
1818
* Lambda local version
1919
*/
20-
export const version = "1.7.4";
20+
export const version = "2.0.0";
2121

2222
var logger = utils.getWinstonConsole();
2323

0 commit comments

Comments
 (0)