create-kide-app 0.0.18 → 0.0.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.
Files changed (2) hide show
  1. package/index.js +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -308,8 +308,10 @@ async function main() {
308
308
  try {
309
309
  execSync(`${pm.exec} drizzle-kit generate`, { cwd: projectDir, stdio: "pipe" });
310
310
  s.stop("Migrations generated");
311
- } catch {
311
+ } catch (err) {
312
312
  s.stop("Migration generation failed");
313
+ if (err.stderr) console.error(err.stderr.toString().slice(-800));
314
+ if (err.stdout) console.error(err.stdout.toString().slice(-800));
313
315
  }
314
316
 
315
317
  s.start("Applying migrations to remote D1");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kide-app",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "Scaffold a new Kide CMS project",
5
5
  "author": "Matti Hernesniemi",
6
6
  "license": "MIT",