Skip to content

Commit 43896e0

Browse files
committed
Merge branch 'main' into feat/vs-code-preview-ext
2 parents 150212d + 646df24 commit 43896e0

File tree

967 files changed

+79380
-10975
lines changed

Some content is hidden

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

967 files changed

+79380
-10975
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [
6+
["react-email-starter", "create-email"]
7+
],
8+
"linked": [],
9+
"access": "public",
10+
"baseBranch": "main",
11+
"updateInternalDependencies": "patch",
12+
"ignore": [
13+
"@benchmarks/preview-server",
14+
"@benchmarks/tailwind-component",
15+
"demo",
16+
"web"
17+
]
18+
}

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Ask a question
4-
url: https://github.com/resendlabs/react-email/discussions
4+
url: https://github.com/resend/react-email/discussions
55
about: Ask questions and discuss with other community members
66
- name: Feature request
7-
url: https://github.com/resendlabs/react-email/discussions/new?category=ideas
7+
url: https://github.com/resend/react-email/discussions/new?category=ideas
88
about: Feature requests should be opened as discussions

.github/workflows/bump-canary.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Bump canary
2+
3+
on:
4+
push:
5+
branches:
6+
- canary
7+
8+
concurrency: ${{ github.workflow }}-${{ github.ref }}
9+
10+
jobs:
11+
release:
12+
name: Bump for canary
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Repo
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js 20
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: 20
22+
23+
- name: Enable Corepack
24+
id: pnpm-setup
25+
run: |
26+
corepack enable
27+
corepack prepare pnpm@latest --activate
28+
pnpm config set script-shell "/usr/bin/bash"
29+
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
30+
31+
- name: pnpm Cache
32+
uses: buildjet/cache@v3
33+
with:
34+
path: ${{ steps.pnpm-setup.outputs.pnpm_cache_dir }}
35+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
36+
restore-keys: |
37+
${{ runner.os }}-pnpm-store-
38+
39+
- name: Install packages
40+
run: pnpm install --frozen-lockfile
41+
42+
- name: Enter prerelease mode
43+
continue-on-error: true
44+
run: pnpm canary:enter
45+
46+
- name: Create Release Pull Request
47+
uses: changesets/action@v1
48+
with:
49+
version: pnpm run version
50+
title: "chore: Bump for release"
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/bump-stable.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Bump
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
concurrency: ${{ github.workflow }}-${{ github.ref }}
9+
10+
jobs:
11+
release:
12+
name: Bump
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Repo
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js 20
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: 20
22+
23+
- name: Enable Corepack
24+
id: pnpm-setup
25+
run: |
26+
corepack enable
27+
corepack prepare pnpm@latest --activate
28+
pnpm config set script-shell "/usr/bin/bash"
29+
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
30+
31+
- name: pnpm Cache
32+
uses: buildjet/cache@v3
33+
with:
34+
path: ${{ steps.pnpm-setup.outputs.pnpm_cache_dir }}
35+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
36+
restore-keys: |
37+
${{ runner.os }}-pnpm-store-
38+
39+
- name: Install packages
40+
run: pnpm install --frozen-lockfile
41+
42+
- name: Exit prerelease mode
43+
continue-on-error: true
44+
run: pnpm canary:exit
45+
46+
- name: Create Release Pull Request
47+
uses: changesets/action@v1
48+
with:
49+
version: pnpm run version
50+
title: "chore: Bump for release"
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tests.yml

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,42 @@ jobs:
6565
- name: Run Build
6666
run: pnpm build
6767

68-
- name: Run Lint
69-
run: pnpm lint
70-
7168
- name: Run Tests
7269
run: pnpm test
7370

