Skip to content

Commit

Permalink
add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
CarmenPopoviciu committed Aug 2, 2024
1 parent 40033a8 commit a74abdb
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .changeset/orange-icons-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
"@cloudflare/workers-shared": minor
"wrangler": minor
---

feat: Create very basic Asset Server Worker and plumb it into `wrangler dev`

These changes do the ground work needed in order to add Assets support for Workers in `wrangler dev`. They introduce the following components, and the following conceptual "client pipeline":

<!-- prettier-ignore-start -->
|
wrangler dev
| workerd
+------------------+---------------------+
| | |
| +-----------v--------------+ |
| | | |
| | NOOP Entry Worker | |
| | | |
| +------------+-------------+ |
| | |
| env.ASSET_SERVER |
| | |
| +------------v-------------+ |
| | | |
| | Asset Server Worker | |
| | | |
| +------------+-------------+ |
| | |
+-------------------+--------------------+
|
v
"Hello world from Asset Server"

<!-- prettier-ignore-end -->

Based on the above architectural diagram, this body of work implements the following:

- it creates a new package called `workers-shared` that hosts the `Asset Server Worker`, and the `Router Worker`in the future
- it scaffolds the `Asset Server Worker` in some very basic form, with basic configuration. Further behaviour implementation will follow in a subsequent PR
- it does the ground work of plumbing ASW into Miniflare

0 comments on commit a74abdb

Please sign in to comment.