Skip to content

Commit

Permalink
feat: update to docusaurus 2.4.1 and add ga4 support (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
idoshamun committed Jun 20, 2023
1 parent fb7c107 commit 40980a2
Show file tree
Hide file tree
Showing 4 changed files with 7,583 additions and 8,012 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.16
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ const config = {
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
googleAnalytics: {
trackingID: 'UA-109059578-7',
gtag: {
trackingID: ['UA-109059578-7', 'G-Y94RMTGW0M'],
// Optional fields.
anonymizeIP: true, // Should IPs be anonymized?
},
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"docker:run": "docker run -p 3000:3000 francescoxx/dailydev-docs:0.9.3"
},
"dependencies": {
"@docusaurus/core": "2.0.0-beta.13",
"@docusaurus/preset-classic": "2.0.0-beta.13",
"@docusaurus/theme-search-algolia": "^2.0.0-beta.13",
"@docusaurus/core": "^2.4.1",
"@docusaurus/preset-classic": "^2.4.1",
"@docusaurus/theme-search-algolia": "^2.4.1",
"@mdx-js/react": "^1.6.21",
"@svgr/webpack": "^5.5.0",
"clsx": "^1.1.1",
Expand All @@ -40,4 +40,4 @@
"last 1 safari version"
]
}
}
}

1 comment on commit 40980a2

@vercel
Copy link

@vercel vercel bot commented on 40980a2 Jun 20, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.