Skip to content

Commit 1a8f1b3

Browse files
committed
chore: rename create-jsx-email to create-mail
1 parent c8dd31a commit 1a8f1b3

File tree

25 files changed

+22
-26
lines changed

25 files changed

+22
-26
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ dist
44
node_modules
55

66
# Starter template files
7-
packages/create-jsx-email/starter
7+
packages/create-mail/starter

.github/.keep/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Build Projects
4949
run: |
5050
moon jsx-email:build
51-
moon create-jsx-email:build
51+
moon create-mail:build
5252
moon run :build --query "project~plugin-*"
5353
5454
- name: Release

.github/.keep/test-cli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Build Projects
3535
run: |
3636
moon jsx-email:build
37-
moon create-jsx-email:build
37+
moon create-mail:build
3838
moon run :build --query "project~plugin-*"
3939
4040
- name: Run Tests

.github/.keep/test-smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Build Projects
3535
run: |
3636
moon jsx-email:build
37-
moon create-jsx-email:build
37+
moon create-mail:build
3838
moon run :build --query "project~plugin-*"
3939
4040
- name: Smoke Test

.github/.keep/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Build Projects
3535
run: |
3636
moon jsx-email:build
37-
moon create-jsx-email:build
37+
moon create-mail:build
3838
moon run :build --query "project~plugin-*"
3939
4040
- name: Package Tests

.github/actions/setup/action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@ runs:
1414
- name: Setup Node
1515
uses: actions/setup-node@v3
1616
with:
17-
node-version: 20.19.0
17+
node-version: 20
1818

1919
- name: Install PNPM
2020
uses: pnpm/action-setup@v4
21-
with:
22-
version: 9.15.9
2321

2422
- name: Sanity Check
2523
shell: bash
@@ -34,4 +32,4 @@ runs:
3432
3533
- name: pnpm install
3634
shell: bash
37-
run: pnpm install --frozen-lockfile --shamefully-hoist
35+
run: pnpm install --frozen-lockfile

.github/workflows/validate.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ jobs:
3333

3434
- name: Build Projects
3535
run: |
36-
pnpm exec tsc --version
37-
cd packages/jsx-email && pnpm exec tsc --showConfig
3836
moon jsx-email:build
39-
moon create-jsx-email:build
37+
moon create-mail:build
4038
moon run :build --query "project~plugin-*"
4139
4240
- name: Lint Monorepo

docs/quick-start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ For those not familiar with the bits above, here are some links to resources tha
2626

2727
## New Projects
2828

29-
If you're starting a new project — whether that's a project solely for email templates, or a project that will eventually host additional code — our [`create-jsx-email`](https://github.com/shellscape/jsx-email/tree/main/packages/create-jsx-email) utility is a perfect choice, and the fastest way to get started. The utility will scaffold a new project and get everything ready for developing new email templates. To begin, make sure you have a terminal (or command line) open and your current working directory is the directory you'd like to create a new project. Run the following command in your terminal (without the `$` symbol):
29+
If you're starting a new project — whether that's a project solely for email templates, or a project that will eventually host additional code — our [`create-mail`](https://github.com/shellscape/jsx-email/tree/main/packages/create-jsx-email) utility is a perfect choice, and the fastest way to get started. The utility will scaffold a new project and get everything ready for developing new email templates. To begin, make sure you have a terminal (or command line) open and your current working directory is the directory you'd like to create a new project. Run the following command in your terminal (without the `$` symbol):
3030

3131
```console
3232
$ npm create jsx-email
3333
```
3434

35-
This command will install and execute `create-jsx-email`, create a `email-project` directory, and add a starter template.
35+
This command will install and execute `create-mail`, create a `email-project` directory, and add a starter template.
3636

3737
While the _Existing Projects_ section below can be safely skipped, the information beneath it is useful and worth giving a read before working with JSX email, as it contains information on the project and template that was just created.
3838

moon.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tasks:
1515
- plugin-inline:build
1616
- plugin-minify:build
1717
- plugin-pretty:build
18-
- create-jsx-email:build
18+
- create-mail:build
1919

2020
build.all:
2121
command: moon repo:build.deps

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@types/node": "22.14.1",
1515
"@types/react": "19.1.2",
1616
"@types/react-dom": "19.1.2",
17-
"create-jsx-email": "*",
17+
"create-mail": "workspace:^",
1818
"gh-pages": "^6.0.0",
1919
"happy-dom": "^17.4.4",
2020
"husky": "^9.1.7",

0 commit comments

Comments
 (0)