Skip to content

Commit 33bb1cc

Browse files
authored
Merge pull request nicka#7 from nicka/release/1.1.0
Release/1.1.0
2 parents 9d95c79 + 400acc6 commit 33bb1cc

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,34 @@
88

99
Plugin for Serverless Framework v1.x which compares your local AWS CloudFormation templates against deployed ones.
1010

11-
## Usage
11+
# Usage
1212

1313
```bash
1414
serverless deploy diff --stage REPLACEME --region REPLACEME
1515
```
1616

1717
<img width="1255" alt="screen shot 2016-11-05 at 14 53 04" src="https://cloud.githubusercontent.com/assets/195404/20030536/9e1a552c-a367-11e6-8e6d-2043f2a5d038.png">
1818

19-
## Install
19+
## Command options
20+
21+
```bash
22+
--diffTool ksdiff
23+
```
24+
25+
Custom diff tool:
26+
27+
>Defaults to `diff`
28+
29+
30+
```bash
31+
--localTemplate foo.json
32+
```
33+
34+
Custom CloudFormation template to diff against:
35+
36+
>Defaults to `./serverless/cloudformation-template-update-stack.json`
37+
38+
# Install
2039

2140
Execute npm install in your Serverless project.
2241

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ServerlessPlugin {
1212

1313
this.commands = {
1414
diff: {
15-
usage: 'Compares locale AWS CloudFormation templates against deployed ones',
15+
usage: 'Compares local AWS CloudFormation templates against deployed ones',
1616
lifecycleEvents: ['diff'],
1717
options: {
1818
diffTool: {

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "serverless-plugin-diff",
3-
"version": "1.0.3",
3+
"version": "1.1.0",
44
"description": "Plugin for Serverless Framework v1.x which compares your local AWS CloudFormation templates against deployed ones.",
55
"main": "lib/index.js",
66
"scripts": {
@@ -18,6 +18,14 @@
1818
"repository": {
1919
"git": "https://github.com/nicka/serverless-plugin-diff"
2020
},
21+
"homepage": "https://github.com/nicka/serverless-plugin-diff",
22+
"keywords": [
23+
"aws",
24+
"diff",
25+
"lambda",
26+
"plugin",
27+
"serverless"
28+
],
2129
"dependencies": {
2230
"aws-sdk": "^2.6.15",
2331
"child-process-promise": "^2.2.0",

0 commit comments

Comments
 (0)