diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 818afe2b66..7b82681f54 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,7 +7,6 @@ Please read through this document before submitting any issues or pull requests information to effectively respond to your bug report or contribution. ## Security issue notifications - If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public GitHub issue. ## Reporting Bugs/Feature Requests @@ -36,7 +35,7 @@ Contributions via pull requests are much appreciated. Before sending us a pull r To send us a pull request, please follow these steps: 1. Fork the repository. -2. Install dependencies: `npm ci` +2. Install dependencies: `npm install` 3. Prepare utilities like commit hooks: `npm run init-environment` 4. Create a new branch to focus on the specific change you are contributing e.g. `git checkout -b improv/logger-debug-sampling` 5. Run all tests, and code baseline checks: `npm run test` @@ -55,9 +54,8 @@ You might find useful to run both the documentation website and the API referenc * **Docs website**: You can build and start a local docs website by running these two commands. - -* `npm run docs-buildDockerImage` OR `docker build -t squidfunk/mkdocs-material ./docs/` -* `npm run docs-runLocalDocker` OR `docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material` + - `npm run docs-buildDockerImage` OR `docker build -t squidfunk/mkdocs-material ./docs/` + - `npm run docs-runLocalDocker` OR `docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material` ### Tests @@ -181,4 +179,4 @@ TODO See the [LICENSE](LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution. -We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes. +We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes. \ No newline at end of file diff --git a/packages/commons/tsconfig.json b/packages/commons/tsconfig.json index 460e4ec937..cbd9922f32 100644 --- a/packages/commons/tsconfig.json +++ b/packages/commons/tsconfig.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "composite": true, "experimentalDecorators": true, "noImplicitAny": true, "target": "ES2020", diff --git a/packages/logger/package-lock.json b/packages/logger/package-lock.json index 1e5843fa76..7cbe1f93aa 100644 --- a/packages/logger/package-lock.json +++ b/packages/logger/package-lock.json @@ -6,10 +6,10 @@ "packages": { "": { "name": "@aws-lambda-powertools/logger", - "version": "0.2.0", + "version": "0.3.0", "license": "MIT", "dependencies": { - "@aws-lambda-powertools/commons": "0.2.0", + "@aws-lambda-powertools/commons": "^0.2.0", "@middy/core": "^2.5.3", "@types/aws-lambda": "^8.10.72", "lodash.clonedeep": "^4.5.0", diff --git a/packages/logger/package.json b/packages/logger/package.json index 1cd32cf7b7..e8860cac7e 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -71,7 +71,7 @@ "url": "https://github.com/awslabs/aws-lambda-powertools-typescript/issues" }, "dependencies": { - "@aws-lambda-powertools/commons": "^0.3.0", + "@aws-lambda-powertools/commons": "^0.2.0", "@middy/core": "^2.5.3", "@types/aws-lambda": "^8.10.72", "lodash.clonedeep": "^4.5.0", diff --git a/packages/logger/tsconfig.json b/packages/logger/tsconfig.json index 8c88af047a..20da6e39a9 100644 --- a/packages/logger/tsconfig.json +++ b/packages/logger/tsconfig.json @@ -26,10 +26,5 @@ "types": [ "jest", "node" - ], - "references": [ - { - "path": "../commons" - } ] } \ No newline at end of file diff --git a/packages/metrics/package-lock.json b/packages/metrics/package-lock.json index bb7b7716dd..db096118c9 100644 --- a/packages/metrics/package-lock.json +++ b/packages/metrics/package-lock.json @@ -6,10 +6,10 @@ "packages": { "": { "name": "@aws-lambda-powertools/metrics", - "version": "0.2.0", + "version": "0.3.0", "license": "MIT-0", "dependencies": { - "@aws-lambda-powertools/commons": "0.2.0", + "@aws-lambda-powertools/commons": "^0.2.0", "@types/aws-lambda": "^8.10.72" }, "devDependencies": { diff --git a/packages/metrics/package.json b/packages/metrics/package.json index 9d68016998..d18c9f7a22 100644 --- a/packages/metrics/package.json +++ b/packages/metrics/package.json @@ -84,7 +84,7 @@ "url": "https://github.com/awslabs/aws-lambda-powertools-typescript/issues" }, "dependencies": { - "@aws-lambda-powertools/commons": "^0.3.0", + "@aws-lambda-powertools/commons": "^0.2.0", "@types/aws-lambda": "^8.10.72" } } diff --git a/packages/metrics/tsconfig.json b/packages/metrics/tsconfig.json index de7412a5c3..582618277f 100644 --- a/packages/metrics/tsconfig.json +++ b/packages/metrics/tsconfig.json @@ -28,10 +28,5 @@ "types": [ "jest", "node" - ], - "references": [ - { - "path": "../commons" - } ] } \ No newline at end of file diff --git a/packages/tracing/package-lock.json b/packages/tracing/package-lock.json index 7093167d80..f7a3c60054 100644 --- a/packages/tracing/package-lock.json +++ b/packages/tracing/package-lock.json @@ -6,10 +6,10 @@ "packages": { "": { "name": "@aws-lambda-powertools/tracer", - "version": "0.2.0", + "version": "0.3.0", "license": "MIT-0", "dependencies": { - "@aws-lambda-powertools/commons": "0.2.0", + "@aws-lambda-powertools/commons": "^0.2.0", "@middy/core": "^2.5.3", "aws-xray-sdk-core": "^3.3.3" }, diff --git a/packages/tracing/package.json b/packages/tracing/package.json index 1e27324f13..cc3d897347 100644 --- a/packages/tracing/package.json +++ b/packages/tracing/package.json @@ -62,7 +62,7 @@ "url": "https://github.com/awslabs/aws-lambda-powertools-typescript/issues" }, "dependencies": { - "@aws-lambda-powertools/commons": "^0.3.0", + "@aws-lambda-powertools/commons": "^0.2.0", "@middy/core": "^2.5.3", "aws-xray-sdk-core": "^3.3.3" } diff --git a/packages/tracing/tsconfig.json b/packages/tracing/tsconfig.json index 723ebdaf7e..8b93f8c299 100644 --- a/packages/tracing/tsconfig.json +++ b/packages/tracing/tsconfig.json @@ -28,10 +28,5 @@ "types": [ "jest", "node" - ], - "references": [ - { - "path": "../commons" - } ] } \ No newline at end of file