Skip to content

Commit

Permalink
Use sst.aws.React
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon committed Jan 8, 2025
1 parent 571c104 commit ccc7f03
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion infra/www.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { domain } from './dns'
import { email } from './email'
import { secret } from './secret'

export const www = new sst.aws.Remix('Remix', {
export const www = new sst.aws.React('ReactRouter', {
path: './packages/www',
domain: {
name: domain,
Expand Down
4 changes: 2 additions & 2 deletions packages/core/sst-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
"Remix": {
"type": "sst.aws.Remix"
"ReactRouter": {
"type": "sst.aws.React"
"url": string
}
"SESSION_SECRET": {
Expand Down
4 changes: 2 additions & 2 deletions packages/functions/sst-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
"Remix": {
"type": "sst.aws.Remix"
"ReactRouter": {
"type": "sst.aws.React"
"url": string
}
"SESSION_SECRET": {
Expand Down
2 changes: 1 addition & 1 deletion packages/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"build": "react-router build",
"dev": "react-router dev",
"start": "sst shell remix vite:start",
"start": "sst shell react-router start",
"test": "vitest",
"typecheck": "react-router typegen && tsc"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/www/sst-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
"Remix": {
"type": "sst.aws.Remix"
"ReactRouter": {
"type": "sst.aws.React"
"url": string
}
"SESSION_SECRET": {
Expand Down
4 changes: 2 additions & 2 deletions sst-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
"Remix": {
"type": "sst.aws.Remix"
"ReactRouter": {
"type": "sst.aws.React"
"url": string
}
"SESSION_SECRET": {
Expand Down

0 comments on commit ccc7f03

Please sign in to comment.