Skip to content

Commit 2fc14f7

Browse files
committed
fix build
1 parent 8ae174b commit 2fc14f7

File tree

5 files changed

+8382
-2209
lines changed

5 files changed

+8382
-2209
lines changed

Diff for: .changeset/honest-parents-shop.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"htmldocs": patch
3+
"htmldocs-starter": patch
4+
---
5+
6+
fix build

Diff for: packages/htmldocs/public/template/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"@htmldocs/render": "workspace:0.2.25",
1313
"@react-email/components": "0.0.18",
1414
"clsx": "^2.1.1",
15+
"htmldocs": "workspace:0.2.25",
1516
"markdown-it": "^14.1.0",
1617
"react": "^18.2.0",
1718
"react-dom": "^18.2.0",

Diff for: packages/htmldocs/src/app/components/sidebar/sidebar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import { Logo } from '../logo';
99
import ThemeToggle from '../theme-toggle';
1010
import { Button } from '../ui/button';
1111
import { X } from '@phosphor-icons/react';
12+
import { VERSION } from '~/lib/version';
1213

13-
const VERSION = '0.1.24';
1414
const VERSION_CHECK_INTERVAL = 1000 * 60 * 60 * 24; // Check once per day
1515

1616
const compareVersions = (v1: string, v2: string): number => {

Diff for: packages/htmldocs/src/app/lib/version.ts

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import packageJson from '../../../package.json';
2+
3+
export const VERSION = packageJson.version;

0 commit comments

Comments
 (0)