Skip to content

Commit d428a49

Browse files
committed
Fix documentation
1 parent 6d5947a commit d428a49

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ logical ID used during creation of the CloudFormation templates.
1111

1212
## Installation
1313

14-
```
14+
```bash
1515
npm i -D serverless-plugin-function-value
1616
```
1717

1818
## Usage
1919

20-
```yml
20+
```yaml
2121
service: test
2222

2323
plugins:
@@ -43,7 +43,7 @@ functions:
4343
During pre-processing the `${fn.*}` related items will be resolved resulting in
4444
the below CloudFormation snippet.
4545

46-
```yml
46+
```yaml
4747
service: test
4848
4949
plugins:
@@ -74,21 +74,21 @@ Development can be done on any machine that can install **Node.js**.
7474

7575
Install dependencies via `npm`.
7676

77-
```
77+
```bash
7878
npm i
7979
```
8080

8181
Run a build via `npm`:
8282

83-
```
83+
```bash
8484
npm run build
8585
```
8686

8787
### Testing
8888

8989
Execute tests via `npm`.
9090

91-
```
91+
```bash
9292
npm test
9393
```
9494

@@ -99,7 +99,7 @@ report after test execution.
9999

100100
Execute formatter via `npm`.
101101

102-
```
102+
```bash
103103
npm run format
104104
```
105105

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "serverless-plugin-function-value",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Serverless framework plugin that will automatically generate CloudFormation snippets to reference a functions name or ARN value based on the generated logical ID used during creation of the CloudFormation templates",
55
"main": "dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)