@@ -56,7 +56,7 @@ async function main() {
5656 ** ██╔══██║██╔═══╝ ██╔═══╝
5757 ██║ ██║██║ ██║
5858 ╚═╝ ╚═╝╚═╝ ╚═╝
59- ` )
59+ ` ) ,
6060 ) ;
6161
6262 const cwd = process . cwd ( ) ;
@@ -93,8 +93,8 @@ async function main() {
9393 if ( contents . length > 0 ) {
9494 console . error (
9595 chalk . red . bold (
96- `Error: directory "${ projectName } " already exists and is not empty.`
97- )
96+ `Error: directory "${ projectName } " already exists and is not empty.` ,
97+ ) ,
9898 ) ;
9999 process . exit ( 1 ) ;
100100 }
@@ -148,7 +148,7 @@ async function main() {
148148 const pkgPath = resolve ( targetDir , "package.json" ) ;
149149 if ( ! existsSync ( pkgPath ) ) {
150150 console . error (
151- chalk . red . bold ( "Error: package.json not found in target directory" )
151+ chalk . red . bold ( "Error: package.json not found in target directory" ) ,
152152 ) ;
153153 process . exit ( 1 ) ;
154154 }
@@ -182,7 +182,7 @@ async function main() {
182182 ) {
183183 wsPkg . name = wsPkg . name . replace (
184184 / @ a k - w e d d i n g \/ | @ t h u n d e r - a p p \/ / ,
185- newPrefix
185+ newPrefix ,
186186 ) ;
187187 }
188188 if ( wsPkg . dependencies ) {
@@ -230,19 +230,19 @@ async function main() {
230230 // Optional installs
231231 const doInstall = await askYesNo (
232232 "Run bun install for all workspaces now?" ,
233- true
233+ true ,
234234 ) ;
235235 if ( doInstall ) {
236236 console . log (
237- chalk . blue . bold ( "\n› Installing dependencies (root workspace)...\n" )
237+ chalk . blue . bold ( "\n› Installing dependencies (root workspace)...\n" ) ,
238238 ) ;
239239 const res = spawnSync ( "bun" , [ "install" ] , {
240240 cwd : targetDir ,
241241 stdio : "inherit" ,
242242 } ) ;
243243 if ( res . status !== 0 ) {
244244 console . error (
245- chalk . red ( "bun install failed. You can run it manually later." )
245+ chalk . red ( "bun install failed. You can run it manually later." ) ,
246246 ) ;
247247 } else {
248248 console . log ( chalk . blue . bold ( "\n› Building lib...\n" ) ) ;
@@ -252,7 +252,7 @@ async function main() {
252252 } ) ;
253253 if ( buildRes . status !== 0 ) {
254254 console . error (
255- chalk . red ( "lib build failed. You can run 'bun run build:lib' later." )
255+ chalk . red ( "lib build failed. You can run 'bun run build:lib' later." ) ,
256256 ) ;
257257 }
258258 }
@@ -268,8 +268,8 @@ async function main() {
268268 console . log ( chalk . white ( ` 1. cd ${ projectName } ` ) ) ;
269269 console . log (
270270 chalk . white (
271- " 2. bun install # installs all workspaces (frontend, lib, backend)"
272- )
271+ " 2. bun install # installs all workspaces (frontend, lib, backend)" ,
272+ ) ,
273273 ) ;
274274 console . log ( chalk . white ( " 3. bun run build:lib" ) ) ;
275275 console . log ( chalk . white ( " 4. bun run dev" ) ) ;
0 commit comments