AFFiNE/package.json
renovate e7ebe0f2c0
chore: bump up oxlint version to v0.9.10 (#8354)
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.9.6` -> `0.9.10`](https://renovatebot.com/diffs/npm/oxlint/0.9.6/0.9.10) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.9.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.9.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.9.6/0.9.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.9.6/0.9.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

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

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

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

#### \[0.9.10] - 2024-10-08

-   [`95ca01c`](https://redirect.github.com/oxc-project/oxc/commit/95ca01c) cfg: \[**BREAKING**] Make BasicBlock::unreachable private ([#&#8203;6321](https://redirect.github.com/oxc-project/oxc/issues/6321)) (DonIsaac)

-   [`5a73a66`](https://redirect.github.com/oxc-project/oxc/commit/5a73a66) regular_expression: \[**BREAKING**] Simplify public APIs ([#&#8203;6262](https://redirect.github.com/oxc-project/oxc/issues/6262)) (leaysgur)

##### Features

-   [`f272137`](https://redirect.github.com/oxc-project/oxc/commit/f272137) editors/vscode: Clear diagnostics on file deletion ([#&#8203;6326](https://redirect.github.com/oxc-project/oxc/issues/6326)) (dalaoshu)
-   [`1a5f293`](https://redirect.github.com/oxc-project/oxc/commit/1a5f293) editors/vscode: Update VSCode extention to use project's language server ([#&#8203;6132](https://redirect.github.com/oxc-project/oxc/issues/6132)) (dalaoshu)
-   [`376cc09`](https://redirect.github.com/oxc-project/oxc/commit/376cc09) linter: Implement `no-throw-literal` ([#&#8203;6144](https://redirect.github.com/oxc-project/oxc/issues/6144)) (dalaoshu)
-   [`5957214`](https://redirect.github.com/oxc-project/oxc/commit/5957214) linter: Allow fixing in files with source offsets ([#&#8203;6197](https://redirect.github.com/oxc-project/oxc/issues/6197)) (camchenry)
-   [`a089e19`](https://redirect.github.com/oxc-project/oxc/commit/a089e19) linter: Eslint/no-else-return ([#&#8203;4305](https://redirect.github.com/oxc-project/oxc/issues/4305)) (yoho)
-   [`183739f`](https://redirect.github.com/oxc-project/oxc/commit/183739f) linter: Implement prefer-await-to-callbacks ([#&#8203;6153](https://redirect.github.com/oxc-project/oxc/issues/6153)) (dalaoshu)
-   [`ae539af`](https://redirect.github.com/oxc-project/oxc/commit/ae539af) linter: Implement no-return-assign ([#&#8203;6108](https://redirect.github.com/oxc-project/oxc/issues/6108)) (Radu Baston)

##### Bug Fixes

-   [`00df6e5`](https://redirect.github.com/oxc-project/oxc/commit/00df6e5) linter: Friendly diagnostic messages for `no-else-return` ([#&#8203;6349](https://redirect.github.com/oxc-project/oxc/issues/6349)) (DonIsaac)
-   [`71ad5d3`](https://redirect.github.com/oxc-project/oxc/commit/71ad5d3) linter: `no-else-return` fixer fails when `else` has no trailing whitespace ([#&#8203;6348](https://redirect.github.com/oxc-project/oxc/issues/6348)) (DonIsaac)
-   [`9e9808b`](https://redirect.github.com/oxc-project/oxc/commit/9e9808b) linter: Fix regression when parsing ts in vue files ([#&#8203;6336](https://redirect.github.com/oxc-project/oxc/issues/6336)) (Boshen)
-   [`93c6db6`](https://redirect.github.com/oxc-project/oxc/commit/93c6db6) linter: Improve docs and diagnostics message for no-else-return ([#&#8203;6327](https://redirect.github.com/oxc-project/oxc/issues/6327)) (DonIsaac)
-   [`e0a3378`](https://redirect.github.com/oxc-project/oxc/commit/e0a3378) linter: Correct false positive in `unicorn/prefer-string-replace-all` ([#&#8203;6263](https://redirect.github.com/oxc-project/oxc/issues/6263)) (H11)
-   [`ea28ee9`](https://redirect.github.com/oxc-project/oxc/commit/ea28ee9) linter: Improve the fixer of `prefer-namespace-keyword` ([#&#8203;6230](https://redirect.github.com/oxc-project/oxc/issues/6230)) (dalaoshu)
-   [`f6a3450`](https://redirect.github.com/oxc-project/oxc/commit/f6a3450) linter: Get correct source offsets for astro files ([#&#8203;6196](https://redirect.github.com/oxc-project/oxc/issues/6196)) (camchenry)
-   [`be0030c`](https://redirect.github.com/oxc-project/oxc/commit/be0030c) linter: Allow whitespace control characters in `no-control-regex` ([#&#8203;6140](https://redirect.github.com/oxc-project/oxc/issues/6140)) (camchenry)
-   [`e7e8ead`](https://redirect.github.com/oxc-project/oxc/commit/e7e8ead) linter: False positive in `no-return-assign` ([#&#8203;6128](https://redirect.github.com/oxc-project/oxc/issues/6128)) (DonIsaac)

##### Performance

-   [`ac0a82a`](https://redirect.github.com/oxc-project/oxc/commit/ac0a82a) linter: Reuse allocator when there are multiple source texts ([#&#8203;6337](https://redirect.github.com/oxc-project/oxc/issues/6337)) (Boshen)
-   [`50a0029`](https://redirect.github.com/oxc-project/oxc/commit/50a0029) linter: Do not concat vec in `no-useless-length-check` ([#&#8203;6276](https://redirect.github.com/oxc-project/oxc/issues/6276)) (camchenry)

##### Documentation

-   [`7ca70dd`](https://redirect.github.com/oxc-project/oxc/commit/7ca70dd) linter: Add docs for `ContextHost` and `LintContext` ([#&#8203;6272](https://redirect.github.com/oxc-project/oxc/issues/6272)) (camchenry)
-   [`a949ecb`](https://redirect.github.com/oxc-project/oxc/commit/a949ecb) linter: Improve docs for `eslint/getter-return` ([#&#8203;6229](https://redirect.github.com/oxc-project/oxc/issues/6229)) (DonIsaac)
-   [`14ba263`](https://redirect.github.com/oxc-project/oxc/commit/14ba263) linter: Improve docs for `eslint-plugin-import` rules ([#&#8203;6131](https://redirect.github.com/oxc-project/oxc/issues/6131)) (dalaoshu)

##### Refactor

-   [`40932f7`](https://redirect.github.com/oxc-project/oxc/commit/40932f7) cfg: Use IndexVec for storing basic blocks ([#&#8203;6323](https://redirect.github.com/oxc-project/oxc/issues/6323)) (DonIsaac)
-   [`642725c`](https://redirect.github.com/oxc-project/oxc/commit/642725c) linter: Rename vars from `ast_node_id` to `node_id` ([#&#8203;6305](https://redirect.github.com/oxc-project/oxc/issues/6305)) (overlookmotel)
-   [`8413175`](https://redirect.github.com/oxc-project/oxc/commit/8413175) linter: Move shared function from utils to rule ([#&#8203;6127](https://redirect.github.com/oxc-project/oxc/issues/6127)) (dalaoshu)
-   [`ba9c372`](https://redirect.github.com/oxc-project/oxc/commit/ba9c372) linter: Make jest/vitest rule mapping more clear ([#&#8203;6273](https://redirect.github.com/oxc-project/oxc/issues/6273)) (camchenry)
-   [`82b8f21`](https://redirect.github.com/oxc-project/oxc/commit/82b8f21) linter: Add schemars and serde traits to AllowWarnDeny and RuleCategories ([#&#8203;6119](https://redirect.github.com/oxc-project/oxc/issues/6119)) (DonIsaac)
-   [`ea908f7`](https://redirect.github.com/oxc-project/oxc/commit/ea908f7) linter: Consolidate file loading logic ([#&#8203;6130](https://redirect.github.com/oxc-project/oxc/issues/6130)) (DonIsaac)
-   [`db751f0`](https://redirect.github.com/oxc-project/oxc/commit/db751f0) linter: Use regexp AST visitor in `no-control-regex` ([#&#8203;6129](https://redirect.github.com/oxc-project/oxc/issues/6129)) (camchenry)
-   [`3aa7e42`](https://redirect.github.com/oxc-project/oxc/commit/3aa7e42) linter: Use RegExp AST visitor for `no-hex-escape` ([#&#8203;6117](https://redirect.github.com/oxc-project/oxc/issues/6117)) (camchenry)
-   [`9d5b44a`](https://redirect.github.com/oxc-project/oxc/commit/9d5b44a) linter: Use regex visitor in `no-regex-spaces` ([#&#8203;6063](https://redirect.github.com/oxc-project/oxc/issues/6063)) (camchenry)
-   [`0d44cf7`](https://redirect.github.com/oxc-project/oxc/commit/0d44cf7) linter: Use regex visitor in `no-useless-escape` ([#&#8203;6062](https://redirect.github.com/oxc-project/oxc/issues/6062)) (camchenry)
-   [`eeb8873`](https://redirect.github.com/oxc-project/oxc/commit/eeb8873) linter: Use regex visitor in `no-empty-character-class` ([#&#8203;6058](https://redirect.github.com/oxc-project/oxc/issues/6058)) (camchenry)

##### Testing

-   [`d883562`](https://redirect.github.com/oxc-project/oxc/commit/d883562) linter: Invalid `eslint/no-unused-vars` options ([#&#8203;6228](https://redirect.github.com/oxc-project/oxc/issues/6228)) (DonIsaac)

### [`v0.9.9`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#099---2024-09-27)

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

##### Bug Fixes

-   [`01b9c4b`](https://redirect.github.com/oxc-project/oxc/commit/01b9c4b) npm/oxlint: Make bin/oxc_language_server an executable ([#&#8203;6066](https://redirect.github.com/oxc-project/oxc/issues/6066)) (Boshen)

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

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

#### \[0.9.8] - 2024-09-24

##### Bug Fixes

-   [`e3c8a12`](https://redirect.github.com/oxc-project/oxc/commit/e3c8a12) linter: Fix panic in sort-keys ([#&#8203;6017](https://redirect.github.com/oxc-project/oxc/issues/6017)) (Boshen)
-   [`4771492`](https://redirect.github.com/oxc-project/oxc/commit/4771492) linter: Fix `import/no_cycle` with `ignoreTypes` ([#&#8203;5995](https://redirect.github.com/oxc-project/oxc/issues/5995)) (Boshen)

##### Performance

-   [`5ae3f36`](https://redirect.github.com/oxc-project/oxc/commit/5ae3f36) linter: `no-fallthrough`: Use string matching instead of Regex for default comment pattern ([#&#8203;6008](https://redirect.github.com/oxc-project/oxc/issues/6008)) (camchenry)
-   [`65d8f9e`](https://redirect.github.com/oxc-project/oxc/commit/65d8f9e) linter, ast-tools, coverage: Use `FxHashSet` instead of `std::collections::HashSet` ([#&#8203;6001](https://redirect.github.com/oxc-project/oxc/issues/6001)) (Cam McHenry)
-   [`2b17003`](https://redirect.github.com/oxc-project/oxc/commit/2b17003) linter, prettier, diagnostics: Use `FxHashMap` instead of `std::collections::HashMap` ([#&#8203;5993](https://redirect.github.com/oxc-project/oxc/issues/5993)) (camchenry)

### [`v0.9.7`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#097---2024-09-23)

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

##### Refactor

-   [`ba7b01f`](https://redirect.github.com/oxc-project/oxc/commit/ba7b01f) linter: Add `LinterBuilder` ([#&#8203;5714](https://redirect.github.com/oxc-project/oxc/issues/5714)) (DonIsaac)

</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:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-10-11 10:13:38 +00:00

159 lines
7.0 KiB
JSON

{
"name": "@affine/monorepo",
"version": "0.17.0",
"private": true,
"author": "toeverything",
"license": "MIT",
"workspaces": [
".",
"packages/*/*",
"packages/frontend/apps/*",
"tools/*",
"docs/reference",
"tools/@types/*",
"tests/*",
"tests/affine-legacy/*"
],
"engines": {
"node": "<21.0.0"
},
"scripts": {
"dev": "yarn workspace @affine/cli dev",
"build": "yarn workspace @affine/cli bundle",
"dev:electron": "yarn workspace @affine/electron dev",
"build:electron": "yarn nx build @affine/electron",
"build:server-native": "yarn nx run-many -t build -p @affine/server-native",
"start:web-static": "yarn workspace @affine/web static-server",
"serve:test-static": "yarn exec serve tests/fixtures --cors -p 8081",
"lint:eslint": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" eslint . --ext .js,mjs,.ts,.tsx --cache",
"lint:eslint:fix": "yarn lint:eslint --fix",
"lint:prettier": "prettier --ignore-unknown --cache --check .",
"lint:prettier:fix": "prettier --ignore-unknown --cache --write .",
"lint:ox": "oxlint -c oxlint.json --deny-warnings --import-plugin -D correctness -D perf",
"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",
"postinstall": "node ./scripts/check-version.mjs && yarn workspace @affine/i18n i18n-codegen gen && yarn husky install",
"prepare": "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/cli": "workspace:*",
"@faker-js/faker": "^9.0.0",
"@istanbuljs/schema": "^0.1.3",
"@magic-works/i18n-codegen": "^0.6.0",
"@playwright/test": "=1.47.2",
"@taplo/cli": "^0.7.0",
"@toeverything/infra": "workspace:*",
"@types/affine__env": "workspace:*",
"@types/eslint": "^9.0.0",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"@vanilla-extract/vite-plugin": "^4.0.7",
"@vitest/coverage-istanbul": "2.1.1",
"@vitest/ui": "2.1.1",
"cross-env": "^7.0.3",
"electron": "^32.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import-x": "^0.5.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-rxjs": "^5.0.3",
"eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-sonarjs": "^0.25.1",
"eslint-plugin-unicorn": "^52.0.0",
"eslint-plugin-unused-imports": "^3.1.0",
"happy-dom": "^15.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"msw": "^2.3.0",
"nx": "^19.0.0",
"oxlint": "0.9.10",
"prettier": "^3.3.3",
"semver": "^7.6.0",
"serve": "^14.2.1",
"typescript": "^5.4.5",
"unplugin-swc": "^1.4.5",
"vite": "^5.2.8",
"vitest": "2.1.1"
},
"packageManager": "yarn@4.5.0",
"resolutions": {
"array-buffer-byte-length": "npm:@nolyfill/array-buffer-byte-length@latest",
"array-includes": "npm:@nolyfill/array-includes@latest",
"array.prototype.flat": "npm:@nolyfill/array.prototype.flat@latest",
"array.prototype.flatmap": "npm:@nolyfill/array.prototype.flatmap@latest",
"array.prototype.tosorted": "npm:@nolyfill/array.prototype.tosorted@latest",
"arraybuffer.prototype.slice": "npm:@nolyfill/arraybuffer.prototype.slice@latest",
"asynciterator.prototype": "npm:@nolyfill/asynciterator.prototype@latest",
"available-typed-arrays": "npm:@nolyfill/available-typed-arrays@latest",
"deep-equal": "npm:@nolyfill/deep-equal@latest",
"define-properties": "npm:@nolyfill/define-properties@latest",
"es-iterator-helpers": "npm:@nolyfill/es-iterator-helpers@latest",
"es-set-tostringtag": "npm:@nolyfill/es-set-tostringtag@latest",
"function-bind": "npm:@nolyfill/function-bind@latest",
"function.prototype.name": "npm:@nolyfill/function.prototype.name@latest",
"get-symbol-description": "npm:@nolyfill/get-symbol-description@latest",
"globalthis": "npm:@nolyfill/globalthis@latest",
"gopd": "npm:@nolyfill/gopd@latest",
"has": "npm:@nolyfill/has@latest",
"has-property-descriptors": "npm:@nolyfill/has-property-descriptors@latest",
"has-proto": "npm:@nolyfill/has-proto@latest",
"has-symbols": "npm:@nolyfill/has-symbols@latest",
"has-tostringtag": "npm:@nolyfill/has-tostringtag@latest",
"is-arguments": "npm:@nolyfill/is-arguments@latest",
"is-array-buffer": "npm:@nolyfill/is-array-buffer@latest",
"is-date-object": "npm:@nolyfill/is-date-object@latest",
"is-generator-function": "npm:@nolyfill/is-generator-function@latest",
"is-regex": "npm:@nolyfill/is-regex@latest",
"is-shared-array-buffer": "npm:@nolyfill/is-shared-array-buffer@latest",
"is-string": "npm:@nolyfill/is-string@latest",
"is-symbol": "npm:@nolyfill/is-symbol@latest",
"is-weakref": "npm:@nolyfill/is-weakref@latest",
"iterator.prototype": "npm:@nolyfill/iterator.prototype@latest",
"object-is": "npm:@nolyfill/object-is@latest",
"object-keys": "npm:@nolyfill/object-keys@latest",
"object.assign": "npm:@nolyfill/object.assign@latest",
"object.entries": "npm:@nolyfill/object.entries@latest",
"object.fromentries": "npm:@nolyfill/object.fromentries@latest",
"object.hasown": "npm:@nolyfill/object.hasown@latest",
"object.values": "npm:@nolyfill/object.values@latest",
"reflect.getprototypeof": "npm:@nolyfill/reflect.getprototypeof@latest",
"regexp.prototype.flags": "npm:@nolyfill/regexp.prototype.flags@latest",
"safe-array-concat": "npm:@nolyfill/safe-array-concat@latest",
"safe-regex-test": "npm:@nolyfill/safe-regex-test@latest",
"side-channel": "npm:@nolyfill/side-channel@latest",
"string.prototype.matchall": "npm:@nolyfill/string.prototype.matchall@latest",
"string.prototype.trim": "npm:@nolyfill/string.prototype.trim@latest",
"string.prototype.trimend": "npm:@nolyfill/string.prototype.trimend@latest",
"string.prototype.trimstart": "npm:@nolyfill/string.prototype.trimstart@latest",
"typed-array-buffer": "npm:@nolyfill/typed-array-buffer@latest",
"typed-array-byte-length": "npm:@nolyfill/typed-array-byte-length@latest",
"typed-array-byte-offset": "npm:@nolyfill/typed-array-byte-offset@latest",
"typed-array-length": "npm:@nolyfill/typed-array-length@latest",
"unbox-primitive": "npm:@nolyfill/unbox-primitive@latest",
"which-boxed-primitive": "npm:@nolyfill/which-boxed-primitive@latest",
"which-typed-array": "npm:@nolyfill/which-typed-array@latest",
"@reforged/maker-appimage/@electron-forge/maker-base": "7.5.0",
"macos-alias": "npm:@napi-rs/macos-alias@0.0.4",
"fs-xattr": "npm:@napi-rs/xattr@latest"
}
}