Files
AFFiNE-Mirror/package.json
T
renovate aadc978357 chore: bump up oxlint version to v0.14.1 (#9044)
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.14.0` -> `0.14.1`](https://renovatebot.com/diffs/npm/oxlint/0.14.0/0.14.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.14.0/0.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.14.0/0.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

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

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

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

#### \[0.14.1] - 2024-12-06

##### Features

-   [`fd0935c`](https://redirect.github.com/oxc-project/oxc/commit/fd0935c) linter: Change `react/rules-of-hooks` category to `pedantic` ([#&#8203;7691](https://redirect.github.com/oxc-project/oxc/issues/7691)) (Boshen)
-   [`e64fd95`](https://redirect.github.com/oxc-project/oxc/commit/e64fd95) linter: Map `.js` to `.ts` when resolving with tsconfig.json ([#&#8203;7675](https://redirect.github.com/oxc-project/oxc/issues/7675)) (Boshen)
-   [`bd9d38a`](https://redirect.github.com/oxc-project/oxc/commit/bd9d38a) linter: Implement eslint:yoda ([#&#8203;7559](https://redirect.github.com/oxc-project/oxc/issues/7559)) (tbashiyy)
-   [`a14e76a`](https://redirect.github.com/oxc-project/oxc/commit/a14e76a) linter: Report identical logical expressions in const-comparisons ([#&#8203;7630](https://redirect.github.com/oxc-project/oxc/issues/7630)) (camc314)
-   [`afe1e9b`](https://redirect.github.com/oxc-project/oxc/commit/afe1e9b) linter: Enhance `const-comparisons` for more cases ([#&#8203;7628](https://redirect.github.com/oxc-project/oxc/issues/7628)) (camc314)
-   [`4eb87ea`](https://redirect.github.com/oxc-project/oxc/commit/4eb87ea) linter: RulesOfHooks from nursery to correctness ([#&#8203;7607](https://redirect.github.com/oxc-project/oxc/issues/7607)) (Boshen)
-   [`275d625`](https://redirect.github.com/oxc-project/oxc/commit/275d625) linter: Output rules to json array ([#&#8203;7574](https://redirect.github.com/oxc-project/oxc/issues/7574)) (camc314)
-   [`b8dc333`](https://redirect.github.com/oxc-project/oxc/commit/b8dc333) syntax: Add `ExportEntry::is_type` ([#&#8203;7676](https://redirect.github.com/oxc-project/oxc/issues/7676)) (Boshen)

##### Bug Fixes

-   [`9761e94`](https://redirect.github.com/oxc-project/oxc/commit/9761e94) apps/oxlint: Incorrect matching in `.oxlintignore` ([#&#8203;7566](https://redirect.github.com/oxc-project/oxc/issues/7566)) (dalaoshu)
-   [`7cee065`](https://redirect.github.com/oxc-project/oxc/commit/7cee065) linter: Panic in `yoda` ([#&#8203;7679](https://redirect.github.com/oxc-project/oxc/issues/7679)) (camc314)
-   [`6ae178e`](https://redirect.github.com/oxc-project/oxc/commit/6ae178e) linter: Ignore type references in `no-undef` ([#&#8203;7670](https://redirect.github.com/oxc-project/oxc/issues/7670)) (Boshen)
-   [`fcc2546`](https://redirect.github.com/oxc-project/oxc/commit/fcc2546) linter: Move `no-unused-expressions` from TS to eslint ([#&#8203;7624](https://redirect.github.com/oxc-project/oxc/issues/7624)) (camc314)
-   [`29db060`](https://redirect.github.com/oxc-project/oxc/commit/29db060) linter: Detect typescript eslint alias rules ([#&#8203;7622](https://redirect.github.com/oxc-project/oxc/issues/7622)) (Alexander S.)
-   [`e824501`](https://redirect.github.com/oxc-project/oxc/commit/e824501) linter: False positive in exhaustive-deps ([#&#8203;7626](https://redirect.github.com/oxc-project/oxc/issues/7626)) (camc314)
-   [`8a68ef4`](https://redirect.github.com/oxc-project/oxc/commit/8a68ef4) linter: Update reporting spans for exhaustive-deps ([#&#8203;7625](https://redirect.github.com/oxc-project/oxc/issues/7625)) (camc314)
-   [`543df6e`](https://redirect.github.com/oxc-project/oxc/commit/543df6e) linter: Fix false positives in exhaustive-deps ([#&#8203;7615](https://redirect.github.com/oxc-project/oxc/issues/7615)) (camc314)
-   [`e80214c`](https://redirect.github.com/oxc-project/oxc/commit/e80214c) linter: Fix false positives in rules-of-hooks ([#&#8203;7606](https://redirect.github.com/oxc-project/oxc/issues/7606)) (camc314)
-   [`3dc46a8`](https://redirect.github.com/oxc-project/oxc/commit/3dc46a8) linter: No-unused-expressions false positive with arrow fn expressions ([#&#8203;7585](https://redirect.github.com/oxc-project/oxc/issues/7585)) (Cameron)
-   [`810671a`](https://redirect.github.com/oxc-project/oxc/commit/810671a) linter: Detect vitest jest alias rules ([#&#8203;7567](https://redirect.github.com/oxc-project/oxc/issues/7567)) (Alexander S.)
-   [`4e3044e`](https://redirect.github.com/oxc-project/oxc/commit/4e3044e) linter: Rules-of-hooks fix false positive with default export ([#&#8203;7570](https://redirect.github.com/oxc-project/oxc/issues/7570)) (camc314)

##### Documentation

-   [`f029090`](https://redirect.github.com/oxc-project/oxc/commit/f029090) linter: Update rule documentation ([#&#8203;7684](https://redirect.github.com/oxc-project/oxc/issues/7684)) (camc314)
-   [`4e489bd`](https://redirect.github.com/oxc-project/oxc/commit/4e489bd) linter: Update rule documentation ([#&#8203;7681](https://redirect.github.com/oxc-project/oxc/issues/7681)) (camc314)
-   [`56fe5f8`](https://redirect.github.com/oxc-project/oxc/commit/56fe5f8) linter: Update rule documentation ([#&#8203;7680](https://redirect.github.com/oxc-project/oxc/issues/7680)) (Cameron)

##### Refactor

-   [`a0973dc`](https://redirect.github.com/oxc-project/oxc/commit/a0973dc) linter: Use `BigIntLiteral::raw` field ([#&#8203;7660](https://redirect.github.com/oxc-project/oxc/issues/7660)) (overlookmotel)
-   [`3711a8e`](https://redirect.github.com/oxc-project/oxc/commit/3711a8e) linter: Rename `is_same_reference` to `is_same_expression` ([#&#8203;7654](https://redirect.github.com/oxc-project/oxc/issues/7654)) (camc314)
-   [`b445654`](https://redirect.github.com/oxc-project/oxc/commit/b445654) linter: Use `get_inner_expression` in `const-comparisons` ([#&#8203;7627](https://redirect.github.com/oxc-project/oxc/issues/7627)) (camc314)
-   [`f0e7acc`](https://redirect.github.com/oxc-project/oxc/commit/f0e7acc) syntax: Change `ModuleRecord::not_esm` to `has_module_syntax` ([#&#8203;7579](https://redirect.github.com/oxc-project/oxc/issues/7579)) (Boshen)
-   [`18519de`](https://redirect.github.com/oxc-project/oxc/commit/18519de) syntax: Remove `ModuleRecord::export_default` ([#&#8203;7578](https://redirect.github.com/oxc-project/oxc/issues/7578)) (Boshen)
-   [`d476660`](https://redirect.github.com/oxc-project/oxc/commit/d476660) syntax: Remove `ModuleRecord::exported_bindings_duplicated` because it is a syntax error ([#&#8203;7577](https://redirect.github.com/oxc-project/oxc/issues/7577)) (Boshen)
-   [`17663f5`](https://redirect.github.com/oxc-project/oxc/commit/17663f5) syntax: Remove `ModuleRecord::export_default_duplicated` because it is a syntax error ([#&#8203;7576](https://redirect.github.com/oxc-project/oxc/issues/7576)) (Boshen)
-   [`79014ff`](https://redirect.github.com/oxc-project/oxc/commit/79014ff) syntax: Clean up `ModuleRecord` ([#&#8203;7568](https://redirect.github.com/oxc-project/oxc/issues/7568)) (Boshen)

##### Testing

-   [`be9863a`](https://redirect.github.com/oxc-project/oxc/commit/be9863a) linter: Add more tests fo rules-of-hooks ([#&#8203;7683](https://redirect.github.com/oxc-project/oxc/issues/7683)) (camc314)
-   [`6dd71c6`](https://redirect.github.com/oxc-project/oxc/commit/6dd71c6) linter: Port eslint tests to no-unused-expressions ([#&#8203;7611](https://redirect.github.com/oxc-project/oxc/issues/7611)) (camc314)

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-12-06 09:45:17 +00:00

163 lines
7.2 KiB
JSON

{
"name": "@affine/monorepo",
"version": "0.18.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",
"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:*",
"@capacitor/cli": "^6.1.2",
"@faker-js/faker": "^9.0.0",
"@istanbuljs/schema": "^0.1.3",
"@magic-works/i18n-codegen": "^0.6.0",
"@playwright/test": "=1.49.0",
"@swc/core": "^1.9.1",
"@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.8",
"@vitest/ui": "2.1.8",
"cross-env": "^7.0.3",
"electron": "^33.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": "^20.0.3",
"nx-cloud": "^19.1.0",
"oxlint": "0.14.1",
"prettier": "^3.3.3",
"semver": "^7.6.0",
"serve": "^14.2.1",
"typescript": "^5.6.3",
"unplugin-swc": "^1.4.5",
"vite": "^6.0.1",
"vitest": "2.1.8"
},
"packageManager": "yarn@4.5.3",
"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",
"macos-alias": "npm:@napi-rs/macos-alias@0.0.4",
"fs-xattr": "npm:@napi-rs/xattr@latest",
"vite": "6.0.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"
}
}