mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-22 09:13:18 +03:00
8800abded7
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.2` -> `0.9.5`](https://renovatebot.com/diffs/npm/oxlint/0.9.2/0.9.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.9.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.9.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.9.2/0.9.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.9.2/0.9.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>oxc-project/oxc (oxlint)</summary> ### [`v0.9.5`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.9.5): oxlint v0.9.5 [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.4...oxlint_v0.9.5) #### \[0.9.5] - 2024-09-12 ##### Features - [`4b04f65`](https://redirect.github.com/oxc-project/oxc/commit/4b04f65) linter: Implement `no-plusplus` rule ([#​5570](https://redirect.github.com/oxc-project/oxc/issues/5570)) (Cam McHenry) - [`9ca2593`](https://redirect.github.com/oxc-project/oxc/commit/9ca2593) linter: Eslint/sort-keys ([#​4845](https://redirect.github.com/oxc-project/oxc/issues/4845)) (Na'aman Hirschfeld) - [`023c160`](https://redirect.github.com/oxc-project/oxc/commit/023c160) linter: Impl `Serialize` for `OxlintConfig` ([#​5594](https://redirect.github.com/oxc-project/oxc/issues/5594)) (DonIsaac) - [`24d6a47`](https://redirect.github.com/oxc-project/oxc/commit/24d6a47) linter: Implement `eslint/no-invalid-regexp` ([#​5443](https://redirect.github.com/oxc-project/oxc/issues/5443)) (Boshen) - [`c6bbf94`](https://redirect.github.com/oxc-project/oxc/commit/c6bbf94) minifier: Constant fold unary expression ([#​5669](https://redirect.github.com/oxc-project/oxc/issues/5669)) (Boshen) ##### Bug Fixes - [`af6d240`](https://redirect.github.com/oxc-project/oxc/commit/af6d240) linter: Panic in consistent-function-scoping ([#​5613](https://redirect.github.com/oxc-project/oxc/issues/5613)) (DonIsaac) - [`54e2e76`](https://redirect.github.com/oxc-project/oxc/commit/54e2e76) linter: `react/no_set_state` + `react/no_string_refs` rules find correct parent ([#​5615](https://redirect.github.com/oxc-project/oxc/issues/5615)) (overlookmotel) - [`3b87ac4`](https://redirect.github.com/oxc-project/oxc/commit/3b87ac4) linter: Fix no_unused_vars panic when encountering unicode ([#​5582](https://redirect.github.com/oxc-project/oxc/issues/5582)) (Boshen) ##### Performance - [`bfe9186`](https://redirect.github.com/oxc-project/oxc/commit/bfe9186) linter: Use `cow_replace` instead of `replace` ([#​5643](https://redirect.github.com/oxc-project/oxc/issues/5643)) (dalaoshu) - [`e3ae5db`](https://redirect.github.com/oxc-project/oxc/commit/e3ae5db) linter: Use cow_to_ascii_lowercase/uppercase ([#​5637](https://redirect.github.com/oxc-project/oxc/issues/5637)) (heygsc) - [`a0370bf`](https://redirect.github.com/oxc-project/oxc/commit/a0370bf) linter: Use cow_utils in no_script_url ([#​5633](https://redirect.github.com/oxc-project/oxc/issues/5633)) (heygsc) - [`37e922c`](https://redirect.github.com/oxc-project/oxc/commit/37e922c) linter: `eslint/no_shadow_restricted_names` use `run_on_symbol` ([#​5618](https://redirect.github.com/oxc-project/oxc/issues/5618)) (overlookmotel) - [`0b7fccf`](https://redirect.github.com/oxc-project/oxc/commit/0b7fccf) linter: `react/no_set_state` + `react/no_string_refs` rules reduce iteration over ancestors ([#​5616](https://redirect.github.com/oxc-project/oxc/issues/5616)) (overlookmotel) - [`2c3f3fe`](https://redirect.github.com/oxc-project/oxc/commit/2c3f3fe) linter: Make `jsx_key` slightly faster ([#​5585](https://redirect.github.com/oxc-project/oxc/issues/5585)) (Boshen) - [`cd81d12`](https://redirect.github.com/oxc-project/oxc/commit/cd81d12) linter: Add `should_run` to check path only once to nextjs/no_typos ([#​5584](https://redirect.github.com/oxc-project/oxc/issues/5584)) (Boshen) - [`d18c896`](https://redirect.github.com/oxc-project/oxc/commit/d18c896) rust: Use `cow_utils` instead ([#​5664](https://redirect.github.com/oxc-project/oxc/issues/5664)) (dalaoshu) ##### Documentation - [`64f9575`](https://redirect.github.com/oxc-project/oxc/commit/64f9575) linter: Add plugin usage to example with configuration (Boshen) - [`8c9179d`](https://redirect.github.com/oxc-project/oxc/commit/8c9179d) linter: Fix typos ([#​5591](https://redirect.github.com/oxc-project/oxc/issues/5591)) (Brian Donovan) ##### Refactor - [`9e9435f`](https://redirect.github.com/oxc-project/oxc/commit/9e9435f) linter: Add `LintFilter` ([#​5685](https://redirect.github.com/oxc-project/oxc/issues/5685)) (DonIsaac) - [`4f70fe5`](https://redirect.github.com/oxc-project/oxc/commit/4f70fe5) linter: Start internal/external split of LintPluginOptions ([#​5660](https://redirect.github.com/oxc-project/oxc/issues/5660)) (DonIsaac) - [`5ae9b48`](https://redirect.github.com/oxc-project/oxc/commit/5ae9b48) linter: Start internal/external split of `OxlintOptions` ([#​5659](https://redirect.github.com/oxc-project/oxc/issues/5659)) (DonIsaac) - [`c8bc6f0`](https://redirect.github.com/oxc-project/oxc/commit/c8bc6f0) linter: Use `std::ptr::eq` ([#​5649](https://redirect.github.com/oxc-project/oxc/issues/5649)) (overlookmotel) - [`a37c064`](https://redirect.github.com/oxc-project/oxc/commit/a37c064) linter: Use `ContentHash` for `no_duplicate_case`; remove `calculate_hash` ([#​5648](https://redirect.github.com/oxc-project/oxc/issues/5648)) (Boshen) - [`0b3c1d7`](https://redirect.github.com/oxc-project/oxc/commit/0b3c1d7) linter: Start internal/external split of `OxlintConfig` ([#​5595](https://redirect.github.com/oxc-project/oxc/issues/5595)) (DonIsaac) - [`89bdf55`](https://redirect.github.com/oxc-project/oxc/commit/89bdf55) linter: Inline `Rule` trait default methods ([#​5619](https://redirect.github.com/oxc-project/oxc/issues/5619)) (overlookmotel) - [`afea8d5`](https://redirect.github.com/oxc-project/oxc/commit/afea8d5) linter: Rename `Rule` trait method params ([#​5617](https://redirect.github.com/oxc-project/oxc/issues/5617)) (overlookmotel) - [`4e748b5`](https://redirect.github.com/oxc-project/oxc/commit/4e748b5) linter: Replace ast "compare by hash" to "compare by content" ([#​5602](https://redirect.github.com/oxc-project/oxc/issues/5602)) (dalaoshu) - [`bac03e3`](https://redirect.github.com/oxc-project/oxc/commit/bac03e3) linter: Make fields of `LintServiceOptions` private ([#​5593](https://redirect.github.com/oxc-project/oxc/issues/5593)) (DonIsaac) - [`2661d8b`](https://redirect.github.com/oxc-project/oxc/commit/2661d8b) linter: Jest prefer_strict_equal ([#​5588](https://redirect.github.com/oxc-project/oxc/issues/5588)) (IWANABETHATGUY) - [`067f9b5`](https://redirect.github.com/oxc-project/oxc/commit/067f9b5) semantic: Introduce `IsGlobalReference` trait ([#​5672](https://redirect.github.com/oxc-project/oxc/issues/5672)) (Boshen)- [`26d9235`](https://redirect.github.com/oxc-project/oxc/commit/26d9235) Enable clippy::ref_as_ptr ([#​5577](https://redirect.github.com/oxc-project/oxc/issues/5577)) (夕舞八弦) ##### Testing - [`8e79f8d`](https://redirect.github.com/oxc-project/oxc/commit/8e79f8d) linter: Add class method test cases for `oxc/no-async-await` ([#​5550](https://redirect.github.com/oxc-project/oxc/issues/5550)) (DonIsaac) - [`3835189`](https://redirect.github.com/oxc-project/oxc/commit/3835189) linter: Add test case for no_unused_vars in [`3b87ac4`](https://redirect.github.com/oxc-project/oxc/commit/3b87ac4) (Boshen) - [`5f27551`](https://redirect.github.com/oxc-project/oxc/commit/5f27551) linter: Add a passing case to no_undef ([#​5580](https://redirect.github.com/oxc-project/oxc/issues/5580)) (Boshen) ### [`v0.9.4`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#094---2024-09-12) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.3...oxlint_v0.9.4) ##### Features - [`023c160`](https://redirect.github.com/oxc-project/oxc/commit/023c160) linter: Impl `Serialize` for `OxlintConfig` ([#​5594](https://redirect.github.com/oxc-project/oxc/issues/5594)) (DonIsaac) ### [`v0.9.3`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#093---2024-09-07) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.2...oxlint_v0.9.3) ##### Styling - [`694f032`](https://redirect.github.com/oxc-project/oxc/commit/694f032) Add trailing line breaks to `package.json` files ([#​5542](https://redirect.github.com/oxc-project/oxc/issues/5542)) (overlookmotel) </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:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
176 lines
7.6 KiB
JSON
176 lines
7.6 KiB
JSON
{
|
|
"name": "@affine/monorepo",
|
|
"version": "0.16.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",
|
|
"dev:electron": "yarn workspace @affine/electron dev",
|
|
"build": "yarn nx build @affine/web",
|
|
"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 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-test/kit": "workspace:*",
|
|
"@affine/cli": "workspace:*",
|
|
"@commitlint/cli": "^19.2.1",
|
|
"@commitlint/config-conventional": "^19.1.0",
|
|
"@faker-js/faker": "^9.0.0",
|
|
"@istanbuljs/schema": "^0.1.3",
|
|
"@magic-works/i18n-codegen": "^0.6.0",
|
|
"@nx/vite": "^19.5.3",
|
|
"@playwright/test": "=1.46.1",
|
|
"@taplo/cli": "^0.7.0",
|
|
"@testing-library/react": "^16.0.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",
|
|
"@vanilla-extract/webpack-plugin": "^2.3.7",
|
|
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
"@vitest/coverage-istanbul": "2.0.5",
|
|
"@vitest/ui": "2.0.5",
|
|
"cross-env": "^7.0.3",
|
|
"electron": "^31.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",
|
|
"eslint-plugin-vue": "^9.24.1",
|
|
"fake-indexeddb": "6.0.0",
|
|
"happy-dom": "^15.0.0",
|
|
"husky": "^9.0.11",
|
|
"lint-staged": "^15.2.2",
|
|
"msw": "^2.3.0",
|
|
"nanoid": "^5.0.7",
|
|
"nx": "^19.0.0",
|
|
"nyc": "^17.0.0",
|
|
"oxlint": "0.9.5",
|
|
"prettier": "^3.3.3",
|
|
"semver": "^7.6.0",
|
|
"serve": "^14.2.1",
|
|
"string-width": "^7.1.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.4.5",
|
|
"unplugin-swc": "^1.4.5",
|
|
"vite": "^5.2.8",
|
|
"vite-plugin-istanbul": "^6.0.0",
|
|
"vite-plugin-static-copy": "^1.0.2",
|
|
"vitest": "2.0.5",
|
|
"vitest-fetch-mock": "^0.3.0",
|
|
"vitest-mock-extended": "^2.0.0"
|
|
},
|
|
"packageManager": "yarn@4.4.1",
|
|
"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.4.0",
|
|
"macos-alias": "npm:@napi-rs/macos-alias@0.0.4",
|
|
"fs-xattr": "npm:@napi-rs/xattr@latest"
|
|
}
|
|
}
|