71+
lint:
72+
runs-on: buildjet-4vcpu-ubuntu-2204
73+
container:
74+
image: node:18
75+
steps:
76+
- name: Checkout
77+
uses: actions/checkout@v3
78+
79+
- name: Enable Corepack
80+
id: pnpm-setup
81+
run: |
82+
corepack enable
83+
corepack prepare pnpm@latest --activate
84+
pnpm config set script-shell "/usr/bin/bash"
85+
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
86+
87+
- name: pnpm Cache
88+
uses: buildjet/cache@v3
89+
with:
90+
path: ${{ steps.pnpm-setup.outputs.pnpm_cache_dir }}
91+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
92+
restore-keys: |
93+
${{ runner.os }}-pnpm-store-
94+
95+
- name: Install packages
96+
run: pnpm install --frozen-lockfile
97+
98+
- name: Run Build
99+
run: pnpm build
100+
101+
- name: Run Lint
102+
run: pnpm lint
103+
74104
build:
75105
runs-on: buildjet-4vcpu-ubuntu-2204
76106
container:
@@ -120,6 +150,9 @@ jobs:
120150
if (version.startsWith("workspace:")) {
121151
return true;
122152
}
153+
if (version.startsWith("npm:")) {
154+
return true;
155+
}
123156
return /^\d+\.\d+\.\d+$|^[a-z]+:[a-z]+@\d+$/.test(version);
124157
}
125158

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ dist
1818
# misc
1919
.DS_Store
2020
*.pem
21-
.changeset
2221
.react-email
2322

2423
# debug

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2022 Bu Kinoshita and Zeno Rocha
1+
Copyright 2024 Plus Five Five, Inc
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

README.md

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div align="center">
77
<a href="https://react.email">Website</a>
88
<span> · </span>
9-
<a href="https://github.com/resendlabs/react-email">GitHub</a>
9+
<a href="https://github.com/resend/react-email">GitHub</a>
1010
<span> · </span>
1111
<a href="https://react.email/discord">Discord</a>
1212
</div>
@@ -27,27 +27,27 @@ Install one of the components from your command line.
2727
#### With yarn
2828

2929
```sh
30-
yarn add @react-email/button -E
30+
yarn add @react-email/components -E
3131
```
3232

3333
#### With npm
3434

3535
```sh
36-
npm install @react-email/button -E
36+
npm install @react-email/components -E
3737
```
3838

3939
#### With pnpm
4040

4141
```sh
42-
pnpm install @react-email/button -E
42+
pnpm install @react-email/components -E
4343
```
4444

4545
## Getting started
4646

4747
Add the component to your email template. Include styles where needed.
4848

