UNPKG

@toptal/davinci-cloudflare-requests-handler

Version:
38 lines (25 loc) 1.91 kB
# @toptal/davinci-cloudflare-requests-handler ## 1.0.0 ### Major Changes - [#2643](https://github.com/toptal/davinci/pull/2643) [`ab9666f`](https://github.com/toptal/davinci/commit/ab9666f999e7a610f6068e0145200257d8511b46) Thanks [@rocodesign](https://github.com/rocodesign)! Migrate package manager from Yarn to pnpm **WHAT (breaking change):** - switch package manager from Yarn to pnpm across the entire Davinci monorepo - add `pnpm-workspace.yaml`, `.npmrc`, and `packageManager` field for corepack support - convert Yarn `resolutions` to `pnpm.overrides` in root `package.json` - update lerna `npmClient` from `yarn` to `pnpm` - replace `yarn` with `pnpm` in root scripts (postinstall, test, test:unit:update) **HOW to update:** - install pnpm (`corepack enable` or `npm install -g pnpm@10.6.1`) - replace `yarn install` with `pnpm install` in local workflows - replace `yarn <script>` with `pnpm <script>` when running commands ## 0.1.2 ### Patch Changes - [#2138](https://github.com/toptal/davinci/pull/2138) [`94f5d8cb`](https://github.com/toptal/davinci/commit/94f5d8cb2140bdbf3e148f1ae8d5004db9779ac4) Thanks [@dmaklygin](https://github.com/dmaklygin)! - fix package.json structure for davinci packages ## 0.1.1 ### Patch Changes - [#1045](https://github.com/toptal/davinci/pull/1045) [`bae592d1`](https://github.com/toptal/davinci/commit/bae592d19fbafd213eb1914b74949a875a48c813) Thanks [@denieler](https://github.com/denieler)! - Added 503 Cloudflare error response to be processed by `window.fetch` extended by Cloudflare request handler. ## 0.1.0 ### Minor Changes - [#1026](https://github.com/toptal/davinci/pull/1026) [`64ad812b`](https://github.com/toptal/davinci/commit/64ad812b34de5b9a8572d0fabd5574f0f11a498e) Thanks [@denieler](https://github.com/denieler)! - Extend `window.fetch` to reload the page when the Cloudflare 429 error response code happens.