Skip to content

Commit 592f1b7

Browse files
committed
chore: Change repo URL to the new location
1 parent 5bd0166 commit 592f1b7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+540
-540
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
22

3-
* @awslabs/aws-lambda-powertools-typescript
3+
* @aws-powertools/lambda-typescript

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ body:
66
- type: markdown
77
attributes:
88
value: |
9-
Thank you for submitting a bug report. Before you start, make sure that [the bug hasn't been reported already](https://github.com/awslabs/aws-lambda-powertools-typescript/issues).
9+
Thank you for submitting a bug report. Before you start, make sure that [the bug hasn't been reported already](https://github.com/aws-powertools/lambda-typescript/issues).
1010
1111
Please add as much information as possible to help us reproduce, and remove any potential sensitive data.
1212
- type: textarea

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Ask a question
4-
url: https://github.com/awslabs/aws-lambda-powertools-typescript/discussions/new
4+
url: https://github.com/aws-powertools/lambda-typescript/discussions/new
55
about: Ask a general question about Lambda Powertools
66
- name: Join Community Discord Server
77
url: https://discord.gg/B8zZKbbyET

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!---
22
Instructions:
3-
1. Make sure you follow our Contributing Guidelines: https://github.com/awslabs/aws-lambda-powertools-typescript/blob/main/CONTRIBUTING.md
3+
1. Make sure you follow our Contributing Guidelines: https://github.com/aws-powertools/lambda-typescript/blob/main/CONTRIBUTING.md
44
2. Please follow the template, and do not remove any section/item. If something is not applicable leave it empty, but leave it in the PR.
55
3. -->
66

@@ -34,7 +34,7 @@ Note: If no issue is present the PR might get blocked and not be reviewed.
3434
- [ ] I have made corresponding changes to the *documentation*
3535
- [ ] My changes generate *no new warnings*
3636
- [ ] I have *added tests* that prove my change is effective and works
37-
- [ ] The PR title follows the [conventional commit semantics](https://github.com/awslabs/aws-lambda-powertools-typescript/blob/main/.github/semantic.yml#L2)
37+
- [ ] The PR title follows the [conventional commit semantics](https://github.com/aws-powertools/lambda-typescript/blob/main/.github/semantic.yml#L2)
3838

3939
### Breaking change checklist
4040

.github/boring-cyborg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ labelPRBasedOnFilePath:
158158

159159
##### Greetings ########################################################################################################
160160
firstPRWelcomeComment: >
161-
Thanks a lot for your first contribution! Please check out our [contributing guidelines](https://github.com/awslabs/aws-lambda-powertools-typescript/blob/chore/pr_automation/CONTRIBUTING.md) and don't hesitate to ask whatever you need.
161+
Thanks a lot for your first contribution! Please check out our [contributing guidelines](https://github.com/aws-powertools/lambda-typescript/blob/chore/pr_automation/CONTRIBUTING.md) and don't hesitate to ask whatever you need.
162162
163163
In the meantime, check out the #typescript channel on our AWS Lambda Powertools Discord: [Invite link](https://discord.gg/B8zZKbbyET)
164164

.github/scripts/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = Object.freeze({
3131
"LABEL_RELEASED": "status/completed",
3232

3333
/** @type {string} */
34-
"HANDLE_MAINTAINERS_TEAM": "@awslabs/aws-lambda-powertools-typescript",
34+
"HANDLE_MAINTAINERS_TEAM": "@aws-powertools/lambda-typescript",
3535

3636
/** @type {string[]} */
3737
"IGNORE_AUTHORS": ["dependabot[bot]"],

.github/workflows/dispatch_analytics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ permissions:
2323

2424
jobs:
2525
dispatch_token:
26-
if: github.repository == 'awslabs/aws-lambda-powertools-typescript'
26+
if: github.repository == 'aws-powertools/lambda-typescript'
2727
concurrency:
2828
group: analytics
2929
runs-on: ubuntu-latest

.github/workflows/reusable-publish-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Reusable Publish docs
22

33
env:
44
BRANCH: main
5-
ORIGIN: awslabs/aws-lambda-powertools-typescript
5+
ORIGIN: aws-powertools/lambda-typescript
66
VERSION: ""
77

88
on:

.github/workflows/reusable_export_pr_details.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ on:
3636
jobs:
3737
export_pr_details:
3838
# see https://github.com/awslabs/aws-lambda-powertools-python/issues/1349
39-
if: inputs.workflow_origin == 'awslabs/aws-lambda-powertools-typescript'
39+
if: inputs.workflow_origin == 'aws-powertools/lambda-typescript'
4040
runs-on: ubuntu-latest
4141
env:
4242
FILENAME: pr.txt

CHANGELOG.md

Lines changed: 134 additions & 134 deletions
Large diffs are not rendered by default.

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The following steps describe how to set up the AWS Lambda Powertools for TypeScr
6464

6565
The alternative is to use a Cloud IDE like [Gitpod](https://www.gitpod.io/) or [GitHub CodeSpaces](https://github.com/features/codespaces) for your development. To quickly get up and running you can click one of these button to open a cloned version of this repo with all of the prerequisites and dependencies installed:
6666

67-
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/awslabs/aws-lambda-powertools-typescript)
67+
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/aws-powertools/lambda-typescript)
6868
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=305501331)
6969

7070
### Setup
@@ -280,10 +280,10 @@ Contributions via pull requests are much appreciated.
280280
### Step 1: Find something to work on
281281
282282
If you want to contribute a specific feature or fix you have in mind, look at active [pull
283-
requests](https://github.com/awslabs/aws-lambda-powertools-typescript/pulls) to see if someone else is already working on it. If not, you can start designing your changes.
283+
requests](https://github.com/aws-powertools/lambda-typescript/pulls) to see if someone else is already working on it. If not, you can start designing your changes.
284284
285285
On the other hand, if you are here looking for an issue to work on, check out our [backlog of
286-
issues](https://github.com/awslabs/aws-lambda-powertools-typescript/issues) and find something that piques your interest. Our project, by default, uses the default GitHub issue labels (enhancement/bug/help wanted/invalid/question/documentation), looking at any issue labeled as 'help wanted' or 'good-first-issue' is a great place to start.
286+
issues](https://github.com/aws-powertools/lambda-typescript/issues) and find something that piques your interest. Our project, by default, uses the default GitHub issue labels (enhancement/bug/help wanted/invalid/question/documentation), looking at any issue labeled as 'help wanted' or 'good-first-issue' is a great place to start.
287287
288288
It's a good idea to keep the priority of issues in mind when deciding what to
289289
work on. If we have labelled an issue as `priority:medium` or `priority:low`, it means it's something we won't
@@ -295,7 +295,7 @@ You can start by checking the project's tenets [here](https://awslabs.github.io/
295295
296296
We ask you to seek feedback and consensus on your proposed change by iterating on a design document. This is especially useful when you plan a big change or feature, or you want advice on what would be the best path forward.
297297
298-
If you're picking up an existing issue, you can simply post your comment and discuss your proposed changes. If instead you're proposing a new feature, you can start by creating a new [RFC issue](https://github.com/awslabs/aws-lambda-powertools-typescript/issues/new?assignees=&labels=RFC%2C+triage&template=rfc.md&title=RFC%3A+) and discuss your proposed change with the maintainers.
298+
If you're picking up an existing issue, you can simply post your comment and discuss your proposed changes. If instead you're proposing a new feature, you can start by creating a new [RFC issue](https://github.com/aws-powertools/lambda-typescript/issues/new?assignees=&labels=RFC%2C+triage&template=rfc.md&title=RFC%3A+) and discuss your proposed change with the maintainers.
299299
300300
This is a great way to get feedback on your proposed change and make sure that it is in line with the project's direction and community needs. You can start working on the change when you've gotten approved by at least one maintainer - we would hate for your time to be wasted.
301301

MAINTAINERS.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Review pull requests regularly, comment, suggest, reject, merge and close. Accep
133133

134134
PRs are [labeled](#labels) based on file changes and semantic title. Pay attention to whether labels reflect the current state of the PR and correct accordingly.
135135

136-
Use and enforce [semantic versioning](https://semver.org/) pull request titles, as these will be used for [CHANGELOG](CHANGELOG.md) and [Release notes](https://github.com/awslabs/aws-lambda-powertools-typescript/releases) - make sure they communicate their intent at the human level.
136+
Use and enforce [semantic versioning](https://semver.org/) pull request titles, as these will be used for [CHANGELOG](CHANGELOG.md) and [Release notes](https://github.com/aws-powertools/lambda-typescript/releases) - make sure they communicate their intent at the human level.
137137

138138
For issues linked to a PR, our automation should apply the `status/pending-release` label. Make sure the label is always applied when merging. [Upon release](#releasing-a-new-version), these issues will be notified which release version contains their change.
139139

@@ -175,7 +175,7 @@ RFC is a collaborative process to help us get to the most optimal solution given
175175

176176
Make sure you ask these questions in mind when reviewing:
177177

178-
- Does it use our [RFC template](https://github.com/awslabs/aws-lambda-powertools-typescript/issues/new?assignees=&labels=RFC%2Ctriage&template=rfc.yml&title=RFC%3A+TITLE)?
178+
- Does it use our [RFC template](https://github.com/aws-powertools/lambda-typescript/issues/new?assignees=&labels=RFC%2Ctriage&template=rfc.yml&title=RFC%3A+TITLE)?
179179
- Does the match our [Tenets](https://awslabs.github.io/aws-lambda-powertools-typescript/latest/#tenets)?
180180
- Does the proposal address the use case? If so, is the recommended usage explicit?
181181
- Does it focus on the mechanics to solve the use case over fine-grained implementation details?
@@ -186,23 +186,23 @@ Make sure you ask these questions in mind when reviewing:
186186

187187
When necessary, be upfront that the time to review, approve, and implement a RFC can vary - see [Contribution is stuck](#contribution-is-stuck). Some RFCs may be further updated after implementation, as certain areas become clearer.
188188

189-
An example of a successful RFC: [#447](https://github.com/awslabs/aws-lambda-powertools-typescript/issues/447)
189+
An example of a successful RFC: [#447](https://github.com/aws-powertools/lambda-typescript/issues/447)
190190

191191
### Releasing a new version
192192

193193
🚧 WIP 🚧
194194

195195
#### Drafting release notes
196196

197-
Visit the [Releases page](https://github.com/awslabs/aws-lambda-powertools-typescript/releases) and choose the edit pencil button.
197+
Visit the [Releases page](https://github.com/aws-powertools/lambda-typescript/releases) and choose the edit pencil button.
198198

199199
Make sure the `tag` field reflects the new version you're releasing, the target branch field is set to `main`, and `release title` matches your tag e.g., `v1.4.1`.
200200

201201
You'll notice we group all changes based on their [labels](#labels) like `type/feature`, `type/bug`, `type/documentation`, etc.
202202

203203
**I spotted a typo or incorrect grouping - how do I fix it?**
204204

205-
Edit the respective PR title and update their [labels](#labels). Then run the [Release Drafter workflow](https://github.com/awslabs/aws-lambda-powertools-typescript/actions/workflows/release-drafter.yml) to update the Draft release.
205+
Edit the respective PR title and update their [labels](#labels). Then run the [Release Drafter workflow](https://github.com/aws-powertools/lambda-typescript/actions/workflows/release-drafter.yml) to update the Draft release.
206206

207207
**All looking good, what's next?**
208208

@@ -218,17 +218,17 @@ These are some questions to keep in mind when drafting your first or future rele
218218

219219
Once you're happy, hit `Publish release` 🎉🎉🎉.
220220

221-
This will kick off the [Publish docs on release](https://github.com/awslabs/aws-lambda-powertools-typescript/blob/main/.github/workflows/publish-docs-on-release.yml) workflow and within a few minutes you should see the latest version in PyPi, and all issues labeled as `pending-release` will be closed and notified.
221+
This will kick off the [Publish docs on release](https://github.com/aws-powertools/lambda-typescript/blob/main/.github/workflows/publish-docs-on-release.yml) workflow and within a few minutes you should see the latest version in PyPi, and all issues labeled as `pending-release` will be closed and notified.
222222

223223
### Run end to end tests
224224

225-
E2E tests should be ran before every merge to `main` or manually via [run-e2e-tests workflow](https://github.com/awslabs/aws-lambda-powertools-typescript/actions/workflows/run-e2e-tests.yml) before making a release.
225+
E2E tests should be ran before every merge to `main` or manually via [run-e2e-tests workflow](https://github.com/aws-powertools/lambda-typescript/actions/workflows/run-e2e-tests.yml) before making a release.
226226

227227
To run locally, you need [AWS CDK CLI](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html#getting_started_prerequisites) and an [account bootstrapped](https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html) (`cdk bootstrap`). With a default AWS CLI profile configured, or `AWS_PROFILE` environment variable set, run `npm run test:e2e -ws`.
228228

229229
### Releasing a documentation hotfix
230230

231-
You can rebuild the latest documentation without a full release via this [GitHub Actions Workflow](https://github.com/awslabs/aws-lambda-powertools-typescript/blob/main/.github/workflows/publish-docs-on-release.yml). Choose `Run workflow`, keep `main` as the branch, and input the latest Powertools version available i.e. `v1.4.1`.
231+
You can rebuild the latest documentation without a full release via this [GitHub Actions Workflow](https://github.com/aws-powertools/lambda-typescript/blob/main/.github/workflows/publish-docs-on-release.yml). Choose `Run workflow`, keep `main` as the branch, and input the latest Powertools version available i.e. `v1.4.1`.
232232

233233
This workflow will update both user guide and API documentation.
234234

@@ -276,7 +276,7 @@ Note that issues marked as `need-response` will be automatically closed after 3
276276

277277
### Crediting contributions
278278

279-
We credit all contributions as part of each [release note](https://github.com/awslabs/aws-lambda-powertools-typescript/releases) as an automated process. If you find contributors are missing from the release note you're producing, please add them manually.
279+
We credit all contributions as part of each [release note](https://github.com/aws-powertools/lambda-typescript/releases) as an automated process. If you find contributors are missing from the release note you're producing, please add them manually.
280280

281281
### Is that a bug?
282282

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ You can use the library in both TypeScript and JavaScript code bases.
88

99
> Also available in [Python](https://github.com/awslabs/aws-lambda-powertools-python), [Java](https://github.com/awslabs/aws-lambda-powertools-java), and [.NET](https://awslabs.github.io/aws-lambda-powertools-dotnet/).
1010
11-
**[Documentation](https://awslabs.github.io/aws-lambda-powertools-typescript/)** | **[npm](https://www.npmjs.com/org/aws-lambda-powertools)** | **[Roadmap](https://awslabs.github.io/aws-lambda-powertools-typescript/latest/roadmap)** | **[Examples](https://github.com/awslabs/aws-lambda-powertools-typescript/tree/main/examples)** | **[Serverless TypeScript Demo](https://github.com/aws-samples/serverless-typescript-demo)**
11+
**[Documentation](https://awslabs.github.io/aws-lambda-powertools-typescript/)** | **[npm](https://www.npmjs.com/org/aws-lambda-powertools)** | **[Roadmap](https://awslabs.github.io/aws-lambda-powertools-typescript/latest/roadmap)** | **[Examples](https://github.com/aws-powertools/lambda-typescript/tree/main/examples)** | **[Serverless TypeScript Demo](https://github.com/aws-samples/serverless-typescript-demo)**
1212

1313
## Table of contents <!-- omit in toc -->
1414

@@ -75,8 +75,8 @@ Or refer to the installation guide of each utility:
7575

7676
### Examples
7777

78-
* [CDK](https://github.com/awslabs/aws-lambda-powertools-typescript/tree/main/examples/cdk)
79-
* [SAM](https://github.com/awslabs/aws-lambda-powertools-typescript/tree/main/examples/sam)
78+
* [CDK](https://github.com/aws-powertools/lambda-typescript/tree/main/examples/cdk)
79+
* [SAM](https://github.com/aws-powertools/lambda-typescript/tree/main/examples/sam)
8080

8181
### Serverless TypeScript Demo application
8282

@@ -85,12 +85,12 @@ You can find instructions on how to deploy and load test this application in the
8585

8686
## Contribute
8787

88-
If you are interested in contributing to this project, please refer to our [Contributing Guidelines](https://github.com/awslabs/aws-lambda-powertools-typescript/blob/main/CONTRIBUTING.md).
88+
If you are interested in contributing to this project, please refer to our [Contributing Guidelines](https://github.com/aws-powertools/lambda-typescript/blob/main/CONTRIBUTING.md).
8989

9090
## Roadmap
9191

9292
The roadmap of Powertools is driven by customers’ demand.
93-
Help us prioritize upcoming functionalities or utilities by [upvoting existing RFCs and feature requests](https://github.com/awslabs/aws-lambda-powertools-typescript/issues), or [creating new ones](https://github.com/awslabs/aws-lambda-powertools-typescript/issues/new/choose), in this GitHub repository.
93+
Help us prioritize upcoming functionalities or utilities by [upvoting existing RFCs and feature requests](https://github.com/aws-powertools/lambda-typescript/issues), or [creating new ones](https://github.com/aws-powertools/lambda-typescript/issues/new/choose), in this GitHub repository.
9494

9595
## Connect
9696

@@ -101,7 +101,7 @@ Help us prioritize upcoming functionalities or utilities by [upvoting existing R
101101

102102
### Becoming a reference customer
103103

104-
Knowing which companies are using this library is important to help prioritize the project internally. If your company is using AWS Lambda Powertools for TypeScript, you can request to have your name and logo added to the README file by raising a [Support Lambda Powertools (become a reference)](https://github.com/awslabs/aws-lambda-powertools-typescript/issues/new?assignees=&labels=customer-reference&template=support_powertools.yml&title=%5BSupport+Lambda+Powertools%5D%3A+%3Cyour+organization+name%3E){target="_blank"} issue.
104+
Knowing which companies are using this library is important to help prioritize the project internally. If your company is using AWS Lambda Powertools for TypeScript, you can request to have your name and logo added to the README file by raising a [Support Lambda Powertools (become a reference)](https://github.com/aws-powertools/lambda-typescript/issues/new?assignees=&labels=customer-reference&template=support_powertools.yml&title=%5BSupport+Lambda+Powertools%5D%3A+%3Cyour+organization+name%3E){target="_blank"} issue.
105105

106106
The following companies, among others, use Powertools:
107107

@@ -127,4 +127,4 @@ Credits for the Lambda Powertools idea go to [DAZN](https://github.com/getndazn)
127127

128128
## License
129129

130-
This library is licensed under the MIT-0 License. See the [LICENSE](https://github.com/awslabs/aws-lambda-powertools-typescript/blob/main/LICENSE) file.
130+
This library is licensed under the MIT-0 License. See the [LICENSE](https://github.com/aws-powertools/lambda-typescript/blob/main/LICENSE) file.

docs/core/logger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ This is a Jest sample that provides the minimum information necessary for Logger
635635
```
636636

637637
!!! tip
638-
If you don't want to declare your own dummy Lambda Context, you can use [`ContextExamples.helloworldContext`](https://github.com/awslabs/aws-lambda-powertools-typescript/blob/main/packages/commons/src/samples/resources/contexts/hello-world.ts#L3-L16) from [`@aws-lambda-powertools/commons`](https://www.npmjs.com/package/@aws-lambda-powertools/commons).
638+
If you don't want to declare your own dummy Lambda Context, you can use [`ContextExamples.helloworldContext`](https://github.com/aws-powertools/lambda-typescript/blob/main/packages/commons/src/samples/resources/contexts/hello-world.ts#L3-L16) from [`@aws-lambda-powertools/commons`](https://www.npmjs.com/package/@aws-lambda-powertools/commons).
639639

640640
### Suppress logs with Jest
641641

0 commit comments

Comments
 (0)