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.

Add message box w/ emoji picker

Tim Wilson2e3e8575373c
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/messages/[partnerId]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/messages/[partnerId]/page-client.tsx
index c6aadf4a11..a090602160 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/messages/[partnerId]/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/messages/[partnerId]/page-client.tsx
@@ -3,6 +3,7 @@
import usePartner from "@/lib/swr/use-partner";
import useWorkspace from "@/lib/swr/use-workspace";
import { useMessagesContext } from "@/ui/messages/messages-context";
+import { MessagesPanel } from "@/ui/messages/messages-panel";
import { ToggleSidePanelButton } from "@/ui/messages/toggle-side-panel-button";
import { PartnerInfoGroup } from "@/ui/partners/partner-info-group";
import { PartnerInfoSection } from "@/ui/partners/partner-info-section";
@@ -13,6 +14,7 @@ import { ChevronLeft, LoadingSpinner } from "@dub/ui/icons";
import { OG_AVATAR_URL, cn } from "@dub/utils";
import { redirect, useParams } from "next/navigation";
import { useState } from "react";
+import { toast } from "sonner";
export function ProgramMessagesPartnerPageClient() {
const { slug: workspaceSlug } = useWorkspace();
@@ -67,8 +69,8 @@ export function ProgramMessagesPartnerPageClient() {
onClick={() => setIsRightPanelOpen((o) => !o)}
/>
</div>
- <div className="text-content-subtle flex grow flex-col items-center justify-center text-sm">
- [WIP]
+ <div className="grow">
+ <MessagesPanel onSendMessage={(message) => toast.info(message)} />
</div>
</div>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/messages/layout.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/messages/layout.tsx
index 8265bf6425..ed17c1506f 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/messages/layout.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/messages/layout.tsx
@@ -55,7 +55,7 @@ export default function MessagesLayout({ children }: { children: ReactNode }) {
return (
<MessagesContext.Provider value={{ currentPanel, setCurrentPanel }}>
- <div className="@container/page h-[calc(100vh-0.5rem-1px)] w-full overflow-hidden rounded-t-[inherit] bg-white">
+ <div className="@container/page h-[calc(100dvh-var(--page-top-margin)-1px)] w-full overflow-hidden rounded-t-[inherit] bg-white">
<div
className="@[800px]/page:grid-cols-[min-content_minmax(340px,1fr)] @[800px]/page:translate-x-0 grid h-full translate-x-[calc(var(--current-panel)*-100%)] grid-cols-[100%_100%]"
style={
diff --git a/apps/web/package.json b/apps/web/package.json
index 2548507cea..b2b09f1818 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -73,6 +73,7 @@
"fast-xml-parser": "^5.0.6",
"file-type": "^20.4.1",
"framer-motion": "^10.16.16",
+ "frimousse": "^0.3.0",
"fuse.js": "^6.6.2",
"geist": "^1.3.1",
"github-slugger": "^2.0.0",
diff --git a/apps/web/ui/layout/main-nav.tsx b/apps/web/ui/layout/main-nav.tsx
index d7f8bda4b1..66b89eaa4b 100644
--- a/apps/web/ui/layout/main-nav.tsx
+++ b/apps/web/ui/layout/main-nav.tsx
@@ -79,7 +79,7 @@ export function MainNav({
<Sidebar toolContent={toolContent} newsContent={newsContent} />
</div>
</div>
- <div className="bg-neutral-200 [--page-top-margin:0] md:pt-[var(--page-top-margin)] md:[--page-top-margin:0.5rem]">
+ <div className="bg-neutral-200 [--page-top-margin:0px] md:pt-[var(--page-top-margin)] md:[--page-top-margin:0.5rem]">
<div className="relative min-h-full bg-neutral-100 pt-px md:rounded-tl-xl md:bg-white">
<SideNavContext.Provider value={{ isOpen, setIsOpen }}>
{children}
diff --git a/apps/web/ui/messages/emoji-picker.tsx b/apps/web/ui/messages/emoji-picker.tsx
new file mode 100644
index 0000000000..a636c0386a
--- /dev/null
+++ b/apps/web/ui/messages/emoji-picker.tsx
@@ -0,0 +1,74 @@
+import { Button, Popover } from "@dub/ui";
+import { FaceSmile } from "@dub/ui/icons";
+import { EmojiPicker as EmojiPickerBase } from "frimousse";
+import { useState } from "react";
+
+export function EmojiPicker({
+ onSelect,
+}: {
+ onSelect: (emoji: string) => void;
+}) {
+ const [isOpen, setIsOpen] = useState(false);
+
+ return (
+ <Popover
+ openPopover={isOpen}
+ setOpenPopover={setIsOpen}
+ side="top"
+ align="start"
+ sideOffset={34}
+ content={
+ <EmojiPickerBase.Root
+ className="isolate flex h-[300px] w-fit flex-col"
+ onEmojiSelect={({ emoji }) => {
+ onSelect(emoji);
+ setIsOpen(false);
+ }}
+ >
+ <EmojiPickerBase.Search className="border-border-default focus:border-border-default z-10 rounded-t-lg border-0 border-b bg-white px-3 py-2.5 text-base outline-none placeholder:text-neutral-400 focus:ring-0 sm:text-sm" />
+ <EmojiPickerBase.Viewport className="outline-hidden relative flex-1">
+ <EmojiPickerBase.Loading className="absolute inset-0 flex items-center justify-center text-sm text-neutral-400">
+ Loading…
+ </EmojiPickerBase.Loading>
+ <EmojiPickerBase.Empty className="absolute inset-0 flex items-center justify-center text-sm text-neutral-400">
+ No emoji found.
+ </EmojiPickerBase.Empty>
+ <EmojiPickerBase.List
+ className="select-none pb-1.5"
+ components={{
+ CategoryHeader: ({ category, ...props }) => (
+ <div
+ className="text-content-subtle bg-white px-3 pb-1.5 pt-3 text-xs font-medium"
+ {...props}
+ >
+ {category.label}
+ </div>
+ ),
+ Row: ({ children, ...props }) => (
+ <div className="scroll-my-1.5 px-1.5" {...props}>
+ {children}
+ </div>
+ ),
+ Emoji: ({ emoji, ...props }) => (
+ <button
+ className="flex size-7 items-center justify-center rounded-md text-lg data-[active]:bg-neutral-100"
+ {...props}
+ >
+ {emoji.emoji}
+ </button>
+ ),
+ }}
+ />
+ </EmojiPickerBase.Viewport>
+ </EmojiPickerBase.Root>
+ }
+ >
+ <Button
+ type="button"
+ variant="outline"
+ icon={<FaceSmile className="size-4" />}
+ className="size-8 p-0"
+ />
+ </Popover>
+ );
+}
diff --git a/apps/web/ui/messages/messages-panel.tsx b/apps/web/ui/messages/messages-panel.tsx
new file mode 100644
index 0000000000..4463f89315
--- /dev/null
+++ b/apps/web/ui/messages/messages-panel.tsx
@@ -0,0 +1,78 @@
+import { ArrowTurnLeft, Button } from "@dub/ui";
+import { useRef, useState } from "react";
+import ReactTextareaAutosize from "react-textarea-autosize";
+import { EmojiPicker } from "./emoji-picker";
+
+export function MessagesPanel({
+ onSendMessage,
+ placeholder = "Type a message...",
+}: {
+ onSendMessage: (message: string) => void;
+ placeholder?: string;
+}) {
+ const textAreaRef = useRef<HTMLTextAreaElement>(null);
+ const selectionStartRef = useRef<number | null>(null);
+ const [typedMessage, setTypedMessage] = useState("");
+
+ const sendMessage = () => {
+ if (!typedMessage) return;
+
+ onSendMessage(typedMessage);
+ setTypedMessage("");
+ };
+
+ return (
+ <div className="flex size-full flex-col">
+ <div className="grow">messages</div>
+ <div className="border-border-subtle border-t p-3 sm:p-6">
+ <div className="border-border-subtle overflow-hidden rounded-xl border has-[textarea:focus]:border-neutral-500 has-[textarea:focus]:ring-1 has-[textarea:focus]:ring-neutral-500">
+ <ReactTextareaAutosize
+ ref={textAreaRef}
+ className="placeholder:text-content-subtle block max-h-24 w-full resize-none border-none p-3 text-base focus:ring-0 sm:text-sm"
+ placeholder={placeholder}
+ value={typedMessage}
+ onChange={(e) => setTypedMessage(e.currentTarget.value)}
+ onKeyDown={(e) => {
+ if (e.key === "Enter" && !e.shiftKey) {
+ e.preventDefault();
+ sendMessage();
+ }
+ }}
+ onBlur={(e) =>
+ (selectionStartRef.current = e.target.selectionStart)
+ }
+ />
+
+ <div className="flex items-center justify-between gap-4 px-3 pb-3">
+ <div className="flex items-center gap-2">
+ <EmojiPicker
+ onSelect={(emoji) => {
+ const pos = selectionStartRef.current;
+ setTypedMessage((prev) =>
+ pos !== null
+ ? prev.slice(0, pos) + emoji + prev.slice(pos)
+ : prev + emoji,
+ );
+ textAreaRef.current?.focus();
+ }}
+ />
+ </div>
+ <Button
+ variant="primary"
+ text={
+ <span className="flex items-center gap-2">
+ Send
+ <span className="flex size-4 items-center justify-center rounded border border-neutral-700">
+ <ArrowTurnLeft className="text-content-inverted size-2.5" />
+ </span>
+ </span>
+ }
+ onClick={sendMessage}
+ className="h-8 w-fit rounded-lg px-4"
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ );
+}
diff --git a/packages/ui/src/icons/nucleo/face-smile.tsx b/packages/ui/src/icons/nucleo/face-smile.tsx
new file mode 100644
index 0000000000..a57efae1da
--- /dev/null
+++ b/packages/ui/src/icons/nucleo/face-smile.tsx
@@ -0,0 +1,36 @@
+import { SVGProps } from "react";
+
+export function FaceSmile(props: SVGProps<SVGSVGElement>) {
+ return (
+ <svg
+ height="18"
+ width="18"
+ viewBox="0 0 18 18"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ >
+ <g fill="currentColor">
+ <circle
+ cx="9"
+ cy="9"
+ fill="none"
+ r="7.25"
+ stroke="currentColor"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ strokeWidth="1.5"
+ />
+ <circle cx="7" cy="8" fill="currentColor" r="1" stroke="none" />
+ <circle cx="11" cy="8" fill="currentColor" r="1" stroke="none" />
+ <path
+ d="M12.749,11c-.717,1.338-2.128,2.25-3.749,2.25s-3.033-.912-3.749-2.25"
+ fill="none"
+ stroke="currentColor"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ strokeWidth="1.5"
+ />
+ </g>
+ </svg>
+ );
+}
diff --git a/packages/ui/src/icons/nucleo/index.ts b/packages/ui/src/icons/nucleo/index.ts
index 8c435c07fe..596c0c6ac4 100644
--- a/packages/ui/src/icons/nucleo/index.ts
+++ b/packages/ui/src/icons/nucleo/index.ts
@@ -89,6 +89,7 @@ export * from "./envelope-arrow-right";
export * from "./envelope-fill";
export * from "./eye";
export * from "./eye-slash";
+export * from "./face-smile";
export * from "./feather-fill";
export * from "./file-content";
export * from "./file-zip2";
diff --git a/packages/ui/src/popover.tsx b/packages/ui/src/popover.tsx
index cb5cec8602..94b644cc88 100644
--- a/packages/ui/src/popover.tsx
+++ b/packages/ui/src/popover.tsx
@@ -19,6 +19,7 @@ export type PopoverProps = PropsWithChildren<{
sticky?: "partial" | "always";
onEscapeKeyDown?: (event: KeyboardEvent) => void;
onWheel?: WheelEventHandler;
+ sideOffset?: number;
}>;
export function Popover({
@@ -35,6 +36,7 @@ export function Popover({
sticky,
onEscapeKeyDown,
onWheel,
+ sideOffset = 8,
}: PopoverProps) {
const { isMobile } = useMediaQuery();
@@ -79,7 +81,7 @@ export function Popover({
</PopoverPrimitive.Trigger>
<PopoverPrimitive.Portal>
<PopoverPrimitive.Content
- sideOffset={8}
+ sideOffset={sideOffset}
align={align}
side={side}
className={cn(
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 58b2ee83bc..cb4573d7ce 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.41.0
'@chronark/zod-bird':
specifier: ^0.3.9
version: 0.3.9
@@ -208,6 +208,9 @@ importers:
framer-motion:
specifier: ^10.16.16
+ frimousse:
+ specifier: ^0.3.0
fuse.js:
specifier: ^6.6.2
version: 6.6.2
@@ -297,7 +300,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])
@@ -397,7 +400,7 @@ importers:
version: 15.1.0([email protected])
tailwindcss:
specifier: ^3.4.4
tsx:
specifier: ^4.19.2
version: 4.19.2
@@ -479,10 +482,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
@@ -512,7 +515,7 @@ importers:
version: 18.2.0([email protected])
react-email:
specifier: ^2.1.6
resend:
specifier: ^4.0.0
@@ -544,7 +547,7 @@ importers:
version: link:../../tsconfig
tsup:
specifier: ^6.1.3
typescript:
specifier: ^5.1.6
version: 5.6.2
@@ -584,7 +587,7 @@ importers:
version: link:../../tsconfig
tsup:
specifier: ^6.1.3
typescript:
specifier: ^5.1.6
version: 5.6.2
@@ -631,7 +634,7 @@ importers:
devDependencies:
'@stripe/ui-extension-tools':
specifier: ^0.0.1
'@types/react':
specifier: ^19.0.2
version: 19.0.2
@@ -643,13 +646,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
@@ -659,7 +662,7 @@ importers:
devDependencies:
tailwindcss:
specifier: ^3.4.4
packages/tsconfig: {}
@@ -836,13 +839,13 @@ importers:
version: 18.2.0
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
@@ -894,7 +897,7 @@ importers:
version: link:../tsconfig
tsup:
specifier: ^6.1.3
typescript:
specifier: ^5.1.6
version: 5.1.6
@@ -6595,6 +6598,15 @@ packages:
react-dom:
optional: true
+ resolution: {integrity: sha512-kO6LMoKY/cLAYEhXXtqLRaLIE6L/DagpFPrUZaLv3LsUa1/8Iza3HhwZcgN8eZ+weXnhv69eoclNUPohcCa/IQ==}
+ peerDependencies:
+ react: ^18 || ^19
+ typescript: '>=5.1.0'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
@@ -11522,7 +11534,7 @@ snapshots:
'@opentelemetry/sdk-metrics': 1.30.1(@opentelemetry/[email protected])
'@opentelemetry/semantic-conventions': 1.29.0
dependencies:
'@aws-sdk/client-dynamodb': 3.758.0
'@aws-sdk/credential-providers': 3.758.0
@@ -11547,7 +11559,7 @@ snapshots:
reflect-metadata: 0.2.2
ripemd160: 2.0.2
sqlite3: 5.1.7
transitivePeerDependencies:
- '@google-cloud/spanner'
- '@mongodb-js/zstd'
@@ -12151,7 +12163,7 @@ snapshots:
jest-util: 27.5.1
slash: 3.0.0
dependencies:
'@jest/console': 27.5.1
'@jest/reporters': 27.5.1
@@ -12165,7 +12177,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
@@ -14819,7 +14831,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])
@@ -14827,9 +14839,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'
@@ -14914,22 +14926,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:
@@ -17513,6 +17525,12 @@ snapshots:
react: 18.2.0
react-dom: 18.2.0([email protected])
+ dependencies:
+ react: 18.2.0
+ optionalDependencies:
+ typescript: 5.4.4
+
@@ -18243,16 +18261,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
@@ -18264,7 +18282,7 @@ snapshots:
- ts-node
- utf-8-validate
dependencies:
'@babel/core': 7.24.5
'@jest/test-sequencer': 27.5.1
@@ -18291,7 +18309,7 @@ snapshots:
slash: 3.0.0
strip-json-comments: 3.1.1
optionalDependencies:
+ ts-node: 10.9.2([email protected])
transitivePeerDependencies:
- bufferutil
- canvas
@@ -18615,11 +18633,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
@@ -20017,61 +20035,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.4.38
dependencies:
lilconfig: 2.1.0
yaml: 1.10.2
optionalDependencies:
postcss: 8.4.38
dependencies:
lilconfig: 2.1.0
yaml: 1.10.2
optionalDependencies:
postcss: 8.4.38
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:
@@ -20298,7 +20324,7 @@ snapshots:
react: 19.0.0
scheduler: 0.25.0
dependencies:
'@babel/core': 7.24.5
'@babel/parser': 7.24.5
@@ -20338,7 +20364,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'
@@ -20392,10 +20418,10 @@ snapshots:
react: 18.2.0
react-dom: 18.2.0([email protected])
dependencies:
'@react-pdf/renderer': 3.4.5([email protected])([email protected])
transitivePeerDependencies:
- encoding
- react
@@ -21311,7 +21337,7 @@ snapshots:
dependencies:
'@alloc/quick-lru': 5.2.0
arg: 5.0.2
@@ -21330,7 +21356,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
@@ -21338,7 +21364,7 @@ snapshots:
transitivePeerDependencies:
- ts-node
dependencies:
'@alloc/quick-lru': 5.2.0
arg: 5.0.2
@@ -21357,7 +21383,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
@@ -21365,7 +21391,7 @@ snapshots:
transitivePeerDependencies:
- ts-node
dependencies:
'@alloc/quick-lru': 5.2.0
arg: 5.0.2
@@ -21384,7 +21410,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
@@ -21392,7 +21418,7 @@ snapshots:
transitivePeerDependencies:
- ts-node
dependencies:
'@alloc/quick-lru': 5.2.0
arg: 5.0.2
@@ -21411,7 +21437,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
@@ -21467,7 +21493,7 @@ snapshots:
ansi-escapes: 4.3.2
supports-hyperlinks: 2.3.0
dependencies:
'@jridgewell/trace-mapping': 0.3.25
jest-worker: 27.5.1
@@ -21560,11 +21586,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
@@ -21577,7 +21603,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
@@ -21591,14 +21617,14 @@ snapshots:
create-require: 1.1.1
diff: 4.0.2
make-error: 1.3.6
- typescript: 4.9.5
+ 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
@@ -21612,14 +21638,13 @@ snapshots:
create-require: 1.1.1
diff: 4.0.2
make-error: 1.3.6
- typescript: 5.1.6
+ 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
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
@@ -21636,29 +21661,25 @@ snapshots:
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
'@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.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
optionalDependencies:
@@ -21670,7 +21691,7 @@ snapshots:
dependencies:
bundle-require: 3.1.2([email protected])
cac: 6.7.14
@@ -21680,7 +21701,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
@@ -21694,7 +21715,7 @@ snapshots:
- supports-color
- ts-node
dependencies:
bundle-require: 3.1.2([email protected])
cac: 6.7.14
@@ -21704,7 +21725,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
@@ -21718,7 +21739,7 @@ snapshots:
- supports-color
- ts-node
dependencies:
bundle-require: 4.2.1([email protected])
cac: 6.7.14
@@ -21728,7 +21749,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
@@ -21742,7 +21763,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.4.38
+ typescript: 5.6.2
+ transitivePeerDependencies:
+ - supports-color
+ - ts-node
+
dependencies:
bundle-require: 4.2.1([email protected])
cac: 6.7.14
@@ -21752,7 +21797,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
@@ -21922,7 +21967,7 @@ snapshots:
dependencies:
is-typedarray: 1.0.0
dependencies:
'@sqltools/formatter': 1.2.5
ansis: 3.17.0
@@ -21945,7 +21990,7 @@ snapshots:
pg: 8.13.3
redis: 4.7.0
sqlite3: 5.1.7
+ ts-node: 10.9.2(@types/[email protected])([email protected])
transitivePeerDependencies:
- supports-color
@@ -22303,7 +22348,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: