2023-10-18 09:13:47 +03:00
|
|
|
import { resolve } from 'node:path';
|
|
|
|
import { fileURLToPath } from 'node:url';
|
|
|
|
|
2024-03-25 06:55:26 +03:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
2024-09-13 10:58:20 +03:00
|
|
|
import { getBuildConfig } from '@affine/cli/src/webpack/runtime-config';
|
2024-03-28 13:24:25 +03:00
|
|
|
import { sentryEsbuildPlugin } from '@sentry/esbuild-plugin';
|
2024-03-30 12:06:09 +03:00
|
|
|
import type { BuildOptions, Plugin } from 'esbuild';
|
2023-10-18 09:13:47 +03:00
|
|
|
|
|
|
|
export const electronDir = fileURLToPath(new URL('..', import.meta.url));
|
|
|
|
|
2024-09-12 12:00:18 +03:00
|
|
|
export const rootDir = resolve(electronDir, '..', '..', '..', '..');
|
2023-10-18 09:13:47 +03:00
|
|
|
|
|
|
|
export const NODE_MAJOR_VERSION = 18;
|
|
|
|
|
|
|
|
export const mode = (process.env.NODE_ENV =
|
|
|
|
process.env.NODE_ENV || 'development');
|
|
|
|
|
|
|
|
export const config = (): BuildOptions => {
|
2023-10-19 06:14:30 +03:00
|
|
|
const define: Record<string, string> = {};
|
2023-10-18 09:13:47 +03:00
|
|
|
|
2023-10-19 06:14:30 +03:00
|
|
|
define['REPLACE_ME_BUILD_ENV'] = `"${process.env.BUILD_TYPE ?? 'stable'}"`;
|
2023-10-18 09:13:47 +03:00
|
|
|
|
2024-09-13 10:58:20 +03:00
|
|
|
define['BUILD_CONFIG'] = JSON.stringify(
|
|
|
|
getBuildConfig({
|
2024-03-25 06:55:26 +03:00
|
|
|
channel: (process.env.BUILD_TYPE as any) ?? 'canary',
|
|
|
|
distribution: 'desktop',
|
|
|
|
mode:
|
|
|
|
process.env.NODE_ENV === 'production' ? 'production' : 'development',
|
chore: bump up all non-major dependencies (#7925)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence | Type | Update |
|---|---|---|---|---|---|---|---|
| [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3) ([source](https://togithub.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3)) | [`3.633.0` -> `3.635.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.633.0/3.635.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-s3/3.635.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@aws-sdk%2fclient-s3/3.635.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@aws-sdk%2fclient-s3/3.633.0/3.635.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-s3/3.633.0/3.635.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor |
| [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3) ([source](https://togithub.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3)) | [`3.633.0` -> `3.635.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.633.0/3.635.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-s3/3.635.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@aws-sdk%2fclient-s3/3.635.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@aws-sdk%2fclient-s3/3.633.0/3.635.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-s3/3.633.0/3.635.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor |
| [@chromatic-com/storybook](https://togithub.com/chromaui/addon-visual-tests) | [`1.6.1` -> `1.7.0`](https://renovatebot.com/diffs/npm/@chromatic-com%2fstorybook/1.6.1/1.7.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@chromatic-com%2fstorybook/1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@chromatic-com%2fstorybook/1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@chromatic-com%2fstorybook/1.6.1/1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@chromatic-com%2fstorybook/1.6.1/1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor |
| [@emotion/react](https://togithub.com/emotion-js/emotion/tree/main#readme) ([source](https://togithub.com/emotion-js/emotion)) | [`11.13.0` -> `11.13.3`](https://renovatebot.com/diffs/npm/@emotion%2freact/11.13.0/11.13.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@emotion%2freact/11.13.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@emotion%2freact/11.13.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@emotion%2freact/11.13.0/11.13.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@emotion%2freact/11.13.0/11.13.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [@emotion/react](https://togithub.com/emotion-js/emotion/tree/main#readme) ([source](https://togithub.com/emotion-js/emotion)) | [`11.13.0` -> `11.13.3`](https://renovatebot.com/diffs/npm/@emotion%2freact/11.13.0/11.13.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@emotion%2freact/11.13.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@emotion%2freact/11.13.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@emotion%2freact/11.13.0/11.13.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@emotion%2freact/11.13.0/11.13.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch |
| [@fal-ai/serverless-client](https://togithub.com/fal-ai/fal-js) ([source](https://togithub.com/fal-ai/fal-js/tree/HEAD/libs/client)) | [`^0.13.0` -> `^0.14.0`](https://renovatebot.com/diffs/npm/@fal-ai%2fserverless-client/0.13.0/0.14.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@fal-ai%2fserverless-client/0.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@fal-ai%2fserverless-client/0.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@fal-ai%2fserverless-client/0.13.0/0.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@fal-ai%2fserverless-client/0.13.0/0.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor |
| [@napi-rs/cli](https://togithub.com/napi-rs/napi-rs) | [`3.0.0-alpha.60` -> `3.0.0-alpha.62`](https://renovatebot.com/diffs/npm/@napi-rs%2fcli/3.0.0-alpha.60/3.0.0-alpha.62) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@napi-rs%2fcli/3.0.0-alpha.62?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@napi-rs%2fcli/3.0.0-alpha.62?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@napi-rs%2fcli/3.0.0-alpha.60/3.0.0-alpha.62?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@napi-rs%2fcli/3.0.0-alpha.60/3.0.0-alpha.62?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [@playwright/test](https://playwright.dev) ([source](https://togithub.com/microsoft/playwright)) | [`=1.44.1` -> `=1.46.1`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.44.1/1.46.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@playwright%2ftest/1.46.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@playwright%2ftest/1.46.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@playwright%2ftest/1.44.1/1.46.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@playwright%2ftest/1.44.1/1.46.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor |
| [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.3.3` -> `18.3.4`](https://renovatebot.com/diffs/npm/@types%2freact/18.3.3/18.3.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.3.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.3.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.3.3/18.3.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.3.3/18.3.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [@vanilla-extract/css](https://togithub.com/vanilla-extract-css/vanilla-extract) ([source](https://togithub.com/vanilla-extract-css/vanilla-extract/tree/HEAD/packages/css)) | [`1.15.4` -> `1.15.5`](https://renovatebot.com/diffs/npm/@vanilla-extract%2fcss/1.15.4/1.15.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vanilla-extract%2fcss/1.15.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vanilla-extract%2fcss/1.15.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vanilla-extract%2fcss/1.15.4/1.15.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vanilla-extract%2fcss/1.15.4/1.15.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [@vanilla-extract/vite-plugin](https://togithub.com/vanilla-extract-css/vanilla-extract) ([source](https://togithub.com/vanilla-extract-css/vanilla-extract/tree/HEAD/packages/vite-plugin)) | [`4.0.14` -> `4.0.15`](https://renovatebot.com/diffs/npm/@vanilla-extract%2fvite-plugin/4.0.14/4.0.15) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vanilla-extract%2fvite-plugin/4.0.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vanilla-extract%2fvite-plugin/4.0.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vanilla-extract%2fvite-plugin/4.0.14/4.0.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vanilla-extract%2fvite-plugin/4.0.14/4.0.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [@vanilla-extract/webpack-plugin](https://togithub.com/vanilla-extract-css/vanilla-extract) ([source](https://togithub.com/vanilla-extract-css/vanilla-extract/tree/HEAD/packages/webpack-plugin)) | [`2.3.12` -> `2.3.13`](https://renovatebot.com/diffs/npm/@vanilla-extract%2fwebpack-plugin/2.3.12/2.3.13) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vanilla-extract%2fwebpack-plugin/2.3.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vanilla-extract%2fwebpack-plugin/2.3.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vanilla-extract%2fwebpack-plugin/2.3.12/2.3.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vanilla-extract%2fwebpack-plugin/2.3.12/2.3.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [core-js](https://togithub.com/zloirock/core-js) ([source](https://togithub.com/zloirock/core-js/tree/HEAD/packages/core-js)) | [`3.38.0` -> `3.38.1`](https://renovatebot.com/diffs/npm/core-js/3.38.0/3.38.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/core-js/3.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/core-js/3.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/core-js/3.38.0/3.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/core-js/3.38.0/3.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch |
| [core-js](https://togithub.com/zloirock/core-js) ([source](https://togithub.com/zloirock/core-js/tree/HEAD/packages/core-js)) | [`3.38.0` -> `3.38.1`](https://renovatebot.com/diffs/npm/core-js/3.38.0/3.38.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/core-js/3.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/core-js/3.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/core-js/3.38.0/3.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/core-js/3.38.0/3.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [dayjs](https://day.js.org) ([source](https://togithub.com/iamkun/dayjs)) | [`1.11.12` -> `1.11.13`](https://renovatebot.com/diffs/npm/dayjs/1.11.12/1.11.13) | [![age](https://developer.mend.io/api/mc/badges/age/npm/dayjs/1.11.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/dayjs/1.11.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/dayjs/1.11.12/1.11.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/dayjs/1.11.12/1.11.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch |
| [electron](https://togithub.com/electron/electron) | [`32.0.0` -> `32.0.1`](https://renovatebot.com/diffs/npm/electron/32.0.0/32.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/electron/32.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/electron/32.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/electron/32.0.0/32.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/electron/32.0.0/32.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [embla-carousel-react](https://www.embla-carousel.com) ([source](https://togithub.com/davidjerleke/embla-carousel)) | [`8.1.8` -> `8.2.0`](https://renovatebot.com/diffs/npm/embla-carousel-react/8.1.8/8.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/embla-carousel-react/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/embla-carousel-react/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/embla-carousel-react/8.1.8/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/embla-carousel-react/8.1.8/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor |
| [husky](https://togithub.com/typicode/husky) | [`9.1.4` -> `9.1.5`](https://renovatebot.com/diffs/npm/husky/9.1.4/9.1.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/husky/9.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/husky/9.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/husky/9.1.4/9.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/husky/9.1.4/9.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [jotai-scope](https://togithub.com/jotaijs/jotai-scope) | [`0.7.1` -> `0.7.2`](https://renovatebot.com/diffs/npm/jotai-scope/0.7.1/0.7.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/jotai-scope/0.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/jotai-scope/0.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/jotai-scope/0.7.1/0.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/jotai-scope/0.7.1/0.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch |
| [lucide-react](https://lucide.dev) ([source](https://togithub.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react)) | [`^0.408.0` -> `^0.429.0`](https://renovatebot.com/diffs/npm/lucide-react/0.408.0/0.429.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lucide-react/0.429.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lucide-react/0.429.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lucide-react/0.408.0/0.429.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lucide-react/0.408.0/0.429.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor |
| [napi](https://togithub.com/napi-rs/napi-rs) | `3.0.0-alpha.7` -> `3.0.0-alpha.8` | [![age](https://developer.mend.io/api/mc/badges/age/crate/napi/3.0.0-alpha.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/crate/napi/3.0.0-alpha.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/crate/napi/3.0.0-alpha.7/3.0.0-alpha.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/crate/napi/3.0.0-alpha.7/3.0.0-alpha.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | workspace.dependencies | patch |
| [napi-derive](https://togithub.com/napi-rs/napi-rs) | `3.0.0-alpha.6` -> `3.0.0-alpha.7` | [![age](https://developer.mend.io/api/mc/badges/age/crate/napi-derive/3.0.0-alpha.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/crate/napi-derive/3.0.0-alpha.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/crate/napi-derive/3.0.0-alpha.6/3.0.0-alpha.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/crate/napi-derive/3.0.0-alpha.6/3.0.0-alpha.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | workspace.dependencies | patch |
| [nestjs-throttler-storage-redis](https://togithub.com/kkoomen/nestjs-throttler-storage-redis) | [`^0.4.1` -> `^0.5.0`](https://renovatebot.com/diffs/npm/nestjs-throttler-storage-redis/0.4.4/0.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nestjs-throttler-storage-redis/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nestjs-throttler-storage-redis/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nestjs-throttler-storage-redis/0.4.4/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nestjs-throttler-storage-redis/0.4.4/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor |
| [node](https://nodejs.org) ([source](https://togithub.com/nodejs/node)) | `20.15.1` -> `20.16.0` | [![age](https://developer.mend.io/api/mc/badges/age/node-version/node/v20.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/node-version/node/v20.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/node-version/node/v20.15.1/v20.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/node-version/node/v20.15.1/v20.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | minor |
| openresty/openresty | `1.25.3.1-0-buster` -> `1.25.3.2-0-buster` | [![age](https://developer.mend.io/api/mc/badges/age/docker/openresty%2fopenresty/1.25.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/docker/openresty%2fopenresty/1.25.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/docker/openresty%2fopenresty/1.25.3.1/1.25.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/openresty%2fopenresty/1.25.3.1/1.25.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | final | patch |
| [playwright](https://playwright.dev) ([source](https://togithub.com/microsoft/playwright)) | [`=1.44.1` -> `=1.46.1`](https://renovatebot.com/diffs/npm/playwright/1.44.1/1.46.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/playwright/1.46.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/playwright/1.46.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/playwright/1.44.1/1.46.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/playwright/1.44.1/1.46.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor |
| [react-refresh](https://reactjs.org/) ([source](https://togithub.com/facebook/react/tree/HEAD/packages/react)) | [`^0.10.0` -> `^0.14.0`](https://renovatebot.com/diffs/npm/react-refresh/0.10.0/0.14.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-refresh/0.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-refresh/0.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-refresh/0.10.0/0.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-refresh/0.10.0/0.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor |
| [serde](https://serde.rs) ([source](https://togithub.com/serde-rs/serde)) | `1.0.204` -> `1.0.208` | [![age](https://developer.mend.io/api/mc/badges/age/crate/serde/1.0.208?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/crate/serde/1.0.208?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/crate/serde/1.0.204/1.0.208?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/crate/serde/1.0.204/1.0.208?slim=true)](https://docs.renovatebot.com/merge-confidence/) | workspace.dependencies | patch |
| [serde_json](https://togithub.com/serde-rs/json) | `1.0.120` -> `1.0.125` | [![age](https://developer.mend.io/api/mc/badges/age/crate/serde_json/1.0.125?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/crate/serde_json/1.0.125?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/crate/serde_json/1.0.120/1.0.125?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/crate/serde_json/1.0.120/1.0.125?slim=true)](https://docs.renovatebot.com/merge-confidence/) | workspace.dependencies | patch |
| [storybook-dark-mode](https://togithub.com/hipstersmoothie/storybook-dark-mode) | [`4.0.1` -> `4.0.2`](https://renovatebot.com/diffs/npm/storybook-dark-mode/4.0.1/4.0.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/storybook-dark-mode/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/storybook-dark-mode/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/storybook-dark-mode/4.0.1/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/storybook-dark-mode/4.0.1/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [tokio](https://tokio.rs) ([source](https://togithub.com/tokio-rs/tokio)) | `1.38.0` -> `1.39.3` | [![age](https://developer.mend.io/api/mc/badges/age/crate/tokio/1.39.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/crate/tokio/1.39.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/crate/tokio/1.38.0/1.39.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/crate/tokio/1.38.0/1.39.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dev-dependencies | minor |
| [tokio](https://tokio.rs) ([source](https://togithub.com/tokio-rs/tokio)) | `1.38.0` -> `1.39.3` | [![age](https://developer.mend.io/api/mc/badges/age/crate/tokio/1.39.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/crate/tokio/1.39.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/crate/tokio/1.38.0/1.39.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/crate/tokio/1.38.0/1.39.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | workspace.dependencies | minor |
| [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.4.1` -> `5.4.2`](https://renovatebot.com/diffs/npm/vite/5.4.1/5.4.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.4.1/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.4.1/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [vite-plugin-dts](https://togithub.com/qmhc/vite-plugin-dts) | [`4.0.2` -> `4.0.3`](https://renovatebot.com/diffs/npm/vite-plugin-dts/4.0.2/4.0.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite-plugin-dts/4.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite-plugin-dts/4.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite-plugin-dts/4.0.2/4.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite-plugin-dts/4.0.2/4.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [wrangler](https://togithub.com/cloudflare/workers-sdk) ([source](https://togithub.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler)) | [`3.72.0` -> `3.72.1`](https://renovatebot.com/diffs/npm/wrangler/3.72.0/3.72.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/wrangler/3.72.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/wrangler/3.72.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/wrangler/3.72.0/3.72.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/wrangler/3.72.0/3.72.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
---
### Release Notes
<details>
<summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary>
### [`v3.635.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#36350-2024-08-20)
[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.633.0...v3.635.0)
##### Features
- **client-s3:** Amazon Simple Storage Service / Features : Add support for conditional writes for PutObject and CompleteMultipartUpload APIs. ([b474584](https://togithub.com/aws/aws-sdk-js-v3/commit/b474584f2cfb0438fb1007d0594a54cf1a1c2dcb))
- **codegen:** add Smithy RPCv2 CBOR to list of protocols ([#​6096](https://togithub.com/aws/aws-sdk-js-v3/issues/6096)) ([5154d4f](https://togithub.com/aws/aws-sdk-js-v3/commit/5154d4f19bc77a7bad075b35ce135d3b5f60ad1d))
</details>
<details>
<summary>chromaui/addon-visual-tests (@​chromatic-com/storybook)</summary>
### [`v1.7.0`](https://togithub.com/chromaui/addon-visual-tests/blob/HEAD/CHANGELOG.md#v170-Tue-Aug-20-2024)
[Compare Source](https://togithub.com/chromaui/addon-visual-tests/compare/v1.6.1...v1.7.0)
##### 🚀 Enhancement
- Update story status reporting for Storybook 8.3 and use new `SET_FILTER` event [#​332](https://togithub.com/chromaui/addon-visual-tests/pull/332) ([@​ghengeveld](https://togithub.com/ghengeveld))
##### Authors: 1
- Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld))
***
</details>
<details>
<summary>emotion-js/emotion (@​emotion/react)</summary>
### [`v11.13.3`](https://togithub.com/emotion-js/emotion/compare/@emotion/react@11.13.0...3f468846855ed1c6092922a6317a6f5df0ba8dcc)
[Compare Source](https://togithub.com/emotion-js/emotion/compare/@emotion/react@11.13.0...@emotion/react@11.13.3)
</details>
<details>
<summary>fal-ai/fal-js (@​fal-ai/serverless-client)</summary>
### [`v0.14.2`](https://togithub.com/fal-ai/fal-js/compare/c3a3c3d21a664d5920d374ad5437957e68fa3fd5...b3ab5f0e15d70d83c439f6a77bb3a5cfa7fa3271)
[Compare Source](https://togithub.com/fal-ai/fal-js/compare/c3a3c3d21a664d5920d374ad5437957e68fa3fd5...b3ab5f0e15d70d83c439f6a77bb3a5cfa7fa3271)
### [`v0.14.1`](https://togithub.com/fal-ai/fal-js/compare/6edbf2948df1010110726071d33a91005f95920b...c3a3c3d21a664d5920d374ad5437957e68fa3fd5)
[Compare Source](https://togithub.com/fal-ai/fal-js/compare/6edbf2948df1010110726071d33a91005f95920b...c3a3c3d21a664d5920d374ad5437957e68fa3fd5)
### [`v0.14.0`](https://togithub.com/fal-ai/fal-js/compare/cf300e9cc0d65ab999a506f07e3806e239d4d3d9...6edbf2948df1010110726071d33a91005f95920b)
[Compare Source](https://togithub.com/fal-ai/fal-js/compare/cf300e9cc0d65ab999a506f07e3806e239d4d3d9...6edbf2948df1010110726071d33a91005f95920b)
</details>
<details>
<summary>napi-rs/napi-rs (@​napi-rs/cli)</summary>
### [`v3.0.0-alpha.62`](https://togithub.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.61...@napi-rs/cli@3.0.0-alpha.62)
[Compare Source](https://togithub.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.61...@napi-rs/cli@3.0.0-alpha.62)
### [`v3.0.0-alpha.61`](https://togithub.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.60...@napi-rs/cli@3.0.0-alpha.61)
[Compare Source](https://togithub.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.60...@napi-rs/cli@3.0.0-alpha.61)
</details>
<details>
<summary>microsoft/playwright (@​playwright/test)</summary>
### [`v1.46.1`](https://togithub.com/microsoft/playwright/compare/v1.46.0...e1c861cfa7a6caf3c5b798786b1e6298c4f3cf31)
[Compare Source](https://togithub.com/microsoft/playwright/compare/v1.46.0...v1.46.1)
### [`v1.46.0`](https://togithub.com/microsoft/playwright/compare/v1.45.3...99a36310570617222290c09b96a2026beb8b00f9)
[Compare Source](https://togithub.com/microsoft/playwright/compare/v1.45.3...v1.46.0)
### [`v1.45.3`](https://togithub.com/microsoft/playwright/compare/v1.45.2...0e130fa8edaf85765c4a5a86bded0e6d33bfd7c2)
[Compare Source](https://togithub.com/microsoft/playwright/compare/v1.45.2...v1.45.3)
### [`v1.45.2`](https://togithub.com/microsoft/playwright/compare/v1.45.1...d8a5f3b33193e413b404ff4aa1f71e859d8f1b6b)
[Compare Source](https://togithub.com/microsoft/playwright/compare/v1.45.1...v1.45.2)
### [`v1.45.1`](https://togithub.com/microsoft/playwright/compare/v1.45.0...e8989f83d9801cdaadc3803b5341c601c9593947)
[Compare Source](https://togithub.com/microsoft/playwright/compare/v1.45.0...v1.45.1)
### [`v1.45.0`](https://togithub.com/microsoft/playwright/compare/v1.44.1...4f3f6eecae490af444dd9298c9eaeb0c596915b7)
[Compare Source](https://togithub.com/microsoft/playwright/compare/v1.44.1...v1.45.0)
</details>
<details>
<summary>vanilla-extract-css/vanilla-extract (@​vanilla-extract/css)</summary>
### [`v1.15.5`](https://togithub.com/vanilla-extract-css/vanilla-extract/blob/HEAD/packages/css/CHANGELOG.md#1155)
[Compare Source](https://togithub.com/vanilla-extract-css/vanilla-extract/compare/@vanilla-extract/css@1.15.4...@vanilla-extract/css@1.15.5)
##### Patch Changes
- [#​1466](https://togithub.com/vanilla-extract-css/vanilla-extract/pull/1466) [`6432199fa0717f424fb3f45fbe36410b03b01c1c`](https://togithub.com/vanilla-extract-css/vanilla-extract/commit/6432199fa0717f424fb3f45fbe36410b03b01c1c) Thanks [@​askoufis](https://togithub.com/askoufis)! - Speed up dev prefix generation for long file paths
</details>
<details>
<summary>vanilla-extract-css/vanilla-extract (@​vanilla-extract/vite-plugin)</summary>
### [`v4.0.15`](https://togithub.com/vanilla-extract-css/vanilla-extract/blob/HEAD/packages/vite-plugin/CHANGELOG.md#4015)
[Compare Source](https://togithub.com/vanilla-extract-css/vanilla-extract/compare/@vanilla-extract/vite-plugin@4.0.14...@vanilla-extract/vite-plugin@4.0.15)
##### Patch Changes
- Updated dependencies \[[`96dd466127374b21ad7e48e5dd168a03a96af047`](https://togithub.com/vanilla-extract-css/vanilla-extract/commit/96dd466127374b21ad7e48e5dd168a03a96af047)]:
- [@​vanilla-extract/integration](https://togithub.com/vanilla-extract/integration)[@​7](https://togithub.com/7).1.9
</details>
<details>
<summary>vanilla-extract-css/vanilla-extract (@​vanilla-extract/webpack-plugin)</summary>
### [`v2.3.13`](https://togithub.com/vanilla-extract-css/vanilla-extract/blob/HEAD/packages/webpack-plugin/CHANGELOG.md#2313)
[Compare Source](https://togithub.com/vanilla-extract-css/vanilla-extract/compare/@vanilla-extract/webpack-plugin@2.3.12...@vanilla-extract/webpack-plugin@2.3.13)
##### Patch Changes
- Updated dependencies \[[`96dd466127374b21ad7e48e5dd168a03a96af047`](https://togithub.com/vanilla-extract-css/vanilla-extract/commit/96dd466127374b21ad7e48e5dd168a03a96af047)]:
- [@​vanilla-extract/integration](https://togithub.com/vanilla-extract/integration)[@​7](https://togithub.com/7).1.9
</details>
<details>
<summary>zloirock/core-js (core-js)</summary>
### [`v3.38.1`](https://togithub.com/zloirock/core-js/blob/HEAD/CHANGELOG.md#3381---20240820)
[Compare Source](https://togithub.com/zloirock/core-js/compare/v3.38.0...v3.38.1)
- Changes [v3.38.0...v3.38.1](https://togithub.com/zloirock/core-js/compare/v3.38.0...v3.38.1)
- Fixed some cases of `URLSearchParams` percent decoding, [#​1357](https://togithub.com/zloirock/core-js/issues/1357), [#​1361](https://togithub.com/zloirock/core-js/pull/1361), thanks [**@​slowcheetah**](https://togithub.com/slowcheetah)
- Some stylistic changes and minor optimizations
- Compat data improvements:
- [`Iterator` helpers proposal](https://togithub.com/tc39/proposal-iterator-helpers) methods marked as [shipped from FF131](https://bugzilla.mozilla.org/show_bug.cgi?id=1896390)
- [`Math.f16round` and `DataView.prototype.{ getFloat16, setFloat16 }`](https://togithub.com/tc39/proposal-float16array) marked as shipped from Bun 1.1.23
- [`RegExp.escape`](https://togithub.com/tc39/proposal-regex-escaping) marked as shipped from Bun 1.1.22
- [`Promise.try`](https://togithub.com/tc39/proposal-promise-try) marked as shipped from Bun 1.1.22
- [`Uint8Array` to / from base64 and hex proposal](https://togithub.com/tc39/proposal-arraybuffer-base64) methods marked as shipped from Bun 1.1.22
- Added Hermes 0.13 compat data, similar to React Native 0.75 Hermes
- Added Opera Android 84 compat data mapping
</details>
<details>
<summary>iamkun/dayjs (dayjs)</summary>
### [`v1.11.13`](https://togithub.com/iamkun/dayjs/compare/v1.11.12...93c8fd0f807b8a8252f4cd65083bb1d6a49b90e7)
[Compare Source](https://togithub.com/iamkun/dayjs/compare/v1.11.12...v1.11.13)
</details>
<details>
<summary>electron/electron (electron)</summary>
### [`v32.0.1`](https://togithub.com/electron/electron/compare/v32.0.0...v32.0.1)
[Compare Source](https://togithub.com/electron/electron/compare/v32.0.0...v32.0.1)
</details>
<details>
<summary>davidjerleke/embla-carousel (embla-carousel-react)</summary>
### [`v8.2.0`](https://togithub.com/davidjerleke/embla-carousel/compare/v8.1.8...6baf1555c6f68e88a7f785213ecf363f447a8b2f)
[Compare Source](https://togithub.com/davidjerleke/embla-carousel/compare/v8.1.8...v8.2.0)
</details>
<details>
<summary>typicode/husky (husky)</summary>
### [`v9.1.5`](https://togithub.com/typicode/husky/compare/v9.1.4...2fee8d212c601942ad146ea9209f15c20a07fb6d)
[Compare Source](https://togithub.com/typicode/husky/compare/v9.1.4...v9.1.5)
</details>
<details>
<summary>jotaijs/jotai-scope (jotai-scope)</summary>
### [`v0.7.2`](https://togithub.com/jotaijs/jotai-scope/compare/v0.7.1...v0.7.2)
[Compare Source](https://togithub.com/jotaijs/jotai-scope/compare/v0.7.1...v0.7.2)
</details>
<details>
<summary>lucide-icons/lucide (lucide-react)</summary>
### [`v0.429.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.429.0): New icons 0.429.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.428.0...0.429.0)
#### Modified Icons 🔨
- `message-square-dashed` ([#​2374](https://togithub.com/lucide-icons/lucide/issues/2374)) by [@​jguddas](https://togithub.com/jguddas)
- `stethoscope` ([#​2379](https://togithub.com/lucide-icons/lucide/issues/2379)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
### [`v0.428.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.428.0): New icons 0.428.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.427.0...0.428.0)
#### New icons 🎨
- `tickets-plane` ([#​2196](https://togithub.com/lucide-icons/lucide/issues/2196)) by [@​jguddas](https://togithub.com/jguddas)
#### Modified Icons 🔨
- `folder-search` ([#​2354](https://togithub.com/lucide-icons/lucide/issues/2354)) by [@​jguddas](https://togithub.com/jguddas)
### [`v0.427.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.427.0): New icons 0.427.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.426.0...0.427.0)
#### New icons 🎨
- `binoculars` ([#​2207](https://togithub.com/lucide-icons/lucide/issues/2207)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `tickets` ([#​2335](https://togithub.com/lucide-icons/lucide/issues/2335)) by [@​jguddas](https://togithub.com/jguddas)
### [`v0.426.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.426.0): New icons 0.426.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.425.0...0.426.0)
#### New icons 🎨
- `chevrons-left-right-ellipsis` ([#​2120](https://togithub.com/lucide-icons/lucide/issues/2120)) by [@​ericfennis](https://togithub.com/ericfennis)
- `ethernet-port` ([#​2120](https://togithub.com/lucide-icons/lucide/issues/2120)) by [@​ericfennis](https://togithub.com/ericfennis)
#### Modified Icons 🔨
- `cigarette-off` ([#​2282](https://togithub.com/lucide-icons/lucide/issues/2282)) by [@​jguddas](https://togithub.com/jguddas)
- `cigarette` ([#​2282](https://togithub.com/lucide-icons/lucide/issues/2282)) by [@​jguddas](https://togithub.com/jguddas)
### [`v0.425.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.425.0): New icons 0.425.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.424.0...0.425.0)
#### New icons 🎨
- `bandage` ([#​2341](https://togithub.com/lucide-icons/lucide/issues/2341)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `table-of-contents` ([#​2348](https://togithub.com/lucide-icons/lucide/issues/2348)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
#### Modified Icons 🔨
- `mouse-pointer-2` ([#​2350](https://togithub.com/lucide-icons/lucide/issues/2350)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `mouse-pointer-ban` ([#​2350](https://togithub.com/lucide-icons/lucide/issues/2350)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `mouse-pointer-click` ([#​2350](https://togithub.com/lucide-icons/lucide/issues/2350)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `mouse-pointer` ([#​2350](https://togithub.com/lucide-icons/lucide/issues/2350)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `square-dashed-mouse-pointer` ([#​2350](https://togithub.com/lucide-icons/lucide/issues/2350)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `square-mouse-pointer` ([#​2350](https://togithub.com/lucide-icons/lucide/issues/2350)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
### [`v0.424.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.424.0): New icons 0.424.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.423.0...0.424.0)
#### New icons 🎨
- `map-pin-house` ([#​2337](https://togithub.com/lucide-icons/lucide/issues/2337)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
#### Modified Icons 🔨
- `replace-all` ([#​2333](https://togithub.com/lucide-icons/lucide/issues/2333)) by [@​jguddas](https://togithub.com/jguddas)
- `replace` ([#​2333](https://togithub.com/lucide-icons/lucide/issues/2333)) by [@​jguddas](https://togithub.com/jguddas)
### [`v0.423.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.423.0): New icons 0.423.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.422.0...0.423.0)
#### New icons 🎨
- `amphora` ([#​1926](https://togithub.com/lucide-icons/lucide/issues/1926)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
### [`v0.422.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.422.0): New icons 0.422.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.421.0...0.422.0)
#### Modified Icons 🔨
- `skull` ([#​2197](https://togithub.com/lucide-icons/lucide/issues/2197)) by [@​jguddas](https://togithub.com/jguddas)
### [`v0.421.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.421.0): New icons 0.421.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.420.0...0.421.0)
#### New icons 🎨
- `microchip` ([#​1982](https://togithub.com/lucide-icons/lucide/issues/1982)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
#### Modified Icons 🔨
- `circle-check-big` ([#​2330](https://togithub.com/lucide-icons/lucide/issues/2330)) by [@​jguddas](https://togithub.com/jguddas)
- `cloud-download` ([#​2355](https://togithub.com/lucide-icons/lucide/issues/2355)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `pentagon` ([#​1918](https://togithub.com/lucide-icons/lucide/issues/1918)) by [@​jguddas](https://togithub.com/jguddas)
- `square-check-big` ([#​2331](https://togithub.com/lucide-icons/lucide/issues/2331)) by [@​jguddas](https://togithub.com/jguddas)
### [`v0.420.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.420.0): New icons 0.420.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.419.0...0.420.0)
#### New icons 🎨
- `omega` ([#​2347](https://togithub.com/lucide-icons/lucide/issues/2347)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
#### Modified Icons 🔨
- `calendar-search` ([#​2351](https://togithub.com/lucide-icons/lucide/issues/2351)) by [@​jguddas](https://togithub.com/jguddas)
- `cloud-upload` ([#​2352](https://togithub.com/lucide-icons/lucide/issues/2352)) by [@​jguddas](https://togithub.com/jguddas)
### [`v0.419.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.419.0): New icons 0.419.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.418.0...0.419.0)
#### New icons 🎨
- `circle-fading-arrow-up` ([#​2287](https://togithub.com/lucide-icons/lucide/issues/2287)) by [@​mosch](https://togithub.com/mosch)
### [`v0.418.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.418.0): New icons 0.418.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.417.0...0.418.0)
#### New icons 🎨
- `id-card` ([#​1296](https://togithub.com/lucide-icons/lucide/issues/1296)) by [@​jguddas](https://togithub.com/jguddas)
### [`v0.417.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.417.0): New icons 0.417.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.416.0...0.417.0)
#### Modified Icons 🔨
- `chart-column-increasing` ([#​2334](https://togithub.com/lucide-icons/lucide/issues/2334)) by [@​jguddas](https://togithub.com/jguddas)
### [`v0.416.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.416.0): New icons 0.416.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.415.0...0.416.0)
#### New icons 🎨
- `map-pin-check-inside` ([#​2301](https://togithub.com/lucide-icons/lucide/issues/2301)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `map-pin-check` ([#​2301](https://togithub.com/lucide-icons/lucide/issues/2301)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `map-pin-minus-inside` ([#​2301](https://togithub.com/lucide-icons/lucide/issues/2301)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `map-pin-minus` ([#​2301](https://togithub.com/lucide-icons/lucide/issues/2301)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `map-pin-plus-inside` ([#​2301](https://togithub.com/lucide-icons/lucide/issues/2301)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `map-pin-plus` ([#​2301](https://togithub.com/lucide-icons/lucide/issues/2301)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `map-pin-x-inside` ([#​2301](https://togithub.com/lucide-icons/lucide/issues/2301)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `map-pin-x` ([#​2301](https://togithub.com/lucide-icons/lucide/issues/2301)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
#### Modified Icons 🔨
- `map-pin-off` ([#​2301](https://togithub.com/lucide-icons/lucide/issues/2301)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `map-pin` ([#​2301](https://togithub.com/lucide-icons/lucide/issues/2301)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `map-pinned` ([#​2301](https://togithub.com/lucide-icons/lucide/issues/2301)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
### [`v0.415.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.415.0): New icons 0.415.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.414.0...0.415.0)
#### New icons 🎨
- `square-square` ([#​2241](https://togithub.com/lucide-icons/lucide/issues/2241)) by [@​jguddas](https://togithub.com/jguddas)
### [`v0.414.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.414.0): New icons 0.414.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.413.0...0.414.0)
#### New icons 🎨
- `chart-area` ([#​2219](https://togithub.com/lucide-icons/lucide/issues/2219)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `chart-bar-decreasing` ([#​2219](https://togithub.com/lucide-icons/lucide/issues/2219)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `chart-bar-increasing` ([#​2219](https://togithub.com/lucide-icons/lucide/issues/2219)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `chart-bar-stacked` ([#​2219](https://togithub.com/lucide-icons/lucide/issues/2219)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `chart-column-big` ([#​2219](https://togithub.com/lucide-icons/lucide/issues/2219)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `chart-column-increasing` ([#​2219](https://togithub.com/lucide-icons/lucide/issues/2219)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `chart-column-stacked` ([#​2219](https://togithub.com/lucide-icons/lucide/issues/2219)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `chart-network` ([#​2219](https://togithub.com/lucide-icons/lucide/issues/2219)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `chart-no-axes-combined` ([#​2219](https://togithub.com/lucide-icons/lucide/issues/2219)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `chart-spline` ([#​2219](https://togithub.com/lucide-icons/lucide/issues/2219)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
### [`v0.413.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.413.0): New icons 0.413.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.412.0...0.413.0)
#### New icons 🎨
- `dam` ([#​2233](https://togithub.com/lucide-icons/lucide/issues/2233)) by [@​AndreasSas](https://togithub.com/AndreasSas)
#### Modified Icons 🔨
- `dog` ([#​2249](https://togithub.com/lucide-icons/lucide/issues/2249)) by [@​jguddas](https://togithub.com/jguddas)
- `key-square` ([#​2277](https://togithub.com/lucide-icons/lucide/issues/2277)) by [@​jguddas](https://togithub.com/jguddas)
### [`v0.412.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.412.0): New icons 0.412.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.411.0...0.412.0)
#### New icons 🎨
- `letter-text` ([#​2252](https://togithub.com/lucide-icons/lucide/issues/2252)) by [@​GRA0007](https://togithub.com/GRA0007)
### [`v0.411.0`](https://togithub.com/lucide-icons/lucide/compare/0.410.0...0.411.0)
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.410.0...0.411.0)
### [`v0.410.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.410.0): New icons 0.410.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.409.0...0.410.0)
#### New icons 🎨
- `philippine-peso` ([#​2231](https://togithub.com/lucide-icons/lucide/issues/2231)) by [@​kasutu](https://togithub.com/kasutu)
#### Modified Icons 🔨
- `ribbon` ([#​2271](https://togithub.com/lucide-icons/lucide/issues/2271)) by [@​jguddas](https://togithub.com/jguddas)
### [`v0.409.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.409.0): New icons 0.409.0
[Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.408.0...0.409.0)
#### Modified Icons 🔨
- `calendar-minus` ([#​2265](https://togithub.com/lucide-icons/lucide/issues/2265)) by [@​jguddas](https://togithub.com/jguddas)
- `eye-off` ([#​2317](https://togithub.com/lucide-icons/lucide/issues/2317)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `eye` ([#​2317](https://togithub.com/lucide-icons/lucide/issues/2317)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `image-plus` ([#​2321](https://togithub.com/lucide-icons/lucide/issues/2321)) by [@​jguddas](https://togithub.com/jguddas)
- `scan-eye` ([#​2317](https://togithub.com/lucide-icons/lucide/issues/2317)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
- `view` ([#​2317](https://togithub.com/lucide-icons/lucide/issues/2317)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere)
</details>
<details>
<summary>nodejs/node (node)</summary>
### [`v20.16.0`](https://togithub.com/nodejs/node/compare/v20.15.1...v20.16.0)
[Compare Source](https://togithub.com/nodejs/node/compare/v20.15.1...v20.16.0)
</details>
<details>
<summary>facebook/react (react-refresh)</summary>
### [`v0.14.2`](https://togithub.com/facebook/react/blob/HEAD/CHANGELOG.md#0142-November-2-2015)
[Compare Source](https://togithub.com/facebook/react/compare/v0.14.1...v0.14.2)
##### React DOM
- Fixed bug with development build preventing events from firing in some versions of Internet Explorer & Edge
- Fixed bug with development build when using es5-sham in older versions of Internet Explorer
- Added support for `integrity` attribute
- Fixed bug resulting in `children` prop being coerced to a string for custom elements, which was not the desired behavior
- Moved `react` from `dependencies` to `peerDependencies` to match expectations and align with `react-addons-*` packages
### [`v0.14.1`](https://togithub.com/facebook/react/blob/HEAD/CHANGELOG.md#01410-October-14-2020)
[Compare Source](https://togithub.com/facebook/react/compare/v0.14.0...v0.14.1)
##### React
- Backport support for the [new JSX transform](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) to 0.14.x. ([@​lunaruan](https://togithub.com/lunaruan) in [#​18299](https://togithub.com/facebook/react/pull/18299) and [@​gaearon](https://togithub.com/gaearon) in [#​20024](https://togithub.com/facebook/react/pull/20024))
### [`v0.14.0`](https://togithub.com/facebook/react/blob/HEAD/CHANGELOG.md#0140-October-7-2015)
[Compare Source](https://togithub.com/facebook/react/compare/v0.13.0...v0.14.0)
##### Major changes
- Split the main `react` package into two: `react` and `react-dom`. This paves the way to writing components that can be shared between the web version of React and React Native. This means you will need to include both files and some functions have been moved from `React` to `ReactDOM`.
- Addons have been moved to separate packages (`react-addons-clone-with-props`, `react-addons-create-fragment`, `react-addons-css-transition-group`, `react-addons-linked-state-mixin`, `react-addons-perf`, `react-addons-pure-render-mixin`, `react-addons-shallow-compare`, `react-addons-test-utils`, `react-addons-transition-group`, `react-addons-update`, `ReactDOM.unstable_batchedUpdates`).
- Stateless functional components - React components were previously created using React.createClass or using ES6 classes. This release adds a [new syntax](https://reactjs.org/docs/reusable-components.html#stateless-functions) where a user defines a single [stateless render function](https://reactjs.org/docs/reusable-components.html#stateless-functions) (with one parameter: `props`) which returns a JSX element, and this function may be used as a component.
- Refs to DOM components as the DOM node itself. Previously the only useful thing you can do with a DOM component is call `getDOMNode()` to get the underlying DOM node. Starting with this release, a ref to a DOM component *is* the actual DOM node. **Note that refs to custom (user-defined) components work exactly as before; only the built-in DOM components are affected by this change.**
##### Breaking changes
- `React.initializeTouchEvents` is no longer necessary and has been removed completely. Touch events now work automatically.
- Add-Ons: Due to the DOM node refs change mentioned above, `TestUtils.findAllInRenderedTree` and related helpers are no longer able to take a DOM component, only a custom component.
- The `props` object is now frozen, so mutating props after creating a component element is no longer supported. In most cases, [`React.cloneElement`](https://reactjs.org/docs/react-api.html#cloneelement) should be used instead. This change makes your components easier to reason about and enables the compiler optimizations mentioned above.
- Plain objects are no longer supported as React children; arrays should be used instead. You can use the [`createFragment`](https://reactjs.org/docs/create-fragment.html) helper to migrate, which now returns an array.
- Add-Ons: `classSet` has been removed. Use [classnames](https://togithub.com/JedWatson/classnames) instead.
- Web components (custom elements) now use native property names. Eg: `class` instead of `className`.
##### Deprecations
- `this.getDOMNode()` is now deprecated and `ReactDOM.findDOMNode(this)` can be used instead. Note that in the common case, `findDOMNode` is now unnecessary since a ref to the DOM component is now the actual DOM node.
- `setProps` and `replaceProps` are now deprecated. Instead, call ReactDOM.render again at the top level with the new props.
- ES6 component classes must now extend `React.Component` in order to enable stateless function components. The [ES3 module pattern](https://reactjs.org/blog/2015/01/27/react-v0.13.0-beta-1.html#other-languages) will continue to work.
- Reusing and mutating a `style` object between renders has been deprecated. This mirrors our change to freeze the `props` object.
- Add-Ons: `cloneWithProps` is now deprecated. Use [`React.cloneElement`](https://reactjs.org/docs/react-api.html#cloneelement) instead (unlike `cloneW
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-08-22 07:12:22 +03:00
|
|
|
static: false,
|
2024-03-25 06:55:26 +03:00
|
|
|
})
|
|
|
|
);
|
|
|
|
|
2024-03-28 13:24:25 +03:00
|
|
|
if (process.env.GITHUB_SHA) {
|
|
|
|
define['process.env.GITHUB_SHA'] = `"${process.env.GITHUB_SHA}"`;
|
|
|
|
}
|
|
|
|
|
2024-09-18 11:07:58 +03:00
|
|
|
if (process.env.SENTRY_RELEASE) {
|
|
|
|
define['process.env.SENTRY_RELEASE'] = `"${process.env.SENTRY_RELEASE}"`;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (process.env.SENTRY_DSN) {
|
|
|
|
define['process.env.SENTRY_DSN'] = `"${process.env.SENTRY_DSN}"`;
|
|
|
|
}
|
|
|
|
|
2024-03-30 12:06:09 +03:00
|
|
|
const plugins: Plugin[] = [];
|
2024-03-28 13:24:25 +03:00
|
|
|
|
|
|
|
if (
|
|
|
|
process.env.SENTRY_AUTH_TOKEN &&
|
|
|
|
process.env.SENTRY_ORG &&
|
|
|
|
process.env.SENTRY_PROJECT
|
|
|
|
) {
|
|
|
|
plugins.push(
|
|
|
|
sentryEsbuildPlugin({
|
|
|
|
org: process.env.SENTRY_ORG,
|
|
|
|
project: process.env.SENTRY_PROJECT,
|
|
|
|
authToken: process.env.SENTRY_AUTH_TOKEN,
|
|
|
|
})
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2024-03-30 12:06:09 +03:00
|
|
|
plugins.push({
|
|
|
|
name: 'no-side-effects',
|
|
|
|
setup(build) {
|
|
|
|
build.onResolve({ filter: /\.js/ }, async args => {
|
|
|
|
if (args.pluginData) return; // Ignore this if we called ourselves
|
|
|
|
|
|
|
|
const { path, ...rest } = args;
|
|
|
|
|
|
|
|
// mark all blocksuite packages as side-effect free
|
|
|
|
// because they will include a lot of files that are not used in node_modules
|
|
|
|
if (rest.resolveDir.includes('blocksuite')) {
|
|
|
|
rest.pluginData = true; // Avoid infinite recursion
|
|
|
|
const result = await build.resolve(path, rest);
|
|
|
|
|
|
|
|
result.sideEffects = false;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
return null;
|
|
|
|
});
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
2023-10-18 09:13:47 +03:00
|
|
|
return {
|
|
|
|
entryPoints: [
|
|
|
|
resolve(electronDir, './src/main/index.ts'),
|
|
|
|
resolve(electronDir, './src/preload/index.ts'),
|
|
|
|
resolve(electronDir, './src/helper/index.ts'),
|
|
|
|
],
|
|
|
|
entryNames: '[dir]',
|
|
|
|
outdir: resolve(electronDir, './dist'),
|
|
|
|
bundle: true,
|
|
|
|
target: `node${NODE_MAJOR_VERSION}`,
|
|
|
|
platform: 'node',
|
2024-03-25 18:57:22 +03:00
|
|
|
external: ['electron', 'electron-updater', 'yjs', 'semver'],
|
2023-10-18 09:13:47 +03:00
|
|
|
format: 'cjs',
|
|
|
|
loader: {
|
|
|
|
'.node': 'copy',
|
|
|
|
},
|
2023-10-19 06:14:30 +03:00
|
|
|
define,
|
2023-10-18 09:13:47 +03:00
|
|
|
assetNames: '[name]',
|
|
|
|
treeShaking: true,
|
|
|
|
sourcemap: 'linked',
|
2024-03-28 13:24:25 +03:00
|
|
|
plugins,
|
2023-10-18 09:13:47 +03:00
|
|
|
};
|
|
|
|
};
|