Skip to content

Commit c47f043

Browse files
committed
chore: wip
1 parent ff8fa93 commit c47f043

File tree

8 files changed

+4423
-808
lines changed

8 files changed

+4423
-808
lines changed

bun.lock

Lines changed: 4404 additions & 790 deletions
Large diffs are not rendered by default.

config/deps.ts renamed to config/launchpad.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import type { LaunchpadConfig } from '@stacksjs/launchpad'
33
export const config: LaunchpadConfig = {
44
// Object format with version constraints
55
dependencies: {
6-
'bun.com': '^1.2.19', // Bun runtime
7-
'redisio': '^8.0.0', // Redis server
8-
'postgresqlorg': '^17.0.0', // PostgreSQL database
6+
'bun.com': '^1.2.21',
7+
'redisio': '^8.0.0',
8+
'sqlite': '^3.43.0',
99
},
1010

1111
// Or as an array (uses latest versions)
@@ -17,15 +17,18 @@ export const config: LaunchpadConfig = {
1717
// Install globally (optional)
1818
global: false,
1919

20-
// Enable services to auto-start Redis and PostgreSQL
20+
// Enable services to auto-start Redis and SQLite
2121
services: {
2222
enabled: true,
2323
autoStart: true,
2424
database: {
25-
username: 'postgres',
26-
password: 'password',
25+
connection: 'sqlite',
26+
name: 'stacks',
27+
username: 'root',
28+
password: '',
2729
authMethod: 'trust',
2830
},
31+
postDatabaseSetup: './buddy migrate:fresh --seed',
2932
},
3033

3134
verbose: true,

storage/framework/core/buddy/build.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const result = await Bun.build({
1717
target: 'bun',
1818
// sourcemap: 'linked',
1919
minify: true,
20-
splitting: true,
2120

2221
external: [
2322
'@stacksjs/ai',
@@ -34,7 +33,6 @@ const result = await Bun.build({
3433
'@stacksjs/path',
3534
'@stacksjs/storage',
3635
'@stacksjs/types',
37-
'bun',
3836
],
3937

4038
plugins: [dts({ root: './src', outdir: './dist' })],

storage/framework/core/buddy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,4 @@
136136
}
137137
},
138138
"web-types": "./web-types.json"
139-
}
139+
}

storage/framework/core/build.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ const dirs = await glob([p.resolve('./', '*'), `!${componentsDir}`], {
1414
dirs.sort((a, b) => a.localeCompare(b))
1515

1616
// Get component directories directly
17-
const components = await glob('./components/*', {
18-
onlyDirectories: true,
19-
absolute: true,
20-
})
21-
// console.log('components', components)
22-
dirs.push(...components)
17+
// const components = await glob('./components/*', {
18+
// onlyDirectories: true,
19+
// absolute: true,
20+
// })
21+
// // console.log('components', components)
22+
// dirs.push(...components)
2323

2424
const startTime = Date.now()
2525

storage/framework/core/development/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@
6262
"devDependencies": {
6363
"@total-typescript/ts-reset": "^0.6.1"
6464
}
65-
}
65+
}

storage/framework/core/logging/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"prepublishOnly": "bun run build"
3636
},
3737
"devDependencies": {
38-
"@stacksjs/clarity": "^0.3.16",
38+
"@stacksjs/clarity": "^0.3.23",
3939
"@stacksjs/cli": "workspace:*",
4040
"@stacksjs/config": "workspace:*",
4141
"@stacksjs/error-handling": "workspace:*",

storage/framework/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,4 +352,4 @@
352352
"@stacksjs/vite-config": "^0.70.23",
353353
"@stacksjs/vite-plugin": "^0.70.23"
354354
}
355-
}
355+
}

0 commit comments

Comments
 (0)