@weirdfingers/baseboards 0.9.1 → 0.9.3
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 +9 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/api/src/boards/__init__.py +1 -1
- package/templates/compose.yaml +4 -2
- package/templates/web/package.json +1 -1
- package/templates/web/src/app/boards/[boardId]/page.tsx +2 -2
- package/templates/web/src/app/lineage/[generationId]/page.tsx +2 -0
- package/templates/web/src/components/boards/ArtifactInputSlots.tsx +1 -1
- package/templates/web/src/components/boards/ArtifactPreview.tsx +34 -0
- package/templates/web/src/components/boards/GenerationGrid.tsx +112 -9
- package/templates/web/src/components/boards/GenerationInput.tsx +17 -3
- package/templates/web/src/components/boards/GeneratorSelector.tsx +7 -33
- package/templates/web/src/components/ui/use-toast.ts +1 -0
- package/templates/web/src/hooks/useGeneratorMRU.ts +57 -0
package/dist/index.js
CHANGED
|
@@ -8125,17 +8125,23 @@ async function runMigrations(ctx) {
|
|
|
8125
8125
|
)
|
|
8126
8126
|
);
|
|
8127
8127
|
} else {
|
|
8128
|
+
console.log(
|
|
8129
|
+
chalk2.red(
|
|
8130
|
+
"\n\u274C Database migrations failed"
|
|
8131
|
+
)
|
|
8132
|
+
);
|
|
8133
|
+
console.log(chalk2.gray("\n Error details:"));
|
|
8134
|
+
console.log(chalk2.gray(" " + errorMessage));
|
|
8128
8135
|
console.log(
|
|
8129
8136
|
chalk2.yellow(
|
|
8130
|
-
"\n
|
|
8137
|
+
"\n You can try running migrations manually:"
|
|
8131
8138
|
)
|
|
8132
8139
|
);
|
|
8133
8140
|
console.log(
|
|
8134
8141
|
chalk2.cyan(" docker compose exec api alembic upgrade head")
|
|
8135
8142
|
);
|
|
8136
|
-
console.log(chalk2.gray("\n Error details:"));
|
|
8137
|
-
console.log(chalk2.gray(" " + errorMessage));
|
|
8138
8143
|
}
|
|
8144
|
+
throw new Error("Database migrations failed");
|
|
8139
8145
|
}
|
|
8140
8146
|
}
|
|
8141
8147
|
function getDevCommand(pm) {
|