From ddec870c6434475f5e11bddabad4e2fb4d2f76f5 Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Thu, 14 Jul 2022 17:42:29 +0100 Subject: [PATCH 1/2] chore: remove preview notice from docs & readmes --- README.md | 4 ---- docs/core/logger.md | 7 ------- docs/core/metrics.md | 7 ------- docs/core/tracer.md | 7 ------- docs/index.md | 7 ------- packages/commons/README.md | 5 ----- packages/logger/README.md | 5 ----- packages/metrics/README.md | 5 ----- packages/tracer/README.md | 5 ----- 9 files changed, 52 deletions(-) diff --git a/README.md b/README.md index 4189368e0c..ec91a2511c 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,5 @@ # AWS Lambda Powertools for TypeScript -| ⚠️ **WARNING: Do not use this library in production (yet)** ⚠️ | -|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| AWS Lambda Powertools for TypeScript is currently released as a release candidate (RC) and is intended for feedback and testing purposes only.
While this version is fairly stable in terms of API surface, we still expect some changes to happen as part of the upcoming [production-ready release](https://github.com/awslabs/aws-lambda-powertools-typescript/milestone/2). |_ - A suite of TypeScript utilities for AWS Lambda functions to ease adopting best practices such as tracing, structured logging, custom metrics, and more. (AWS Lambda Powertools for [Python](https://github.com/awslabs/aws-lambda-powertools-python) and AWS Lambda Powertools for [Java](https://github.com/awslabs/aws-lambda-powertools-java) are also available). **[📜 Documentation](https://awslabs.github.io/aws-lambda-powertools-typescript/)** | **[NPM](https://www.npmjs.com/org/aws-lambda-powertools)** | **[Roadmap](https://github.com/awslabs/aws-lambda-powertools-roadmap/projects/1)** | **[Examples](https://github.com/awslabs/aws-lambda-powertools-typescript/tree/main/examples)** diff --git a/docs/core/logger.md b/docs/core/logger.md index 0c632fceaa..0c01dd6878 100644 --- a/docs/core/logger.md +++ b/docs/core/logger.md @@ -3,13 +3,6 @@ title: Logger description: Core utility --- -!!! warning "Do not use this library in production (yet)" - - AWS Lambda Powertools for TypeScript is currently released as a release candidate (RC) and is intended for feedback and testing purposes only. - While this version is fairly stable in terms of API surface, we still expect some changes to happen as part of the upcoming [production-ready release](https://github.com/awslabs/aws-lambda-powertools-typescript/milestone/2){target="_blank"}. - - **Do not use this library for production workloads (yet).** - Logger provides an opinionated logger with output structured as JSON. ## Key features diff --git a/docs/core/metrics.md b/docs/core/metrics.md index 3a9fb02b52..c5e338931d 100644 --- a/docs/core/metrics.md +++ b/docs/core/metrics.md @@ -3,13 +3,6 @@ title: Metrics description: Core utility --- -!!! warning "Do not use this library in production (yet)" - - AWS Lambda Powertools for TypeScript is currently released as a release candidate (RC) and is intended for feedback and testing purposes only. - While this version is fairly stable in terms of API surface, we still expect some changes to happen as part of the upcoming [production-ready release](https://github.com/awslabs/aws-lambda-powertools-typescript/milestone/2){target="_blank"}. - - **Do not use this library for production workloads (yet).** - Metrics creates custom metrics asynchronously by logging metrics to standard output following [Amazon CloudWatch Embedded Metric Format (EMF)](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Embedded_Metric_Format.html). These metrics can be visualized through [Amazon CloudWatch Console](https://console.aws.amazon.com/cloudwatch/). diff --git a/docs/core/tracer.md b/docs/core/tracer.md index 672cc43bb7..3a8aba1950 100644 --- a/docs/core/tracer.md +++ b/docs/core/tracer.md @@ -3,13 +3,6 @@ title: Tracer description: Core utility --- -!!! warning "Do not use this library in production (yet)" - - AWS Lambda Powertools for TypeScript is currently released as a release candidate (RC) and is intended for feedback and testing purposes only. - While this version is fairly stable in terms of API surface, we still expect some changes to happen as part of the upcoming [production-ready release](https://github.com/awslabs/aws-lambda-powertools-typescript/milestone/2){target="_blank"}. - - **Do not use this library for production workloads (yet).** - Tracer is an opinionated thin wrapper for [AWS X-Ray SDK for Node.js](https://github.com/aws/aws-xray-sdk-node). ## Key features diff --git a/docs/index.md b/docs/index.md index 3d976eb5a5..8e9b0016bd 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,13 +3,6 @@ title: Homepage description: AWS Lambda Powertools for TypeScript --- -!!! warning "Do not use this library in production (yet)" - - AWS Lambda Powertools for TypeScript is currently released as a release candidate (RC) and is intended for feedback and testing purposes only. - While this version is fairly stable in terms of API surface, we still expect some changes to happen as part of the upcoming [production-ready release](https://github.com/awslabs/aws-lambda-powertools-typescript/milestone/2){target="_blank"}. - - **Do not use this library for production workloads (yet).** - AWS Lambda Powertools for TypeScript provides a suite of utilities for AWS Lambda functions running on the Node.js runtime, to ease the adoption of best practices such as tracing, structured logging, custom metrics, and more. ## Tenets diff --git a/packages/commons/README.md b/packages/commons/README.md index 86a5040cbc..1a22c91f3d 100644 --- a/packages/commons/README.md +++ b/packages/commons/README.md @@ -1,10 +1,5 @@ # AWS Lambda Powertools for TypeScript -| ⚠️ **WARNING: Do not use this library in production (yet)** ⚠️ | -|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| AWS Lambda Powertools for TypeScript is currently released as a release candidate (RC) and is intended for feedback and testing purposes only.
While this version is fairly stable in terms of API surface, we still expect some changes to happen as part of the upcoming [production-ready release](https://github.com/awslabs/aws-lambda-powertools-typescript/milestone/2). |_ - - A suite of TypeScript utilities for AWS Lambda functions to ease adopting best practices such as tracing, structured logging, custom metrics, and more. (AWS Lambda Powertools for [Python](https://github.com/awslabs/aws-lambda-powertools-python) and AWS Lambda Powertools for [Java](https://github.com/awslabs/aws-lambda-powertools-java) are also available). **[📜 Documentation](https://awslabs.github.io/aws-lambda-powertools-typescript/)** | **[NPM](https://www.npmjs.com/org/aws-lambda-powertools)** | **[Roadmap](https://github.com/awslabs/aws-lambda-powertools-roadmap/projects/1)** | **[Examples](https://github.com/awslabs/aws-lambda-powertools-typescript/tree/main/examples)** diff --git a/packages/logger/README.md b/packages/logger/README.md index 3ef9f324a9..c80504a494 100644 --- a/packages/logger/README.md +++ b/packages/logger/README.md @@ -1,10 +1,5 @@ # AWS Lambda Powertools for TypeScript -| ⚠️ **WARNING: Do not use this library in production (yet)** ⚠️ | -|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| AWS Lambda Powertools for TypeScript is currently released as a release candidate (RC) and is intended for feedback and testing purposes only.
While this version is fairly stable in terms of API surface, we still expect some changes to happen as part of the upcoming [production-ready release](https://github.com/awslabs/aws-lambda-powertools-typescript/milestone/2). |_ - - A suite of TypeScript utilities for AWS Lambda functions to ease adopting best practices such as tracing, structured logging, custom metrics, and more. (AWS Lambda Powertools for [Python](https://github.com/awslabs/aws-lambda-powertools-python) and AWS Lambda Powertools for [Java](https://github.com/awslabs/aws-lambda-powertools-java) are also available). **[📜 Documentation](https://awslabs.github.io/aws-lambda-powertools-typescript/)** | **[NPM](https://www.npmjs.com/org/aws-lambda-powertools)** | **[Roadmap](https://github.com/awslabs/aws-lambda-powertools-roadmap/projects/1)** | **[Examples](https://github.com/awslabs/aws-lambda-powertools-typescript/tree/main/examples)** diff --git a/packages/metrics/README.md b/packages/metrics/README.md index 47294b6964..ca8913b7be 100644 --- a/packages/metrics/README.md +++ b/packages/metrics/README.md @@ -1,10 +1,5 @@ # AWS Lambda Powertools for TypeScript -| ⚠️ **WARNING: Do not use this library in production (yet)** ⚠️ | -|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| AWS Lambda Powertools for TypeScript is currently released as a release candidate (RC) and is intended for feedback and testing purposes only.
While this version is fairly stable in terms of API surface, we still expect some changes to happen as part of the upcoming [production-ready release](https://github.com/awslabs/aws-lambda-powertools-typescript/milestone/2). |_ - - A suite of TypeScript utilities for AWS Lambda functions to ease adopting best practices such as tracing, structured logging, custom metrics, and more. (AWS Lambda Powertools for [Python](https://github.com/awslabs/aws-lambda-powertools-python) and AWS Lambda Powertools for [Java](https://github.com/awslabs/aws-lambda-powertools-java) are also available). **[📜 Documentation](https://awslabs.github.io/aws-lambda-powertools-typescript/)** | **[NPM](https://www.npmjs.com/org/aws-lambda-powertools)** | **[Roadmap](https://github.com/awslabs/aws-lambda-powertools-roadmap/projects/1)** | **[Examples](https://github.com/awslabs/aws-lambda-powertools-typescript/tree/main/examples)** diff --git a/packages/tracer/README.md b/packages/tracer/README.md index 91a3cf4a5a..b42f7ef8a8 100644 --- a/packages/tracer/README.md +++ b/packages/tracer/README.md @@ -1,10 +1,5 @@ # AWS Lambda Powertools for TypeScript -| ⚠️ **WARNING: Do not use this library in production (yet)** ⚠️ | -|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| AWS Lambda Powertools for TypeScript is currently released as a release candidate (RC) and is intended for feedback and testing purposes only.
While this version is fairly stable in terms of API surface, we still expect some changes to happen as part of the upcoming [production-ready release](https://github.com/awslabs/aws-lambda-powertools-typescript/milestone/2). |_ - - A suite of TypeScript utilities for AWS Lambda functions to ease adopting best practices such as tracing, structured logging, custom metrics, and more. (AWS Lambda Powertools for [Python](https://github.com/awslabs/aws-lambda-powertools-python) and AWS Lambda Powertools for [Java](https://github.com/awslabs/aws-lambda-powertools-java) are also available). **[📜 Documentation](https://awslabs.github.io/aws-lambda-powertools-typescript/)** | **[NPM](https://www.npmjs.com/org/aws-lambda-powertools)** | **[Roadmap](https://github.com/awslabs/aws-lambda-powertools-roadmap/projects/1)** | **[Examples](https://github.com/awslabs/aws-lambda-powertools-typescript/tree/main/examples)** From 5d5831a8e09d57215822e0fd0174cfe07906007b Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Thu, 14 Jul 2022 17:46:14 +0100 Subject: [PATCH 2/2] build: remove prerelease flags from lerna version --- .github/workflows/on-release-prod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/on-release-prod.yml b/.github/workflows/on-release-prod.yml index ee0aec7676..f431e6a951 100644 --- a/.github/workflows/on-release-prod.yml +++ b/.github/workflows/on-release-prod.yml @@ -60,7 +60,7 @@ jobs: git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/$GITHUB_REPOSITORY - npx lerna version --conventional-commits --force-publish --conventional-prerelease --preid rc --yes + npx lerna version --conventional-commits --force-publish --yes npx lerna publish from-git --no-verify-access --yes ######################### # Generate documentation