Skip to content

Commit 911c244

Browse files
committed
update to frames.js 0.9.x
- fix bundling issue - document using local Frames.js Debugger
1 parent a2ed3db commit 911c244

File tree

3 files changed

+5
-14
lines changed

3 files changed

+5
-14
lines changed

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,7 @@ https://warpcast.com/depatchedmode/0xecad681e
4040

4141
### Testing
4242

43-
#### Quick & easy: Proxying to the WWW
44-
1. Run `netlify dev --live` will give [proxy your local machine](https://docs.netlify.com/cli/local-development/#share-a-live-development-server) to the *world* *wide* *web*.
45-
2. Test that link in either:
46-
+ The Warpcast Embed UI: https://warpcast.com/~/developers/embeds
47-
+ The Frames.js hosted debugger: https://debugger.framesjs.org/debug
48-
49-
#### Local & reliable:
50-
51-
Follow instructions here on how to setup the Frame.js debugger locally: https://github.com/depatchedmode/simplest-frame/issues/22#issuecomment-1930909371
52-
53-
**Note: you'll still need to be connected to the internet for Hubs communication ... unless you run your own locally**
43+
The Frames.js debugger can be run locally for testing by following these instructions: https://framesjs.org/guides/debugger#local-debugger-cli
5444

5545
### Defining your Frame
5646

@@ -68,6 +58,7 @@ You may encounter a 502 gateway error after deployment on the `/og-image` endpoi
6858
https://github.com/depatchedmode/simplest-frame/issues/3
6959

7060
### Caveats
61+
7162
I am a designer larping as a dev. I invite your collaboration and feedback. Please be kind.
7263

7364
And please! Can we make it simpler?

netlify.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33

44
[functions]
55
directory = "api/"
6-
node_bundler = "esbuild"
76
external_node_modules = ["sharp"]
87
included_files = ["node_modules/sharp/**/*"]

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
{
22
"name": "simplest-frame",
33
"type": "module",
4-
"version": "0.8.5",
4+
"version": "0.9.0",
55
"dependencies": {
66
"@netlify/blobs": "^6.4.2",
77
"cheerio": "^1.0.0-rc.12",
88
"dompurify": "^3.0.8",
9-
"frames.js": "0.5.2",
9+
"frames.js": "0.9.6",
1010
"jsdom": "^24.0.0",
1111
"satori": "^0.10.13",
1212
"satori-html": "^0.3.2",
1313
"sharp": "^0.32.6"
1414
},
1515
"devDependencies": {
16+
"@frames.js/debugger": "^0.1.16",
1617
"@types/node": "^20.11.17",
1718
"@typescript-eslint/eslint-plugin": "^6.21.0",
1819
"@typescript-eslint/parser": "^6.21.0",

0 commit comments

Comments
 (0)