fix(docs): read version from root package.json for nav badge

The docs version badge was reading from apps/docs/package.json which
gets out of sync during manual releases. Read from the monorepo root
package.json instead so it always matches the released version.
This commit is contained in:
SnapOtter
2026-06-08 17:56:18 +08:00
parent 6e5e493612
commit 0631c41eb9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@snapotter/docs",
"version": "1.17.1",
"version": "1.17.2",
"private": true,
"scripts": {
"docs:dev": "vitepress dev .",