Skip to content

Commit 623a75b

Browse files
committed
fix: email package build errors
1 parent eff0950 commit 623a75b

10 files changed

+11
-15
lines changed

packages/email/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "1.1.0",
44
"type": "module",
55
"private": true,
6-
"main": "./index.ts",
7-
"types": "./index.ts",
6+
"main": "./dist/index.js",
7+
"types": "./dist/index.d.ts",
88
"sideEffects": false,
99
"scripts": {
1010
"build": "tsc && tsc-alias",

packages/email/templates/account-verification-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
Button,
77
Link,
88
Footer,
9-
} from "@/components";
9+
} from "../components";
1010

1111
export interface AccountVerificationEmailProps {
1212
verifyLink: string;

packages/email/templates/esign-confirmation-email.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import {
22
Layout,
33
Heading,
44
Text,
5+
Button,
56
Footer,
6-
} from "@/components";
7+
} from "../components";
78

89
export type EsignConfirmationEmailPayloadType = {
910
fileUrl: string;

packages/email/templates/esign-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
Button,
66
Link,
77
Footer,
8-
} from "@/components";
8+
} from "../components";
99

1010
export interface EsignEmailPayloadType {
1111
documentName?: string;

packages/email/templates/magic-link-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
Button,
77
Link,
88
Footer,
9-
} from "@/components";
9+
} from "../components";
1010

1111
export interface MagicLinkEmailProps {
1212
magicLink: string;

packages/email/templates/member-invite-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
Button,
77
Link,
88
Footer,
9-
} from "@/components";
9+
} from "../components";
1010

1111
export interface MemberInviteEmailProps {
1212
invitedBy: string;

packages/email/templates/password-reset-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
Button,
77
Link,
88
Footer,
9-
} from "@/components";
9+
} from "../components";
1010

1111
export interface PasswordResetEmailProps {
1212
resetLink: string;

packages/email/templates/share-data-room-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
Button,
77
Link,
88
Footer,
9-
} from "@/components";
9+
} from "../components";
1010

1111
export interface ShareDataRoomEmailProps {
1212
senderName: string;

packages/email/templates/share-update-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
Button,
77
Link,
88
Footer,
9-
} from "@/components";
9+
} from "../components";
1010

1111
export interface ShareUpdateEmailProps {
1212
senderName: string;

packages/email/tsconfig.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
"declaration": true,
1010
"declarationMap": true,
1111
"strictNullChecks": true,
12-
"baseUrl": ".",
13-
"paths": {
14-
"@/*": ["./*"],
15-
"@components/*": ["./components/*"]
16-
},
1712
"target": "ES2022",
1813
"module": "ESNext",
1914
"moduleResolution": "bundler",

0 commit comments

Comments
 (0)