confectus
Version:
4 lines (3 loc) • 982 B
JavaScript
import{a as s}from"./chunk-THRIDQIP.js";import{a as l}from"./chunk-X7UXDXA5.js";import{a as m}from"./chunk-MITGLL2Z.js";import{a as p}from"./chunk-T3HO5QCO.js";import{a}from"./chunk-BBJX7BQY.js";import{a as u}from"./chunk-BC5EOO5O.js";import{a as c}from"./chunk-YTWUM2NZ.js";import{a as i}from"./chunk-GXRS4QZF.js";import{a as n}from"./chunk-SQFRPW7S.js";async function h(){try{let e=new s,v=new a,S=new m,d=new l,o=new p,r=new u(v,S,d),f=new n(e),w=new i(r,o),x=new c(r,o);await f.execute();let t=e.answers;await w.execute({answers:t}),await x.execute({answers:t}),console.log(`
\u{1F389} \x1B[32mProject setup completed successfully!\x1B[0m`),console.log("\u2728 \x1B[36mEverything is ready to start developing!\x1B[0m")}catch(e){console.log(`
\u{1F4A5} \x1B[31mProject setup failed!\x1B[0m`),process.env.NODE_ENV==="development"?console.error({error:e}):console.error("\u{1F534} \x1B[31mAn error occurred during setup. Please try again.\x1B[0m"),process.exit(1)}}export{h as a};