diff --git a/example/news-interactions/sst-env.d.ts b/example/news-interactions/sst-env.d.ts index b2f94fe2..a59e438b 100644 --- a/example/news-interactions/sst-env.d.ts +++ b/example/news-interactions/sst-env.d.ts @@ -62,6 +62,10 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } + "VanillaJsDemo": { + "type": "sst.aws.StaticSite" + "url": string + } "Wallet": { "type": "sst.aws.StaticSite" "url": string diff --git a/example/vanilla-js/sst-env.d.ts b/example/vanilla-js/sst-env.d.ts index b2f94fe2..a59e438b 100644 --- a/example/vanilla-js/sst-env.d.ts +++ b/example/vanilla-js/sst-env.d.ts @@ -62,6 +62,10 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } + "VanillaJsDemo": { + "type": "sst.aws.StaticSite" + "url": string + } "Wallet": { "type": "sst.aws.StaticSite" "url": string diff --git a/example/wallet-ethcc/sst-env.d.ts b/example/wallet-ethcc/sst-env.d.ts index b2f94fe2..a59e438b 100644 --- a/example/wallet-ethcc/sst-env.d.ts +++ b/example/wallet-ethcc/sst-env.d.ts @@ -62,6 +62,10 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } + "VanillaJsDemo": { + "type": "sst.aws.StaticSite" + "url": string + } "Wallet": { "type": "sst.aws.StaticSite" "url": string diff --git a/infra/example.ts b/infra/example.ts index 5267dfdb..b879f50e 100644 --- a/infra/example.ts +++ b/infra/example.ts @@ -49,3 +49,21 @@ export const newsInteractionWebsite = new sst.aws.StaticSite( }, } ); + +/** + * Vanilla JS demo website + */ +export const vanillaJsWebsite = new sst.aws.StaticSite("VanillaJsDemo", { + path: "example/vanilla-js", + // Set the custom domain + domain: { + name: "vanilla-js.news-paper.xyz", + }, + build: { + command: "bun run build", + output: "dist", + }, + vite: { + types: "./sst-env.d.ts", + }, +}); diff --git a/packages/app-essentials/sst-env.d.ts b/packages/app-essentials/sst-env.d.ts index b2f94fe2..a59e438b 100644 --- a/packages/app-essentials/sst-env.d.ts +++ b/packages/app-essentials/sst-env.d.ts @@ -62,6 +62,10 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } + "VanillaJsDemo": { + "type": "sst.aws.StaticSite" + "url": string + } "Wallet": { "type": "sst.aws.StaticSite" "url": string diff --git a/packages/backend-elysia/sst-env.d.ts b/packages/backend-elysia/sst-env.d.ts index b2f94fe2..a59e438b 100644 --- a/packages/backend-elysia/sst-env.d.ts +++ b/packages/backend-elysia/sst-env.d.ts @@ -62,6 +62,10 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } + "VanillaJsDemo": { + "type": "sst.aws.StaticSite" + "url": string + } "Wallet": { "type": "sst.aws.StaticSite" "url": string diff --git a/packages/dashboard/sst-env.d.ts b/packages/dashboard/sst-env.d.ts index b2f94fe2..a59e438b 100644 --- a/packages/dashboard/sst-env.d.ts +++ b/packages/dashboard/sst-env.d.ts @@ -62,6 +62,10 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } + "VanillaJsDemo": { + "type": "sst.aws.StaticSite" + "url": string + } "Wallet": { "type": "sst.aws.StaticSite" "url": string diff --git a/packages/shared/sst-env.d.ts b/packages/shared/sst-env.d.ts index b2f94fe2..a59e438b 100644 --- a/packages/shared/sst-env.d.ts +++ b/packages/shared/sst-env.d.ts @@ -62,6 +62,10 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } + "VanillaJsDemo": { + "type": "sst.aws.StaticSite" + "url": string + } "Wallet": { "type": "sst.aws.StaticSite" "url": string diff --git a/packages/wallet/sst-env.d.ts b/packages/wallet/sst-env.d.ts index b2f94fe2..a59e438b 100644 --- a/packages/wallet/sst-env.d.ts +++ b/packages/wallet/sst-env.d.ts @@ -62,6 +62,10 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } + "VanillaJsDemo": { + "type": "sst.aws.StaticSite" + "url": string + } "Wallet": { "type": "sst.aws.StaticSite" "url": string diff --git a/sdk/components/sst-env.d.ts b/sdk/components/sst-env.d.ts index b2f94fe2..a59e438b 100644 --- a/sdk/components/sst-env.d.ts +++ b/sdk/components/sst-env.d.ts @@ -62,6 +62,10 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } + "VanillaJsDemo": { + "type": "sst.aws.StaticSite" + "url": string + } "Wallet": { "type": "sst.aws.StaticSite" "url": string diff --git a/sdk/core/sst-env.d.ts b/sdk/core/sst-env.d.ts index b2f94fe2..a59e438b 100644 --- a/sdk/core/sst-env.d.ts +++ b/sdk/core/sst-env.d.ts @@ -62,6 +62,10 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } + "VanillaJsDemo": { + "type": "sst.aws.StaticSite" + "url": string + } "Wallet": { "type": "sst.aws.StaticSite" "url": string diff --git a/sdk/legacy/sst-env.d.ts b/sdk/legacy/sst-env.d.ts index b2f94fe2..a59e438b 100644 --- a/sdk/legacy/sst-env.d.ts +++ b/sdk/legacy/sst-env.d.ts @@ -62,6 +62,10 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } + "VanillaJsDemo": { + "type": "sst.aws.StaticSite" + "url": string + } "Wallet": { "type": "sst.aws.StaticSite" "url": string diff --git a/sdk/react/sst-env.d.ts b/sdk/react/sst-env.d.ts index b2f94fe2..a59e438b 100644 --- a/sdk/react/sst-env.d.ts +++ b/sdk/react/sst-env.d.ts @@ -62,6 +62,10 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } + "VanillaJsDemo": { + "type": "sst.aws.StaticSite" + "url": string + } "Wallet": { "type": "sst.aws.StaticSite" "url": string diff --git a/sst-env.d.ts b/sst-env.d.ts index b2f94fe2..a59e438b 100644 --- a/sst-env.d.ts +++ b/sst-env.d.ts @@ -62,6 +62,10 @@ declare module "sst" { "type": "sst.sst.Secret" "value": string } + "VanillaJsDemo": { + "type": "sst.aws.StaticSite" + "url": string + } "Wallet": { "type": "sst.aws.StaticSite" "url": string