mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@sentry/react](https://togithub.com/getsentry/sentry-javascript/tree/master/packages/react) ([source](https://togithub.com/getsentry/sentry-javascript)) | [`^7.109.0` -> `^8.0.0`](https://renovatebot.com/diffs/npm/@sentry%2freact/7.111.0/8.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>getsentry/sentry-javascript (@​sentry/react)</summary> ### [`v8.0.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#800-rc3) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.114.0...8.0.0) ##### Important Changes - **feat(bun): Add Bun Global Unhandled Handlers ([#​11960](https://togithub.com/getsentry/sentry-javascript/issues/11960))** The Bun SDK will now capture global unhandled errors. ##### Other Changes - feat(node): Log process and thread info on initialisation ([#​11972](https://togithub.com/getsentry/sentry-javascript/issues/11972)) - fix(aws-serverless): Include ESM artifacts in package ([#​11973](https://togithub.com/getsentry/sentry-javascript/issues/11973)) - fix(browser): Only start `http.client` spans if there is an active parent span ([#​11974](https://togithub.com/getsentry/sentry-javascript/issues/11974)) - fix(feedback): Improve CSS theme variable names and layout ([#​11964](https://togithub.com/getsentry/sentry-javascript/issues/11964)) - fix(node): Ensure `execArgv` are not sent to worker threads ([#​11963](https://togithub.com/getsentry/sentry-javascript/issues/11963)) - ref(feedback): Simplify feedback function params ([#​11957](https://togithub.com/getsentry/sentry-javascript/issues/11957)) ### [`v7.114.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.114.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0) ##### Important Changes - **fix(browser/v7): Continuously record CLS ([#​11935](https://togithub.com/getsentry/sentry-javascript/issues/11935))** This release fixes a bug that caused the cumulative layout shift (CLS) web vital not to be reported in a majority of the cases where it should have been reported. With this change, the CLS web vital should now always be reported for pageloads with layout shift. If a pageload did not have layout shift, no CLS web vital should be reported. **Please note that upgrading the SDK to this version may cause data in your dashboards to drastically change.** ##### Other Changes - build(aws-lambda/v7): Turn off lambda layer publishing ([#​11875](https://togithub.com/getsentry/sentry-javascript/issues/11875)) - feat(v7): Add `tunnel` support to multiplexed transport ([#​11851](https://togithub.com/getsentry/sentry-javascript/issues/11851)) - fix(opentelemetry-node): support `HTTP_REQUEST_METHOD` attribute ([#​11929](https://togithub.com/getsentry/sentry-javascript/issues/11929)) - fix(react/v7): Fix react router v4/v5 span names ([#​11940](https://togithub.com/getsentry/sentry-javascript/issues/11940)) ### [`v7.113.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.113.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.2...7.113.0) ##### Important Changes - **feat(node): Support Node 22 ([#​11754](https://togithub.com/getsentry/sentry-javascript/issues/11754))** This release adds support for Node 22! 🎉 It also adds prebuilt-binaries for Node 22 to `@sentry/profiling-node`. ##### Other Changes - feat(feedback): \[v7] New feedback button design ([#​11841](https://togithub.com/getsentry/sentry-javascript/issues/11841)) - feat(replay/v7): Upgrade rrweb packages to 2.15.0 ([#​11752](https://togithub.com/getsentry/sentry-javascript/issues/11752)) - fix(ember/v7): Ensure unnecessary spans are avoided ([#​11848](https://togithub.com/getsentry/sentry-javascript/issues/11848)) ### [`v7.112.2`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.2) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.1...7.112.2) - fix(nextjs|sveltekit): Ensure we can pass `browserTracingIntegration` ([#​11765](https://togithub.com/getsentry/sentry-javascript/issues/11765)) ### [`v7.112.1`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.1) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.0...7.112.1) - fix(ember/v7): Do not create rendering spans without transaction ([#​11750](https://togithub.com/getsentry/sentry-javascript/issues/11750)) ### [`v7.112.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.111.0...7.112.0) ##### Important Changes - **feat: Export pluggable integrations from SDK packages ([#​11723](https://togithub.com/getsentry/sentry-javascript/issues/11723))** Instead of installing `@sentry/integrations`, you can now import the pluggable integrations directly from your SDK package: ```js // Before import * as Sentry fromv '@​sentry/browser'; import { dedupeIntegration } from '@​sentry/integrations'; Sentry.init({ integrations: [dedupeIntegration()], }); // After import * as Sentry from '@​sentry/browser'; Sentry.init({ integrations: [Sentry.dedupeIntegration()], }); ``` Note that only the functional integrations (e.g. `xxxIntegration()`) are re-exported. ##### Other Changes - feat(replay): Add "maxCanvasSize" option for replay canvases ([#​11732](https://togithub.com/getsentry/sentry-javascript/issues/11732)) - fix(serverless): \[v7] Check if cloud event callback is a function ([#​11734](https://togithub.com/getsentry/sentry-javascript/issues/11734)) #### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------------------------- | ----------------- | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.72 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped) | 71.69 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.91 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.32 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - Webpack (gzipped) | 35.62 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. browserTracingIntegration) - Webpack (gzipped) | 35.5 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Feedback) - Webpack (gzipped) | 31.57 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. sendFeedback) - Webpack (gzipped) | 31.58 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) - Webpack (gzipped) | 22.78 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.9 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 70.27 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 36.02 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (gzipped) | 25.28 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 221.25 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 109.01 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed) | 75.79 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39.3 KB | | [@​sentry/react](https://togithub.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped) | 72.18 KB | | [@​sentry/react](https://togithub.com/sentry/react) - Webpack (gzipped) | 22.81 KB | | [@​sentry/nextjs](https://togithub.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped) | 90.01 KB | | [@​sentry/nextjs](https://togithub.com/sentry/nextjs) Client - Webpack (gzipped) | 54.15 KB | | [@​sentry-internal/feedback](https://togithub.com/sentry-internal/feedback) - Webpack (gzipped) | 17.32 KB | </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. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- 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==-->
101 lines
3.5 KiB
JSON
101 lines
3.5 KiB
JSON
{
|
|
"name": "@affine/electron",
|
|
"private": true,
|
|
"version": "0.14.0",
|
|
"author": "toeverything",
|
|
"repository": {
|
|
"url": "https://github.com/toeverything/AFFiNE",
|
|
"type": "git"
|
|
},
|
|
"description": "AFFiNE Desktop App",
|
|
"homepage": "https://github.com/toeverything/AFFiNE",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"dev": "DEV_SERVER_URL=http://localhost:8080 node --loader ts-node/esm/transpile-only ./scripts/dev.ts",
|
|
"dev:prod": "yarn node --loader ts-node/esm/transpile-only scripts/dev.ts",
|
|
"build": "NODE_ENV=production node --loader ts-node/esm/transpile-only scripts/build-layers.ts",
|
|
"build:dev": "NODE_ENV=development node --loader ts-node/esm/transpile-only scripts/build-layers.ts",
|
|
"generate-assets": "node --loader ts-node/esm/transpile-only scripts/generate-assets.ts",
|
|
"package": "cross-env NODE_OPTIONS=\"--loader ts-node/esm/transpile-only\" electron-forge package",
|
|
"make": "cross-env NODE_OPTIONS=\"--loader ts-node/esm/transpile-only\" electron-forge make",
|
|
"make-squirrel": "node --loader ts-node/esm/transpile-only scripts/make-squirrel.ts",
|
|
"make-nsis": "node --loader ts-node/esm/transpile-only scripts/make-nsis.ts"
|
|
},
|
|
"main": "./dist/main.js",
|
|
"devDependencies": {
|
|
"@affine-test/kit": "workspace:*",
|
|
"@affine/component": "workspace:*",
|
|
"@affine/core": "workspace:*",
|
|
"@affine/env": "workspace:*",
|
|
"@affine/i18n": "workspace:*",
|
|
"@affine/native": "workspace:*",
|
|
"@blocksuite/block-std": "0.15.0-canary-202405131108-aa6f0b7",
|
|
"@blocksuite/blocks": "0.15.0-canary-202405131108-aa6f0b7",
|
|
"@blocksuite/presets": "0.15.0-canary-202405131108-aa6f0b7",
|
|
"@blocksuite/store": "0.15.0-canary-202405131108-aa6f0b7",
|
|
"@electron-forge/cli": "^7.3.0",
|
|
"@electron-forge/core": "^7.3.0",
|
|
"@electron-forge/core-utils": "^7.3.0",
|
|
"@electron-forge/maker-deb": "^7.3.0",
|
|
"@electron-forge/maker-dmg": "^7.3.0",
|
|
"@electron-forge/maker-squirrel": "^7.3.0",
|
|
"@electron-forge/maker-zip": "^7.3.0",
|
|
"@electron-forge/plugin-auto-unpack-natives": "^7.3.0",
|
|
"@electron-forge/shared-types": "^7.3.0",
|
|
"@emotion/react": "^11.11.4",
|
|
"@pengx17/electron-forge-maker-appimage": "^1.2.0",
|
|
"@sentry/electron": "^5.0.0-beta.0",
|
|
"@sentry/esbuild-plugin": "^2.16.1",
|
|
"@sentry/react": "^8.0.0",
|
|
"@toeverything/infra": "workspace:*",
|
|
"@types/uuid": "^9.0.8",
|
|
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
"builder-util-runtime": "^9.2.5-alpha.2",
|
|
"core-js": "^3.36.1",
|
|
"cross-env": "^7.0.3",
|
|
"electron": "^30.0.0",
|
|
"electron-log": "^5.1.2",
|
|
"electron-squirrel-startup": "1.0.1",
|
|
"electron-window-state": "^5.0.3",
|
|
"esbuild": "^0.21.0",
|
|
"fs-extra": "^11.2.0",
|
|
"glob": "^10.3.12",
|
|
"jotai": "^2.8.0",
|
|
"jotai-devtools": "^0.9.0",
|
|
"lodash-es": "^4.17.21",
|
|
"nanoid": "^5.0.7",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "^6.22.3",
|
|
"rxjs": "^7.8.1",
|
|
"semver": "^7.6.0",
|
|
"tinykeys": "patch:tinykeys@npm%3A2.1.0#~/.yarn/patches/tinykeys-npm-2.1.0-819feeaed0.patch",
|
|
"tree-kill": "^1.2.2",
|
|
"ts-node": "^10.9.2",
|
|
"undici": "^6.12.0",
|
|
"uuid": "^9.0.1",
|
|
"vitest": "1.6.0",
|
|
"which": "^4.0.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"dependencies": {
|
|
"async-call-rpc": "^6.4.2",
|
|
"electron-updater": "^6.2.1",
|
|
"link-preview-js": "^3.0.5",
|
|
"yjs": "^13.6.14"
|
|
},
|
|
"build": {
|
|
"protocols": [
|
|
{
|
|
"name": "affine",
|
|
"schemes": [
|
|
"affine"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"peerDependencies": {
|
|
"ts-node": "*"
|
|
}
|
|
}
|