Skip to content

Commit 0679ed2

Browse files
gabrielmfernKayleeWilliamsdependabot[bot]bukinoshitagithub-actions[bot]
committed
feat: Separate preview server from react-email (#2182)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Kaylee <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bu Kinoshita <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 4f68a0e commit 0679ed2

File tree

212 files changed

+988
-383
lines changed

Some content is hidden

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

212 files changed

+988
-383
lines changed

β€Ž.changeset/pre.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
},
3636
"changesets": [
3737
"crazy-seas-eat",
38-
"dirty-needles-chew",
3938
"great-parrots-yell",
4039
"mighty-pigs-add",
4140
"stupid-ghosts-decide",

β€Ž.changeset/puny-chicken-argue.md

Lines changed: 5 additions & 0 deletions

β€Žapps/demo/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.0",
44
"private": true,
55
"scripts": {
6-
"build": "email build",
6+
"build": "pnpm install --frozen-lockfile && email build",
77
"dev": "email dev",
88
"start": "email start",
99
"export": "email export"
@@ -15,7 +15,8 @@
1515
"react-email": "workspace:*"
1616
},
1717
"devDependencies": {
18-
"next": "15.3.1",
18+
"@react-email/preview-server": "workspace:*",
19+
"next": "^15.2.4",
1920
"@types/react": "^19",
2021
"@types/react-dom": "^19",
2122
"tsx": "4.19.3"

β€Žbiome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"!**/pnpm-lock.yaml",
8888
"!**/.next",
8989
"!**/public",
90-
"!packages/react-email/src/actions/email-validation/caniemail-data.ts",
90+
"!packages/preview-server/src/actions/email-validation/caniemail-data.ts",
9191
"!**/.react-email/**/*",
9292
"!**/node_modules/**/*",
9393
"!**/*.d.ts",

β€Žpackages/preview-server/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
.next
3+
4+
# for testing
5+
static

β€Žpackages/preview-server/.npmignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.react-email
2+
./emails
3+
./emails/static
4+
node_modules
5+
.turbo

β€Žpackages/preview-server/_index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**
2+
* this file is just a placeholder file so that import.meta.resolve and require.resolve can properly
3+
* find out the path to this module. This file does not do anything nor does it need to export anything of value.
4+
*/

β€Žpackages/preview-server/license.md

Lines changed: 7 additions & 0 deletions

0 commit comments

Comments
Β (0)