Skip to content

Commit

Permalink
print version to console
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-mayrgundter committed Apr 21, 2024
1 parent e8e6531 commit 2a60cbe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
node_modules

# Website is built by GHA, so don't commit
docs

# Temp files
*~
#*
node_modules
.DS_Store
*.log
log
built
t
t
2 changes: 2 additions & 0 deletions js/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ import React, {Fragment} from 'react'
import {createRoot} from 'react-dom/client'
import Style from './Style'
import Routed from './Routed'
import pkgInfo from '../package.json'


/** @returns {Fragment} */
function Root({children}) {
console.log(`Celestiary version: ${pkgInfo.version}`)
return (
<Style>
<Routed/>
Expand Down

0 comments on commit 2a60cbe

Please sign in to comment.