Compare commits

..

No commits in common. "1bc4bcfe3e86e8aba11bd81d0b184a9e9ca049f6" and "ec9ba5c53d53aa0fbf51ba70176ad03ec3a3581f" have entirely different histories.

5 changed files with 40 additions and 49 deletions

View file

@ -2,9 +2,8 @@ export const DB_PATH = process.env.DB_PATH ?? "../sqlite.db";
/** @type { import("drizzle-kit").Config } */ /** @type { import("drizzle-kit").Config } */
export default { export default {
schema: "./schema.js", schema: "./schema.ts",
out: "./drizzle", out: "./drizzle",
driver: "better-sqlite",
dbCredentials: { dbCredentials: {
url: DB_PATH, url: DB_PATH,
}, },

View file

@ -18,6 +18,6 @@
"devDependencies": { "devDependencies": {
"@types/better-sqlite3": "^7.6.8", "@types/better-sqlite3": "^7.6.8",
"@types/node": "^20.10.6", "@types/node": "^20.10.6",
"drizzle-kit": "^0.20.13" "drizzle-kit": "^0.20.7"
} }
} }

View file

@ -22,8 +22,8 @@ importers:
specifier: ^20.10.6 specifier: ^20.10.6
version: 20.11.0 version: 20.11.0
drizzle-kit: drizzle-kit:
specifier: ^0.20.13 specifier: ^0.20.7
version: 0.20.13 version: 0.20.12
sitio: sitio:
dependencies: dependencies:
@ -113,8 +113,8 @@ packages:
'@jridgewell/trace-mapping': 0.3.21 '@jridgewell/trace-mapping': 0.3.21
dev: true dev: true
/@drizzle-team/studio@0.0.39: /@drizzle-team/studio@0.0.37:
resolution: {integrity: sha512-c5Hkm7MmQC2n5qAsKShjQrHoqlfGslB8+qWzsGGZ+2dHMRTNG60UuzalF0h0rvBax5uzPXuGkYLGaQ+TUX3yMw==} resolution: {integrity: sha512-LZyAPGJBX43jsrVZh7+w1Jig/BC6PJx63ReHUYK+GRQYNY9UJNlPXmn1uC/LMRX+A7JwYM4Sr4Fg/hnJSqlfgA==}
dependencies: dependencies:
superjson: 2.2.1 superjson: 2.2.1
dev: true dev: true
@ -1269,11 +1269,11 @@ packages:
wordwrap: 1.0.0 wordwrap: 1.0.0
dev: true dev: true
/drizzle-kit@0.20.13: /drizzle-kit@0.20.12:
resolution: {integrity: sha512-j9oZSQXNWG+KBJm0Sg3S/zJpncHGKnpqNfFuM4NUxUMGTcihDHhP9SW6Jncqwb5vsP1Xm0a8JLm3PZUIspC/oA==} resolution: {integrity: sha512-JWJposyEO6QvGIdvj0CmnJK5sMWW9j5HPiGnRIKvYNaAfZEHbmWlemxV2np7g2FZzSvuzwpa9EGmO20PaPeUmA==}
hasBin: true hasBin: true
dependencies: dependencies:
'@drizzle-team/studio': 0.0.39 '@drizzle-team/studio': 0.0.37
'@esbuild-kit/esm-loader': 2.6.5 '@esbuild-kit/esm-loader': 2.6.5
camelcase: 7.0.1 camelcase: 7.0.1
chalk: 5.3.0 chalk: 5.3.0

View file

@ -6,18 +6,9 @@
export let data: PageData; export let data: PageData;
</script> </script>
<div
class="relative m-4 rounded-lg border border-yellow-300 bg-yellow-50 p-4 text-yellow-800 dark:border-yellow-600 dark:bg-neutral-800 dark:text-yellow-400"
>
<div class="text-sm opacity-80">
<strong>¡Ey!</strong> Preciazo todavía está en beta, y todavía estamos
buscando su lugar en el mundo :) Si notas algún problema,
<a class="underline" href="mailto:preciazo@nulo.ar">contactame :)</a>
</div>
</div>
<!-- https://flowbite.com/docs/forms/search-input/ --> <!-- https://flowbite.com/docs/forms/search-input/ -->
<form class="mx-4 my-4 flex items-stretch" method="GET" action="/search"> <form method="GET" action="/search">
<div class="flex items-stretch p-4">
<input <input
type="search" type="search"
name="q" name="q"
@ -46,6 +37,7 @@
</svg> </svg>
<span class="sr-only">Search</span> <span class="sr-only">Search</span>
</button> </button>
</div>
</form> </form>
<slot /> <slot />

View file

@ -42,7 +42,7 @@
} }
</script> </script>
<div class="h-[300px] w-full bg-neutral-200 dark:invert"> <div class="h-[300px] w-full min-w-[500px] bg-neutral-200 dark:invert">
<ChartJs <ChartJs
type="line" type="line"
data={{ datasets }} data={{ datasets }}