nextjs-hackathon-stack 0.1.17 → 0.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -166,7 +166,6 @@ async function scaffold(projectName, skipInstall) {
166
166
  console.log(` ${pc2.dim("NEXT_PUBLIC_SUPABASE_URL")} \u2014 supabase.com > Project Settings > API`);
167
167
  console.log(` ${pc2.dim("NEXT_PUBLIC_SUPABASE_ANON_KEY")} \u2014 supabase.com > Project Settings > API`);
168
168
  console.log(` ${pc2.dim("DATABASE_URL")} \u2014 supabase.com > Project Settings > Database`);
169
- console.log(` ${pc2.cyan("pnpm db:generate")} ${pc2.dim("\u2014 genera las migraciones")}`);
170
169
  console.log(` ${pc2.cyan("pnpm db:migrate")} ${pc2.dim("\u2014 aplica las migraciones a la base de datos")}`);
171
170
  console.log(` ${pc2.cyan("pnpm dev")}
172
171
  `);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextjs-hackathon-stack",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "description": "Scaffold a full-stack Next.js hackathon starter",
5
5
  "type": "module",
6
6
  "bin": {
@@ -38,7 +38,6 @@ AI_API_KEY=
38
38
  ### 2. Apply database migrations
39
39
 
40
40
  ```bash
41
- pnpm db:generate # genera las migraciones
42
41
  pnpm db:migrate # aplica las migraciones a la base de datos
43
42
  ```
44
43
 
@@ -1,5 +1,8 @@
1
+ import { loadEnvConfig } from "@next/env";
1
2
  import { defineConfig } from "drizzle-kit";
2
3
 
4
+ loadEnvConfig(process.cwd());
5
+
3
6
  export default defineConfig({
4
7
  schema: "./src/shared/db/schema.ts",
5
8
  out: "./src/shared/db/migrations",