Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 0 additions & 85 deletions TODO.md

This file was deleted.

37 changes: 37 additions & 0 deletions builder/TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Builder

## TODO

- move the wrangler.toml to the templates

DONE:

- wrangler alias
- figure out the assets
- copy the template folders

## Open next [example app](https://github.com/sst/open-next/tree/main/example)

Changes:

- App: Update package.json

```text
"scripts": {
"dev": "next dev",
...
},
"dependencies": {
"next": "^14.2.11",
"next-auth": "latest",
...
},
"devDependencies": {
"wrangler": "^3.78.6"
...
}
```

- Build the app

- Serve with `WRANGLER_BUILD_CONDITIONS="" WRANGLER_BUILD_PLATFORM="node" pnpm wrangler dev`
2 changes: 0 additions & 2 deletions examples/api/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@ name = "api"
main = ".worker-next/index.mjs"
compatibility_date = "2024-09-16"
compatibility_flags = ["nodejs_compat_v2"]
workers_dev = true
minify = false # let's disable minification for easier debuggability

experimental_assets = { directory = ".worker-next/assets", binding = "ASSETS" }
2 changes: 0 additions & 2 deletions examples/create-next-app/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ main = ".worker-next/index.mjs"

compatibility_date = "2024-08-29"
compatibility_flags = ["nodejs_compat_v2"]
workers_dev = true
minify = false

# Use the new Workers + Assets to host the static frontend files
experimental_assets = { directory = ".worker-next/assets", binding = "ASSETS" }