Skip to content

Commit

Permalink
feat: remove @vercel/analytics and bump up
Browse files Browse the repository at this point in the history
Signed-off-by: Homing So <[email protected]>
  • Loading branch information
hominsu committed Aug 13, 2024
1 parent 8c18967 commit de1a4cb
Show file tree
Hide file tree
Showing 6 changed files with 1,681 additions and 1,441 deletions.
894 changes: 0 additions & 894 deletions .yarn/releases/yarn-4.3.1.cjs

This file was deleted.

925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.4.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.3.1.cjs
yarnPath: .yarn/releases/yarn-4.4.0.cjs
2 changes: 0 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import siteMetadata from '@/data/siteMetadata'
import { ThemeProviders } from './theme-providers'
import { Metadata } from 'next'
import { SpeedInsights } from '@vercel/speed-insights/next'
import { Analytics as VercelAnalytics } from '@vercel/analytics/react'

const space_grotesk = Space_Grotesk({
subsets: ['latin'],
Expand Down Expand Up @@ -97,7 +96,6 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#000" />
<link rel="alternate" type="application/rss+xml" href={`${basePath}/feed.xml`} />
<body className="bg-white pl-[calc(100vw-100%)] text-black antialiased dark:bg-gray-950 dark:text-white">
<VercelAnalytics />
<SpeedInsights />
<ThemeProviders>
<Analytics analyticsConfig={siteMetadata.analytics as AnalyticsConfig} />
Expand Down
77 changes: 38 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,56 +12,55 @@
"prepare": "husky"
},
"dependencies": {
"@headlessui/react": "1.7.19",
"@next/bundle-analyzer": "14.2.3",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.12",
"@vercel/analytics": "^1.2.2",
"@vercel/speed-insights": "^1.0.10",
"autoprefixer": "^10.4.13",
"contentlayer2": "0.4.6",
"esbuild": "0.20.2",
"github-slugger": "^2.0.0",
"gray-matter": "^4.0.2",
"hast-util-from-html-isomorphic": "^2.0.0",
"image-size": "1.0.0",
"next": "14.2.3",
"next-contentlayer2": "0.4.6",
"next-themes": "^0.3.0",
"pliny": "0.2.1",
"postcss": "^8.4.24",
"@headlessui/react": "2.1.2",
"@next/bundle-analyzer": "14.2.5",
"@tailwindcss/forms": "0.5.7",
"@tailwindcss/typography": "0.5.14",
"@vercel/speed-insights": "1.0.12",
"autoprefixer": "10.4.20",
"contentlayer2": "0.5.0",
"esbuild": "0.23.0",
"github-slugger": "2.0.0",
"gray-matter": "4.0.3",
"hast-util-from-html-isomorphic": "2.0.0",
"image-size": "1.1.1",
"next": "14.2.5",
"next-contentlayer2": "0.5.0",
"next-themes": "0.3.0",
"pliny": "0.3.0",
"postcss": "8.4.41",
"react": "18.3.1",
"react-dom": "18.3.1",
"reading-time": "1.5.0",
"rehype-autolink-headings": "^7.1.0",
"rehype-citation": "^2.0.0",
"rehype-katex": "^7.0.0",
"rehype-autolink-headings": "7.1.0",
"rehype-citation": "2.1.1",
"rehype-katex": "7.0.0",
"rehype-preset-minify": "7.0.0",
"rehype-prism-plus": "^2.0.0",
"rehype-slug": "^6.0.0",
"remark": "^15.0.0",
"remark-gfm": "^4.0.0",
"remark-github-blockquote-alert": "^1.2.1",
"remark-math": "^6.0.0",
"sharp": "^0.33.1",
"tailwindcss": "^3.4.3",
"unist-util-visit": "^5.0.0"
"rehype-prism-plus": "2.0.0",
"rehype-slug": "6.0.0",
"remark": "15.0.1",
"remark-gfm": "4.0.0",
"remark-github-blockquote-alert": "1.2.1",
"remark-math": "6.0.0",
"sharp": "0.33.4",
"tailwindcss": "3.4.9",
"unist-util-visit": "5.0.0"
},
"devDependencies": {
"@svgr/webpack": "^8.0.1",
"@types/mdx": "^2.0.12",
"@types/react": "^18.2.73",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"@svgr/webpack": "^8.1.0",
"@types/mdx": "^2.0.13",
"@types/react": "^18.3.3",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"cross-env": "^7.0.3",
"eslint": "^8.45.0",
"eslint-config-next": "14.2.3",
"eslint-config-prettier": "^8.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^9.0.0",
"lint-staged": "^13.0.0",
"lint-staged": "^15.2.8",
"prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.5.11",
"prettier-plugin-tailwindcss": "^0.6.6",
"typescript": "^5.1.3"
},
"lint-staged": {
Expand All @@ -72,5 +71,5 @@
"prettier --write"
]
},
"packageManager": "yarn@4.3.1"
"packageManager": "yarn@4.4.0"
}
Loading

0 comments on commit de1a4cb

Please sign in to comment.