forked from anomalyco/opencode
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsst.config.ts
More file actions
Latest commit
23 lines (22 loc) · 567 Bytes
/
Copy pathsst.config.ts
File metadata and controls
23 lines (22 loc) · 567 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/// <reference path="./.sst/platform/config.d.ts" />
exportdefault$config({
app(input){
return{
name: "opencode",
removal: input?.stage==="production" ? "retain" : "remove",
protect: ["production"].includes(input?.stage),
home: "cloudflare",
providers: {
stripe: {
apiKey: process.env.STRIPE_SECRET_KEY!,
},
planetscale: "0.4.1",
},
}
},
asyncrun(){
awaitimport("./infra/app.js")
awaitimport("./infra/console.js")
awaitimport("./infra/enterprise.js")
},
})