ci: ignore

This commit is contained in:
Dax Raad 2025-11-23 14:28:10 -05:00
parent 27ae341684
commit de4660ac12
5 changed files with 34 additions and 2 deletions

View file

@ -177,6 +177,7 @@
"zod": "catalog:",
},
"devDependencies": {
"@cloudflare/workers-types": "catalog:",
"@tailwindcss/vite": "catalog:",
"@types/luxon": "catalog:",
"@typescript/native-preview": "catalog:",

30
infra/enterprise.ts Normal file
View file

@ -0,0 +1,30 @@
import { domain } from "./stage"
const storage = new sst.cloudflare.Bucket("EnterpriseStorage")
const token = new cloudflare.ApiToken("EnterpriseStorageToken", {
name: `${$app.name}-${$app.stage}-enterprise-storage`,
policies: [
{
effect: "allow",
resources: {
"com.cloudflare.api.account.*": "*",
},
permissionGroups: [
{
id: "c8d07a38f1654800b34e33e59b4e8f41",
},
],
},
],
})
const enterprise = new sst.cloudflare.x.SolidStart("Enterprise", {
domain: "enterprise." + domain,
environment: {
OPENCODE_STORAGE_ADAPTER: "r2",
OPENCODE_STORAGE_ACCOUNT_ID: sst.cloudflare.DEFAULT_ACCOUNT_ID,
OPENCODE_STORAGE_ACCESS_KEY_ID: "---",
OPENCODE_STORAGE_SECRET_ACCESS_KEY: "---",
OPENCODE_STORAGE_BUCKET: storage.name,
},
})

View file

@ -24,6 +24,7 @@
"zod": "catalog:"
},
"devDependencies": {
"@cloudflare/workers-types": "catalog:",
"@tailwindcss/vite": "catalog:",
"@typescript/native-preview": "catalog:",
"@types/luxon": "catalog:",

View file

@ -11,7 +11,7 @@
"allowJs": true,
"noEmit": true,
"strict": true,
"types": ["vite/client"],
"types": ["@cloudflare/workers-types", "vite/client"],
"isolatedModules": true,
"paths": {
"~/*": ["./src/*"]

View file

@ -9,7 +9,7 @@ export default $config({
home: "cloudflare",
providers: {
stripe: {
apiKey: process.env.STRIPE_SECRET_KEY,
apiKey: process.env.STRIPE_SECRET_KEY!,
},
planetscale: "0.4.1",
},