Skip to content

Commit 1c9ddcf

Browse files
committed
clean up published package
1 parent e461577 commit 1c9ddcf

File tree

5 files changed

+16
-7
lines changed

5 files changed

+16
-7
lines changed

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ src/
1212
.publishrc
1313
jest.config.js
1414
tsconfig.*json
15+
old-docs
16+
CHANGELOG.md

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)
66

7+
## [2.0.1]  (2020-01-04)
8+
9+
### Fixed
10+
11+
- Removed extra files from published package
12+
- Correct package.json entry point to lib
13+
714
## [2.0.0]  (2020-01-04)
815

916
### Changed
@@ -119,6 +126,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/),
119126
- Update older libraries
120127
- Now publish from Git tags instead of master pushes
121128

129+
[2.0.1]: https://github.com/manwaring/lambda-wrapper/compare/v2.0.0...v2.0.1
130+
[2.0.0]: https://github.com/manwaring/lambda-wrapper/compare/v1.2.2...v2.0.0
122131
[1.2.2]: https://github.com/manwaring/lambda-wrapper/compare/v1.2.1...v1.2.2
123132
[1.2.1]: https://github.com/manwaring/lambda-wrapper/compare/v1.2.0...v1.2.1
124133
[1.2.0]: https://github.com/manwaring/lambda-wrapper/compare/v1.1.4...v1.2.0

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ If you want the wrapper to log request and response messages (helpful for debugg
4949

5050
If you want each invocation to be tagged with the AWS region, environment/, and Git revision simply set environment variables for each: `REGION=us-east-1`, `STAGE=prod`, `REVISION=f4ba682` (see [git-rev-sync](https://www.npmjs.com/package/git-rev-sync) and [serverless-plugin-git-variables](https://www.npmjs.com/package/serverless-plugin-git-variables) for libraries that can help you set git revision)
5151

52-
If you want to take advantage of either [Epsagon](https://epsagon.com/) or [IOPipe](https://www.iopipe.com/) for advanced serverless instrumentation (highly recommmended!) you'll need to create an account with them and follow their instructions for setting up your project. If this library detects either of those packages it will automatically apply standard tagging (Epsagon labels and IOPipe labels and metrics) to each invocation for easier logging, monitoring, and troubleshooting.
53-
5452
# Supported events
5553

5654
All of the events bellow have a corresponding wrapper which provides a deconstructed method signature exposing parsed/unmarshalled request parameters and helper response methods.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@manwaring/lambda-wrapper",
33
"description": "A lambda handler wrapper to abstract common functionality and provide useful defaults",
4-
"version": "2.0.0",
4+
"version": "2.0.1",
55
"scripts": {
66
"publish-please-dry-run": "publish-please --dry-run",
77
"publish-please": "publish-please",
@@ -37,7 +37,7 @@
3737
},
3838
"husky": {
3939
"hooks": {
40-
"pre-commit": "npm test && npm run generate-docs"
40+
"pre-commit": "npm test"
4141
}
4242
},
4343
"publishConfig": {
@@ -51,8 +51,8 @@
5151
"url": "https://github.com/manwaring/lambda-wrapper/issues"
5252
},
5353
"homepage": "https://github.com/manwaring/lambda-wrapper",
54-
"main": "index.js",
55-
"types": "index.d.ts",
54+
"main": "dist/index.js",
55+
"types": "dist/index.d.ts",
5656
"author": "From Phillip with ♥",
5757
"license": "MIT",
5858
"keywords": [

0 commit comments

Comments
 (0)