mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [oxlint](https://oxc.rs) ([source](https://redirect.github.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) | [`0.16.5` -> `0.16.6`](https://renovatebot.com/diffs/npm/oxlint/0.16.5/0.16.6) | [](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>oxc-project/oxc (oxlint)</summary> ### [`v0.16.6`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.16.6): oxlint v0.16.6 [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.16.5...oxlint_v0.16.6) #### \[0.16.6] - 2025-04-14 ##### Features - [`0370363`](https://redirect.github.com/oxc-project/oxc/commit/0370363) language_server: Switch `tower-lsp` to `tower-lsp-server` ([#​10298](https://redirect.github.com/oxc-project/oxc/issues/10298)) (Boshen) - [`d48e886`](https://redirect.github.com/oxc-project/oxc/commit/d48e886) linter: Add `import/group-exports` rule ([#​10330](https://redirect.github.com/oxc-project/oxc/issues/10330)) (yefan) ##### Bug Fixes - [`664342b`](https://redirect.github.com/oxc-project/oxc/commit/664342b) language_server: Diable nested configuration when config path is provided ([#​10385](https://redirect.github.com/oxc-project/oxc/issues/10385)) (Sysix) - [`04e2fd4`](https://redirect.github.com/oxc-project/oxc/commit/04e2fd4) linter: Fix false positives for `no-control-regex` ([#​10345](https://redirect.github.com/oxc-project/oxc/issues/10345)) (Cam McHenry) - [`e000f60`](https://redirect.github.com/oxc-project/oxc/commit/e000f60) linter: Make extended configs properly inherit plugins ([#​10174](https://redirect.github.com/oxc-project/oxc/issues/10174)) (Sub) - [`81867c4`](https://redirect.github.com/oxc-project/oxc/commit/81867c4) linter: Fix stack overflow in react/exhaustive deps ([#​10322](https://redirect.github.com/oxc-project/oxc/issues/10322)) (camc314) - [`9aaba69`](https://redirect.github.com/oxc-project/oxc/commit/9aaba69) linter: Nested configuration directory resolution ([#​10157](https://redirect.github.com/oxc-project/oxc/issues/10157)) (Sub) ##### Performance - [`e0057c3`](https://redirect.github.com/oxc-project/oxc/commit/e0057c3) language_server: Only restart internal linter once when multiple config changes detected ([#​10256](https://redirect.github.com/oxc-project/oxc/issues/10256)) (Sysix) - [`1bb61c6`](https://redirect.github.com/oxc-project/oxc/commit/1bb61c6) linter: Replace `phf_set` with `array` in `unicorn/prefer-native-coercion-functions` ([#​10384](https://redirect.github.com/oxc-project/oxc/issues/10384)) (shulaoda) - [`e1e7a19`](https://redirect.github.com/oxc-project/oxc/commit/e1e7a19) linter: Replace `phf_set` with `array` in `unicorn/no-array-for-each` ([#​10377](https://redirect.github.com/oxc-project/oxc/issues/10377)) (dalaoshu) - [`5f0e66c`](https://redirect.github.com/oxc-project/oxc/commit/5f0e66c) linter: Replace `phf_set` with `array` in `unicorn/prefer-spread` ([#​10376](https://redirect.github.com/oxc-project/oxc/issues/10376)) (dalaoshu) - [`8d9559d`](https://redirect.github.com/oxc-project/oxc/commit/8d9559d) linter: Replace `phf_set` with `array` in `react/jsx-key` ([#​10375](https://redirect.github.com/oxc-project/oxc/issues/10375)) (dalaoshu) - [`fbd4f92`](https://redirect.github.com/oxc-project/oxc/commit/fbd4f92) linter: Replace `phf_set` with `array` in `utils::jest` ([#​10369](https://redirect.github.com/oxc-project/oxc/issues/10369)) (shulaoda) - [`8d0eb33`](https://redirect.github.com/oxc-project/oxc/commit/8d0eb33) linter: Replace `phf_set` with `array` in `utils::express` ([#​10370](https://redirect.github.com/oxc-project/oxc/issues/10370)) (shulaoda) - [`ba538ff`](https://redirect.github.com/oxc-project/oxc/commit/ba538ff) linter: Use `binary_search` for arrays with more than `7` elements ([#​10357](https://redirect.github.com/oxc-project/oxc/issues/10357)) (shulaoda) - [`283e4c7`](https://redirect.github.com/oxc-project/oxc/commit/283e4c7) linter: Replace `phf_set` with `array` in `react/exhaustive-deps` ([#​10337](https://redirect.github.com/oxc-project/oxc/issues/10337)) (shulaoda) - [`8b8d708`](https://redirect.github.com/oxc-project/oxc/commit/8b8d708) linter: Replace `phf_set` with `array` in `nextjs/no-typos` ([#​10336](https://redirect.github.com/oxc-project/oxc/issues/10336)) (shulaoda) - [`0fd93d6`](https://redirect.github.com/oxc-project/oxc/commit/0fd93d6) linter: Replace `phf_set` with `array` in `utils::promise` ([#​10335](https://redirect.github.com/oxc-project/oxc/issues/10335)) (shulaoda) - [`485ba19`](https://redirect.github.com/oxc-project/oxc/commit/485ba19) linter: Replace `phf_set` with `array` in `jest/prefer-jest-mocked` ([#​10302](https://redirect.github.com/oxc-project/oxc/issues/10302)) (shulaoda) - [`83931ec`](https://redirect.github.com/oxc-project/oxc/commit/83931ec) linter: Replace `phf_set` with `array` in `jsdoc/check-access` ([#​10303](https://redirect.github.com/oxc-project/oxc/issues/10303)) (shulaoda) - [`651b56f`](https://redirect.github.com/oxc-project/oxc/commit/651b56f) linter: Replace `phf_set` with `array` in `jsdoc/empty-tags` ([#​10304](https://redirect.github.com/oxc-project/oxc/issues/10304)) (shulaoda) - [`7ffb7aa`](https://redirect.github.com/oxc-project/oxc/commit/7ffb7aa) linter: Replace `phf_set` with `array` in `jsdoc/require-returns` ([#​10305](https://redirect.github.com/oxc-project/oxc/issues/10305)) (shulaoda) - [`d7399c4`](https://redirect.github.com/oxc-project/oxc/commit/d7399c4) linter: Replace `phf_set` with `array` in `jsx-a11y/no-noninteractive-tabindex` ([#​10306](https://redirect.github.com/oxc-project/oxc/issues/10306)) (shulaoda) - [`afe663b`](https://redirect.github.com/oxc-project/oxc/commit/afe663b) linter: Replace `phf_set` with `array` in `jest/no-restricted-matchers` ([#​10297](https://redirect.github.com/oxc-project/oxc/issues/10297)) (shulaoda) - [`bd27959`](https://redirect.github.com/oxc-project/oxc/commit/bd27959) linter: Replace `phf_set` with `array` in `eslint/array-callback-return` ([#​10296](https://redirect.github.com/oxc-project/oxc/issues/10296)) (shulaoda) - [`1aa0d71`](https://redirect.github.com/oxc-project/oxc/commit/1aa0d71) linter: Replace `phf_set` with `array` in `react/no-array-index-key` ([#​10294](https://redirect.github.com/oxc-project/oxc/issues/10294)) (shulaoda) - [`d9c4891`](https://redirect.github.com/oxc-project/oxc/commit/d9c4891) linter: Replace `phf_set` with `array` in `eslint/valid-typeof` ([#​10293](https://redirect.github.com/oxc-project/oxc/issues/10293)) (shulaoda) ##### Refactor - [`a95ba40`](https://redirect.github.com/oxc-project/oxc/commit/a95ba40) language_server: Make server more error resistance by falling back to default config ([#​10257](https://redirect.github.com/oxc-project/oxc/issues/10257)) (Sysix) - [`2e1ef4c`](https://redirect.github.com/oxc-project/oxc/commit/2e1ef4c) linter: Extract common logic from `jsdoc/require-yields` and `jsdoc/require-returns` ([#​10383](https://redirect.github.com/oxc-project/oxc/issues/10383)) (shulaoda) - [`9533d09`](https://redirect.github.com/oxc-project/oxc/commit/9533d09) linter: Remove duplicate ARIA property lists ([#​10326](https://redirect.github.com/oxc-project/oxc/issues/10326)) (camchenry) - [`67bd7aa`](https://redirect.github.com/oxc-project/oxc/commit/67bd7aa) linter: Add `AriaProperty` enum ([#​10325](https://redirect.github.com/oxc-project/oxc/issues/10325)) (camchenry) - [`52ea978`](https://redirect.github.com/oxc-project/oxc/commit/52ea978) linter: Update comments, improve tests, add variant All to LintFilterKind ([#​10259](https://redirect.github.com/oxc-project/oxc/issues/10259)) (Ulrich Stark) ##### Testing - [`62f7d76`](https://redirect.github.com/oxc-project/oxc/commit/62f7d76) editor: Refactor tests to use fixtures ([#​10381](https://redirect.github.com/oxc-project/oxc/issues/10381)) (Sysix) - [`4a6bb21`](https://redirect.github.com/oxc-project/oxc/commit/4a6bb21) language_server: Add test for `import` plugin integration ([#​10364](https://redirect.github.com/oxc-project/oxc/issues/10364)) (Sysix) - [`aa6ccd2`](https://redirect.github.com/oxc-project/oxc/commit/aa6ccd2) oxlint: Add test for nested and extended configuration with import plugin ([#​10372](https://redirect.github.com/oxc-project/oxc/issues/10372)) (Sysix) </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 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
173 lines
7.6 KiB
JSON
173 lines
7.6 KiB
JSON
{
|
|
"name": "@affine/monorepo",
|
|
"version": "0.21.0",
|
|
"private": true,
|
|
"author": "toeverything",
|
|
"license": "MIT",
|
|
"workspaces": [
|
|
".",
|
|
"blocksuite/**/*",
|
|
"packages/*/*",
|
|
"packages/frontend/apps/*",
|
|
"tools/*",
|
|
"docs/reference",
|
|
"tools/@types/*",
|
|
"tests/*"
|
|
],
|
|
"engines": {
|
|
"node": "<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=8192\" 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 -c oxlint.json --deny-warnings",
|
|
"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 --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=8192\" eslint --cache --fix"
|
|
],
|
|
"*.toml": [
|
|
"taplo format"
|
|
],
|
|
"*.rs": [
|
|
"cargo fmt --"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@affine-tools/cli": "workspace:*",
|
|
"@capacitor/cli": "^7.0.0",
|
|
"@eslint/js": "^9.16.0",
|
|
"@faker-js/faker": "^9.3.0",
|
|
"@istanbuljs/schema": "^0.1.3",
|
|
"@magic-works/i18n-codegen": "^0.6.1",
|
|
"@playwright/test": "=1.51.1",
|
|
"@smarttools/eslint-plugin-rxjs": "^1.0.8",
|
|
"@swc/core": "^1.10.1",
|
|
"@taplo/cli": "^0.7.0",
|
|
"@toeverything/infra": "workspace:*",
|
|
"@types/eslint": "^9.6.1",
|
|
"@types/node": "^22.0.0",
|
|
"@typescript-eslint/parser": "^8.18.0",
|
|
"@vanilla-extract/vite-plugin": "^5.0.0",
|
|
"@vitest/browser": "3.1.1",
|
|
"@vitest/coverage-istanbul": "3.1.1",
|
|
"@vitest/ui": "3.1.1",
|
|
"cross-env": "^7.0.3",
|
|
"electron": "^35.0.0",
|
|
"eslint": "^9.16.0",
|
|
"eslint-config-prettier": "^10.0.0",
|
|
"eslint-import-resolver-typescript": "^4.0.0",
|
|
"eslint-plugin-import-x": "^4.5.0",
|
|
"eslint-plugin-react": "^7.37.2",
|
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
"eslint-plugin-sonarjs": "^3.0.1",
|
|
"eslint-plugin-unicorn": "^58.0.0",
|
|
"happy-dom": "^17.0.0",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^15.2.11",
|
|
"msw": "^2.6.8",
|
|
"oxlint": "0.16.6",
|
|
"prettier": "^3.4.2",
|
|
"semver": "^7.6.3",
|
|
"serve": "^14.2.4",
|
|
"typescript": "^5.7.2",
|
|
"typescript-eslint": "^8.18.0",
|
|
"unplugin-swc": "^1.5.1",
|
|
"vite": "^6.0.3",
|
|
"vitest": "3.1.1"
|
|
},
|
|
"packageManager": "yarn@4.9.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",
|
|
"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",
|
|
"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"
|
|
}
|
|
}
|