Skip to content

Commit 45903f0

Browse files
committed
chore: wip
1 parent 623ea68 commit 45903f0

File tree

58 files changed

+35
-192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+35
-192
lines changed

.stacks/core/actions/build.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ const result = await runCommand('bun build ./src/index.ts ./src/build/component-
66

77
if (result.isErr())
88
log.error(result.error)
9-
10-
else
11-
log.success('Build complete')

.stacks/core/ai/build.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
import { runCommand } from '@stacksjs/cli'
1+
import { log, runCommand } from '@stacksjs/cli'
22

33
const command: string = 'bun build ./src/index.ts --outdir dist --format esm'
44
const result = await runCommand(command, import.meta.dir)
55

66
if (result.isErr())
7-
console.error(result.error)
8-
else
9-
// eslint-disable-next-line no-console
10-
console.log('Build complete')
7+
log.error(result.error)

.stacks/core/alias/build.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ const result = await runCommand('bun build ./src/index.ts --external @stacksjs/p
66

77
if (result.isErr())
88
log.error(result.error)
9-
10-
else
11-
log.success('Build complete')

.stacks/core/analytics/build.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ const result = await runCommand('bun build ./src/index.ts --outdir dist --format
66

77
if (result.isErr())
88
log.error(result.error)
9-
10-
else
11-
log.success('Build complete')

.stacks/core/auth/build.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ const result = await runCommand('bun build ./src/index.ts --outdir dist --format
66

77
if (result.isErr())
88
log.error(result.error)
9-
10-
else
11-
log.success('Build complete')

.stacks/core/buddy/build.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ const result = await runCommand('bun build ./src/index.ts ./src/cli.ts --outdir
66

77
if (result.isErr())
88
log.error(result.error)
9-
10-
else
11-
log.success('Build complete')

.stacks/core/build/build.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ const result = await runCommand('bun build ./src/index.ts --external bun --exter
66

77
if (result.isErr())
88
log.error(result.error)
9-
10-
else
11-
log.success('Build complete')

.stacks/core/cache/build.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ const result = await runCommand('bun build ./src/index.ts --external redis --ext
66

77
if (result.isErr())
88
log.error(result.error)
9-
10-
else
11-
log.success('Build complete')

.stacks/core/cli/build.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
import { runCommand } from './src/run'
1+
import { log, runCommand } from '@stacksjs/cli'
22

33
const result = await runCommand('bun --bun build ./src/index.ts --outdir dist --external vite --external @antfu/install-pkg --external @stacksjs/types --external @stacksjs/logging --external prompts --external @stacksjs/utils --external @stacksjs/validation --external @stacksjs/error-handling --external ora --external kolorist --external cac --target bun', {
44
cwd: import.meta.dir,
55
})
66

77
if (result.isErr())
8-
console.error(result.error)
9-
8+
log.error(result.error)
109
else
11-
console.write('Build complete')
10+
log.success('Build complete')

.stacks/core/cloud/build.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ const result = await runCommand('bun build ./src/index.ts --outdir dist --format
66

77
if (result.isErr())
88
log.error(result.error)
9-
10-
else
11-
log.success('Build complete')

0 commit comments

Comments
 (0)