Skip to content

Commit

Permalink
Update dependencies. (#353)
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Tey <[email protected]>
  • Loading branch information
leerob and steven-tey authored Nov 14, 2023
1 parent fdca323 commit 29e20e7
Show file tree
Hide file tree
Showing 7 changed files with 1,861 additions and 2,253 deletions.
43 changes: 36 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,37 @@
**/node_modules
**.next
**.env
**.DS_Store
**.vercel
.vscode
**.git
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
/.yarn

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*
!.env*.example

# vercel
.vercel

# typescript
*.tsbuildinfo
2 changes: 1 addition & 1 deletion components/mdx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { MDXRemote, MDXRemoteProps } from "next-mdx-remote";
import { replaceLinks } from "@/lib/remark-plugins";
import { Tweet } from "react-tweet";
import BlurImage from "@/components/blur-image";
import styles from './mdx.module.css'
import styles from "./mdx.module.css";

export default function MDX({ source }: { source: MDXRemoteProps }) {
const components = {
Expand Down
3 changes: 1 addition & 2 deletions components/uploader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { useState, useCallback, useMemo, ChangeEvent } from "react";
import { toast } from "sonner";
import LoadingDots from "@/components/icons/loading-dots";
import { BlobResult } from "@vercel/blob";

export default function Uploader() {
const [data, setData] = useState<{
Expand Down Expand Up @@ -52,7 +51,7 @@ export default function Uploader() {
body: file,
}).then(async (res) => {
if (res.status === 200) {
const { url } = (await res.json()) as BlobResult;
const { url } = await res.json();
toast(
<div className="relative">
<div className="p-2">
Expand Down
27 changes: 14 additions & 13 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@
*/
module.exports = {
experimental: {
serverActions: true,
serverActions: {
allowedOrigins: ["app.localhost:3000"],
},
},
images: {
domains: [
"public.blob.vercel-storage.com",
"res.cloudinary.com",
"abs.twimg.com",
"pbs.twimg.com",
"avatar.vercel.sh",
"avatars.githubusercontent.com",
"www.google.com",
"flag.vercel.app",
"illustrations.popsy.co",
],
remotePatterns: [
{ hostname: "public.blob.vercel-storage.com" },
{ hostname: "res.cloudinary.com" },
{ hostname: "abs.twimg.com" },
{ hostname: "pbs.twimg.com" },
{ hostname: "avatar.vercel.sh" },
{ hostname: "avatars.githubusercontent.com" },
{ hostname: "www.google.com" },
{ hostname: "flag.vercel.app" },
{ hostname: "illustrations.popsy.co" },
]
},
reactStrictMode: false,
};
76 changes: 38 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,55 +10,55 @@
},
"dependencies": {
"@next-auth/prisma-adapter": "^1.0.7",
"@prisma/client": "^5.2.0",
"@tremor/react": "^3.4.1",
"@upstash/ratelimit": "^0.4.3",
"@vercel/analytics": "^1.0.1",
"@vercel/blob": "^0.9.2",
"@vercel/kv": "^0.2.2",
"@vercel/postgres": "^0.3.2",
"ai": "^2.1.17",
"clsx": "^1.2.1",
"@prisma/client": "^5.5.2",
"@tremor/react": "^3.11.1",
"@upstash/ratelimit": "^0.4.4",
"@vercel/analytics": "^1.1.1",
"@vercel/blob": "^0.15.0",
"@vercel/kv": "^1.0.0",
"@vercel/postgres": "^0.5.1",
"ai": "^2.2.22",
"clsx": "^2.0.0",
"date-fns": "^2.30.0",
"focus-trap-react": "^10.2.1",
"framer-motion": "^10.12.18",
"focus-trap-react": "^10.2.3",
"framer-motion": "^10.16.4",
"gray-matter": "^4.0.3",
"js-cookie": "^3.0.5",
"lucide-react": "^0.244.0",
"lucide-react": "^0.292.0",
"nanoid": "^4.0.2",
"next": "14.0.1",
"next-auth": "4.23.1",
"next": "14.0.2",
"next-auth": "4.24.5",
"next-mdx-remote": "^4.4.1",
"novel": "^0.1.22",
"openai-edge": "^1.2.0",
"openai-edge": "^1.2.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-textarea-autosize": "^8.5.2",
"react-tweet": "^3.0.2",
"react-textarea-autosize": "^8.5.3",
"react-tweet": "^3.1.1",
"remark": "^14.0.3",
"sharp": "^0.31.3",
"sonner": "^0.4.0",
"swr": "^2.2.0",
"tailwind-merge": "^1.13.2",
"unist-util-visit": "^4.1.2",
"use-debounce": "^9.0.4"
"sharp": "^0.32.6",
"sonner": "^1.2.0",
"swr": "^2.2.4",
"tailwind-merge": "^2.0.0",
"unist-util-visit": "^5.0.0",
"use-debounce": "^10.0.0"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.9",
"@types/js-cookie": "^3.0.3",
"@types/node": "^20.4.1",
"@types/react": "^18.2.14",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"@types/js-cookie": "^3.0.6",
"@types/node": "^20.9.0",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"autoprefixer": "^10.4.14",
"eslint": "8.31.0",
"eslint-config-next": "^13.4.9",
"postcss": "^8.4.25",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.3.0",
"prisma": "^5.2.0",
"tailwindcss": "^3.3.3",
"tailwindcss-animate": "^1.0.6",
"typescript": "^5.1.6"
"autoprefixer": "^10.4.16",
"eslint": "8.53.0",
"eslint-config-next": "^14.0.2",
"postcss": "^8.4.31",
"prettier": "^3.1.0",
"prettier-plugin-tailwindcss": "^0.5.7",
"prisma": "^5.5.2",
"tailwindcss": "^3.3.5",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.2.2"
}
}
Loading

1 comment on commit 29e20e7

@vercel
Copy link

@vercel vercel bot commented on 29e20e7 Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

platforms – ./

aduhai.com
buyme.cofe
chanak.xyz
ciccio.com
coderai.de
dalilsa.co
dasdsa.com
domena.com
dsdfsd.com
eiduejw.me
exclou.net
fanbird.co
farsan.com
favicon.io
fdafce.com
fintech.mn
fivacy.com
lucasb.com
lucien.com
mofect.dev
mycomd.com
mylog.link
pofu.co.uk
semoule.fr
test14.com
test2s.com
tester.vim
vercel.pub
vivekrp.in
amrdiab.com
bijoy.store
boubouh.com
cjsingh.com
criteck.com
doclio.live
dooots.cool
fadfads.com
fernando.gg
getdocs.com
getlukas.cl
jagna.space
lickity.com
mintlify.so
mydomqin.om
niceone.com
prolific.nu
quatton.com
rhysy.cloud
salamsa.com
soundy.coud
socommerz.com
statustext.co
drowk-apps.vercel.app
platforms.lyrixfy.com
prisma.prismaworks.ed
sdasdasdasdasdasd.com
thetutorialheaven.com
wouters-test-site.com
blablah.platformize.co
jesse-test.risingj.com
platformize.vercel.app
platforms.vercel.rocks
vercel.juliowerner.com
youknowthisiswrong.com
brazilopensourcegang.ai
cybersecurityguides.com
example123123124124.com
newvarcel.ammaromar.com
plasticjuicebottles.com
replek-trivia-quest.com
something.altersfsf.com
somethingtestgoogle.com
updates.dandelionhq.xyz
veggiessaladrecipes.com
www.sdfsdfdsfdsfsdf.com
*.platformize.vercel.app
asdfjklasjdflkajwdfs.com
community.testfoobar.com
goooooooooooooooogle.com
princetonxpartyround.com
testing123testing123.com
welcome.tcapsmovies.shop
www.growwithspectrum.com
drafts.stuartbalcombe.com
pub.decentralizeddevs.com
verceltest.gorbatiuk2.com
msasnssjkdnjkasnckjads.xyz
dddddddddddddddddddddddd.com
support-subdomain.vercel.pub
test.galacticscootergang.com
cauidjfiadslfkdsfasdasdsa.com
vercel-platform.kushimoto.dev
bennettsoftwaredevelopment.net
test.myrandomdomainfdsjksd.com
platforms-git-main.vercel.rocks
stores-frontend-gules.vercel.app
gd32fg4d6f5g49a8fd7g98dfg4sdfg.com
app.kasljdhaskjhdkasjdhaskjdhka.com
dwidnwqiodnwqidnwqidnwqidnwqindwqdqwdqw.com
*.platformize.co

Please sign in to comment.