nextjs-hackathon-stack 0.1.22 → 0.1.23
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 +1 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -135,13 +135,6 @@ async function scaffold(projectName, skipInstall) {
|
|
|
135
135
|
spinner2.stop(`Failed to add component: ${component}`);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
spinner2.start("Generating Drizzle migrations");
|
|
139
|
-
try {
|
|
140
|
-
execSync("pnpm db:generate", { cwd: targetDir, stdio: "pipe" });
|
|
141
|
-
spinner2.stop("Drizzle migrations generated");
|
|
142
|
-
} catch {
|
|
143
|
-
spinner2.stop("Could not generate migrations \u2014 run manually: pnpm db:generate");
|
|
144
|
-
}
|
|
145
138
|
}
|
|
146
139
|
spinner2.start("Creating initial commit");
|
|
147
140
|
try {
|
|
@@ -166,6 +159,7 @@ async function scaffold(projectName, skipInstall) {
|
|
|
166
159
|
console.log(` ${pc2.dim("NEXT_PUBLIC_SUPABASE_URL")} \u2014 supabase.com > Project Settings > API`);
|
|
167
160
|
console.log(` ${pc2.dim("NEXT_PUBLIC_SUPABASE_ANON_KEY")} \u2014 supabase.com > Project Settings > API`);
|
|
168
161
|
console.log(` ${pc2.dim("DATABASE_URL")} \u2014 supabase.com > Project Settings > Database > Connection string (Session mode)`);
|
|
162
|
+
console.log(` ${pc2.cyan("pnpm db:generate")} ${pc2.dim("\u2014 genera las migraciones de la base de datos")}`);
|
|
169
163
|
console.log(` ${pc2.cyan("pnpm db:migrate")} ${pc2.dim("\u2014 aplica las migraciones a la base de datos")}`);
|
|
170
164
|
console.log(` ${pc2.cyan("pnpm dev")}
|
|
171
165
|
`);
|