Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Switch campaign email rendering to TipTap HTML

Kiran K37166ea195c9
diff --git a/packages/email/package.json b/packages/email/package.json
index 268740fc90..89a6286f7c 100644
--- a/packages/email/package.json
+++ b/packages/email/package.json
@@ -9,11 +9,21 @@
},
"dependencies": {
"@dub/utils": "workspace:*",
+ "@dub/ui": "workspace:*",
"@react-email/components": "^0.0.22",
"lucide-react": "^0.462.0",
"nodemailer": "^6.9.3",
"react-email": "^2.1.6",
- "resend": "^6.1.2"
+ "resend": "^6.1.2",
+ "@tiptap/extension-file-handler": "^3.0.9",
+ "@tiptap/extension-image": "^3.0.9",
+ "@tiptap/extension-mention": "^3.0.9",
+ "@tiptap/extensions": "^3.0.9",
+ "@tiptap/pm": "^3.0.9",
+ "@tiptap/react": "^3.0.9",
+ "@tiptap/starter-kit": "^3.0.9",
+ "@tiptap/static-renderer": "^3.6.6",
+ "@tiptap/html": "^3.6.5"
},
"devDependencies": {
"@types/nodemailer": "~6.4.17",
diff --git a/packages/email/src/templates/campaign-email.tsx b/packages/email/src/templates/campaign-email.tsx
index e8a3907dd7..25b8ba9813 100644
--- a/packages/email/src/templates/campaign-email.tsx
+++ b/packages/email/src/templates/campaign-email.tsx
@@ -9,16 +9,28 @@ import {
Section,
Tailwind,
} from "@react-email/components";
+import { generateHTML } from "@tiptap/html";
import StarterKit from "@tiptap/starter-kit";
-import { renderToReactElement } from "@tiptap/static-renderer";
+
+const bodyJson = {
+ type: "doc",
+ content: [
+ {
+ type: "paragraph",
+ content: [
+ {
+ type: "text",
+ text: "Hello, world!",
+ },
+ ],
+ },
+ ],
+};
export default function CampaignEmail({
campaign = {
subject: "Test Subject",
- bodyJson: {
- type: "doc",
- content: [],
- },
+ bodyJson,
},
}: {
campaign?: {
@@ -26,146 +38,11 @@ export default function CampaignEmail({
bodyJson: any;
};
}) {
- const bodyHtml = renderToReactElement({
- extensions: [
- StarterKit.configure({
- heading: {
- levels: [1, 2],
- },
- }),
- ],
- options: {
- nodeMapping: {
- heading: ({ node, children }) => {
- // Extract level value safely for server component
- const nodeAttrs = node.attrs || {};
- const level = nodeAttrs.level || 1;
-
- // Only support H1 and H2 as per toolbar
- if (level === 1) {
- return (
- <h1
- style={{
- fontSize: "24px",
- fontWeight: "bold",
- margin: "16px 0 8px 0",
- color: "#374151",
- lineHeight: "1.2",
- }}
- >
- {children}
- </h1>
- );
- } else if (level === 2) {
- return (
- <h2
- style={{
- fontSize: "20px",
- fontWeight: "bold",
- margin: "16px 0 8px 0",
- color: "#374151",
- lineHeight: "1.2",
- }}
- >
- {children}
- </h2>
- );
- }
- // Fallback for any other heading levels (render as paragraph)
- return (
- <p
- style={{
- fontSize: "16px",
- fontWeight: "bold",
- margin: "16px 0 8px 0",
- color: "#374151",
- lineHeight: "1.5",
- }}
- >
- {children}
- </p>
- );
- },
- paragraph: ({ children }) => (
- <p
- style={{
- margin: "0 0 16px 0",
- lineHeight: "1.5",
- color: "#4B5563",
- }}
- >
- {children}
- </p>
- ),
- hardBreak: () => <br />,
- image: ({ node }) => {
- const nodeAttrs = node.attrs || {};
- return (
- <img
- src={nodeAttrs.src}
- alt={nodeAttrs.alt || ""}
- style={{
- maxWidth: "100%",
- height: "auto",
- display: "block",
- margin: "16px 0",
- borderRadius: "8px",
- }}
- />
- );
- },
- mention: ({ node }) => {
- const nodeAttrs = node.attrs || {};
- return (
- <span
- style={{
- padding: "2px 4px",
- backgroundColor: "#DBEAFE",
- color: "#1D4ED8",
- borderRadius: "4px",
- fontWeight: "600",
- fontSize: "14px",
- }}
- >
- {`{{${nodeAttrs.id}}}`}
- </span>
- );
- },
- },
- markMapping: {
- bold: ({ children }) => (
- <strong style={{ fontWeight: "bold" }}>{children}</strong>
- ),
- italic: ({ children }) => (
- <em style={{ fontStyle: "italic" }}>{children}</em>
- ),
- link: ({ node, children }) => {
- const nodeAttrs = node.attrs || {};
- return (
- <a
- href={nodeAttrs.href}
- style={{
- color: "#3B82F6",
- textDecoration: "underline",
- textUnderlineOffset: "2px",
- }}
- >
- {children}
- </a>
- );
- },
- },
- unhandledNode: ({ node }) => {
- console.warn(`Unhandled node: ${node.type.name}`);
- return null;
- },
- unhandledMark: ({ mark }) => {
- console.warn(`Unhandled mark: ${mark.type.name}`);
- return null;
- },
- },
- content: campaign.bodyJson,
- });
+ const bodyHtml = generateHTML(campaign.bodyJson, [
+ StarterKit.configure({
+ heading: { levels: [1, 2] },
+ }),
+ ]);
return (
<Html>
@@ -178,7 +55,9 @@ export default function CampaignEmail({
<Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
- <Section className="my-6">{bodyHtml}</Section>
+ <Section className="my-6">
+ <div dangerouslySetInnerHTML={{ __html: bodyHtml }} />
+ </Section>
</Container>
</Body>
</Tailwind>
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3b178a2bbc..27c950b7b8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -42,7 +42,7 @@ importers:
version: 1.0.7([email protected])
'@boxyhq/saml-jackson':
specifier: 1.52.1
'@chronark/zod-bird':
specifier: ^0.3.9
version: 0.3.9
@@ -312,7 +312,7 @@ importers:
react-pdf-tailwind:
specifier: ^2.3.0
react-textarea-autosize:
specifier: ^8.4.0
version: 8.4.0(@types/[email protected])([email protected])
@@ -415,7 +415,7 @@ importers:
version: 15.1.0([email protected])
tailwindcss:
specifier: ^3.4.4
tsx:
specifier: ^4.19.2
version: 4.19.2
@@ -497,10 +497,10 @@ importers:
version: 5.0.10
ts-node:
specifier: ^10.9.2
tsup:
specifier: ^6.7.0
type-fest:
specifier: ^4.26.1
version: 4.26.1
@@ -510,12 +510,42 @@ importers:
packages/email:
dependencies:
+ '@dub/ui':
+ specifier: workspace:*
+ version: link:../ui
'@dub/utils':
specifier: workspace:*
version: link:../utils
'@react-email/components':
specifier: ^0.0.22
+ '@tiptap/extension-file-handler':
+ specifier: ^3.0.9
+ version: 3.0.9(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected])))(@tiptap/[email protected])
+ '@tiptap/extension-image':
+ specifier: ^3.0.9
+ version: 3.0.9(@tiptap/[email protected](@tiptap/[email protected]))
+ '@tiptap/extension-mention':
+ specifier: ^3.0.9
+ version: 3.0.9(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])(@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected]))
+ '@tiptap/extensions':
+ specifier: ^3.0.9
+ version: 3.0.9(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])
+ '@tiptap/html':
+ specifier: ^3.6.5
+ version: 3.6.5(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])([email protected])
+ '@tiptap/pm':
+ specifier: ^3.0.9
+ version: 3.0.9
+ '@tiptap/react':
+ specifier: ^3.0.9
+ '@tiptap/starter-kit':
+ specifier: ^3.0.9
+ version: 3.0.9
+ '@tiptap/static-renderer':
+ specifier: ^3.6.6
lucide-react:
specifier: ^0.462.0
version: 0.462.0([email protected])
@@ -530,7 +560,7 @@ importers:
version: 18.3.1([email protected])
react-email:
specifier: ^2.1.6
resend:
specifier: ^6.1.2
@@ -562,7 +592,7 @@ importers:
version: link:../../tsconfig
tsup:
specifier: ^6.1.3
typescript:
specifier: ^5.1.6
version: 5.6.2
@@ -602,7 +632,7 @@ importers:
version: link:../../tsconfig
tsup:
specifier: ^6.1.3
typescript:
specifier: ^5.1.6
version: 5.6.2
@@ -621,7 +651,7 @@ importers:
version: 5.0.10
tsup:
specifier: ^6.7.0
typescript:
specifier: ^5.6.2
version: 5.6.2
@@ -668,7 +698,7 @@ importers:
devDependencies:
'@stripe/ui-extension-tools':
specifier: ^0.0.1
'@types/react':
specifier: ^19.0.2
version: 19.0.2
@@ -680,13 +710,13 @@ importers:
dependencies:
'@tailwindcss/container-queries':
specifier: ^0.1.1
'@tailwindcss/forms':
specifier: ^0.5.6
'@tailwindcss/typography':
specifier: ^0.5.9
tailwind-scrollbar-hide:
specifier: ^1.1.7
version: 1.1.7
@@ -696,7 +726,7 @@ importers:
devDependencies:
tailwindcss:
specifier: ^3.4.4
packages/tsconfig: {}
@@ -897,13 +927,13 @@ importers:
version: 19.1.1
tailwindcss:
specifier: ^3.4.4
tsconfig:
specifier: workspace:*
version: link:../tsconfig
tsup:
specifier: ^6.1.3
typescript:
specifier: ^5.1.6
version: 5.1.6
@@ -958,7 +988,7 @@ importers:
version: link:../tsconfig
tsup:
specifier: ^6.1.3
typescript:
specifier: ^5.1.6
version: 5.1.6
@@ -5614,6 +5644,14 @@ packages:
'@tiptap/[email protected]':
resolution: {integrity: sha512-CYg6tV5fYOvkP1gyATkJJj+nFYmwjDKLipQc/r0D/tHKypxefENrm4G7mf4B78zsB/izfk5mW3iujvyeod6EcQ==}
+ '@tiptap/[email protected]':
+ resolution: {integrity: sha512-m0A18LFuGnWxUdg5miDclouwvA7KyUtiSaGds6EWKGFSSErJZEcaRq1ZdSvuFJtT/rVXc1MhG0Wu2g6mGX6eTw==}
+ peerDependencies:
+ '@tiptap/core': ^3.6.6
+ '@tiptap/pm': ^3.6.6
+ react: ^17.0.0 || ^18.0.0 || ^19.0.0
+ react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0
+
'@tiptap/[email protected]':
resolution: {integrity: sha512-irthqfUybezo3IwR6AXvyyTOtkzwfvvst58VXZtTnR1nN6NEcrs3TQoY3bGKGbN83bdiquKh6aU2nLnZfAhoXg==}
peerDependencies:
@@ -14597,7 +14635,7 @@ snapshots:
'@opentelemetry/sdk-metrics': 1.30.1(@opentelemetry/[email protected])
'@opentelemetry/semantic-conventions': 1.29.0
dependencies:
'@aws-sdk/client-dynamodb': 3.817.0
'@aws-sdk/credential-providers': 3.817.0
@@ -14623,7 +14661,7 @@ snapshots:
reflect-metadata: 0.2.2
ripemd160: 2.0.2
sqlite3: 5.1.7
transitivePeerDependencies:
- '@google-cloud/spanner'
- '@mongodb-js/zstd'
@@ -15793,7 +15831,7 @@ snapshots:
jest-util: 27.5.1
slash: 3.0.0
dependencies:
'@jest/console': 27.5.1
'@jest/reporters': 27.5.1
@@ -15807,7 +15845,7 @@ snapshots:
exit: 0.1.2
graceful-fs: 4.2.11
jest-changed-files: 27.5.1
- jest-config: 27.5.1([email protected]([email protected]))
jest-haste-map: 27.5.1
jest-message-util: 27.5.1
jest-regex-util: 27.5.1
@@ -19525,7 +19563,7 @@ snapshots:
react: 17.0.2
stripe: 13.11.0
dependencies:
'@types/jest': 28.1.8
'@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
@@ -19533,9 +19571,9 @@ snapshots:
eslint: 8.48.0
eslint-plugin-react: 7.34.1([email protected])
eslint-plugin-react-hooks: 4.6.2([email protected])
jest-transform-stub: 2.0.0
typescript: 4.9.5
transitivePeerDependencies:
- '@babel/core'
@@ -19615,22 +19653,22 @@ snapshots:
dependencies:
defer-to-connect: 2.0.1
dependencies:
- tailwindcss: 3.4.4([email protected]([email protected]))
dependencies:
mini-svg-data-uri: 1.4.4
- tailwindcss: 3.4.4([email protected]([email protected]))
dependencies:
lodash.castarray: 4.4.0
lodash.isplainobject: 4.0.6
lodash.merge: 4.6.2
postcss-selector-parser: 6.0.10
- tailwindcss: 3.4.4([email protected]([email protected]))
dependencies:
@@ -19838,6 +19876,21 @@ snapshots:
prosemirror-transform: 1.10.4
prosemirror-view: 1.40.1
+ dependencies:
+ '@tiptap/core': 3.0.9(@tiptap/[email protected])
+ '@tiptap/pm': 3.0.9
+ '@types/use-sync-external-store': 0.0.6
+ fast-deep-equal: 3.1.3
+ react: 18.3.1
+ react-dom: 18.3.1([email protected])
+ use-sync-external-store: 1.5.0([email protected])
+ optionalDependencies:
+ '@tiptap/extension-bubble-menu': 3.0.9(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])
+ '@tiptap/extension-floating-menu': 3.0.9(@floating-ui/[email protected])(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])
+ transitivePeerDependencies:
+ - '@floating-ui/dom'
+
dependencies:
'@tiptap/core': 3.0.9(@tiptap/[email protected])
@@ -19880,6 +19933,13 @@ snapshots:
'@tiptap/extensions': 3.0.9(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])
'@tiptap/pm': 3.0.9
+ dependencies:
+ '@tiptap/core': 3.0.9(@tiptap/[email protected])
+ '@tiptap/pm': 3.0.9
+ react: 18.3.1
+ react-dom: 18.3.1([email protected])
+
dependencies:
'@tiptap/core': 3.0.9(@tiptap/[email protected])
@@ -24339,16 +24399,16 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@jest/core': 27.5.1([email protected]([email protected]))
'@jest/test-result': 27.5.1
'@jest/types': 27.5.1
chalk: 4.1.2
exit: 0.1.2
graceful-fs: 4.2.11
import-local: 3.1.0
- jest-config: 27.5.1([email protected]([email protected]))
jest-util: 27.5.1
jest-validate: 27.5.1
prompts: 2.4.2
@@ -24360,7 +24420,7 @@ snapshots:
- ts-node
- utf-8-validate
dependencies:
'@babel/core': 7.24.5
'@jest/test-sequencer': 27.5.1
@@ -24387,7 +24447,7 @@ snapshots:
slash: 3.0.0
strip-json-comments: 3.1.1
optionalDependencies:
- ts-node: 10.9.2([email protected])
transitivePeerDependencies:
- bufferutil
- canvas
@@ -24711,11 +24771,11 @@ snapshots:
merge-stream: 2.0.0
supports-color: 8.1.1
dependencies:
- '@jest/core': 27.5.1([email protected]([email protected]))
import-local: 3.1.0
transitivePeerDependencies:
- bufferutil
- canvas
@@ -26365,61 +26425,69 @@ snapshots:
camelcase-css: 2.0.1
postcss: 8.4.38
dependencies:
lilconfig: 2.1.0
yaml: 1.10.2
optionalDependencies:
postcss: 8.4.31
dependencies:
lilconfig: 2.1.0
yaml: 1.10.2
optionalDependencies:
postcss: 8.4.31
+
+ dependencies:
+ lilconfig: 2.1.0
+ yaml: 1.10.2
+ optionalDependencies:
+ postcss: 8.5.6
dependencies:
lilconfig: 2.1.0
yaml: 1.10.2
optionalDependencies:
postcss: 8.5.6
dependencies:
lilconfig: 2.1.0
yaml: 1.10.2
optionalDependencies:
postcss: 8.5.6
dependencies:
lilconfig: 2.1.0
yaml: 2.3.4
optionalDependencies:
postcss: 8.4.38
dependencies:
lilconfig: 2.1.0
yaml: 2.3.4
optionalDependencies:
postcss: 8.4.38
- ts-node: 10.9.2(@types/[email protected])([email protected])
dependencies:
lilconfig: 2.1.0
yaml: 2.3.4
optionalDependencies:
postcss: 8.4.38
dependencies:
@@ -26843,7 +26911,7 @@ snapshots:
react: 19.1.1
scheduler: 0.26.0
dependencies:
'@babel/core': 7.24.5
'@babel/parser': 7.24.5
@@ -26883,7 +26951,7 @@ snapshots:
source-map-js: 1.0.2
stacktrace-parser: 0.1.10
tailwind-merge: 2.2.0
- tailwindcss: 3.4.0([email protected]([email protected]))
typescript: 5.1.6
transitivePeerDependencies:
- '@opentelemetry/api'
@@ -26937,10 +27005,10 @@ snapshots:
react: 19.1.1
react-dom: 19.1.1([email protected])
dependencies:
'@react-pdf/renderer': 3.4.5([email protected])([email protected])
transitivePeerDependencies:
- encoding
- react
@@ -28293,7 +28361,7 @@ snapshots:
dependencies:
'@alloc/quick-lru': 5.2.0
arg: 5.0.2
@@ -28312,7 +28380,7 @@ snapshots:
postcss: 8.4.38
postcss-import: 15.1.0([email protected])
postcss-js: 4.0.1([email protected])
postcss-nested: 6.0.1([email protected])
postcss-selector-parser: 6.0.13
resolve: 1.22.6
@@ -28320,7 +28388,7 @@ snapshots:
transitivePeerDependencies:
- ts-node
dependencies:
'@alloc/quick-lru': 5.2.0
arg: 5.0.2
@@ -28339,7 +28407,7 @@ snapshots:
postcss: 8.4.38
postcss-import: 15.1.0([email protected])
postcss-js: 4.0.1([email protected])
postcss-nested: 6.0.1([email protected])
postcss-selector-parser: 6.0.13
resolve: 1.22.6
@@ -28347,7 +28415,7 @@ snapshots:
transitivePeerDependencies:
- ts-node
dependencies:
'@alloc/quick-lru': 5.2.0
arg: 5.0.2
@@ -28366,7 +28434,7 @@ snapshots:
postcss: 8.4.38
postcss-import: 15.1.0([email protected])
postcss-js: 4.0.1([email protected])
postcss-nested: 6.0.1([email protected])
postcss-selector-parser: 6.0.13
resolve: 1.22.6
@@ -28374,7 +28442,7 @@ snapshots:
transitivePeerDependencies:
- ts-node
dependencies:
'@alloc/quick-lru': 5.2.0
arg: 5.0.2
@@ -28393,7 +28461,7 @@ snapshots:
postcss: 8.4.38
postcss-import: 15.1.0([email protected])
postcss-js: 4.0.1([email protected])
postcss-nested: 6.0.1([email protected])
postcss-selector-parser: 6.0.13
resolve: 1.22.6
@@ -28457,7 +28525,7 @@ snapshots:
ansi-escapes: 4.3.2
supports-hyperlinks: 2.3.0
dependencies:
'@jridgewell/trace-mapping': 0.3.25
jest-worker: 27.5.1
@@ -28599,11 +28667,11 @@ snapshots:
dependencies:
bs-logger: 0.2.6
fast-json-stable-stringify: 2.1.0
jest-util: 27.5.1
json5: 2.2.3
lodash.memoize: 4.1.2
@@ -28616,7 +28684,7 @@ snapshots:
'@types/jest': 28.1.8
babel-jest: 27.5.1(@babel/[email protected])
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
@@ -28637,7 +28705,28 @@ snapshots:
'@swc/core': 1.3.101(@swc/[email protected])
optional: true
+ dependencies:
+ '@cspotcode/source-map-support': 0.8.1
+ '@tsconfig/node10': 1.0.11
+ '@tsconfig/node12': 1.0.11
+ '@tsconfig/node14': 1.0.3
+ '@tsconfig/node16': 1.0.4
+ '@types/node': 18.11.9
+ acorn: 8.11.3
+ acorn-walk: 8.3.2
+ arg: 4.1.3
+ create-require: 1.1.1
+ diff: 4.0.2
+ make-error: 1.3.6
+ typescript: 5.4.4
+ v8-compile-cache-lib: 3.0.1
+ yn: 3.1.1
+ optionalDependencies:
+ '@swc/core': 1.3.101(@swc/[email protected])
+ optional: true
+
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
@@ -28657,7 +28746,7 @@ snapshots:
optionalDependencies:
'@swc/core': 1.3.101(@swc/[email protected])
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
@@ -28671,48 +28760,53 @@ snapshots:
create-require: 1.1.1
diff: 4.0.2
make-error: 1.3.6
- typescript: 5.6.2
+ typescript: 4.9.5
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
optionalDependencies:
'@swc/core': 1.3.101(@swc/[email protected])
optional: true
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
'@tsconfig/node12': 1.0.11
'@tsconfig/node14': 1.0.3
'@tsconfig/node16': 1.0.4
- '@types/node': 18.11.9
+ '@types/node': 22.18.3
acorn: 8.11.3
acorn-walk: 8.3.2
arg: 4.1.3
create-require: 1.1.1
diff: 4.0.2
make-error: 1.3.6
- typescript: 5.4.4
+ typescript: 5.1.6
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
+ optionalDependencies:
+ '@swc/core': 1.3.101(@swc/[email protected])
optional: true
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
'@tsconfig/node12': 1.0.11
'@tsconfig/node14': 1.0.3
'@tsconfig/node16': 1.0.4
+ '@types/node': 22.18.3
acorn: 8.11.3
acorn-walk: 8.3.2
arg: 4.1.3
create-require: 1.1.1
diff: 4.0.2
make-error: 1.3.6
- typescript: 4.9.5
+ typescript: 5.6.2
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
+ optionalDependencies:
+ '@swc/core': 1.3.101(@swc/[email protected])
optional: true
@@ -28732,7 +28826,7 @@ snapshots:
dependencies:
bundle-require: 3.1.2([email protected])
cac: 6.7.14
@@ -28742,7 +28836,7 @@ snapshots:
execa: 5.1.1
globby: 11.1.0
joycon: 3.1.1
resolve-from: 5.0.0
rollup: 2.79.1
source-map: 0.8.0-beta.0
@@ -28756,7 +28850,7 @@ snapshots:
- supports-color
- ts-node
dependencies:
bundle-require: 3.1.2([email protected])
cac: 6.7.14
@@ -28766,7 +28860,7 @@ snapshots:
execa: 5.1.1
globby: 11.1.0
joycon: 3.1.1
resolve-from: 5.0.0
rollup: 2.79.1
source-map: 0.8.0-beta.0
@@ -28780,7 +28874,7 @@ snapshots:
- supports-color
- ts-node
dependencies:
bundle-require: 4.2.1([email protected])
cac: 6.7.14
@@ -28790,7 +28884,7 @@ snapshots:
execa: 5.1.1
globby: 11.1.0
joycon: 3.1.1
resolve-from: 5.0.0
rollup: 3.29.5
source-map: 0.8.0-beta.0
@@ -28804,7 +28898,31 @@ snapshots:
- supports-color
- ts-node
+ dependencies:
+ bundle-require: 4.2.1([email protected])
+ cac: 6.7.14
+ chokidar: 3.5.3
+ debug: 4.3.4
+ esbuild: 0.17.19
+ execa: 5.1.1
+ globby: 11.1.0
+ joycon: 3.1.1
+ resolve-from: 5.0.0
+ rollup: 3.29.5
+ source-map: 0.8.0-beta.0
+ sucrase: 3.34.0
+ tree-kill: 1.2.2
+ optionalDependencies:
+ '@swc/core': 1.3.101(@swc/[email protected])
+ postcss: 8.5.6
+ typescript: 5.6.2
+ transitivePeerDependencies:
+ - supports-color
+ - ts-node
+
dependencies:
bundle-require: 4.2.1([email protected])
cac: 6.7.14
@@ -28814,7 +28932,7 @@ snapshots:
execa: 5.1.1
globby: 11.1.0
joycon: 3.1.1
resolve-from: 5.0.0
rollup: 3.29.5
source-map: 0.8.0-beta.0
@@ -29004,7 +29122,7 @@ snapshots:
dependencies:
is-typedarray: 1.0.0
dependencies:
'@sqltools/formatter': 1.2.5
ansis: 3.17.0
@@ -29027,7 +29145,7 @@ snapshots:
pg: 8.16.0
redis: 4.7.0
sqlite3: 5.1.7
- ts-node: 10.9.2(@types/[email protected])([email protected])
transitivePeerDependencies:
- supports-color
@@ -29268,6 +29386,10 @@ snapshots:
dependencies:
react: 19.1.1
+ dependencies:
+ react: 18.3.1
+
dependencies:
react: 19.1.1
@@ -29534,7 +29656,7 @@ snapshots:
neo-async: 2.6.2
schema-utils: 3.3.0
tapable: 2.2.1
- terser-webpack-plugin: 5.3.10(@swc/[email protected](@swc/[email protected]))([email protected])([email protected])
watchpack: 2.4.0
webpack-sources: 3.2.3
transitivePeerDependencies: