Skip to content

Commit e10acce

Browse files
committed
chore: wip
1 parent f40fef1 commit e10acce

File tree

25 files changed

+82
-38
lines changed

25 files changed

+82
-38
lines changed

app/Actions/Dashboard/Models/GetModels.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Model } from '@stacksjs/types'
2+
import { Glob } from 'bun'
23
import { Action } from '@stacksjs/actions'
34
import { path } from '@stacksjs/path'
4-
import { Glob } from 'bun'
55

66
export default new Action({
77
name: 'GetModels',

bun.lockb

-16 KB
Binary file not shown.

storage/framework/core/actions/src/build/cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { $ } from 'bun'
12
import { log } from '@stacksjs/cli'
23
import { buddyPath } from '@stacksjs/path'
3-
import { $ } from 'bun'
44

55
log.info('Building CLI...')
66

storage/framework/core/actions/src/build/core.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
import { $ } from 'bun'
12
import process from 'node:process'
23
import { dim, italic, log } from '@stacksjs/cli'
34
import { corePath } from '@stacksjs/path'
45
import { glob } from '@stacksjs/storage'
56
import { ExitCode } from '@stacksjs/types'
6-
import { $ } from 'bun'
77

88
log.info('Building core packages')
99

storage/framework/core/actions/src/build/server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { $ } from 'bun'
12
import { log } from '@stacksjs/cli'
23
import { frameworkPath } from '@stacksjs/path'
3-
import { $ } from 'bun'
44

55
log.info('Building Server...')
66

storage/framework/core/actions/src/check/ports.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import { $ } from 'bun'
12
import process from 'node:process'
23
import { log } from '@stacksjs/logging'
34
import { findStacksProjects } from '@stacksjs/utils'
4-
import { $ } from 'bun'
55

66
const projects = await findStacksProjects(undefined, { quiet: true })
77

storage/framework/core/actions/src/upgrade/shell.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
import { $ } from 'bun'
12
import process from 'node:process'
23
import { italic, runCommand } from '@stacksjs/cli'
34
import { log } from '@stacksjs/logging'
45
import { path as p } from '@stacksjs/path'
56
import { writeFile } from '@stacksjs/storage'
67
import { ExitCode } from '@stacksjs/types'
7-
import { $ } from 'bun'
88

99
const homePath = (await $`echo $HOME`.text()).trim()
1010
const zshrcPath = p.join(homePath, '.zshrc')

storage/framework/core/actions/tests/ai.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { describe, expect, it, mock } from 'bun:test'
12
import { requestModelAccess } from '@stacksjs/ai'
23
import { ai } from '@stacksjs/config'
3-
import { describe, expect, it, mock } from 'bun:test'
44

55
describe('requestModelAccess', () => {
66
it('should request access to AI models', async () => {

storage/framework/core/ai/tests/ai.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { afterEach, beforeEach, describe, expect, it, mock, spyOn } from 'bun:test'
12
import {
23
BedrockClient,
34
CreateModelCustomizationJobCommand,
@@ -7,7 +8,6 @@ import {
78
import { log } from '@stacksjs/cli'
89
import { ai } from '@stacksjs/config'
910
import { mockClient } from 'aws-sdk-client-mock'
10-
import { afterEach, beforeEach, describe, expect, it, mock, spyOn } from 'bun:test'
1111
import {
1212
createModelCustomizationJob,
1313
getModelCustomizationJob,

storage/framework/core/alias/tests/alias.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { describe, expect, it } from 'bun:test'
12
import fs from 'node:fs'
23
import path from 'node:path'
3-
import { describe, expect, it } from 'bun:test'
44
import { alias } from '../src/index'
55

66
describe('@stacksjs/alias', () => {

storage/framework/core/buddy/bin/cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import { $ } from 'bun'
12
import { existsSync, readdirSync, statSync } from 'node:fs'
23
import { join } from 'node:path'
34
import process from 'node:process'
4-
import { $ } from 'bun'
55
import { cac } from 'cac'
66
import { version } from '../package.json'
77

storage/framework/core/buddy/src/commands/deploy.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { CLI, DeployOptions } from '@stacksjs/types'
2+
import { $ } from 'bun'
23
import process from 'node:process'
34
import { runAction } from '@stacksjs/actions'
45
import { intro, italic, log, outro, prompts, runCommand } from '@stacksjs/cli'
@@ -7,7 +8,6 @@ import { addDomain, hasUserDomainBeenAddedToCloud } from '@stacksjs/dns'
78
import { Action } from '@stacksjs/enums'
89
import { path as p } from '@stacksjs/path'
910
import { ExitCode } from '@stacksjs/types'
10-
import { $ } from 'bun'
1111

1212
export function deploy(buddy: CLI): void {
1313
const descriptions = {

storage/framework/core/buddy/src/commands/list.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type { CLI, CliOptions } from '@stacksjs/types'
2+
import { $ } from 'bun'
23
import process from 'node:process'
34
import { log } from '@stacksjs/logging'
45
import { projectPath } from '@stacksjs/path'
5-
import { $ } from 'bun'
66

77
export function list(buddy: CLI): void {
88
const descriptions = {

storage/framework/core/buddy/src/commands/outdated.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type { CLI, CliOptions } from '@stacksjs/types'
2+
import { $ } from 'bun'
23
import process from 'node:process'
34
import { log } from '@stacksjs/logging'
45
import { projectPath } from '@stacksjs/path'
5-
import { $ } from 'bun'
66

77
export function outdated(buddy: CLI): void {
88
const descriptions = {

storage/framework/core/buddy/src/commands/ports.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import type { CLI, Ports, PortsOptions } from '@stacksjs/types'
2+
import { $ } from 'bun'
23
import process from 'node:process'
34
import { intro, italic, outro } from '@stacksjs/cli'
45
import { ports as projectPorts } from '@stacksjs/config'
56
import { log } from '@stacksjs/logging'
67
import { findProjectPath, path as p, projectPath } from '@stacksjs/path'
78
import { ExitCode } from '@stacksjs/types'
89
import { findStacksProjects } from '@stacksjs/utils'
9-
import { $ } from 'bun'
1010

1111
export function ports(buddy: CLI): void {
1212
const descriptions = {

storage/framework/core/cache/tests/DynamoDB.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { deleteStacksTable, launchServer } from '@stacksjs/testing'
2-
31
import { afterAll, afterEach, beforeAll, describe, expect, it } from 'bun:test'
2+
3+
import { deleteStacksTable, launchServer } from '@stacksjs/testing'
44
import { dynamodb } from '../src/drivers/dynamodb'
55

66
beforeAll(async () => {

storage/framework/core/cli/tests/cli.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { afterEach, describe, expect, it, mock, spyOn } from 'bun:test'
12
import { log } from '@stacksjs/logging'
23
import { ExitCode } from '@stacksjs/types'
3-
import { afterEach, describe, expect, it, mock, spyOn } from 'bun:test'
44
import { CAC } from 'cac'
55
import {
66
buddyOptions,

storage/framework/core/components/stepper/package.json

+18-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"version": "0.64.6",
55
"description": "A modern stepper component.",
66
"author": "Chris Breuer",
7-
"contributors": ["Chris Breuer <[email protected]>"],
7+
"contributors": [
8+
"Chris Breuer <[email protected]>"
9+
],
810
"license": "MIT",
911
"funding": "https://github.com/sponsors/chrisbbreuer",
1012
"homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/components/stepper#readme",
@@ -16,8 +18,15 @@
1618
"bugs": {
1719
"url": "https://github.com/stacksjs/stacks/issues"
1820
},
19-
"keywords": ["steppers", "components", "library", "stacks"],
20-
"sideEffects": ["**/*.css"],
21+
"keywords": [
22+
"steppers",
23+
"components",
24+
"library",
25+
"stacks"
26+
],
27+
"sideEffects": [
28+
"**/*.css"
29+
],
2130
"exports": {
2231
".": {
2332
"types": "./dist/index.d.ts",
@@ -27,7 +36,11 @@
2736
"import": "./dist/*"
2837
}
2938
},
30-
"files": ["README.md", "dist", "src"],
39+
"files": [
40+
"README.md",
41+
"dist",
42+
"src"
43+
],
3144
"scripts": {
3245
"dev": "bunx --bun vite",
3346
"build": "bunx --bun vite build --mode lib",
@@ -48,7 +61,7 @@
4861
"@types/clean-css": "^4.2.11",
4962
"@vue/tsconfig": "^0.5.1",
5063
"clean-css": "^5.3.3",
51-
"unocss": "0.63.4",
64+
"unocss": "0.61.0",
5265
"unplugin-icons": "^0.19.3"
5366
}
5467
}

storage/framework/core/database/src/migrations.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
import { $ } from 'bun'
12
import { log } from '@stacksjs/cli'
23
import { database } from '@stacksjs/config'
34
import { type Err, err, handleError, type Ok, ok, type Result } from '@stacksjs/error-handling'
45
import { path } from '@stacksjs/path'
56
import { fs, globSync } from '@stacksjs/storage'
6-
import { $ } from 'bun'
77
import { FileMigrationProvider, type MigrationResult, Migrator } from 'kysely'
88
import { generateMysqlMigration, generatePostgresMigration, generateSqliteMigration, resetMysqlDatabase, resetPostgresDatabase, resetSqliteDatabase } from './drivers'
99
import { db } from './utils'

storage/framework/core/error-handling/tests/error-handling.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { italic } from '@stacksjs/cli'
21
import { afterAll, beforeAll, describe, expect, it, mock, spyOn } from 'bun:test'
2+
import { italic } from '@stacksjs/cli'
33
import fs from 'fs-extra'
44
import { ErrorHandler, handleError } from '../src/handler'
55
import { rescue } from '../src/utils'

storage/framework/core/lint/package.json

+9-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"version": "0.64.6",
55
"description": "The Stacks way to lint.",
66
"author": "Chris Breuer",
7-
"contributors": ["Chris Breuer <[email protected]>"],
7+
"contributors": [
8+
"Chris Breuer <[email protected]>"
9+
],
810
"license": "MIT",
911
"funding": "https://github.com/sponsors/chrisbbreuer",
1012
"homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/lint#readme",
@@ -37,7 +39,11 @@
3739
},
3840
"module": "dist/index.js",
3941
"types": "dist/index.d.ts",
40-
"files": ["README.md", "dist", "src"],
42+
"files": [
43+
"README.md",
44+
"dist",
45+
"src"
46+
],
4147
"scripts": {
4248
"build": "bun build.ts",
4349
"typecheck": "bun tsc --noEmit",
@@ -51,7 +57,7 @@
5157
"@stacksjs/eslint-config": "^3.7.3-stacks-1.5",
5258
"@stylistic/eslint-plugin": "^2.9.0",
5359
"@typescript-eslint/eslint-plugin": "^8.8.1",
54-
"@unocss/eslint-plugin": "0.63.4",
60+
"@unocss/eslint-plugin": "0.61.0",
5561
"@vitest/eslint-plugin": "^1.1.7",
5662
"eslint": "^9.12.0",
5763
"eslint-config-flat-gitignore": "^0.3.0",

storage/framework/core/types/package.json

+15-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"version": "0.64.6",
55
"description": "The Stacks framework types.",
66
"author": "Chris Breuer",
7-
"contributors": ["Chris Breuer <[email protected]>"],
7+
"contributors": [
8+
"Chris Breuer <[email protected]>"
9+
],
810
"license": "MIT",
911
"funding": "https://github.com/sponsors/chrisbbreuer",
1012
"homepage": "https://github.com/stacksjs/stacks/tree/main/stacks/types#readme",
@@ -16,7 +18,12 @@
1618
"bugs": {
1719
"url": "https://github.com/stacksjs/stacks/issues"
1820
},
19-
"keywords": ["types", "stacks", "framework", "typescript"],
21+
"keywords": [
22+
"types",
23+
"stacks",
24+
"framework",
25+
"typescript"
26+
],
2027
"exports": {
2128
".": {
2229
"bun": "./src/index.ts",
@@ -27,7 +34,11 @@
2734
},
2835
"module": "dist/index.js",
2936
"types": "dist/index.d.ts",
30-
"files": ["README.md", "dist", "src"],
37+
"files": [
38+
"README.md",
39+
"dist",
40+
"src"
41+
],
3142
"scripts": {
3243
"build": "bun build.ts",
3344
"typecheck": "bun tsc --noEmit",
@@ -52,7 +63,7 @@
5263
"meilisearch": "^0.44.1",
5364
"neverthrow": "^8.0.0",
5465
"ora": "^8.1.0",
55-
"unocss": "0.63.4",
66+
"unocss": "0.61.0",
5667
"unplugin-auto-import": "^0.18.3",
5768
"unplugin-vue-components": "^0.27.4",
5869
"vite": "^5.4.8",

storage/framework/core/ui/package.json

+18-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"version": "0.64.6",
55
"description": "The Stacks UI engine.",
66
"author": "Chris Breuer",
7-
"contributors": ["Chris Breuer <[email protected]>"],
7+
"contributors": [
8+
"Chris Breuer <[email protected]>"
9+
],
810
"license": "MIT",
911
"funding": "https://github.com/sponsors/chrisbbreuer",
1012
"homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/ui#readme",
@@ -16,7 +18,15 @@
1618
"bugs": {
1719
"url": "https://github.com/stacksjs/stacks/issues"
1820
},
19-
"keywords": ["css", "atomic", "ui", "engine", "styles", "stacks", "unocss"],
21+
"keywords": [
22+
"css",
23+
"atomic",
24+
"ui",
25+
"engine",
26+
"styles",
27+
"stacks",
28+
"unocss"
29+
],
2030
"sideEffects": false,
2131
"exports": {
2232
".": {
@@ -37,7 +47,11 @@
3747
},
3848
"module": "dist/index.js",
3949
"types": "dist/index.d.ts",
40-
"files": ["README.md", "dist", "src"],
50+
"files": [
51+
"README.md",
52+
"dist",
53+
"src"
54+
],
4155
"scripts": {
4256
"build": "bun build.ts",
4357
"typecheck": "bun tsc --noEmit",
@@ -56,7 +70,7 @@
5670
"@unhead/vue": "^1.11.7",
5771
"pinia": "^2.2.4",
5872
"unhead": "^1.11.7",
59-
"unocss": "0.63.4",
73+
"unocss": "0.61.0",
6074
"unocss-preset-primitives": "0.0.2-beta.1",
6175
"vite-plugin-vue-layouts": "^0.11.0",
6276
"vue": "^3.5.11",

storage/framework/orm/src/tests/Models.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { UserModel } from '../models/User'
2-
import { refreshDatabase } from '@stacksjs/testing'
32
import { beforeEach, describe, expect, it } from 'bun:test'
3+
import { refreshDatabase } from '@stacksjs/testing'
44
import User from '../models/User'
55

66
beforeEach(async () => {

storage/framework/views/web/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@stacksjs/config": "workspace:*",
1717
"@stacksjs/server": "workspace:*",
1818
"@unhead/vue": "^1.11.7",
19-
"@unocss/reset": "0.63.4",
19+
"@unocss/reset": "0.61.0",
2020
"@vueuse/core": "^11.1.0",
2121
"@vueuse/head": "^2.0.0",
2222
"nprogress": "^0.2.0",
@@ -37,7 +37,7 @@
3737
"markdown-it-shikiji": "^0.10.2",
3838
"rollup": "^4.24.0",
3939
"shikiji": "^0.10.2",
40-
"unocss": "0.63.4",
40+
"unocss": "0.61.0",
4141
"unplugin-auto-import": "^0.18.3",
4242
"unplugin-vue-components": "^0.27.4",
4343
"unplugin-vue-markdown": "^0.26.2",

0 commit comments

Comments
 (0)