mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-15 00:33:06 +03:00
a365acbd87
[![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 | |---|---|---|---|---|---|---|---| | [@nx/vite](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite)) | [`19.0.8` -> `19.1.0`](https://renovatebot.com/diffs/npm/@nx%2fvite/19.0.8/19.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nx%2fvite/19.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nx%2fvite/19.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nx%2fvite/19.0.8/19.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nx%2fvite/19.0.8/19.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [cloudflare/wrangler-action](https://togithub.com/cloudflare/wrangler-action) | `v3.6.0` -> `v3.6.1` | [![age](https://developer.mend.io/api/mc/badges/age/github-tags/cloudflare%2fwrangler-action/v3.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/github-tags/cloudflare%2fwrangler-action/v3.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/github-tags/cloudflare%2fwrangler-action/v3.6.0/v3.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/cloudflare%2fwrangler-action/v3.6.0/v3.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | action | patch | | [electron-log](https://togithub.com/megahertz/electron-log) | [`5.1.4` -> `5.1.5`](https://renovatebot.com/diffs/npm/electron-log/5.1.4/5.1.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/electron-log/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/electron-log/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/electron-log/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/electron-log/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [esbuild](https://togithub.com/evanw/esbuild) | [`0.21.3` -> `0.21.4`](https://renovatebot.com/diffs/npm/esbuild/0.21.3/0.21.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/esbuild/0.21.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/esbuild/0.21.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/esbuild/0.21.3/0.21.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/esbuild/0.21.3/0.21.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [lint-staged](https://togithub.com/okonet/lint-staged) | [`15.2.4` -> `15.2.5`](https://renovatebot.com/diffs/npm/lint-staged/15.2.4/15.2.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/15.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.2.4/15.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.2.4/15.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [nodemon](https://nodemon.io) ([source](https://togithub.com/remy/nodemon)) | [`3.1.0` -> `3.1.1`](https://renovatebot.com/diffs/npm/nodemon/3.1.0/3.1.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nodemon/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nodemon/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nodemon/3.1.0/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nodemon/3.1.0/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [nx](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/nx)) | [`19.0.8` -> `19.1.0`](https://renovatebot.com/diffs/npm/nx/19.0.8/19.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nx/19.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nx/19.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nx/19.0.8/19.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nx/19.0.8/19.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [parking_lot](https://togithub.com/Amanieu/parking_lot) | `0.12.2` -> `0.12.3` | [![age](https://developer.mend.io/api/mc/badges/age/crate/parking_lot/0.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/crate/parking_lot/0.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/crate/parking_lot/0.12.2/0.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/crate/parking_lot/0.12.2/0.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | workspace.dependencies | patch | | [react-virtuoso](https://virtuoso.dev/) ([source](https://togithub.com/petyosi/react-virtuoso)) | [`4.7.10` -> `4.7.11`](https://renovatebot.com/diffs/npm/react-virtuoso/4.7.10/4.7.11) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-virtuoso/4.7.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-virtuoso/4.7.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-virtuoso/4.7.10/4.7.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-virtuoso/4.7.10/4.7.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch | | [serde](https://serde.rs) ([source](https://togithub.com/serde-rs/serde)) | `1.0.202` -> `1.0.203` | [![age](https://developer.mend.io/api/mc/badges/age/crate/serde/1.0.203?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/crate/serde/1.0.203?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/crate/serde/1.0.202/1.0.203?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/crate/serde/1.0.202/1.0.203?slim=true)](https://docs.renovatebot.com/merge-confidence/) | workspace.dependencies | patch | --- ### Release Notes <details> <summary>nrwl/nx (@​nx/vite)</summary> ### [`v19.1.0`](https://togithub.com/nrwl/nx/releases/tag/19.1.0) [Compare Source](https://togithub.com/nrwl/nx/compare/19.0.8...19.1.0) ##### 19.1.0 (2024-05-24) ##### 🚀 Features - **angular:** support angular 18.0.0 ([#​22509](https://togithub.com/nrwl/nx/pull/22509)) - **bundling:** added support for declarations (\*.d.ts) ([#​21084](https://togithub.com/nrwl/nx/pull/21084)) - **core:** add an option to seperate the output of show with provide… ([#​23172](https://togithub.com/nrwl/nx/pull/23172)) - **core:** support finding matching projects with only negative patterns ([#​22743](https://togithub.com/nrwl/nx/pull/22743)) - **core:** default show to web view when in interactive terminal ([#​23358](https://togithub.com/nrwl/nx/pull/23358)) - **core:** resolve nx migrate target version against registry ([#​23450](https://togithub.com/nrwl/nx/pull/23450)) - **core:** allow executor definition to point to another executor ([#​23576](https://togithub.com/nrwl/nx/pull/23576)) - **core:** add bun package manager ([#​22602](https://togithub.com/nrwl/nx/pull/22602)) - **graph:** change gradle and nextjs svg ([#​23201](https://togithub.com/nrwl/nx/pull/23201)) - **graph:** show script content in header ([#​23257](https://togithub.com/nrwl/nx/pull/23257)) - **misc:** improve nx cloud setup prompts and messaging ([#​23218](https://togithub.com/nrwl/nx/pull/23218)) - **module-federation:** add remote configuration override ([#​19694](https://togithub.com/nrwl/nx/pull/19694)) - **nextjs:** Update Next & Tailwindcss Package ([#​23313](https://togithub.com/nrwl/nx/pull/23313)) - **nx-dev:** show banner on documentation pages ([#​23266](https://togithub.com/nrwl/nx/pull/23266)) - **nx-dev:** check for missing images ([#​23248](https://togithub.com/nrwl/nx/pull/23248)) - **nx-dev:** put banner above menu ([#​23335](https://togithub.com/nrwl/nx/pull/23335)) - **nx-dev:** Add more blogs ([#​25939](https://togithub.com/nrwl/nx/pull/25939)) - **react:** Add SvgOptions for NxReactWebpackPlugin and WithNx ([#​23283](https://togithub.com/nrwl/nx/pull/23283)) - **react-native:** add optional syncDeps param to storybook executor ([#​22032](https://togithub.com/nrwl/nx/pull/22032)) - **release:** updateDependents generator option for versioning, support circular dependencies ([#​23252](https://togithub.com/nrwl/nx/pull/23252)) - **testing:** updates cypress and [@​cypress/webpack-dev-server](https://togithub.com/cypress/webpack-dev-server) ([#​22902](https://togithub.com/nrwl/nx/pull/22902)) - **testing:** remove --watch=false from inferred vitest targets to keep things inlined with vitest recommendations ([#​25975](https://togithub.com/nrwl/nx/pull/25975)) - **vite:** support incremental builds with nxViteTsPaths ([#​23908](https://togithub.com/nrwl/nx/pull/23908)) ##### 🩹 Fixes - **angular:** libraries should not contain tslib by default [#​21023](https://togithub.com/nrwl/nx/issues/21023) ([#​23423](https://togithub.com/nrwl/nx/pull/23423), [#​21023](https://togithub.com/nrwl/nx/issues/21023)) - **angular:** [@​angular/core](https://togithub.com/angular/core) should always be provided as a shared package [#​19121](https://togithub.com/nrwl/nx/issues/19121) ([#​23464](https://togithub.com/nrwl/nx/pull/23464), [#​19121](https://togithub.com/nrwl/nx/issues/19121)) - **bundling:** rollup does not log build errors ([#​23141](https://togithub.com/nrwl/nx/pull/23141)) - **bundling:** resolve index files from ts paths when running esbuild without bundling ([#​23098](https://togithub.com/nrwl/nx/pull/23098)) - **core:** set yarn berry nodeLinker correctly in migrate command ([#​23249](https://togithub.com/nrwl/nx/pull/23249)) - **core:** show project --web shouldn't error ([#​23251](https://togithub.com/nrwl/nx/pull/23251)) - **core:** update getLastValueFromAsyncIterableIterator to support AsyncIterables returned from executors ([#​23229](https://togithub.com/nrwl/nx/pull/23229)) - **core:** include more binary extensions ([#​22788](https://togithub.com/nrwl/nx/pull/22788), [#​22861](https://togithub.com/nrwl/nx/pull/22861)) - **core:** workspace remove generator should handle no root jest config ([#​23328](https://togithub.com/nrwl/nx/pull/23328)) - **core:** addPlugin should not conflict on project.json targets ([#​23264](https://togithub.com/nrwl/nx/pull/23264)) - **core:** throw a specific error for print-affected and affected graph ([#​23336](https://togithub.com/nrwl/nx/pull/23336)) - **core:** properly indent command output with mixed line endings ([#​23321](https://togithub.com/nrwl/nx/pull/23321)) - **core:** read socket dir on demand & load .env files on client startup ([#​23348](https://togithub.com/nrwl/nx/pull/23348)) - **core:** not load env files when NX_LOAD_DOT_ENV_FILES is false ([#​23231](https://togithub.com/nrwl/nx/pull/23231)) - **core:** addPlugin should not conflict on project.json targ… ([#​23391](https://togithub.com/nrwl/nx/pull/23391)) - **core:** fix affected detection for inputs after named inputs ([#​23354](https://togithub.com/nrwl/nx/pull/23354)) - **core:** fix eslint --help command ([#​23274](https://togithub.com/nrwl/nx/pull/23274)) - **core:** copy native files to tmp file location instead of .nx/cache ([#​23375](https://togithub.com/nrwl/nx/pull/23375)) - **core:** retry interrupted errors when writing to stdout ([#​23359](https://togithub.com/nrwl/nx/pull/23359)) - **core:** do not add an ending new line when serializing a json ([#​23440](https://togithub.com/nrwl/nx/pull/23440)) - **core:** migrate should warn if package does not exist ([#​23317](https://togithub.com/nrwl/nx/pull/23317)) - **core:** azure ci workflow ([#​23453](https://togithub.com/nrwl/nx/pull/23453)) - **core:** only check for `err` in `handleWorkspaceChanges` ([#​23500](https://togithub.com/nrwl/nx/pull/23500)) - **core:** remove duplicate `js-yaml` packages ([f1ae1bc879](https://togithub.com/nrwl/nx/commit/f1ae1bc879)) - **core:** fix alias package parsing and pruning for npm ([#​23474](https://togithub.com/nrwl/nx/pull/23474)) - **core:** install packages per migration when creating commits ([#​23820](https://togithub.com/nrwl/nx/pull/23820)) - **core:** more helpful output for format:check --verbose ([#​23503](https://togithub.com/nrwl/nx/pull/23503)) - **core:** fix buildTargetFromScript takes a long time ([#​25209](https://togithub.com/nrwl/nx/pull/25209)) - **core:** cache getting the package manager to the module scope ([#​25992](https://togithub.com/nrwl/nx/pull/25992)) - **core:** use zkochan/js-yaml directly to avoid false audit errors ([#​25999](https://togithub.com/nrwl/nx/pull/25999)) - **core:** use current user when hashing native file & enable setting its directory via env ([#​24326](https://togithub.com/nrwl/nx/pull/24326)) - **devkit:** combineAsyncIterable should not be blocking when error occurs [#​21393](https://togithub.com/nrwl/nx/issues/21393) ([#​23400](https://togithub.com/nrwl/nx/pull/23400), [#​21393](https://togithub.com/nrwl/nx/issues/21393)) - **gradle:** use local gradlew instead of sdkman ([#​23205](https://togithub.com/nrwl/nx/pull/23205)) - **gradle:** run gradle init if no settings.gradle ([#​23226](https://togithub.com/nrwl/nx/pull/23226)) - **graph:** properly remove <base> tag when generating static graph file ([#​23399](https://togithub.com/nrwl/nx/pull/23399)) - **graph:** reload graph app only when hash changes in watch mode ([#​23434](https://togithub.com/nrwl/nx/pull/23434)) - **js:** Adds mjs files to prettierrcNameOptions ([#​21796](https://togithub.com/nrwl/nx/pull/21796)) - **js:** copy assets handler should correctly handle assets on windows ([#​23351](https://togithub.com/nrwl/nx/pull/23351)) - **js:** Respect loose option provided from config ([#​23406](https://togithub.com/nrwl/nx/pull/23406)) - **js:** fix update package.json ([#​21415](https://togithub.com/nrwl/nx/pull/21415)) - **js:** print warning when --generateLockfile is used with Bun rather than erroring out ([#​25158](https://togithub.com/nrwl/nx/pull/25158)) - **js:** export setup verdaccio generator ([#​24008](https://togithub.com/nrwl/nx/pull/24008)) - **js:** handle tsconfig file with no compilerOptions ([#​25966](https://togithub.com/nrwl/nx/pull/25966)) - **linter:** ensure config.rules is spread into rules in flat config migration ([#​23263](https://togithub.com/nrwl/nx/pull/23263)) - **linter:** ensure all spreads are removed from rules before parsing ([#​23292](https://togithub.com/nrwl/nx/pull/23292)) - **linter:** log transpilation errors of workspace rules ([#​21503](https://togithub.com/nrwl/nx/pull/21503)) - **linter:** rename languageSettings to languageOptions for flat config migration ([#​22924](https://togithub.com/nrwl/nx/pull/22924)) - **linter:** fix migrating projects with the eslint plugin ([#​23147](https://togithub.com/nrwl/nx/pull/23147)) - **linter:** support eslint v9 ([#​24632](https://togithub.com/nrwl/nx/pull/24632)) - **linter:** only set flat config env for eslint v9+ ([#​25189](https://togithub.com/nrwl/nx/pull/25189)) - **linter:** only depend on eslint v8 ([#​25938](https://togithub.com/nrwl/nx/pull/25938)) - **linter:** migrate no-extra-semi rules into user config, out of nx extendable configs ([#​26011](https://togithub.com/nrwl/nx/pull/26011)) - **linter:** move eslint to peerDependencies and allow eslint 9 ([#​26013](https://togithub.com/nrwl/nx/pull/26013)) - **misc:** create workspaces and default app with the name as provided ([#​23196](https://togithub.com/nrwl/nx/pull/23196)) - **misc:** adjust deprecation messages to v20 ([#​23223](https://togithub.com/nrwl/nx/pull/23223)) - **misc:** move e2e-ci to a separate parallel 1 command ([#​23305](https://togithub.com/nrwl/nx/pull/23305)) - **misc:** guard against failure to decode file in migration ([#​23069](https://togithub.com/nrwl/nx/pull/23069)) - **misc:** adjust npm keywords ([#​24743](https://togithub.com/nrwl/nx/pull/24743)) - **misc:** various inference plugins caching should track changes ([#​23315](https://togithub.com/nrwl/nx/pull/23315)) - **module-federation:** nested projects should be ordered first when reading from tsconfig paths [#​20284](https://togithub.com/nrwl/nx/issues/20284) ([#​23212](https://togithub.com/nrwl/nx/pull/23212), [#​20284](https://togithub.com/nrwl/nx/issues/20284)) - **module-federation:** Throw an error if remote is invalid ([#​23100](https://togithub.com/nrwl/nx/pull/23100)) - **nextjs:** Moving a library using [@​nx/workspace](https://togithub.com/nx/workspace):move should update … ([#​23311](https://togithub.com/nrwl/nx/pull/23311)) - **nextjs:** additional experimental HTTPS options ([#​23334](https://togithub.com/nrwl/nx/pull/23334)) - **node:** Docker generator should work ([#​23452](https://togithub.com/nrwl/nx/pull/23452)) - **nx-cloud:** ensure generated ci workflows use dlx for nx-cloud ([#​23333](https://togithub.com/nrwl/nx/pull/23333)) - **nx-dev:** fix home page mobile menu ([#​23250](https://togithub.com/nrwl/nx/pull/23250)) - **nx-dev:** move table of contents down ([#​23350](https://togithub.com/nrwl/nx/pull/23350)) - **react:** respect unitTestRunner passed to the generator ([#​23383](https://togithub.com/nrwl/nx/pull/23383)) - **react:** remote generator should update host's app routes ([#​23499](https://togithub.com/nrwl/nx/pull/23499)) - **react:** applications not using plugin usage should set target defaults ([#​23582](https://togithub.com/nrwl/nx/pull/23582)) - **react-native:** fix test-setup for react native/expo jest ([#​23314](https://togithub.com/nrwl/nx/pull/23314)) - **release:** ensure changelog renderers are resolvable when processing config ([#​23214](https://togithub.com/nrwl/nx/pull/23214)) - **release:** invalid tag for fixed groups without changes ([#​22800](https://togithub.com/nrwl/nx/pull/22800)) - **release:** npm publish error when file path contains spaces ([#​24750](https://togithub.com/nrwl/nx/pull/24750)) - **repo:** hash proper projects when nx ([#​23506](https://togithub.com/nrwl/nx/pull/23506)) - **storybook:** should handle inferred cypress when generating cypress project [#​21770](https://togithub.com/nrwl/nx/issues/21770) ([#​23327](https://togithub.com/nrwl/nx/pull/23327), [#​21770](https://togithub.com/nrwl/nx/issues/21770)) - **testing:** resolve absolute paths for ts path mappings in jest resolver ([#​23346](https://togithub.com/nrwl/nx/pull/23346)) - **testing:** ignore jest-sequencer- paths in jest resolver ([#​23396](https://togithub.com/nrwl/nx/pull/23396)) - **testing:** check for project eslint config file in cypress and pla… ([#​23401](https://togithub.com/nrwl/nx/pull/23401)) - **testing:** handle existing jest preset file correctly ([#​23437](https://togithub.com/nrwl/nx/pull/23437)) - **vite:** don't generate tasks for remix projects ([#​22551](https://togithub.com/nrwl/nx/pull/22551)) - **vite:** get tsconfig from new path including target ([#​22775](https://togithub.com/nrwl/nx/pull/22775)) - **vite:** support passing --watch to inferred vitest commands ([#​23298](https://togithub.com/nrwl/nx/pull/23298)) - **vite:** generate vitest cache dir scoped to each project root and normalize vite cache dir ([#​23330](https://togithub.com/nrwl/nx/pull/23330)) - **vite:** migration should handle config object correctly [#​20921](https://togithub.com/nrwl/nx/issues/20921) ([#​23364](https://togithub.com/nrwl/nx/pull/23364), [#​20921](https://togithub.com/nrwl/nx/issues/20921)) - **vite:** add prop to config to ensure output dir is emptied [#​23382](https://togithub.com/nrwl/nx/issues/23382) ([#​23466](https://togithub.com/nrwl/nx/pull/23466), [#​23382](https://togithub.com/nrwl/nx/issues/23382)) - **vue:** ootb unit testing should work with --routing [#​19921](https://togithub.com/nrwl/nx/issues/19921) ([#​23441](https://togithub.com/nrwl/nx/pull/23441), [#​19921](https://togithub.com/nrwl/nx/issues/19921)) - **web:** Add strict mode ([#​23457](https://togithub.com/nrwl/nx/pull/23457)) - **web:** Add strict mode" ([#​23472](https://togithub.com/nrwl/nx/pull/23472)) - **web:** Add strict mode for [@​nx/web](https://togithub.com/nx/web) ([#​23497](https://togithub.com/nrwl/nx/pull/23497)) - **webpack:** fix default compiler option ([#​22762](https://togithub.com/nrwl/nx/pull/22762)) - **webpack:** don't overwrite output config ([#​22116](https://togithub.com/nrwl/nx/pull/22116)) - **webpack:** publicPath and rebaseRootRelative ([#​20992](https://togithub.com/nrwl/nx/pull/20992)) - **webpack:** apply-base-config should initialize options it will set [#​23296](https://togithub.com/nrwl/nx/issues/23296) ([#​23368](https://togithub.com/nrwl/nx/pull/23368), [#​23296](https://togithub.com/nrwl/nx/issues/23296)) - **webpack:** only add entrypoints if they are intentionally injected [#​20049](https://togithub.com/nrwl/nx/issues/20049) ([#​23444](https://togithub.com/nrwl/nx/pull/23444), [#​20049](https://togithub.com/nrwl/nx/issues/20049)) ##### ❤️ Thank You - andriizavoiko [@​andriizavoiko](https://togithub.com/andriizavoiko) - arekkubaczkowski [@​arekkubaczkowski](https://togithub.com/arekkubaczkowski) - castleadmin [@​castleadmin](https://togithub.com/castleadmin) - Colum Ferry [@​Coly010](https://togithub.com/Coly010) - Craigory Coppola [@​AgentEnder](https://togithub.com/AgentEnder) - Daniel Santiago - Denis Bendrikov - dmcweeney - Dmitry Zakharov [@​pumano](https://togithub.com/pumano) - Edward Wang [@​wzc0415](https://togithub.com/wzc0415) - Emily Xiong [@​xiongemi](https://togithub.com/xiongemi) - Isaac Mann [@​isaacplmann](https://togithub.com/isaacplmann) - Jack Hsu [@​jaysoo](https://togithub.com/jaysoo) - James Henry [@​JamesHenry](https://togithub.com/JamesHenry) - Jason Jean [@​FrozenPandaz](https://togithub.com/FrozenPandaz) - Jonathan Cammisuli - Jordan Hall [@​Jordan-Hall](https://togithub.com/Jordan-Hall) - Katerina Skroumpelou [@​mandarini](https://togithub.com/mandarini) - Krystian Sowiński [@​plumcoding](https://togithub.com/plumcoding) - Leosvel Pérez Espinosa [@​leosvelperez](https://togithub.com/leosvelperez) - Mateo Tibaquirá - Matthias Stemmler [@​ms-tng](https://togithub.com/ms-tng) - MaxKless [@​MaxKless](https://togithub.com/MaxKless) - Mehrad Rafigh [@​mehrad-rafigh](https://togithub.com/mehrad-rafigh) - Mike Peters - Miroslav Jonaš [@​meeroslav](https://togithub.com/meeroslav) - Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham) - Patrick P [@​ppfenning92](https://togithub.com/ppfenning92) - Phillip Barta [@​Phillip9587](https://togithub.com/Phillip9587) - Robin Csutorás - Sean Sanker - Younes Jaaidi </details> <details> <summary>cloudflare/wrangler-action (cloudflare/wrangler-action)</summary> ### [`v3.6.1`](https://togithub.com/cloudflare/wrangler-action/releases/tag/v3.6.1) [Compare Source](https://togithub.com/cloudflare/wrangler-action/compare/v3.6.0...v3.6.1) ##### Patch Changes - [#​265](https://togithub.com/cloudflare/wrangler-action/pull/265) [`2d275a8f2d279dc91912c1ff8023af109ef3280c`](2d275a8f2d
) Thanks [@​Maximo-Guk](https://togithub.com/Maximo-Guk)! - Reverts [#​235](https://togithub.com/cloudflare/wrangler-action/issues/235) which may have caused the latest version of wrangler to be installed, if no wrangler version was found </details> <details> <summary>megahertz/electron-log (electron-log)</summary> ### [`v5.1.5`](https://togithub.com/megahertz/electron-log/compare/v5.1.4...v5.1.5) [Compare Source](https://togithub.com/megahertz/electron-log/compare/v5.1.4...v5.1.5) </details> <details> <summary>evanw/esbuild (esbuild)</summary> ### [`v0.21.4`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0214) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.21.3...v0.21.4) - Update support for import assertions and import attributes in node ([#​3778](https://togithub.com/evanw/esbuild/issues/3778)) Import assertions (the `assert` keyword) have been removed from node starting in v22.0.0. So esbuild will now strip them and generate a warning with `--target=node22` or above: ▲ [WARNING] The "assert" keyword is not supported in the configured target environment ("node22") [assert-to-with] example.mjs:1:40: 1 │ import json from "esbuild/package.json" assert { type: "json" } │ ~~~~~~ ╵ with Did you mean to use "with" instead of "assert"? Import attributes (the `with` keyword) have been backported to node 18 starting in v18.20.0. So esbuild will no longer strip them with `--target=node18.N` if `N` is 20 or greater. - Fix `for await` transform when a label is present This release fixes a bug where the `for await` transform, which wraps the loop in a `try` statement, previously failed to also move the loop's label into the `try` statement. This bug only affects code that uses both of these features in combination. Here's an example of some affected code: ```js // Original code async function test() { outer: for await (const x of [Promise.resolve([0, 1])]) { for (const y of x) if (y) break outer throw 'fail' } } // Old output (with --target=es6) function test() { return __async(this, null, function* () { outer: try { for (var iter = __forAwait([Promise.resolve([0, 1])]), more, temp, error; more = !(temp = yield iter.next()).done; more = false) { const x = temp.value; for (const y of x) if (y) break outer; throw "fail"; } } catch (temp) { error = [temp]; } finally { try { more && (temp = iter.return) && (yield temp.call(iter)); } finally { if (error) throw error[0]; } } }); } // New output (with --target=es6) function test() { return __async(this, null, function* () { try { outer: for (var iter = __forAwait([Promise.resolve([0, 1])]), more, temp, error; more = !(temp = yield iter.next()).done; more = false) { const x = temp.value; for (const y of x) if (y) break outer; throw "fail"; } } catch (temp) { error = [temp]; } finally { try { more && (temp = iter.return) && (yield temp.call(iter)); } finally { if (error) throw error[0]; } } }); } ``` - Do additional constant folding after cross-module enum inlining ([#​3416](https://togithub.com/evanw/esbuild/issues/3416), [#​3425](https://togithub.com/evanw/esbuild/issues/3425)) This release adds a few more cases where esbuild does constant folding after cross-module enum inlining. ```ts // Original code: enum.ts export enum Platform { WINDOWS = 'windows', MACOS = 'macos', LINUX = 'linux', } // Original code: main.ts import { Platform } from './enum'; declare const PLATFORM: string; export function logPlatform() { if (PLATFORM == Platform.WINDOWS) console.log('Windows'); else if (PLATFORM == Platform.MACOS) console.log('macOS'); else if (PLATFORM == Platform.LINUX) console.log('Linux'); else console.log('Other'); } // Old output (with --bundle '--define:PLATFORM="macos"' --minify --format=esm) function n(){"windows"=="macos"?console.log("Windows"):"macos"=="macos"?console.log("macOS"):"linux"=="macos"?console.log("Linux"):console.log("Other")}export{n as logPlatform}; // New output (with --bundle '--define:PLATFORM="macos"' --minify --format=esm) function n(){console.log("macOS")}export{n as logPlatform}; ``` - Pass import attributes to on-resolve plugins ([#​3384](https://togithub.com/evanw/esbuild/issues/3384), [#​3639](https://togithub.com/evanw/esbuild/issues/3639), [#​3646](https://togithub.com/evanw/esbuild/issues/3646)) With this release, on-resolve plugins will now have access to the import attributes on the import via the `with` property of the arguments object. This mirrors the `with` property of the arguments object that's already passed to on-load plugins. In addition, you can now pass `with` to the `resolve()` API call which will then forward that value on to all relevant plugins. Here's an example of a plugin that can now be written: ```js const examplePlugin = { name: 'Example plugin', setup(build) { build.onResolve({ filter: /.*/ }, args => { if (args.with.type === 'external') return { external: true } }) } } require('esbuild').build({ stdin: { contents: ` import foo from "./foo" with { type: "external" } foo() `, }, bundle: true, format: 'esm', write: false, plugins: [examplePlugin], }).then(result => { console.log(result.outputFiles[0].text) }) ``` - Formatting support for the `@position-try` rule ([#​3773](https://togithub.com/evanw/esbuild/issues/3773)) Chrome shipped this new CSS at-rule in version 125 as part of the [CSS anchor positioning API](https://developer.chrome.com/blog/anchor-positioning-api). With this release, esbuild now knows to expect a declaration list inside of the `@position-try` body block and will format it appropriately. - Always allow internal string import and export aliases ([#​3343](https://togithub.com/evanw/esbuild/issues/3343)) Import and export names can be string literals in ES2022+. Previously esbuild forbid any usage of these aliases when the target was below ES2022. Starting with this release, esbuild will only forbid such usage when the alias would otherwise end up in output as a string literal. String literal aliases that are only used internally in the bundle and are "compiled away" are no longer errors. This makes it possible to use string literal aliases with esbuild's `inject` feature even when the target is earlier than ES2022. </details> <details> <summary>okonet/lint-staged (lint-staged)</summary> ### [`v15.2.5`](https://togithub.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1525) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v15.2.4...v15.2.5) ##### Patch Changes - [#​1424](https://togithub.com/lint-staged/lint-staged/pull/1424) [`31a1f95`](31a1f9548e
) Thanks [@​iiroj](https://togithub.com/iiroj)! - Allow approximately equivalent versions of direct dependencies by using the "~" character in the version ranges. This means a more recent patch version of a dependency is allowed if available. - [#​1423](https://togithub.com/lint-staged/lint-staged/pull/1423) [`91abea0`](91abea0d29
) Thanks [@​iiroj](https://togithub.com/iiroj)! - Improve error logging when failing to read or parse a configuration file - [#​1424](https://togithub.com/lint-staged/lint-staged/pull/1424) [`ee43f15`](ee43f15409
) Thanks [@​iiroj](https://togithub.com/iiroj)! - Upgrade micromatch@4.0.7 </details> <details> <summary>remy/nodemon (nodemon)</summary> ### [`v3.1.1`](https://togithub.com/remy/nodemon/releases/tag/v3.1.1) [Compare Source](https://togithub.com/remy/nodemon/compare/v3.1.0...v3.1.1) ##### Bug Fixes - add types to help with required nodemon usage ([#​2204](https://togithub.com/remy/nodemon/issues/2204)) ([cd27c0b](cd27c0b505
)) </details> <details> <summary>Amanieu/parking_lot (parking_lot)</summary> ### [`v0.12.3`](https://togithub.com/Amanieu/parking_lot/blob/HEAD/CHANGELOG.md#parkinglot-0123-2024-05-24) [Compare Source](https://togithub.com/Amanieu/parking_lot/compare/0.12.2...0.12.3) - Export types provided by arc_lock feature ([#​442](https://togithub.com/Amanieu/parking_lot/issues/442)) </details> <details> <summary>petyosi/react-virtuoso (react-virtuoso)</summary> ### [`v4.7.11`](https://togithub.com/petyosi/react-virtuoso/releases/tag/v4.7.11) [Compare Source](https://togithub.com/petyosi/react-virtuoso/compare/v4.7.10...v4.7.11) ##### Bug Fixes - update initialTopMostItemIndex type in TableVirtuoso interface ([#​1091](https://togithub.com/petyosi/react-virtuoso/issues/1091)) ([9a93e93](9a93e93dcb
)) </details> <details> <summary>serde-rs/serde (serde)</summary> ### [`v1.0.203`](https://togithub.com/serde-rs/serde/compare/v1.0.202...v1.0.203) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.202...v1.0.203) </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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
175 lines
7.6 KiB
JSON
175 lines
7.6 KiB
JSON
{
|
|
"name": "@affine/monorepo",
|
|
"version": "0.14.0",
|
|
"private": true,
|
|
"author": "toeverything",
|
|
"license": "MIT",
|
|
"workspaces": [
|
|
".",
|
|
"packages/*/*",
|
|
"tools/*",
|
|
"docs/reference",
|
|
"tools/@types/*",
|
|
"tests/*",
|
|
"tests/affine-legacy/*"
|
|
],
|
|
"engines": {
|
|
"node": "<21.0.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "yarn workspace @affine/cli dev",
|
|
"dev:electron": "yarn workspace @affine/electron dev",
|
|
"build": "yarn nx build @affine/web",
|
|
"build:electron": "yarn nx build @affine/electron",
|
|
"build:server-native": "yarn nx run-many -t build -p @affine/server-native",
|
|
"start:web-static": "yarn workspace @affine/web static-server",
|
|
"serve:test-static": "yarn exec serve tests/fixtures --cors -p 8081",
|
|
"lint:eslint": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" eslint . --ext .js,mjs,.ts,.tsx --cache",
|
|
"lint:eslint:fix": "yarn lint:eslint --fix",
|
|
"lint:prettier": "prettier --ignore-unknown --cache --check .",
|
|
"lint:prettier:fix": "prettier --ignore-unknown --cache --write .",
|
|
"lint:ox": "oxlint -c oxlint.json --deny-warnings --import-plugin -D correctness -D perf",
|
|
"lint": "yarn lint:eslint && yarn lint:prettier",
|
|
"lint:fix": "yarn lint:eslint:fix && yarn lint:prettier:fix",
|
|
"test": "vitest --run",
|
|
"test:ui": "vitest --ui",
|
|
"test:coverage": "vitest run --coverage",
|
|
"typecheck": "tsc -b tsconfig.json",
|
|
"postinstall": "node ./scripts/check-version.mjs && yarn i18n-codegen gen && yarn husky install",
|
|
"prepare": "husky"
|
|
},
|
|
"lint-staged": {
|
|
"*": "prettier --write --ignore-unknown --cache",
|
|
"*.{ts,tsx,mjs,js,jsx}": [
|
|
"prettier --ignore-unknown --write",
|
|
"cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" eslint --cache --fix"
|
|
],
|
|
"*.toml": [
|
|
"taplo format"
|
|
],
|
|
"*.rs": [
|
|
"cargo fmt --"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@affine-test/kit": "workspace:*",
|
|
"@affine/cli": "workspace:*",
|
|
"@commitlint/cli": "^19.2.1",
|
|
"@commitlint/config-conventional": "^19.1.0",
|
|
"@faker-js/faker": "^8.4.1",
|
|
"@istanbuljs/schema": "^0.1.3",
|
|
"@magic-works/i18n-codegen": "^0.6.0",
|
|
"@nx/vite": "19.1.0",
|
|
"@playwright/test": "^1.44.0",
|
|
"@taplo/cli": "^0.7.0",
|
|
"@testing-library/react": "^15.0.0",
|
|
"@toeverything/infra": "workspace:*",
|
|
"@types/affine__env": "workspace:*",
|
|
"@types/eslint": "^8.56.7",
|
|
"@types/node": "^20.12.7",
|
|
"@typescript-eslint/eslint-plugin": "^7.6.0",
|
|
"@typescript-eslint/parser": "^7.6.0",
|
|
"@vanilla-extract/vite-plugin": "^4.0.7",
|
|
"@vanilla-extract/webpack-plugin": "^2.3.7",
|
|
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
"@vitest/coverage-istanbul": "1.6.0",
|
|
"@vitest/ui": "1.6.0",
|
|
"cross-env": "^7.0.3",
|
|
"electron": "^30.0.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-import-x": "^0.5.0",
|
|
"eslint-plugin-react": "^7.34.1",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-rxjs": "^5.0.3",
|
|
"eslint-plugin-simple-import-sort": "^12.0.0",
|
|
"eslint-plugin-sonarjs": "^0.25.1",
|
|
"eslint-plugin-unicorn": "^52.0.0",
|
|
"eslint-plugin-unused-imports": "^3.1.0",
|
|
"eslint-plugin-vue": "^9.24.1",
|
|
"fake-indexeddb": "6.0.0",
|
|
"happy-dom": "^14.7.1",
|
|
"husky": "^9.0.11",
|
|
"lint-staged": "^15.2.2",
|
|
"msw": "^2.3.0",
|
|
"nanoid": "^5.0.7",
|
|
"nx": "^19.0.0",
|
|
"nyc": "^15.1.0",
|
|
"oxlint": "0.3.5",
|
|
"prettier": "^3.2.5",
|
|
"semver": "^7.6.0",
|
|
"serve": "^14.2.1",
|
|
"string-width": "^7.1.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.4.5",
|
|
"vite": "^5.2.8",
|
|
"vite-plugin-istanbul": "^6.0.0",
|
|
"vite-plugin-static-copy": "^1.0.2",
|
|
"vitest": "1.6.0",
|
|
"vitest-fetch-mock": "^0.2.2",
|
|
"vitest-mock-extended": "^1.3.1"
|
|
},
|
|
"packageManager": "yarn@4.2.2",
|
|
"resolutions": {
|
|
"array-buffer-byte-length": "npm:@nolyfill/array-buffer-byte-length@latest",
|
|
"array-includes": "npm:@nolyfill/array-includes@latest",
|
|
"array.prototype.flat": "npm:@nolyfill/array.prototype.flat@latest",
|
|
"array.prototype.flatmap": "npm:@nolyfill/array.prototype.flatmap@latest",
|
|
"array.prototype.tosorted": "npm:@nolyfill/array.prototype.tosorted@latest",
|
|
"arraybuffer.prototype.slice": "npm:@nolyfill/arraybuffer.prototype.slice@latest",
|
|
"asynciterator.prototype": "npm:@nolyfill/asynciterator.prototype@latest",
|
|
"available-typed-arrays": "npm:@nolyfill/available-typed-arrays@latest",
|
|
"deep-equal": "npm:@nolyfill/deep-equal@latest",
|
|
"define-properties": "npm:@nolyfill/define-properties@latest",
|
|
"es-iterator-helpers": "npm:@nolyfill/es-iterator-helpers@latest",
|
|
"es-set-tostringtag": "npm:@nolyfill/es-set-tostringtag@latest",
|
|
"function-bind": "npm:@nolyfill/function-bind@latest",
|
|
"function.prototype.name": "npm:@nolyfill/function.prototype.name@latest",
|
|
"get-symbol-description": "npm:@nolyfill/get-symbol-description@latest",
|
|
"globalthis": "npm:@nolyfill/globalthis@latest",
|
|
"gopd": "npm:@nolyfill/gopd@latest",
|
|
"has": "npm:@nolyfill/has@latest",
|
|
"has-property-descriptors": "npm:@nolyfill/has-property-descriptors@latest",
|
|
"has-proto": "npm:@nolyfill/has-proto@latest",
|
|
"has-symbols": "npm:@nolyfill/has-symbols@latest",
|
|
"has-tostringtag": "npm:@nolyfill/has-tostringtag@latest",
|
|
"is-arguments": "npm:@nolyfill/is-arguments@latest",
|
|
"is-array-buffer": "npm:@nolyfill/is-array-buffer@latest",
|
|
"is-date-object": "npm:@nolyfill/is-date-object@latest",
|
|
"is-generator-function": "npm:@nolyfill/is-generator-function@latest",
|
|
"is-regex": "npm:@nolyfill/is-regex@latest",
|
|
"is-shared-array-buffer": "npm:@nolyfill/is-shared-array-buffer@latest",
|
|
"is-string": "npm:@nolyfill/is-string@latest",
|
|
"is-symbol": "npm:@nolyfill/is-symbol@latest",
|
|
"is-weakref": "npm:@nolyfill/is-weakref@latest",
|
|
"iterator.prototype": "npm:@nolyfill/iterator.prototype@latest",
|
|
"object-is": "npm:@nolyfill/object-is@latest",
|
|
"object-keys": "npm:@nolyfill/object-keys@latest",
|
|
"object.assign": "npm:@nolyfill/object.assign@latest",
|
|
"object.entries": "npm:@nolyfill/object.entries@latest",
|
|
"object.fromentries": "npm:@nolyfill/object.fromentries@latest",
|
|
"object.hasown": "npm:@nolyfill/object.hasown@latest",
|
|
"object.values": "npm:@nolyfill/object.values@latest",
|
|
"reflect.getprototypeof": "npm:@nolyfill/reflect.getprototypeof@latest",
|
|
"regexp.prototype.flags": "npm:@nolyfill/regexp.prototype.flags@latest",
|
|
"safe-array-concat": "npm:@nolyfill/safe-array-concat@latest",
|
|
"safe-regex-test": "npm:@nolyfill/safe-regex-test@latest",
|
|
"side-channel": "npm:@nolyfill/side-channel@latest",
|
|
"string.prototype.matchall": "npm:@nolyfill/string.prototype.matchall@latest",
|
|
"string.prototype.trim": "npm:@nolyfill/string.prototype.trim@latest",
|
|
"string.prototype.trimend": "npm:@nolyfill/string.prototype.trimend@latest",
|
|
"string.prototype.trimstart": "npm:@nolyfill/string.prototype.trimstart@latest",
|
|
"typed-array-buffer": "npm:@nolyfill/typed-array-buffer@latest",
|
|
"typed-array-byte-length": "npm:@nolyfill/typed-array-byte-length@latest",
|
|
"typed-array-byte-offset": "npm:@nolyfill/typed-array-byte-offset@latest",
|
|
"typed-array-length": "npm:@nolyfill/typed-array-length@latest",
|
|
"unbox-primitive": "npm:@nolyfill/unbox-primitive@latest",
|
|
"which-boxed-primitive": "npm:@nolyfill/which-boxed-primitive@latest",
|
|
"which-typed-array": "npm:@nolyfill/which-typed-array@latest",
|
|
"@reforged/maker-appimage/@electron-forge/maker-base": "7.4.0",
|
|
"macos-alias": "npm:@napi-rs/macos-alias@0.0.4",
|
|
"fs-xattr": "npm:@napi-rs/xattr@latest",
|
|
"@radix-ui/react-dialog": "npm:@radix-ui/react-dialog@latest"
|
|
}
|
|
}
|