Set version beside the ALPHA tag

This commit is contained in:
Arnaud 2024-09-26 17:00:53 +02:00
parent 9ea74301a1
commit 7e6799f956
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
4 changed files with 5 additions and 11 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@codex-storage/marketplace-ui-components", "name": "@codex-storage/marketplace-ui-components",
"version": "0.0.7", "version": "0.0.8",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@codex-storage/marketplace-ui-components", "name": "@codex-storage/marketplace-ui-components",
"version": "0.0.7", "version": "0.0.8",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"lucide-react": "^0.441.0" "lucide-react": "^0.441.0"

View File

@ -5,7 +5,7 @@
"type": "git", "type": "git",
"url": "https://github.com/codex-storage/codex-marketplace-ui-components" "url": "https://github.com/codex-storage/codex-marketplace-ui-components"
}, },
"version": "0.0.7", "version": "0.0.8",
"type": "module", "type": "module",
"scripts": { "scripts": {
"prepack": "npm run build", "prepack": "npm run build",

View File

@ -89,18 +89,12 @@ export function Menu({
<LogoInverse width={50} /> <LogoInverse width={50} />
<span className="menu-separator">|</span> <span className="menu-separator">|</span>
<span className="menu-name">Codex</span> <span className="menu-name">Codex</span>
<span className="menu-state">ALPHA</span> <span className="menu-state">ALPHA {version}</span>
</div> </div>
<div className="menu-items"> <div className="menu-items">
{items.map((item, index) => renderItem(item, index))} {items.map((item, index) => renderItem(item, index))}
</div> </div>
<div className="menu-footer">
{version && (
<small className="menu-version">Version: {version}</small>
)}
</div>
</div> </div>
</aside> </aside>
</> </>

View File

@ -23,7 +23,7 @@ type Props = {
}; };
const Template = (p: Props) => { const Template = (p: Props) => {
const { state, dispatch } = useStepperReducer(3); const { state, dispatch } = useStepperReducer();
useEffect(() => { useEffect(() => {
dispatch({ dispatch({