Skip to content

Commit

Permalink
pages-shared 'wrangler pages dev' (#1788)
Browse files Browse the repository at this point in the history
* Use pages-shared asset-server in 'wrangler pages dev'

* Can't make TS work :(

* Forgive me for my TS sins

* Final pieces for prod
  • Loading branch information
GregBrimble committed Sep 12, 2022
1 parent de29a44 commit 152a1e8
Show file tree
Hide file tree
Showing 12 changed files with 2,370 additions and 6,314 deletions.
7 changes: 7 additions & 0 deletions .changeset/neat-queens-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"wrangler": patch
---

chore: Refactor 'wrangler pages dev' to use the same code as we do in production

This will make our dev implementation an even closer simulation of production, and will make maintenance easier going forward.
7,414 changes: 1,538 additions & 5,876 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions packages/pages-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflare/pages-shared",
"version": "0.0.3",
"version": "0.0.4",
"files": [
"tsconfig.json",
"src/**/*",
Expand Down Expand Up @@ -35,8 +35,12 @@
"node_modules/(?!find-up|locate-path|p-locate|p-limit|p-timeout|p-queue|yocto-queue|path-exists|execa|strip-final-newline|npm-run-path|path-key|onetime|mimic-fn|human-signals|is-stream|get-port|supports-color|pretty-bytes)"
]
},
"dependencies": {
"@miniflare/core": "2.8.1"
},
"devDependencies": {
"@cloudflare/workers-types": "^3.16.0",
"@miniflare/cache": "2.8.1",
"@miniflare/html-rewriter": "2.8.1",
"@types/service-worker-mock": "^2.0.1",
"concurrently": "^7.3.0",
"glob": "^8.0.3",
Expand Down

0 comments on commit 152a1e8

Please sign in to comment.