Skip to content

Commit f016edf

Browse files
authored
chore: add plausible site analytics (#190)
1 parent 9990a5d commit f016edf

File tree

3 files changed

+2878
-2281
lines changed

3 files changed

+2878
-2281
lines changed

.vitepress/head.ts

+1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ export const headConfig: HeadConfig[] = [
1515
['meta', { property: 'og:locale', content: 'en' }],
1616
['meta', { property: 'og:image', content: OG_IMAGE_URL }],
1717
['meta', { property: 'og:url', content: HOST_NAME }],
18+
['script', { 'src': 'https://plausible.io/js/script.js', 'data-domain': 'sidebase.io', 'defer': '' }]
1819
]

package.json

+20-7
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,28 @@
22
"name": "@sidebase/docs",
33
"version": "2.0.0",
44
"type": "module",
5+
"description": " Homepage and documentation for all of the sidebase open source project.",
6+
"homepage": "https://sidebase.io",
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/sidebase/docs"
10+
},
11+
"engines": {
12+
"pnpm": ">=9.4.0",
13+
"node": ">=20"
14+
},
515
"scripts": {
616
"dev": "vitepress dev",
717
"build": "vitepress build",
818
"preview": "vitepress preview",
9-
"lint": "eslint ."
19+
"lint": "oxlint --deny-warnings -D correctness -D suspicious -D perf && eslint . --max-warnings=0",
20+
"lint:fix": "eslint . --max-warnings=0 --fix"
1021
},
1122
"devDependencies": {
1223
"@antfu/eslint-config": "^2.22.0",
1324
"autoprefixer": "^10.4.19",
1425
"eslint": "^8.57.0",
26+
"oxlint": "^0.7.2",
1527
"postcss": "^8.4.39",
1628
"tailwindcss": "^3.4.4",
1729
"vitepress": "^1.3.0"
@@ -20,9 +32,10 @@
2032
"@lehoczky/vue-termynal": "^1.3.0"
2133
},
2234
"postcss": {
23-
"plugins": {
24-
"tailwindcss": {},
25-
"autoprefixer": {}
26-
}
27-
}
28-
}
35+
"plugins": {
36+
"tailwindcss": {},
37+
"autoprefixer": {}
38+
}
39+
},
40+
"packageManager": "[email protected]+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e"
41+
}

0 commit comments

Comments
 (0)