Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

Update uploadthing to fix dns name (#577)

Sean Boult995108d4dbd8
diff --git a/apps/web/package.json b/apps/web/package.json
index f0e40f4d..a833e95b 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -34,7 +34,7 @@
"@tanstack/react-table": "^8.9.3",
"@types/lodash": "^4.14.195",
"@uiw/react-md-editor": "^3.23.3",
- "@uploadthing/react": "^5.2.0",
+ "@uploadthing/react": "^5.5.0",
"@vercel/analytics": "^1.0.2",
"@vercel/edge-config": "^0.2.1",
"@vercel/toolbar": "^0.1.1",
@@ -65,7 +65,7 @@
"tailwindcss-animate": "^1.0.6",
"unified": "^10.1.2",
"unist-util-visit": "^5.0.0",
- "uploadthing": "^5.2.1",
+ "uploadthing": "^5.5.2",
"zod": "^3.21.4",
"zustand": "^4.3.9"
},
diff --git a/apps/web/src/components/wizard/DescriptionEditor.tsx b/apps/web/src/components/wizard/DescriptionEditor.tsx
index 8d89457a..9815e5bc 100644
--- a/apps/web/src/components/wizard/DescriptionEditor.tsx
+++ b/apps/web/src/components/wizard/DescriptionEditor.tsx
@@ -24,6 +24,7 @@ export function DescriptionEditor({ form }: Props) {
<FormItem className="h-full">
<RichMarkdownEditor
dismissPreview
+ allowImageUpload
onChange={field.onChange}
value={field.value}
/>
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 68093a57..72bf9899 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -253,8 +253,8 @@ importers:
specifier: ^3.23.3
'@uploadthing/react':
- specifier: ^5.2.0
+ specifier: ^5.5.0
'@vercel/analytics':
specifier: ^1.0.2
version: 1.0.2
@@ -346,8 +346,8 @@ importers:
specifier: ^5.0.0
version: 5.0.0
uploadthing:
- specifier: ^5.2.1
- version: 5.2.1([email protected])
+ specifier: ^5.5.2
+ version: 5.5.2([email protected])
zod:
specifier: ^3.21.4
version: 3.21.4
@@ -1531,7 +1531,7 @@ packages:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
dependencies:
eslint: 8.48.0
- eslint-visitor-keys: 3.4.3
+ eslint-visitor-keys: 3.4.1
dev: true
/@eslint-community/[email protected]:
@@ -4308,28 +4308,29 @@ packages:
- supports-color
dev: false
- /@uploadthing/[email protected]:
- resolution: {integrity: sha512-nRcdyM622+GYT9SdaJIVLknqoc8i7krItinfuBPtvmPc+UNGDJ+pMkr4AatYp88cEc4iYtPlN8flJvZ3dNtgrg==}
+ /@uploadthing/[email protected]:
+ resolution: {integrity: sha512-UDySsPbdi7wp52WG7mp5CiZwaTvokDubqhm1xhFm73Bqhp0PsGbwSSF5PdCXH4fe8Y4EKGrMyWQ4i1fF9+DVVQ==}
dev: false
- resolution: {integrity: sha512-kVM/3JZJhMgk2QGvyhyqPA5Zycq9TaqgCg/MNWvWDSgzw5MKeMyiXsEAJEQ7jO1BBjAfZ0O0NCM0VXCXuMLkPQ==}
+ resolution: {integrity: sha512-50VduVEqDJwEyT9GDxCAzI5V28/5tD9Rddsmwt/ciCJG8J+sg3C9oHAvhEm9MWYf3h0YVi/fgtpYLg64Y8PSAA==}
peerDependencies:
react: ^17.0.2 || ^18.0.0
react-dropzone: ^14.2.3
uploadthing: ^5.0.0
dependencies:
- '@uploadthing/shared': 5.1.0(@uploadthing/[email protected])([email protected])
+ '@uploadthing/shared': 5.2.1(@uploadthing/[email protected])([email protected])
react: 18.2.0
react-dropzone: 14.2.3([email protected])
- uploadthing: 5.2.1([email protected])
+ tailwind-merge: 1.14.0
+ uploadthing: 5.5.2([email protected])
transitivePeerDependencies:
- '@uploadthing/mime-types'
- zod
dev: false
- resolution: {integrity: sha512-3pt9PFN0QuAvCv2LZyC66Bcn+zDUbh8Ws3noYHIlr2BFIvsH0zs2oVG+WXhb+9Nunu8+DER6iol7frza5rldIA==}
+ resolution: {integrity: sha512-ISb78wuHqU5F/7TVw/3eO0VHQdSx3qdN7I4R4knHynuWFjgJjfUsc+zAAAtpo0UZlwfjIQIv/WtSwxdlNxRPGw==}
peerDependencies:
'@uploadthing/mime-types': ^0.2.0
zod: ^3.21.4
@@ -4337,7 +4338,7 @@ packages:
'@uploadthing/mime-types':
optional: true
dependencies:
- '@uploadthing/mime-types': 0.2.0
+ '@uploadthing/mime-types': 0.2.1
zod: 3.21.4
dev: false
@@ -10593,11 +10594,11 @@ packages:
escalade: 3.1.1
picocolors: 1.0.0
- resolution: {integrity: sha512-vav6UwvEOzBSoPYHGsM6PksyAmyUoPPylkcveTgAUWVS5kKWaaxcOlgStShveTUo3JnoKD2E9Z2+z1BWXALv8A==}
+ resolution: {integrity: sha512-PvCPzXHr1xMFh5qN9ef9gL1KOeQhKLII58bOEwT6+DaN8nWmFtXRd66PDMkoEInYuC7U1Cacuvc1oniEQF5pAw==}
dependencies:
- '@uploadthing/mime-types': 0.2.0
- '@uploadthing/shared': 5.1.0(@uploadthing/[email protected])([email protected])
+ '@uploadthing/mime-types': 0.2.1
+ '@uploadthing/shared': 5.2.1(@uploadthing/[email protected])([email protected])
transitivePeerDependencies:
- zod
dev: false