From 911c244453e4cfa08f666d23592eceb1775b86be Mon Sep 17 00:00:00 2001 From: ryanbetts <84613835+depatchedmode@users.noreply.github.com> Date: Wed, 10 Apr 2024 14:51:28 -0700 Subject: [PATCH] update to frames.js 0.9.x - fix bundling issue - document using local Frames.js Debugger --- README.md | 13 ++----------- netlify.toml | 1 - package.json | 5 +++-- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 94cbc3c..e640afa 100644 --- a/README.md +++ b/README.md @@ -40,17 +40,7 @@ https://warpcast.com/depatchedmode/0xecad681e ### Testing -#### Quick & easy: Proxying to the WWW -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*. -2. Test that link in either: - + The Warpcast Embed UI: https://warpcast.com/~/developers/embeds - + The Frames.js hosted debugger: https://debugger.framesjs.org/debug - -#### Local & reliable: - -Follow instructions here on how to setup the Frame.js debugger locally: https://github.com/depatchedmode/simplest-frame/issues/22#issuecomment-1930909371 - -**Note: you'll still need to be connected to the internet for Hubs communication ... unless you run your own locally** +The Frames.js debugger can be run locally for testing by following these instructions: https://framesjs.org/guides/debugger#local-debugger-cli ### Defining your Frame @@ -68,6 +58,7 @@ You may encounter a 502 gateway error after deployment on the `/og-image` endpoi https://github.com/depatchedmode/simplest-frame/issues/3 ### Caveats + I am a designer larping as a dev. I invite your collaboration and feedback. Please be kind. And please! Can we make it simpler? diff --git a/netlify.toml b/netlify.toml index 3e822a7..f46bc71 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,6 +3,5 @@ [functions] directory = "api/" - node_bundler = "esbuild" external_node_modules = ["sharp"] included_files = ["node_modules/sharp/**/*"] \ No newline at end of file diff --git a/package.json b/package.json index 0db5165..2f74070 100644 --- a/package.json +++ b/package.json @@ -1,18 +1,19 @@ { "name": "simplest-frame", "type": "module", - "version": "0.8.5", + "version": "0.9.0", "dependencies": { "@netlify/blobs": "^6.4.2", "cheerio": "^1.0.0-rc.12", "dompurify": "^3.0.8", - "frames.js": "0.5.2", + "frames.js": "0.9.6", "jsdom": "^24.0.0", "satori": "^0.10.13", "satori-html": "^0.3.2", "sharp": "^0.32.6" }, "devDependencies": { + "@frames.js/debugger": "^0.1.16", "@types/node": "^20.11.17", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0",