This commit is contained in:
David Arranz 2025-04-16 14:16:08 +02:00
parent 957a92aad9
commit 7adfb9fc06
14 changed files with 40 additions and 21 deletions

4
client/env.d.ts vendored Normal file
View File

@ -0,0 +1,4 @@
// env.d.ts
/// <reference types="vite/client" />
declare const __APP_VERSION__: string;

View File

@ -7,7 +7,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.upset.dev/css2?family=Poppins&display=swap" rel="stylesheet" />
<!-- build version: <%= appVersion %> -->
<title>Presupuestador Uecko</title>
</head>

View File

@ -1,7 +1,7 @@
{
"name": "@uecko-presupuestador/client",
"private": true,
"version": "1.1.3",
"version": "1.1.4",
"author": "Rodax Software <dev@rodax-software.com>",
"type": "module",
"scripts": {

View File

@ -132,7 +132,7 @@ export const LoginPageWithLanguageSelector = () => {
<Card className='px-12 py-6 bg-muted/50'>
<CardHeader>
<UeckoLogo className='inline-block m-auto mb-6 align-middle max-w-32' />
{status}
<CardTitle>
<Trans i18nKey='login_page.title' />
</CardTitle>
@ -189,6 +189,10 @@ export const LoginPageWithLanguageSelector = () => {
<Link to='https://uecko.com/distribuidores' className='underline'>
<Trans i18nKey='login_page.contact_us' />
</Link>
<br />
<p className='mx-auto mt-4 -mb-6 text-xs text-muted-foreground/50'>
v.{__APP_VERSION__}
</p>
</div>
</div>
</form>

View File

@ -28,6 +28,6 @@
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src"],
"include": ["src", "env.d.ts"],
"references": [{ "path": "./tsconfig.node.json" }]
}

View File

@ -3,7 +3,6 @@ import { readFileSync } from "fs";
import { createRequire } from "node:module";
import path from "node:path";
import { defineConfig, normalizePath } from "vite";
import { createHtmlPlugin } from "vite-plugin-html";
import { robots } from "vite-plugin-robots";
import { viteStaticCopy } from "vite-plugin-static-copy";
@ -27,13 +26,7 @@ export default defineConfig({
plugins: [
react(),
robots({}),
createHtmlPlugin({
inject: {
data: {
appVersion: pkg.version,
},
},
}),
viteStaticCopy({
targets: [
{

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/client/assets/index-ClyPbvzN.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1,20 @@
<!doctype html><html><head><meta charset="UTF-8"/><meta name="robots" content="noindex, nofollow"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link href="https://fonts.upset.dev/css2?family=Poppins&display=swap" rel="stylesheet"/><title>Presupuestador Uecko</title><script type="module" crossorigin src="/assets/index-C4qjCyTZ.js"></script><link rel="stylesheet" crossorigin href="/assets/index-enIG-PHa.css"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="uecko"></div></body></html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="robots" content="noindex, nofollow" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.upset.dev/css2?family=Poppins&display=swap" rel="stylesheet" />
<title>Presupuestador Uecko</title>
<script type="module" crossorigin src="/assets/index-BF64vagP.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-ClyPbvzN.css">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="uecko"></div>
</body>
</html>

View File

@ -1,6 +1,6 @@
{
"name": "uecko-presupuestador",
"version": "1.1.3",
"version": "1.1.4",
"author": "Rodax Software <dev@rodax-software.com>",
"license": "ISC",
"private": true,

View File

@ -1,7 +1,7 @@
{
"name": "@uecko-presupuestador/server",
"private": true,
"version": "1.1.3",
"version": "1.1.4",
"author": "Rodax Software <dev@rodax-software.com>",
"main": "./src/index.ts",
"scripts": {

View File

@ -1,7 +1,7 @@
{
"name": "@uecko-presupuestador/shared",
"private": false,
"version": "1.1.3",
"version": "1.1.4",
"main": "./index.ts",
"author": "Rodax Software <dev@rodax-software.com>",
"license": "ISC",