Skip to content

Commit

Permalink
Merge pull request #92 from pluralsh/deprecate-posthog
Browse files Browse the repository at this point in the history
remove posthog
  • Loading branch information
michaeljguarino authored Jun 27, 2024
2 parents 73dde63 + bfe6bed commit 3ae3131
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 85 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"next-compose-plugins": "2.2.1",
"next-transpile-modules": "10.0.0",
"octokit": "3.1.0",
"posthog-js": "1.75.2",
"query-string": "8.1.0",
"raw-loader": "4.0.2",
"react": "18.2.0",
Expand Down
2 changes: 0 additions & 2 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import { BreakpointProvider } from '@src/components/contexts/BreakpointProvider'
import DocSearchStyles from '@src/components/DocSearchStyles'
import { type FooterVariant } from '@src/components/FooterFull'
import GlobalStyles from '@src/components/GlobalStyles'
import { usePosthog } from '@src/components/hooks/usePosthog'
import PrimaryPage from '@src/components/PrimaryPage'
import { type GlobalProps } from '@src/utils/getGlobalProps'

Expand Down Expand Up @@ -72,7 +71,6 @@ const Link = forwardRef(
)

function App({ Component, pageProps }: MyAppProps) {
usePosthog()
const { globalProps, ...pgProps } = pageProps
const gProps = {
// @ts-expect-error
Expand Down
64 changes: 0 additions & 64 deletions src/components/hooks/usePosthog.tsx

This file was deleted.

1 change: 0 additions & 1 deletion src/data/getStackTabData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export const getStackTabData = ({
'growthbook',
'clickhouse',
'datahub',
'posthog',
'jitsu',
'lightdash',
].includes(repo.name)
Expand Down
17 changes: 0 additions & 17 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9882,13 +9882,6 @@ __metadata:
languageName: node
linkType: hard

"fflate@npm:^0.4.1":
version: 0.4.8
resolution: "fflate@npm:0.4.8"
checksum: 29d8cbe44d5e7f53e7f5a160ac7f9cc025480c7b3bfd85c5f898cbe20dfa2dad4732daa534982664bf30b35896a90af44ea33ede5d94c5ffd1b8b0c0a0a56ca2
languageName: node
linkType: hard

"figures@npm:^3.0.0":
version: 3.2.0
resolution: "figures@npm:3.2.0"
Expand Down Expand Up @@ -13799,7 +13792,6 @@ __metadata:
npm-run-all: 4.1.5
octokit: 3.1.0
postcss: 8.4.27
posthog-js: 1.75.2
prettier: 3.2.5
prettier-plugin-tailwindcss: 0.5.11
query-string: 8.1.0
Expand Down Expand Up @@ -13981,15 +13973,6 @@ __metadata:
languageName: node
linkType: hard

"posthog-js@npm:1.75.2":
version: 1.75.2
resolution: "posthog-js@npm:1.75.2"
dependencies:
fflate: ^0.4.1
checksum: 99814e568f8da11f469d151f6b40da81feadf4fe0ccf0be4eca97fee683de608b5addf3ea707b79bbaac26d5d6582fe66a21a8d61a14682fca9fbfc5018906b3
languageName: node
linkType: hard

"prelude-ls@npm:^1.2.1":
version: 1.2.1
resolution: "prelude-ls@npm:1.2.1"
Expand Down

0 comments on commit 3ae3131

Please sign in to comment.