Skip to content

Commit 97459e0

Browse files
committed
chore: wip
1 parent ab812ba commit 97459e0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.stacks/core/types/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export const enum NpmScript {
184184
BuildStacks = 'build:stacks',
185185
Clean = 'rimraf pnpm-lock.yaml node_modules/ .stacks/**/node_modules .stacks/**/dist',
186186
Dev = 'dev',
187-
DevComponents = 'vite --config ./core/vite/src/vue-components.ts',
187+
DevComponents = 'bunx --bun vite --config ./core/vite/src/vue-components.ts',
188188
DevDocs = 'bunx vitepress dev ./docs/src',
189189
DevDesktop = 'dev:desktop',
190190
DevPages = 'dev:pages',

.stacks/core/utils/src/helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { AddressInfo } from 'node:net'
22
import type { CliOptions, Manifest, NpmScript, StacksError, Subprocess } from '@stacksjs/types'
33
import { frameworkPath, projectPath } from '@stacksjs/path'
44
import { parse } from 'yaml'
5-
import { log, runCommand } from '@stacksjs/cli'
5+
import { italic, log, runCommand } from '@stacksjs/cli'
66
import * as storage from '@stacksjs/storage'
77
import { readPackageJson } from '@stacksjs/storage'
88
import type { ResultAsync } from '@stacksjs/error-handling'
@@ -52,7 +52,7 @@ export async function installIfVersionMismatch() {
5252
const installedBunVersion = process.version
5353

5454
if (!semver.satisfies(installedBunVersion, requiredBunVersion)) {
55-
log.warn(`Installed Bun version (${installedBunVersion}) does not satisfy required version (${requiredBunVersion}). Adding it to your environment. One moment...`)
55+
log.warn(`Installed Bun version ${italic(installedBunVersion)} does not satisfy required version ${italic(requiredBunVersion)}. Adding it to your environment. One moment...`)
5656
await runCommand(`tea +bun.sh${requiredBunVersion} >/dev/null 2>&1`)
5757
}
5858
}

config/deps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { defineDependencies } from '../.stacks/core/config/src/helpers'
1111
*/
1212
export default defineDependencies({
1313
'bun.sh': '0.7.1',
14-
'sqlite.org': '3.42.0', // you may also yse 'mysql.org': '8.0.33', 'mariadb.org': '10.6.5' and/or 'postgresql.org': '14.1'
14+
'sqlite.org': '3.42.0', // you may also use 'mysql.org': '8.0.33', 'mariadb.org': '10.6.5' and/or 'postgresql.org': '14.1'
1515
'redis.io': '7.0.11',
1616
'aws.amazon.com/cli': '2.12.7',
1717
})

0 commit comments

Comments
 (0)