mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-02 02:00:49 +08:00
adfa51a372
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [oxlint](https://oxc.rs/docs/guide/usage/linter) ([source](https://redirect.github.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) | [`1.58.0` → `1.66.0`](https://renovatebot.com/diffs/npm/oxlint/1.58.0/1.66.0) |  |  | --- ### Release Notes <details> <summary>oxc-project/oxc (oxlint)</summary> ### [`v1.66.0`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#1660---2026-05-18) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v1.65.0...oxlint_v1.66.0) ##### 🚀 Features - [`0440b0f`](https://redirect.github.com/oxc-project/oxc/commit/0440b0f) linter/eslint: Implement `id-match` rule ([#​22379](https://redirect.github.com/oxc-project/oxc/issues/22379)) (Vladislav Sayapin) - [`65bf119`](https://redirect.github.com/oxc-project/oxc/commit/65bf119) linter: Implement react no-object-type-as-default-prop ([#​22481](https://redirect.github.com/oxc-project/oxc/issues/22481)) (uhyo) - [`2a6ddce`](https://redirect.github.com/oxc-project/oxc/commit/2a6ddce) linter/eslint: Implement `no-implied-eval` rule ([#​22391](https://redirect.github.com/oxc-project/oxc/issues/22391)) (Vladislav Sayapin) - [`625758a`](https://redirect.github.com/oxc-project/oxc/commit/625758a) linter/vitest: Implement padding-around-after-all-blocks rule ([#​21788](https://redirect.github.com/oxc-project/oxc/issues/21788)) (kapobajza) - [`37680b0`](https://redirect.github.com/oxc-project/oxc/commit/37680b0) linter: Implement react no-unstable-nested-components ([#​22248](https://redirect.github.com/oxc-project/oxc/issues/22248)) (Jovi De Croock) - [`d8d9c74`](https://redirect.github.com/oxc-project/oxc/commit/d8d9c74) linter: Implement import/newline-after-import rule ([#​19142](https://redirect.github.com/oxc-project/oxc/issues/19142)) (Ryuya Yanagi) ### [`v1.65.0`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#1650---2026-05-15) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v1.64.0...oxlint_v1.65.0) ##### 🚀 Features - [`5478fb5`](https://redirect.github.com/oxc-project/oxc/commit/5478fb5) linter/jsdoc: Implement `require-throws-description` rule ([#​22386](https://redirect.github.com/oxc-project/oxc/issues/22386)) (Mikhail Baev) - [`c73225e`](https://redirect.github.com/oxc-project/oxc/commit/c73225e) linter/eslint: Implement `prefer-arrow-callback` rule ([#​22312](https://redirect.github.com/oxc-project/oxc/issues/22312)) (박천(Cheon Park)) - [`de82b59`](https://redirect.github.com/oxc-project/oxc/commit/de82b59) linter: Add support for `eslint-plugin-jsx-a11y-x` ([#​22356](https://redirect.github.com/oxc-project/oxc/issues/22356)) (mehm8128) - [`f44b6c8`](https://redirect.github.com/oxc-project/oxc/commit/f44b6c8) linter: Fill schemas `DummyRuleMap` with built-in rules ([#​22288](https://redirect.github.com/oxc-project/oxc/issues/22288)) (Sysix) ### [`v1.64.0`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#1640---2026-05-11) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v1.63.0...oxlint_v1.64.0) ##### 🚀 Features - [`fbb8f22`](https://redirect.github.com/oxc-project/oxc/commit/fbb8f22) linter: Support `ignores` in overrides ([#​22148](https://redirect.github.com/oxc-project/oxc/issues/22148)) (camc314) ##### 🐛 Bug Fixes - [`25b7017`](https://redirect.github.com/oxc-project/oxc/commit/25b7017) linter: Undocument override `ignores` option ([#​22213](https://redirect.github.com/oxc-project/oxc/issues/22213)) (camc314) ### [`v1.63.0`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#1630---2026-05-05) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v1.62.0...oxlint_v1.63.0) ##### 📚 Documentation - [`cacbc4a`](https://redirect.github.com/oxc-project/oxc/commit/cacbc4a) linter: Fix jest settings docs. ([#​22127](https://redirect.github.com/oxc-project/oxc/issues/22127)) (connorshea) ### [`v1.62.0`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#1620---2026-04-27) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/7a75f0d0555ee8e5012874eeb3f06f7272804e37...oxlint_v1.62.0) ##### 🚀 Features - [`348f46c`](https://redirect.github.com/oxc-project/oxc/commit/348f46c) linter: Add `respectEslintDisableDirectives` option ([#​21384](https://redirect.github.com/oxc-project/oxc/issues/21384)) (Christian Vuerings) ##### 🐛 Bug Fixes - [`8c425db`](https://redirect.github.com/oxc-project/oxc/commit/8c425db) linter: Allow string for jest version in config schema ([#​21649](https://redirect.github.com/oxc-project/oxc/issues/21649)) (camc314) ### [`v1.61.1`](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v1.61.0...7a75f0d0555ee8e5012874eeb3f06f7272804e37) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v1.61.0...7a75f0d0555ee8e5012874eeb3f06f7272804e37) ### [`v1.61.0`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#1610---2026-04-20) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v1.60.0...oxlint_v1.61.0) ##### 🚀 Features - [`38d8090`](https://redirect.github.com/oxc-project/oxc/commit/38d8090) linter/jest: Implemented jest `version` settings in config file. ([#​21522](https://redirect.github.com/oxc-project/oxc/issues/21522)) (Said Atrahouch) ### [`v1.60.0`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#1600---2026-04-13) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v1.59.0...oxlint_v1.60.0) ##### 📚 Documentation - [`cfd8a4f`](https://redirect.github.com/oxc-project/oxc/commit/cfd8a4f) linter: Don't rely on old eslint doc for available globals ([#​21334](https://redirect.github.com/oxc-project/oxc/issues/21334)) (Nicolas Le Cam) ### [`v1.59.0`]() [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v1.58.0...oxlint_v1.59.0) </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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 this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNzkuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE4NS4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
176 lines
7.8 KiB
JSON
176 lines
7.8 KiB
JSON
{
|
|
"name": "@affine/monorepo",
|
|
"version": "0.26.3",
|
|
"private": true,
|
|
"author": "toeverything",
|
|
"license": "MIT",
|
|
"workspaces": [
|
|
".",
|
|
"blocksuite/**/*",
|
|
"packages/*/*",
|
|
"packages/frontend/apps/*",
|
|
"tools/*",
|
|
"docs/reference",
|
|
"tools/@types/*",
|
|
"tests/*"
|
|
],
|
|
"engines": {
|
|
"node": ">=22.12.0 <23.0.0"
|
|
},
|
|
"scripts": {
|
|
"affine": "r affine.ts",
|
|
"af": "r affine.ts",
|
|
"dev": "yarn affine dev",
|
|
"build": "yarn affine build",
|
|
"lint:eslint": "cross-env NODE_OPTIONS=\"--max-old-space-size=16384\" eslint --report-unused-disable-directives-severity=off . --cache",
|
|
"lint:eslint:fix": "yarn lint:eslint --fix --fix-type problem,suggestion,layout",
|
|
"lint:prettier": "prettier --ignore-unknown --cache --check .",
|
|
"lint:prettier:fix": "prettier --ignore-unknown --cache --write .",
|
|
"lint:ox": "oxlint --deny-warnings",
|
|
"lint:ox:fix": "yarn lint:ox --fix",
|
|
"lint": "yarn lint:ox && yarn lint:eslint && yarn lint:prettier",
|
|
"lint:fix": "yarn lint:ox: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 --verbose",
|
|
"postinstall": "yarn affine init && yarn 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=16384\" eslint --cache --fix"
|
|
],
|
|
"*.toml": [
|
|
"taplo format"
|
|
],
|
|
"*.rs": [
|
|
"cargo fmt --"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@affine-tools/cli": "workspace:*",
|
|
"@capacitor/cli": "^7.6.5",
|
|
"@eslint/js": "^9.39.2",
|
|
"@faker-js/faker": "^10.1.0",
|
|
"@istanbuljs/schema": "^0.1.3",
|
|
"@magic-works/i18n-codegen": "^0.6.1",
|
|
"@playwright/test": "=1.58.2",
|
|
"@smarttools/eslint-plugin-rxjs": "^1.0.8",
|
|
"@taplo/cli": "^0.7.0",
|
|
"@toeverything/infra": "workspace:*",
|
|
"@types/eslint": "^9.6.1",
|
|
"@types/node": "^22.0.0",
|
|
"@typescript-eslint/parser": "^8.55.0",
|
|
"@vanilla-extract/vite-plugin": "^5.0.0",
|
|
"@vitest/browser": "^4.0.18",
|
|
"@vitest/coverage-istanbul": "^4.0.18",
|
|
"@vitest/ui": "^4.0.18",
|
|
"cross-env": "^10.1.0",
|
|
"electron": "^39.0.0",
|
|
"eslint": "^9.39.2",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
"eslint-plugin-import-x": "^4.16.1",
|
|
"eslint-plugin-lit": "^2.2.1",
|
|
"eslint-plugin-oxlint": "1.66.0",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
"eslint-plugin-sonarjs": "^4.0.2",
|
|
"happy-dom": "^20.0.0",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^16.0.0",
|
|
"msw": "^2.13.2",
|
|
"oxlint": "1.66.0",
|
|
"oxlint-tsgolint": "^0.23.0",
|
|
"prettier": "^3.7.4",
|
|
"semver": "^7.7.3",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.55.0",
|
|
"unplugin-swc": "^1.5.9",
|
|
"vite": "^7.2.7",
|
|
"vitest": "^4.0.18"
|
|
},
|
|
"packageManager": "yarn@4.13.0",
|
|
"resolutions": {
|
|
"array-buffer-byte-length": "npm:@nolyfill/array-buffer-byte-length@^1",
|
|
"array-includes": "npm:@nolyfill/array-includes@^1",
|
|
"array.prototype.flat": "npm:@nolyfill/array.prototype.flat@^1",
|
|
"array.prototype.flatmap": "npm:@nolyfill/array.prototype.flatmap@^1",
|
|
"array.prototype.tosorted": "npm:@nolyfill/array.prototype.tosorted@^1",
|
|
"arraybuffer.prototype.slice": "npm:@nolyfill/arraybuffer.prototype.slice@^1",
|
|
"asynciterator.prototype": "npm:@nolyfill/asynciterator.prototype@^1",
|
|
"available-typed-arrays": "npm:@nolyfill/available-typed-arrays@^1",
|
|
"deep-equal": "npm:@nolyfill/deep-equal@^1",
|
|
"define-properties": "npm:@nolyfill/define-properties@^1",
|
|
"es-iterator-helpers": "npm:@nolyfill/es-iterator-helpers@^1",
|
|
"es-set-tostringtag": "npm:@nolyfill/es-set-tostringtag@^1",
|
|
"function-bind": "npm:@nolyfill/function-bind@^1",
|
|
"function.prototype.name": "npm:@nolyfill/function.prototype.name@^1",
|
|
"get-symbol-description": "npm:@nolyfill/get-symbol-description@^1",
|
|
"globalthis": "npm:@nolyfill/globalthis@^1",
|
|
"gopd": "npm:@nolyfill/gopd@^1",
|
|
"has": "npm:@nolyfill/has@^1",
|
|
"has-property-descriptors": "npm:@nolyfill/has-property-descriptors@^1",
|
|
"has-proto": "npm:@nolyfill/has-proto@^1",
|
|
"has-symbols": "npm:@nolyfill/has-symbols@^1",
|
|
"has-tostringtag": "npm:@nolyfill/has-tostringtag@^1",
|
|
"is-arguments": "npm:@nolyfill/is-arguments@^1",
|
|
"is-array-buffer": "npm:@nolyfill/is-array-buffer@^1",
|
|
"is-date-object": "npm:@nolyfill/is-date-object@^1",
|
|
"is-generator-function": "npm:@nolyfill/is-generator-function@^1",
|
|
"is-regex": "npm:@nolyfill/is-regex@^1",
|
|
"is-shared-array-buffer": "npm:@nolyfill/is-shared-array-buffer@^1",
|
|
"is-string": "npm:@nolyfill/is-string@^1",
|
|
"is-symbol": "npm:@nolyfill/is-symbol@^1",
|
|
"is-weakref": "npm:@nolyfill/is-weakref@^1",
|
|
"iterator.prototype": "npm:@nolyfill/iterator.prototype@^1",
|
|
"json-stable-stringify": "npm:@nolyfill/json-stable-stringify@^1",
|
|
"jsonify": "npm:@nolyfill/jsonify@^1",
|
|
"object-is": "npm:@nolyfill/object-is@^1",
|
|
"object-keys": "npm:@nolyfill/object-keys@^1",
|
|
"object.assign": "npm:@nolyfill/object.assign@^1",
|
|
"object.entries": "npm:@nolyfill/object.entries@^1",
|
|
"object.fromentries": "npm:@nolyfill/object.fromentries@^1",
|
|
"object.hasown": "npm:@nolyfill/object.hasown@^1",
|
|
"object.values": "npm:@nolyfill/object.values@^1",
|
|
"on-headers": "npm:on-headers@^1.1.0",
|
|
"reflect.getprototypeof": "npm:@nolyfill/reflect.getprototypeof@^1",
|
|
"regexp.prototype.flags": "npm:@nolyfill/regexp.prototype.flags@^1",
|
|
"safe-array-concat": "npm:@nolyfill/safe-array-concat@^1",
|
|
"safe-regex-test": "npm:@nolyfill/safe-regex-test@^1",
|
|
"side-channel": "npm:@nolyfill/side-channel@^1",
|
|
"string.prototype.matchall": "npm:@nolyfill/string.prototype.matchall@^1",
|
|
"string.prototype.trim": "npm:@nolyfill/string.prototype.trim@^1",
|
|
"string.prototype.trimend": "npm:@nolyfill/string.prototype.trimend@^1",
|
|
"string.prototype.trimstart": "npm:@nolyfill/string.prototype.trimstart@^1",
|
|
"typed-array-buffer": "npm:@nolyfill/typed-array-buffer@^1",
|
|
"typed-array-byte-length": "npm:@nolyfill/typed-array-byte-length@^1",
|
|
"typed-array-byte-offset": "npm:@nolyfill/typed-array-byte-offset@^1",
|
|
"typed-array-length": "npm:@nolyfill/typed-array-length@^1",
|
|
"unbox-primitive": "npm:@nolyfill/unbox-primitive@^1",
|
|
"which-boxed-primitive": "npm:@nolyfill/which-boxed-primitive@^1",
|
|
"which-typed-array": "npm:@nolyfill/which-typed-array@^1",
|
|
"array-flatten": "npm:@nolyfill/array-flatten@^1",
|
|
"array.prototype.findlast": "npm:@nolyfill/array.prototype.findlast@^1",
|
|
"hasown": "npm:@nolyfill/hasown@^1",
|
|
"internal-slot": "npm:@nolyfill/internal-slot@^1",
|
|
"is-core-module": "npm:@nolyfill/is-core-module@^1",
|
|
"is-typed-array": "npm:@nolyfill/is-typed-array@^1",
|
|
"isarray": "npm:@nolyfill/isarray@^1",
|
|
"safe-buffer": "npm:@nolyfill/safe-buffer@^1",
|
|
"safer-buffer": "npm:@nolyfill/safer-buffer@^1",
|
|
"set-function-length": "npm:@nolyfill/set-function-length@^1",
|
|
"string.prototype.repeat": "npm:@nolyfill/string.prototype.repeat@^1",
|
|
"typedarray": "npm:@nolyfill/typedarray@^1",
|
|
"macos-alias": "npm:@napi-rs/macos-alias@0.0.4",
|
|
"fs-xattr": "npm:@napi-rs/xattr@latest",
|
|
"ioredis": "5.8.2",
|
|
"decode-named-character-reference@npm:^1.0.0": "patch:decode-named-character-reference@npm%3A1.0.2#~/.yarn/patches/decode-named-character-reference-npm-1.0.2-db17a755fd.patch",
|
|
"@atlaskit/pragmatic-drag-and-drop": "patch:@atlaskit/pragmatic-drag-and-drop@npm%3A1.4.0#~/.yarn/patches/@atlaskit-pragmatic-drag-and-drop-npm-1.4.0-75c45f52d3.patch",
|
|
"yjs": "patch:yjs@npm%3A13.6.21#~/.yarn/patches/yjs-npm-13.6.21-c9f1f3397c.patch"
|
|
}
|
|
}
|