4949
```jsx
50-
import { Button } from "@react-email/button";
50+
import { Button } from "@react-email/components";
5151

5252
const Email = () => {
5353
return (
@@ -62,30 +62,33 @@ const Email = () => {
6262

6363
A set of standard components to help you build amazing emails without having to deal with the mess of creating table-based layouts and maintaining archaic markup.
6464

65-
- [Html](https://github.com/resendlabs/react-email/tree/main/packages/html)
66-
- [Head](https://github.com/resendlabs/react-email/tree/main/packages/head)
67-
- [Heading](https://github.com/resendlabs/react-email/tree/main/packages/heading)
68-
- [Button](https://github.com/resendlabs/react-email/tree/main/packages/button)
69-
- [Link](https://github.com/resendlabs/react-email/tree/main/packages/link)
70-
- [Image](https://github.com/resendlabs/react-email/tree/main/packages/img)
71-
- [Divider](https://github.com/resendlabs/react-email/tree/main/packages/hr)
72-
- [Paragraph](https://github.com/resendlabs/react-email/tree/main/packages/text)
73-
- [Container](https://github.com/resendlabs/react-email/tree/main/packages/container)
74-
- [Preview](https://github.com/resendlabs/react-email/tree/main/packages/preview)
75-
- [Body](https://github.com/resendlabs/react-email/tree/main/packages/body)
76-
- [Column](https://github.com/resendlabs/react-email/tree/main/packages/column)
77-
- [Section](https://github.com/resendlabs/react-email/tree/main/packages/section)
78-
- [Font](https://github.com/resendlabs/react-email/tree/main/packages/font)
65+
- [Body](https://github.com/resend/react-email/tree/main/packages/body)
66+
- [Button](https://github.com/resend/react-email/tree/main/packages/button)
67+
- [CodeBlock](https://github.com/resend/react-email/tree/main/packages/code-block)
68+
- [CodeInline](https://github.com/resend/react-email/tree/main/packages/code-inline)
69+
- [Column](https://github.com/resend/react-email/tree/main/packages/column)
70+
- [Container](https://github.com/resend/react-email/tree/main/packages/container)
71+
- [Divider](https://github.com/resend/react-email/tree/main/packages/hr)
72+
- [Font](https://github.com/resend/react-email/tree/main/packages/font)
73+
- [Head](https://github.com/resend/react-email/tree/main/packages/head)
74+
- [Heading](https://github.com/resend/react-email/tree/main/packages/heading)
75+
- [Html](https://github.com/resend/react-email/tree/main/packages/html)
76+
- [Image](https://github.com/resend/react-email/tree/main/packages/img)
77+
- [Link](https://github.com/resend/react-email/tree/main/packages/link)
78+
- [Markdown](https://github.com/resend/react-email/tree/main/packages/markdown)
79+
- [Paragraph](https://github.com/resend/react-email/tree/main/packages/text)
80+
- [Preview](https://github.com/resend/react-email/tree/main/packages/preview)
81+
- [Section](https://github.com/resend/react-email/tree/main/packages/section)
7982

8083
## Integrations
8184

8285
Emails built with React Email can be converted into HTML and sent using any email service provider. Here are some examples:
8386

84-
- [Resend](https://github.com/resendlabs/react-email/tree/main/examples/resend)
85-
- [Nodemailer](https://github.com/resendlabs/react-email/tree/main/examples/nodemailer)
86-
- [SendGrid](https://github.com/resendlabs/react-email/tree/main/examples/sendgrid)
87-
- [Postmark](https://github.com/resendlabs/react-email/tree/main/examples/postmark)
88-
- [AWS SES](https://github.com/resendlabs/react-email/tree/main/examples/aws-ses)
87+
- [Resend](https://github.com/resend/react-email/tree/main/examples/resend)
88+
- [Nodemailer](https://github.com/resend/react-email/tree/main/examples/nodemailer)
89+
- [SendGrid](https://github.com/resend/react-email/tree/main/examples/sendgrid)
90+
- [Postmark](https://github.com/resend/react-email/tree/main/examples/postmark)
91+
- [AWS SES](https://github.com/resend/react-email/tree/main/examples/aws-ses)
8992

9093
## Support
9194

SECURITY.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
## Supported Versions
44

5-
Use this section to tell people about which versions of your project are
6-
currently being supported with security updates.
5+
The security is a key priority for Resend, and we are committed to ensuring that our users are protected by promptly addressing security vulnerabilities. Below is a table outlining which versions of our project currently receive security updates:
76

87
| Version | Supported |
98
| ------- | ------------------ |
@@ -12,10 +11,10 @@ currently being supported with security updates.
1211
| 4.0.x | :white_check_mark: |
1312
| < 4.0 | :x: |
1413

14+
We encourage all users to run the latest, supported version of the software to ensure they are applying the most recent security patches and updates.
15+
1516
## Reporting a Vulnerability
1617

17-
Use this section to tell people how to report a vulnerability.
18+
We take the security of our project seriously. If you believe you have found a security vulnerability within our software, we encourage you to report it to us as quickly as possible. We welcome reports from everyone, including security researchers, developers, and our user community.
1819

19-
Tell them where to go, how often they can expect to get an update on a
20-
reported vulnerability, what to expect if the vulnerability is accepted or
21-
declined, etc.
20+
To report a security issue, please send an email to [[email protected]](mailto:[email protected]).

0 commit comments

Comments
 (0)