Off topic but is there a vod for your turborepo stream?
Off topic but is there a vod for your turborepo stream?
package.json or vscode's settings.jsonnpm i zod-to-json-schema. There are 128 other projects in the npm registry using zod-to-json-schema.
wrangler, Actions can pull the Zod schema, and then generate and publish a JSON Schema for people to use.wrangler to validate itdescription field like a JSON schemanpm i json-schema-to-zod. There are 13 other projects in the npm registry using json-schema-to-zod.
.describe(). nice

&& rm -rf cache/next-on-pages - https://github.com/cloudflare/next-on-pages/issuesunstable_dev and pass local: false in wrangler 3.x. Whatever I try, it will still default to local: true because the code checks for args.remote only. Which probably doesn't make sense given unstable_dev doesn't allow setting remote: true. Any idea?wrangler secret:bulk and then a wrangler publish yarn wrangler deployments list? Then I could filter only the Source: Upload from Wrangler 🤠 to get real deploymentswrangler rollback <ID>)Error: write EPIPE still occurs, even after installing some mentioned packageswrangler dev - currently finding that I need to write a lot of --var X:$X --var Y:$Y ...wrangler.toml for wrangler dev and you can use a .dev.vars filemy.local/foo/* -> scripts/foo.js my.local/bar/* -> scripts/bar.jsworkers but couldn't get live reload working... plus the contents of /scripts/ can change during development, so what I ended up with is not perfect but it's good enough for local dev:next-on-pagesunstable_devunstable_devwrangler secret:bulkwrangler publish yarn wrangler deployments listSource: Upload from Wrangler 🤠wrangler rollback <ID>Error: write EPIPE--var X:$X --var Y:$Y ....dev.varsmy.local/foo/* -> scripts/foo.jsmy.local/bar/* -> scripts/bar.jsworkersapp.use('/:name/*', async (req, res) => {
const mf = new Miniflare({
scriptPath: `./scripts/${req.params.name}/index.js`,
bindings: process.env,
})
const url = `http://localhost:8787${req.originalUrl}`
const queryRes = await mf.dispatchFetch(url, {
method: req.method,
headers: req.headers,
body: req.body,
})
res.send(await queryRes.text())
await mf.dispose()
})/home/yzn/projects/test/node_modules/wrangler/wrangler-dist/cli.js:30632
throw a;
^
Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:930:11)
at Socket._write (node:net:942:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at Runtime.updateConfig (/home/yzn/projects/test/node_modules/miniflare/dist/src/index.js:5125:26)
at async #assembleAndUpdateConfig (/home/yzn/projects/test/node_modules/miniflare/dist/src/index.js:9140:23)
at async #init (/home/yzn/projects/test/node_modules/miniflare/dist/src/index.js:8902:5)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}yay -Sy extra/libc++ aur/llvm-libunwind