@kubohiroya/turbowarp-cloudflare-worker 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ja.md +4 -0
- package/README.md +3 -1
- package/assets/block-icon.svg +1 -0
- package/dist/turbowarp-cloudflare-worker.js +11279 -10013
- package/docs/index.html +9 -3
- package/package.json +6 -5
- package/src/config.ts +1 -1
package/README.ja.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# turbowarp-cloudflare-worker
|
|
2
2
|
|
|
3
|
+
<img src="assets/block-icon.svg" alt="" width="48" height="48">
|
|
4
|
+
|
|
5
|
+
[English](README.md) | 日本語
|
|
6
|
+
|
|
3
7
|
`@kubohiroya/turbowarp-cloudflare-worker` は、TurboWarp のブロックで表現した HTTP ハンドラ構成を Cloudflare Workers 向け TypeScript/Hono アプリへ変換するための初期実装です。
|
|
4
8
|
|
|
5
9
|
このリポジトリは `turbowarp-http-server` 本体から分離した Cloudflare 連携パッケージです。本体はブロック側の HTTP サーバ表現とローカル実行を担い、このパッケージは Cloudflare Workers へ持ち出すための IR、コード生成、CLI、将来的なデプロイ補助ブロックを担います。
|
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# turbowarp-cloudflare-worker
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<img src="assets/block-icon.svg" alt="" width="48" height="48">
|
|
4
|
+
|
|
5
|
+
English | [日本語](README.ja.md)
|
|
4
6
|
|
|
5
7
|
`@kubohiroya/turbowarp-cloudflare-worker` is the Cloudflare integration package for the `turbowarp-http-server` family. It defines a shared IR, generates Cloudflare Workers TypeScript/Hono files, exposes a small CLI, and provides minimal TurboWarp blocks for IR creation.
|
|
6
8
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M28.0 27.0L28.0 5.0M28.0 27.0L43.6 11.4M28.0 27.0L50.0 27.0M28.0 27.0L43.6 42.6M28.0 27.0L28.0 49.0M28.0 27.0L12.4 42.6M28.0 27.0L6.0 27.0M28.0 27.0L12.4 11.4" stroke="#2563EB" stroke-width="1.04" stroke-linecap="round"/><path d="M28.0 10.0L40.0 15.0L45.0 27.0L40.0 39.0L28.0 44.0L16.0 39.0L11.0 27.0L16.0 15.0Z" fill="none" stroke="#2563EB" stroke-width="1.3" stroke-linejoin="round"/><path d="M22.5 21h11.5l7 7v14.5a2 2 0 0 1-2 2H22.5a2 2 0 0 1-2-2V23a2 2 0 0 1 2-2z" fill="#fff" stroke="#16305C" stroke-width="2.4" stroke-linejoin="round"/><path d="M34 21v7h7" fill="none" stroke="#16305C" stroke-width="2.4" stroke-linejoin="round"/><path d="M28.5 39.5a4.2 4.2 0 0 1 .6-8.3 5.6 5.6 0 0 1 10.3 1.6 3.4 3.4 0 0 1-1.1 6.7z" fill="#F2A33A"/><path d="M14 0V8.0" stroke="#16305C" stroke-width="1.5" stroke-linecap="round"/><path d="M12.3 8.5L6.1 6.9L3.1 2.9M15.7 8.5L21.9 6.9L24.9 2.9M12.3 10.0L5.4 9.9L2.1 6.9M15.7 10.0L22.6 9.9L25.9 6.9M12.3 11.8L5.4 11.9L2.1 14.9M15.7 11.8L22.6 11.9L25.9 14.9M12.3 13.3L6.1 14.9L3.1 18.9M15.7 13.3L21.9 14.9L24.9 18.9" fill="none" stroke="#16305C" stroke-width="1.05" stroke-linecap="round" stroke-linejoin="round"/><circle cx="14" cy="10.9" r="3.4" fill="#16305C"/><circle cx="14" cy="15.1" r="2.3" fill="#16305C"/></svg>
|