AFFiNE/packages/frontend/electron
renovate 0d3180fd94
chore: bump up all non-major dependencies (#6918)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@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.574.0` -> `3.575.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.574.0/3.575.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-s3/3.575.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@aws-sdk%2fclient-s3/3.575.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@aws-sdk%2fclient-s3/3.574.0/3.575.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-s3/3.574.0/3.575.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@nx/vite](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite)) | [`19.0.2` -> `19.0.3`](https://renovatebot.com/diffs/npm/@nx%2fvite/19.0.2/19.0.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nx%2fvite/19.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nx%2fvite/19.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nx%2fvite/19.0.2/19.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nx%2fvite/19.0.2/19.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [electron-squirrel-startup](https://togithub.com/mongodb-js/electron-squirrel-startup) | [`1.0.0` -> `1.0.1`](https://renovatebot.com/diffs/npm/electron-squirrel-startup/1.0.0/1.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/electron-squirrel-startup/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/electron-squirrel-startup/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/electron-squirrel-startup/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/electron-squirrel-startup/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>aws/aws-sdk-js-v3 (@&#8203;aws-sdk/client-s3)</summary>

### [`v3.575.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35750-2024-05-13)

[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.574.0...v3.575.0)

**Note:** Version bump only for package [@&#8203;aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3)

</details>

<details>
<summary>nrwl/nx (@&#8203;nx/vite)</summary>

### [`v19.0.3`](https://togithub.com/nrwl/nx/releases/tag/19.0.3)

[Compare Source](https://togithub.com/nrwl/nx/compare/19.0.2...19.0.3)

##### 19.0.3 (2024-05-13)

##### 🚀 Features

-   **nx-dev:** show banner on documentation pages ([#&#8203;23266](https://togithub.com/nrwl/nx/pull/23266))
-   **nx-dev:** check for missing images ([#&#8203;23248](https://togithub.com/nrwl/nx/pull/23248))
-   **nx-dev:** put banner above menu ([#&#8203;23335](https://togithub.com/nrwl/nx/pull/23335))
-   **react:** Add SvgOptions for NxReactWebpackPlugin and WithNx ([#&#8203;23283](https://togithub.com/nrwl/nx/pull/23283))

##### 🩹 Fixes

-   **core:** include more binary extensions ([#&#8203;22788](https://togithub.com/nrwl/nx/pull/22788), [#&#8203;22861](https://togithub.com/nrwl/nx/pull/22861))
-   **core:** workspace remove generator should handle no root jest config ([#&#8203;23328](https://togithub.com/nrwl/nx/pull/23328))
-   **core:** addPlugin should not conflict on project.json targets ([#&#8203;23264](https://togithub.com/nrwl/nx/pull/23264))
-   **core:** throw a specific error for print-affected and affected graph ([#&#8203;23336](https://togithub.com/nrwl/nx/pull/23336))
-   **js:** Adds mjs files to prettierrcNameOptions ([#&#8203;21796](https://togithub.com/nrwl/nx/pull/21796))
-   **linter:** ensure all spreads are removed from rules before parsing ([#&#8203;23292](https://togithub.com/nrwl/nx/pull/23292))
-   **linter:** log transpilation errors of workspace rules ([#&#8203;21503](https://togithub.com/nrwl/nx/pull/21503))
-   **linter:** rename languageSettings to languageOptions for flat config migration ([#&#8203;22924](https://togithub.com/nrwl/nx/pull/22924))
-   **linter:** fix migrating projects with the eslint plugin ([#&#8203;23147](https://togithub.com/nrwl/nx/pull/23147))
-   **misc:** move e2e-ci to a separate parallel 1 command ([#&#8203;23305](https://togithub.com/nrwl/nx/pull/23305))
-   **module-federation:** Throw an error if remote is invalid ([#&#8203;23100](https://togithub.com/nrwl/nx/pull/23100))
-   **nx-cloud:** ensure generated ci workflows use dlx for nx-cloud ([#&#8203;23333](https://togithub.com/nrwl/nx/pull/23333))
-   **nx-dev:** move table of contents down ([#&#8203;23350](https://togithub.com/nrwl/nx/pull/23350))
-   **storybook:** should handle inferred cypress when generating cypress project [#&#8203;21770](https://togithub.com/nrwl/nx/issues/21770) ([#&#8203;23327](https://togithub.com/nrwl/nx/pull/23327), [#&#8203;21770](https://togithub.com/nrwl/nx/issues/21770))
-   **testing:** resolve absolute paths for ts path mappings in jest resolver ([#&#8203;23346](https://togithub.com/nrwl/nx/pull/23346))
-   **vite:** support passing --watch to inferred vitest commands ([#&#8203;23298](https://togithub.com/nrwl/nx/pull/23298))
-   **vite:** generate vitest cache dir scoped to each project root and normalize vite cache dir ([#&#8203;23330](https://togithub.com/nrwl/nx/pull/23330))

##### ❤️  Thank You

-   Colum Ferry [@&#8203;Coly010](https://togithub.com/Coly010)
-   Denis Bendrikov
-   Dmitry Zakharov [@&#8203;pumano](https://togithub.com/pumano)
-   Isaac Mann [@&#8203;isaacplmann](https://togithub.com/isaacplmann)
-   James Henry [@&#8203;JamesHenry](https://togithub.com/JamesHenry)
-   Jason Jean [@&#8203;FrozenPandaz](https://togithub.com/FrozenPandaz)
-   Leosvel Pérez Espinosa [@&#8203;leosvelperez](https://togithub.com/leosvelperez)
-   Mehrad Rafigh [@&#8203;mehrad-rafigh](https://togithub.com/mehrad-rafigh)
-   Nicholas Cunningham [@&#8203;ndcunningham](https://togithub.com/ndcunningham)
-   Patrick P [@&#8203;ppfenning92](https://togithub.com/ppfenning92)

</details>

<details>
<summary>mongodb-js/electron-squirrel-startup (electron-squirrel-startup)</summary>

### [`v1.0.1`](https://togithub.com/mongodb-js/electron-squirrel-startup/compare/v1.0.0...v1.0.1)

[Compare Source](https://togithub.com/mongodb-js/electron-squirrel-startup/compare/v1.0.0...v1.0.1)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-14 09:07:15 +00:00
..
renderer chore(core): handle the telemetry warnings in console (#6793) 2024-05-07 04:28:34 +00:00
resources build(electron): add nsis script for windows installer (#6674) 2024-04-25 03:30:04 +00:00
scripts build(electron): add nsis build to release-desktop workflow (#6677) 2024-04-25 03:52:27 +00:00
src chore: remove unused file (#6894) 2024-05-13 02:27:21 +00:00
test refactor(electron): cleanup secondary db logic (#6710) 2024-04-26 10:57:09 +00:00
.gitignore refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
dev-app-update.yml refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
forge.config.mjs build(electron): add nsis script for windows installer (#6674) 2024-04-25 03:30:04 +00:00
package.json chore: bump up all non-major dependencies (#6918) 2024-05-14 09:07:15 +00:00
project.json refactor(infra): remove old plugin system (#5411) 2023-12-27 02:49:59 +00:00
README.md refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
tsconfig.json fix: runtime issue for electron app (#6306) 2024-03-26 02:04:13 +00:00
tsconfig.node.json feat(electron): define runtimeConfig in esbuild (#6287) 2024-03-25 03:55:26 +00:00
tsconfig.test.json feat(electron): define runtimeConfig in esbuild (#6287) 2024-03-25 03:55:26 +00:00
vitest.config.ts chore(electron): config vitest swc (#6282) 2024-03-25 03:55:23 +00:00

AFFiNE Electron App

Development

To run AFFiNE Desktop Client Application locally, run the following commands:

# in repo root
yarn install
yarn workspace @affine/native build
yarn dev

# in packages/frontend/electron
yarn generate-assets
yarn dev # or yarn prod for production build

Troubleshooting

Credits

Most of the boilerplate code is generously borrowed from the following