Skip to content

Commit

Permalink
Merge branch 'feature/migrate-frome-nodejs-to-cloudflare-workers' int…
Browse files Browse the repository at this point in the history
…o develop
  • Loading branch information
nekofar committed Feb 9, 2024
2 parents b7463b3 + d65f918 commit 5a4b7fe
Show file tree
Hide file tree
Showing 7 changed files with 649 additions and 165 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
node_modules
dist
.wrangler
.dev.vars
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@

### Usage Guide

The template uses [Localtunnel](https://github.com/localtunnel/localtunnel) which allows you to easily test your frames
without the need to deploy them. Everytime running your project, you will receive a random URL, for
example `https://thirty-glasses-tell.loca.lt`. You can directly copy this URL and test your frame using
the [Warpcast Embed Tools](https://warpcast.com/~/developers/embeds). This makes the
development and testing process much more efficient and straightforward.

For detailed information on working with Farcaster Frames, refer to
the [Farcaster Frames documentation](https://docs.farcaster.xyz/learn/what-is-farcaster/frames).
Additionally, to learn more about Hono, visit the [Hono documentation](https://hono.dev/top).
Expand Down
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@
"author": "Milad Nekofar <milad@nekofar.com>",
"license": "Apache-2.0",
"scripts": {
"dev": "pnpm run '/^dev:.*/'",
"dev:server": "tsx watch src/index.ts",
"dev:tunnel": "lt --port 3000",
"lint": "eslint . --ext .ts,.tsx"
"dev": "wrangler dev src/index.ts",
"lint": "eslint . --ext .ts,.tsx",
"deploy": "wrangler deploy --minify src/index.ts"
},
"dependencies": {
"@hono/node-server": "1.7.0",
"hono": "3.12.12"
"hono": "4.0.0"
},
"devDependencies": {
"@cloudflare/workers-types": "4.20240208.0",
"@types/eslint": "8.56.2",
"@types/eslint-config-prettier": "6.11.3",
"@types/node": "20.11.16",
Expand All @@ -28,11 +27,11 @@
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-unicorn": "51.0.1",
"localtunnel": "2.0.2",
"prettier": "3.2.5",
"prettier-plugin-jsdoc": "1.3.0",
"prettier-plugin-organize-attributes": "1.0.0",
"prettier-plugin-organize-imports": "3.2.4",
"wrangler": "3.28.1",
"tsx": "4.7.0",
"typescript": "5.3.3"
},
Expand Down
Loading

0 comments on commit 5a4b7fe

Please sign in to comment.