worker-typescript-template
worker-typescript-template copied to clipboard
ʕ •́؈•̀) TypeScript template for Cloudflare Workers
Not 100% sure how much it's worth adding to the testing examples, as needs will vary. There's already a simple fetch mock in service-worker-mock, but it didn't seem like it...
Prefixing commands with environment variables only works on *nix, because Windows is awful So your templates won't run for Windows folks ```sh $ yarn dev yarn run v1.22.10 $ NODE_ENV=development...
Hi, actually I do not know whether this is an issue with this project, [puppeteer ](https://github.com/puppeteer/puppeteer) project, or something else but I Can not use the library [puppeteer ](https://github.com/puppeteer/puppeteer) in...
When using this project as a template, I was given security warnings concerning https://github.com/advisories/GHSA-hxcc-f52p-wc94 What I did to fix this after generating a new project from this template: mochajs/mocha#4375 -...
The webpack config defines the build out put as follows: ``` output: { filename: `worker.${mode}.js`, path: path.join(__dirname, 'dist'), }, ``` but the package.json defines the main entrypoint as index.js, which...
Fixing a bug that prevented the example from working out of the box
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. Commits 2449650 Update mocha 560b2d8 Don't use regex to trim whitespace b1bdb92 Remove linting package zoo c20dc7e Cache 308 See full diff in compare...
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
Running this command sequence (using wrangler: ```bash npx wrangler generate worker-playground https://github.com/cloudflare/worker-typescript-template cd worker-playground npm install npm run dev # or npx wrangler dev src/index.ts ``` Results in the following...
Updating Semgrep.yml file - Semgrep is a tool that will be used to scan Cloudflare's public repos for Supply chain, code and secrets. This work is part of Application &...