Skip to content

Commit 3706b73

Browse files
committed
chore: wip
1 parent 15bcbfe commit 3706b73

File tree

5 files changed

+21
-25
lines changed

5 files changed

+21
-25
lines changed

.stacks/core/config/src/defaults.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ export default {
4444
cloud: {
4545
driver: 'aws',
4646

47-
storage: {
48-
useFileSystem: true,
49-
},
47+
storage: {},
5048

5149
firewall: {
5250
immunity: 0,
@@ -94,6 +92,12 @@ export default {
9492
queryStrings: [],
9593
},
9694
},
95+
96+
deploy: {
97+
docs: true,
98+
api: true,
99+
fileSystem: true,
100+
},
97101
},
98102

99103
database: {

.stacks/core/types/src/cloud.ts

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,7 @@
11
export interface CloudOptions {
22
driver: 'aws'
33

4-
storage: {
5-
/**
6-
* Whether or not to also attach a file system to the cloud.
7-
* This is in addition to the S3 storage. Disable this
8-
* if you do not need to access the file system.
9-
*
10-
* @default true
11-
* @example
12-
* ```ts
13-
* export default {
14-
* storage: {
15-
* useFileSystem: false
16-
* }
17-
* }
18-
* ```
19-
*/
20-
useFileSystem: boolean
21-
}
4+
storage: {}
225

236
firewall: {
247
immunity: number
@@ -68,6 +51,12 @@ export interface CloudOptions {
6851
queryStrings: string[]
6952
}
7053
}
54+
55+
deploy: {
56+
docs: boolean
57+
api: boolean
58+
fileSystem: boolean
59+
}
7160
}
7261

7362
export type CloudConfig = Partial<CloudOptions>

bun.lockb

0 Bytes
Binary file not shown.

config/cloud.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ import security from './security'
1111
export default {
1212
driver: 'aws',
1313
firewall: security.app.firewall,
14-
storage: {
15-
useFileSystem: true,
16-
},
14+
storage: {},
1715
cdn: {
1816
enableLogging: true,
1917
compress: true,
@@ -31,4 +29,9 @@ export default {
3129
queryStrings: [],
3230
},
3331
},
32+
deploy: {
33+
docs: true, // enables docs
34+
api: true, // enables api
35+
fileSystem: true, // enables file system
36+
},
3437
} satisfies CloudConfig

tea.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
npmjs.com: ^9.7.2
3-
bun.sh: ^0.8.1
3+
bun.sh: ^1.0.0
44
sqlite.org: ^3.42.0
55
redis.io: ^7.0.11
66
aws.amazon.com/cli: ^2.13.7

0 commit comments

Comments
 (0)