Skip to content

Commit eed3074

Browse files
committed
chore: wip
1 parent e8b1d3e commit eed3074

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
File renamed without changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { parseOptions, runCommand } from '@stacksjs/cli'
2-
import { frameworkPath, viteConfigPath } from '@stacksjs/path'
2+
import { libsPath } from '@stacksjs/path'
33
import type { DeployOptions } from '@stacksjs/types'
44

55
const options: DeployOptions = parseOptions()
66

77
if (options.verbose) console.log('dev components options', options)
88

9-
await runCommand(`bunx vite --config ${viteConfigPath('src/components.ts')}`, {
9+
await runCommand(`bun run dev`, {
1010
...options,
11-
cwd: frameworkPath(),
11+
cwd: libsPath('components/vue'),
1212
})

storage/framework/core/cli/src/exec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import process from 'node:process'
22
import { type Result, err, handleError, ok } from '@stacksjs/error-handling'
33
import type { CliOptions, Subprocess } from '@stacksjs/types'
44
import { ExitCode } from '@stacksjs/types'
5-
import { log } from './'
5+
import { italic, log } from './'
66

77
/**
88
* Execute a command.
@@ -61,7 +61,7 @@ export async function exec(command: string | string[], options?: CliOptions): Pr
6161
const exited = await proc.exited
6262
if (exited === ExitCode.Success) return ok(proc)
6363

64-
return err(handleError(`Failed to execute command: ${cmd.join(' ')}`))
64+
return err(handleError(`Failed to execute command: ${italic(cmd.join(' '))} in ${italic(cwd)}`))
6565
}
6666

6767
/**

storage/framework/core/vite-plugin/src/auto-imports.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function autoImports(options?: AutoImportsOptions) {
3232
// biomejs extends Docs - https://biomejs.dev/guides/how-biome-works/#the-extends-option
3333
biomelintrc: {
3434
enabled: true, // Default `false`
35-
filepath: './.biomelintrc-auto-import.json', // Default `./.biomelintrc-auto-import.json`
35+
filepath: p.frameworkPath('.biomelintrc-auto-import.json'), // Default `./.biomelintrc-auto-import.json`
3636
},
3737

3838
...options,

0 commit comments

Comments
 (0)