File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " htmldocs-starter" ,
3
- "version" : " 0.2.25 " ,
3
+ "version" : " 0.2.24 " ,
4
4
"private" : true ,
5
5
"scripts" : {
6
6
"lint" : " eslint . --max-warnings 0" ,
7
7
"dev" : " npx htmldocs@latest dev"
8
8
},
9
9
"dependencies" : {
10
10
"@formatjs/intl" : " ^2.10.4" ,
11
- "@htmldocs/react" : " workspace:0.2.25 " ,
12
- "@htmldocs/render" : " workspace:0.2.25 " ,
11
+ "@htmldocs/react" : " workspace:0.2.24 " ,
12
+ "@htmldocs/render" : " workspace:0.2.24 " ,
13
13
"@react-email/components" : " 0.0.18" ,
14
14
"clsx" : " ^2.1.1" ,
15
+ "htmldocs" : " workspace:0.2.24" ,
15
16
"markdown-it" : " ^14.1.0" ,
16
17
"react" : " ^18.2.0" ,
17
18
"react-dom" : " ^18.2.0" ,
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ import { Logo } from '../logo';
9
9
import ThemeToggle from '../theme-toggle' ;
10
10
import { Button } from '../ui/button' ;
11
11
import { X } from '@phosphor-icons/react' ;
12
+ import { VERSION } from '~/lib/version' ;
12
13
13
- const VERSION = '0.1.24' ;
14
14
const VERSION_CHECK_INTERVAL = 1000 * 60 * 60 * 24 ; // Check once per day
15
15
16
16
const compareVersions = ( v1 : string , v2 : string ) : number => {
Original file line number Diff line number Diff line change
1
+ import packageJson from '../../../package.json' ;
2
+
3
+ export const VERSION = packageJson . version ;
You can’t perform that action at this time.
0 commit comments