mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
add starlight docs addon
This commit is contained in:
@@ -36,10 +36,9 @@ async function initMongoDBAtlas(
|
||||
stdio: "inherit",
|
||||
});
|
||||
|
||||
log.info(pc.yellow("Please enter your connection string"));
|
||||
|
||||
const connectionString = await text({
|
||||
message: "Paste your complete MongoDB connection string:",
|
||||
placeholder: "mongodb://USERNAME:PASSWORD@HOST/DATABASE",
|
||||
validate(value) {
|
||||
if (!value) return "Please enter a connection string";
|
||||
if (!value.startsWith("mongodb")) {
|
||||
|
||||
Reference in New Issue
Block a user