Skip to content

Commit

Permalink
chore: add plausible site analytics (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoey-kaiser authored Aug 19, 2024
1 parent 9990a5d commit f016edf
Show file tree
Hide file tree
Showing 3 changed files with 2,878 additions and 2,281 deletions.
1 change: 1 addition & 0 deletions .vitepress/head.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ export const headConfig: HeadConfig[] = [
['meta', { property: 'og:locale', content: 'en' }],
['meta', { property: 'og:image', content: OG_IMAGE_URL }],
['meta', { property: 'og:url', content: HOST_NAME }],
['script', { 'src': 'https://plausible.io/js/script.js', 'data-domain': 'sidebase.io', 'defer': '' }]
]
27 changes: 20 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,28 @@
"name": "@sidebase/docs",
"version": "2.0.0",
"type": "module",
"description": " Homepage and documentation for all of the sidebase open source project.",
"homepage": "https://sidebase.io",
"repository": {
"type": "git",
"url": "https://github.com/sidebase/docs"
},
"engines": {
"pnpm": ">=9.4.0",
"node": ">=20"
},
"scripts": {
"dev": "vitepress dev",
"build": "vitepress build",
"preview": "vitepress preview",
"lint": "eslint ."
"lint": "oxlint --deny-warnings -D correctness -D suspicious -D perf && eslint . --max-warnings=0",
"lint:fix": "eslint . --max-warnings=0 --fix"
},
"devDependencies": {
"@antfu/eslint-config": "^2.22.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"oxlint": "^0.7.2",
"postcss": "^8.4.39",
"tailwindcss": "^3.4.4",
"vitepress": "^1.3.0"
Expand All @@ -20,9 +32,10 @@
"@lehoczky/vue-termynal": "^1.3.0"
},
"postcss": {
"plugins": {
"tailwindcss": {},
"autoprefixer": {}
}
}
}
"plugins": {
"tailwindcss": {},
"autoprefixer": {}
}
},
"packageManager": "[email protected]+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e"
}
Loading

0 comments on commit f016edf

Please sign in to comment.