Files
AFFiNE-Mirror/package.json
renovate 67b3c64b4e chore: bump up oxlint version to v0.16.10 (#12206)
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.9` -> `0.16.10`](https://renovatebot.com/diffs/npm/oxlint/0.16.9/0.16.10) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.16.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.16.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.16.9/0.16.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.16.9/0.16.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>oxc-project/oxc (oxlint)</summary>

### [`v0.16.10`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.16.10): oxlint v0.16.10

[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.16.9...oxlint_v0.16.10)

#### \[0.16.10] - 2025-05-09

##### Features

-   [`e1bc037`](https://redirect.github.com/oxc-project/oxc/commit/e1bc037) language_server: Request for workspace configuration when client did not send them in `initialize` ([#&#8203;10789](https://redirect.github.com/oxc-project/oxc/issues/10789)) (Sysix)
-   [`3bd339b`](https://redirect.github.com/oxc-project/oxc/commit/3bd339b) language_server: Provide commands / code actions for unopened files ([#&#8203;10815](https://redirect.github.com/oxc-project/oxc/issues/10815)) (Sysix)
-   [`4c62348`](https://redirect.github.com/oxc-project/oxc/commit/4c62348) linter: Regex/no-useless-backreference ([#&#8203;10773](https://redirect.github.com/oxc-project/oxc/issues/10773)) (camc314)
-   [`d7ebdd7`](https://redirect.github.com/oxc-project/oxc/commit/d7ebdd7) linter: Add unicorn/no-unnecessary-slice-end rule ([#&#8203;10826](https://redirect.github.com/oxc-project/oxc/issues/10826)) (yefan)

##### Bug Fixes

-   [`f3cc3a2`](https://redirect.github.com/oxc-project/oxc/commit/f3cc3a2) language_server: Request client for configuration when no configuration is passed in `workspace/didChangeConfiguration` ([#&#8203;10871](https://redirect.github.com/oxc-project/oxc/issues/10871)) (Sysix)
-   [`24fcb1e`](https://redirect.github.com/oxc-project/oxc/commit/24fcb1e) language_server: Return server version `initialize` response ([#&#8203;10810](https://redirect.github.com/oxc-project/oxc/issues/10810)) (Sysix)
-   [`7d09973`](https://redirect.github.com/oxc-project/oxc/commit/7d09973) linter: False positive with `withResolvers` in prefer-await-to-then ([#&#8203;10896](https://redirect.github.com/oxc-project/oxc/issues/10896)) (camc314)
-   [`9b94300`](https://redirect.github.com/oxc-project/oxc/commit/9b94300) linter: Mark fixer as dangerous for erasing-op ([#&#8203;10868](https://redirect.github.com/oxc-project/oxc/issues/10868)) (camc314)
-   [`ae70cc1`](https://redirect.github.com/oxc-project/oxc/commit/ae70cc1) linter: Add missing option to `no-shadow-restricted-names` ([#&#8203;10827](https://redirect.github.com/oxc-project/oxc/issues/10827)) (camc314)
-   [`b2c287f`](https://redirect.github.com/oxc-project/oxc/commit/b2c287f) linter/no-unused-vars: Fixer cannot delete usused for in/of iterators ([#&#8203;10824](https://redirect.github.com/oxc-project/oxc/issues/10824)) (DonIsaac)
-   [`5ce0a68`](https://redirect.github.com/oxc-project/oxc/commit/5ce0a68) linter/no-unused-vars: Recognize parameters used in await/yield expressions within comma expressions ([#&#8203;10808](https://redirect.github.com/oxc-project/oxc/issues/10808)) (magic-akari)

##### Performance

-   [`00ffbc9`](https://redirect.github.com/oxc-project/oxc/commit/00ffbc9) language_server: Do not request for configuration when all workers are ready ([#&#8203;10897](https://redirect.github.com/oxc-project/oxc/issues/10897)) (Sysix)
-   [`96cca22`](https://redirect.github.com/oxc-project/oxc/commit/96cca22) language_server: Use `simdutf8` when reading files from file system ([#&#8203;10814](https://redirect.github.com/oxc-project/oxc/issues/10814)) (Sysix)

##### Documentation

-   [`efaadd3`](https://redirect.github.com/oxc-project/oxc/commit/efaadd3) linter: Fix a few incorrect backticks in `no_restricted_imports` ([#&#8203;10914](https://redirect.github.com/oxc-project/oxc/issues/10914)) (Boshen)
-   [`ccda8f0`](https://redirect.github.com/oxc-project/oxc/commit/ccda8f0) linter: Improve no-plusplus docs ([#&#8203;10885](https://redirect.github.com/oxc-project/oxc/issues/10885)) (Peter Cardenas)
-   [`5f15809`](https://redirect.github.com/oxc-project/oxc/commit/5f15809) linter: Improve docs for jsdoc/require-property ([#&#8203;10705](https://redirect.github.com/oxc-project/oxc/issues/10705)) (camc314)

##### Refactor

-   [`553ab5b`](https://redirect.github.com/oxc-project/oxc/commit/553ab5b) language_server: Remove `OnceCell` from `WorkspaceWorker.root_uri` ([#&#8203;10898](https://redirect.github.com/oxc-project/oxc/issues/10898)) (Sysix)
-   [`f43fd18`](https://redirect.github.com/oxc-project/oxc/commit/f43fd18) language_server: Move the initialization of `ServerLinter` into a separate call ([#&#8203;10776](https://redirect.github.com/oxc-project/oxc/issues/10776)) (Sysix)
-   [`39e0463`](https://redirect.github.com/oxc-project/oxc/commit/39e0463) language_server: Move `nested_configs` to `ServerLinter` ([#&#8203;10775](https://redirect.github.com/oxc-project/oxc/issues/10775)) (Sysix)
-   [`9ec13f6`](https://redirect.github.com/oxc-project/oxc/commit/9ec13f6) language_server: Move `gitignore_glob` to `ServerLinter` ([#&#8203;10762](https://redirect.github.com/oxc-project/oxc/issues/10762)) (Sysix)
-   [`3d47159`](https://redirect.github.com/oxc-project/oxc/commit/3d47159) language_server: Use `IsolatedLintHandlerFileSystem` ([#&#8203;10830](https://redirect.github.com/oxc-project/oxc/issues/10830)) (Sysix)
-   [`3d794f6`](https://redirect.github.com/oxc-project/oxc/commit/3d794f6) language_server: Move functions related to `ServerLinter` to `ServerLinter` ([#&#8203;10761](https://redirect.github.com/oxc-project/oxc/issues/10761)) (Sysix)
-   [`79819cc`](https://redirect.github.com/oxc-project/oxc/commit/79819cc) linter: Move around some config store logic ([#&#8203;10861](https://redirect.github.com/oxc-project/oxc/issues/10861)) (camc314)
-   [`e132aba`](https://redirect.github.com/oxc-project/oxc/commit/e132aba) linter: Extract nested config searching to a fn ([#&#8203;10860](https://redirect.github.com/oxc-project/oxc/issues/10860)) (camc314)
-   [`243c247`](https://redirect.github.com/oxc-project/oxc/commit/243c247) linter: Able to use custom file system in runtime ([#&#8203;10828](https://redirect.github.com/oxc-project/oxc/issues/10828)) (Sysix)
-   [`efb4fb8`](https://redirect.github.com/oxc-project/oxc/commit/efb4fb8) oxlint: Avoid result unwrap ([#&#8203;10836](https://redirect.github.com/oxc-project/oxc/issues/10836)) (camc314)

##### Testing

-   [`47b946d`](https://redirect.github.com/oxc-project/oxc/commit/47b946d) linter: Use `TesterFileSystem` for `Runtime`s filesystem ([#&#8203;10829](https://redirect.github.com/oxc-project/oxc/issues/10829)) (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:eyJjcmVhdGVkSW5WZXIiOiI0MC43LjEiLCJ1cGRhdGVkSW5WZXIiOiI0MC43LjEiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
2025-05-10 03:31:03 +00:00

173 lines
7.6 KiB
JSON

{
"name": "@affine/monorepo",
"version": "0.21.0",
"private": true,
"author": "toeverything",
"license": "MIT",
"workspaces": [
".",
"blocksuite/**/*",
"packages/*/*",
"packages/common/y-octo/node",
"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.52.0",
"@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.18.0",
"@vanilla-extract/vite-plugin": "^5.0.0",
"@vitest/browser": "3.1.3",
"@vitest/coverage-istanbul": "3.1.3",
"@vitest/ui": "3.1.3",
"cross-env": "^7.0.3",
"electron": "^36.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": "^59.0.0",
"happy-dom": "^17.0.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"msw": "^2.6.8",
"oxlint": "0.16.10",
"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.3"
},
"packageManager": "yarn@4.9.1",
"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"
}
}