mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 23:56:36 +08:00
style: use typescript resolver for eslint import plugin (#9662)
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@blocksuite/affine-block-embed": "workspace:*",
|
||||
"@blocksuite/affine-block-surface": "workspace:*",
|
||||
"@blocksuite/affine-components": "workspace:*",
|
||||
"@blocksuite/affine-model": "workspace:*",
|
||||
"@blocksuite/affine-shared": "workspace:*",
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"include": ["./src"],
|
||||
"references": [
|
||||
{ "path": "../block-embed" },
|
||||
{ "path": "../block-surface" },
|
||||
{ "path": "../components" },
|
||||
{ "path": "../model" },
|
||||
{ "path": "../shared" },
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"@blocksuite/block-std": "workspace:*",
|
||||
"@blocksuite/data-view": "workspace:*",
|
||||
"@blocksuite/global": "workspace:*",
|
||||
"@blocksuite/icons": "^2.2.1",
|
||||
"@blocksuite/inline": "workspace:*",
|
||||
"@blocksuite/store": "workspace:*",
|
||||
"@floating-ui/dom": "^1.6.10",
|
||||
|
||||
@@ -31,6 +31,9 @@
|
||||
"yjs": "^13.6.21",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vitest": "2.1.8"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./effects": "./src/effects.ts"
|
||||
|
||||
@@ -29,6 +29,9 @@
|
||||
"minimatch": "^10.0.1",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vitest": "2.1.8"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./effects": "./src/effects.ts"
|
||||
|
||||
@@ -31,7 +31,8 @@
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/lodash.chunk": "^4.2.9"
|
||||
"@types/lodash.chunk": "^4.2.9",
|
||||
"vitest": "2.1.8"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
"@blocksuite/global": "workspace:*",
|
||||
"@blocksuite/inline": "workspace:*",
|
||||
"@blocksuite/store": "workspace:*",
|
||||
"@toeverything/theme": "^1.1.3",
|
||||
"fractional-indexing": "^3.2.0",
|
||||
"yjs": "^13.6.21",
|
||||
"zod": "^3.23.8"
|
||||
|
||||
@@ -68,7 +68,8 @@
|
||||
],
|
||||
"devDependencies": {
|
||||
"@types/lodash.clonedeep": "^4.5.9",
|
||||
"@types/lodash.mergewith": "^4"
|
||||
"@types/lodash.mergewith": "^4",
|
||||
"vitest": "2.1.8"
|
||||
},
|
||||
"version": "0.19.0"
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"author": "toeverything",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@blocksuite/affine-components": "workspace:*",
|
||||
"@blocksuite/affine-model": "workspace:*",
|
||||
"@blocksuite/affine-shared": "workspace:*",
|
||||
"@blocksuite/block-std": "workspace:*",
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
},
|
||||
"include": ["./src"],
|
||||
"references": [
|
||||
{ "path": "../components" },
|
||||
{ "path": "../model" },
|
||||
{ "path": "../shared" },
|
||||
{ "path": "../../framework/block-std" },
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
"author": "toeverything",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@blocksuite/affine-block-surface": "workspace:*",
|
||||
"@blocksuite/affine-components": "workspace:*",
|
||||
"@blocksuite/affine-model": "workspace:*",
|
||||
"@blocksuite/affine-shared": "workspace:*",
|
||||
"@blocksuite/block-std": "workspace:*",
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
},
|
||||
"include": ["./src"],
|
||||
"references": [
|
||||
{ "path": "../block-surface" },
|
||||
{ "path": "../components" },
|
||||
{ "path": "../model" },
|
||||
{ "path": "../shared" },
|
||||
{ "path": "../../framework/block-std" },
|
||||
|
||||
@@ -80,6 +80,7 @@
|
||||
],
|
||||
"devDependencies": {
|
||||
"@types/katex": "^0.16.7",
|
||||
"@types/lodash.isequal": "^4.5.8"
|
||||
"@types/lodash.isequal": "^4.5.8",
|
||||
"vitest": "2.1.8"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,6 +31,9 @@
|
||||
"yjs": "^13.6.21",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vitest": "2.1.8"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./gfx": "./src/gfx/index.ts",
|
||||
|
||||
@@ -48,5 +48,8 @@
|
||||
"lit": "^3.2.0",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vitest": "2.1.8"
|
||||
},
|
||||
"version": "0.19.0"
|
||||
}
|
||||
|
||||
@@ -31,5 +31,8 @@
|
||||
"yjs": "^13.6.21",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vitest": "2.1.8"
|
||||
},
|
||||
"version": "0.19.0"
|
||||
}
|
||||
|
||||
@@ -32,7 +32,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/lodash.clonedeep": "^4.5.9",
|
||||
"@types/lodash.merge": "^4.6.9"
|
||||
"@types/lodash.merge": "^4.6.9",
|
||||
"vitest": "2.1.8"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
"idb-keyval": "^6.2.1",
|
||||
"y-protocols": "^1.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vitest": "2.1.8"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"yjs": "*"
|
||||
},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
||||
/* oxlint-disable @typescript-eslint/no-non-null-assertion */
|
||||
import type { AttachmentBlockModel } from '@blocksuite/affine-model';
|
||||
import { humanFileSize } from '@blocksuite/affine-shared/utils';
|
||||
import { getAttachmentFileIcons } from '@blocksuite/blocks';
|
||||
|
||||
@@ -11,10 +11,12 @@
|
||||
"dependencies": {
|
||||
"@blocksuite/affine-components": "workspace:*",
|
||||
"@blocksuite/affine-model": "workspace:*",
|
||||
"@blocksuite/affine-shared": "workspace:*",
|
||||
"@blocksuite/block-std": "workspace:*",
|
||||
"@blocksuite/blocks": "workspace:*",
|
||||
"@blocksuite/data-view": "workspace:*",
|
||||
"@blocksuite/global": "workspace:*",
|
||||
"@blocksuite/icons": "^2.2.1",
|
||||
"@blocksuite/inline": "workspace:*",
|
||||
"@blocksuite/presets": "workspace:*",
|
||||
"@blocksuite/store": "workspace:*",
|
||||
@@ -22,6 +24,7 @@
|
||||
"@preact/signals-core": "^1.8.0",
|
||||
"@shoelace-style/shoelace": "2.19.1",
|
||||
"@toeverything/pdf-viewer": "^0.1.1",
|
||||
"@toeverything/pdfium": "^0.1.1",
|
||||
"@toeverything/y-indexeddb": "0.10.0-canary.9",
|
||||
"@types/katex": "^0.16.7",
|
||||
"browser-fs-access": "^0.35.0",
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
"references": [
|
||||
{ "path": "../affine/components" },
|
||||
{ "path": "../affine/model" },
|
||||
{ "path": "../affine/shared" },
|
||||
{ "path": "../framework/block-std" },
|
||||
{ "path": "../blocks" },
|
||||
{ "path": "../affine/data-view" },
|
||||
|
||||
+42
-1
@@ -20,6 +20,11 @@ const ignoreList = readFileSync('.prettierignore', 'utf-8')
|
||||
.split('\n')
|
||||
.filter(line => line.trim() && !line.startsWith('#'));
|
||||
|
||||
// Omit `.d.ts` because 1) TypeScript compilation already confirms that
|
||||
// types are resolved, and 2) it would mask an unresolved
|
||||
// `.ts`/`.tsx`/`.js`/`.jsx` implementation.
|
||||
const typeScriptExtensions = ['.ts', '.tsx', '.cts', '.mts'];
|
||||
|
||||
export default tseslint.config(
|
||||
{
|
||||
ignores: ignoreList,
|
||||
@@ -29,6 +34,12 @@ export default tseslint.config(
|
||||
react: {
|
||||
version: 'detect',
|
||||
},
|
||||
'import-x/parsers': {
|
||||
'@typescript-eslint/parser': typeScriptExtensions,
|
||||
},
|
||||
'import-x/resolver': {
|
||||
typescript: true,
|
||||
},
|
||||
},
|
||||
languageOptions: {
|
||||
parser: tsParser,
|
||||
@@ -224,7 +235,10 @@ export default tseslint.config(
|
||||
'@typescript-eslint/require-array-sort-compare': 'error',
|
||||
'@typescript-eslint/no-misused-promises': ['error'],
|
||||
'@typescript-eslint/prefer-readonly': 'error',
|
||||
'import-x/no-extraneous-dependencies': ['error'],
|
||||
'import-x/no-extraneous-dependencies': [
|
||||
'error',
|
||||
{ includeInternal: true },
|
||||
],
|
||||
'react-hooks/exhaustive-deps': [
|
||||
'warn',
|
||||
{
|
||||
@@ -249,6 +263,33 @@ export default tseslint.config(
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['packages/frontend/admin/**/*'],
|
||||
rules: {
|
||||
'import-x/no-extraneous-dependencies': [
|
||||
'error',
|
||||
{ includeInternal: true, whitelist: ['@affine/admin'] },
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['packages/frontend/core/**/*'],
|
||||
rules: {
|
||||
'import-x/no-extraneous-dependencies': [
|
||||
'error',
|
||||
{ includeInternal: true, whitelist: ['@affine/core'] },
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['packages/frontend/component/**/*'],
|
||||
rules: {
|
||||
'import-x/no-extraneous-dependencies': [
|
||||
'error',
|
||||
{ includeInternal: true, whitelist: ['@affine/component'] },
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
files: [
|
||||
'**/__tests__/**/*',
|
||||
|
||||
@@ -71,6 +71,7 @@
|
||||
"electron": "^33.3.0",
|
||||
"eslint": "^9.16.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-import-resolver-typescript": "^3.7.0",
|
||||
"eslint-plugin-import-x": "^4.5.0",
|
||||
"eslint-plugin-react": "^7.37.2",
|
||||
"eslint-plugin-react-hooks": "^5.1.0",
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
"@capacitor/android": "^6.2.0",
|
||||
"@capacitor/core": "^6.2.0",
|
||||
"@sentry/react": "^8.44.0",
|
||||
"@toeverything/infra": "workspace:*",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0",
|
||||
"react-router-dom": "^6.28.0"
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
{ "path": "../../component" },
|
||||
{ "path": "../../core" },
|
||||
{ "path": "../../i18n" },
|
||||
{ "path": "../../../../blocksuite/affine/all" }
|
||||
{ "path": "../../../../blocksuite/affine/all" },
|
||||
{ "path": "../../../common/infra" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@emotion/react": "^11.14.0",
|
||||
"@sentry/react": "^8.44.0",
|
||||
"@toeverything/infra": "workspace:*",
|
||||
"@toeverything/theme": "^1.1.3",
|
||||
"@vanilla-extract/css": "^1.16.1",
|
||||
"next-themes": "^0.4.4",
|
||||
"react": "^19.0.0",
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
{ "path": "../../core" },
|
||||
{ "path": "../../electron-api" },
|
||||
{ "path": "../../i18n" },
|
||||
{ "path": "../../../common/infra" },
|
||||
{ "path": "../../../../tools/utils" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -14,7 +14,9 @@
|
||||
"@affine/component": "workspace:*",
|
||||
"@affine/core": "workspace:*",
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@affine/nbstore": "workspace:*",
|
||||
"@blocksuite/affine": "workspace:*",
|
||||
"@blocksuite/affine-components": "workspace:*",
|
||||
"@blocksuite/icons": "2.2.1",
|
||||
"@capacitor/app": "^6.0.2",
|
||||
"@capacitor/browser": "^6.0.4",
|
||||
|
||||
@@ -10,7 +10,9 @@
|
||||
{ "path": "../../component" },
|
||||
{ "path": "../../core" },
|
||||
{ "path": "../../i18n" },
|
||||
{ "path": "../../../common/nbstore" },
|
||||
{ "path": "../../../../blocksuite/affine/all" },
|
||||
{ "path": "../../../../blocksuite/affine/components" },
|
||||
{ "path": "../../../common/infra" },
|
||||
{ "path": "../../native" }
|
||||
]
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
"@blocksuite/affine": "workspace:*",
|
||||
"@blocksuite/icons": "2.2.1",
|
||||
"@sentry/react": "^8.44.0",
|
||||
"@toeverything/infra": "workspace:*",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0",
|
||||
"react-router-dom": "^6.28.0"
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
{ "path": "../../component" },
|
||||
{ "path": "../../core" },
|
||||
{ "path": "../../i18n" },
|
||||
{ "path": "../../../../blocksuite/affine/all" }
|
||||
{ "path": "../../../../blocksuite/affine/all" },
|
||||
{ "path": "../../../common/infra" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@emotion/react": "^11.14.0",
|
||||
"@sentry/react": "^8.44.0",
|
||||
"@toeverything/infra": "workspace:*",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0",
|
||||
"react-router-dom": "^6.28.0"
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
"references": [
|
||||
{ "path": "../../component" },
|
||||
{ "path": "../../core" },
|
||||
{ "path": "../../i18n" }
|
||||
{ "path": "../../i18n" },
|
||||
{ "path": "../../../common/infra" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@blocksuite/affine": "*",
|
||||
"@blocksuite/icons": "2.1.72",
|
||||
"@swc/core": "^1.0.0",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0"
|
||||
|
||||
@@ -17,7 +17,12 @@
|
||||
"@affine/templates": "workspace:*",
|
||||
"@affine/track": "workspace:*",
|
||||
"@blocksuite/affine": "workspace:*",
|
||||
"@blocksuite/affine-components": "workspace:*",
|
||||
"@blocksuite/affine-shared": "workspace:*",
|
||||
"@blocksuite/block-std": "workspace:*",
|
||||
"@blocksuite/global": "workspace:*",
|
||||
"@blocksuite/icons": "2.2.1",
|
||||
"@blocksuite/store": "workspace:*",
|
||||
"@capacitor/app": "^6.0.2",
|
||||
"@capacitor/browser": "^6.0.4",
|
||||
"@dotlottie/player-component": "^2.7.12",
|
||||
@@ -33,6 +38,7 @@
|
||||
"@radix-ui/react-scroll-area": "^1.2.2",
|
||||
"@radix-ui/react-toolbar": "^1.1.1",
|
||||
"@sentry/react": "^8.44.0",
|
||||
"@toeverything/infra": "workspace:*",
|
||||
"@toeverything/pdf-viewer": "^0.1.1",
|
||||
"@toeverything/theme": "^1.1.3",
|
||||
"@vanilla-extract/dynamic": "^2.1.2",
|
||||
|
||||
@@ -14,6 +14,12 @@
|
||||
{ "path": "../graphql" },
|
||||
{ "path": "../i18n" },
|
||||
{ "path": "../track" },
|
||||
{ "path": "../../../blocksuite/affine/all" }
|
||||
{ "path": "../../../blocksuite/affine/all" },
|
||||
{ "path": "../../../blocksuite/affine/components" },
|
||||
{ "path": "../../../blocksuite/affine/shared" },
|
||||
{ "path": "../../../blocksuite/framework/block-std" },
|
||||
{ "path": "../../../blocksuite/framework/global" },
|
||||
{ "path": "../../../blocksuite/framework/store" },
|
||||
{ "path": "../../common/infra" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@ export const PackageList = [
|
||||
name: '@blocksuite/affine-block-bookmark',
|
||||
workspaceDependencies: [
|
||||
'blocksuite/affine/block-embed',
|
||||
'blocksuite/affine/block-surface',
|
||||
'blocksuite/affine/components',
|
||||
'blocksuite/affine/model',
|
||||
'blocksuite/affine/shared',
|
||||
@@ -300,6 +301,7 @@ export const PackageList = [
|
||||
location: 'blocksuite/affine/widget-frame-title',
|
||||
name: '@blocksuite/affine-widget-frame-title',
|
||||
workspaceDependencies: [
|
||||
'blocksuite/affine/components',
|
||||
'blocksuite/affine/model',
|
||||
'blocksuite/affine/shared',
|
||||
'blocksuite/framework/block-std',
|
||||
@@ -310,6 +312,8 @@ export const PackageList = [
|
||||
location: 'blocksuite/affine/widget-remote-selection',
|
||||
name: '@blocksuite/affine-widget-remote-selection',
|
||||
workspaceDependencies: [
|
||||
'blocksuite/affine/block-surface',
|
||||
'blocksuite/affine/components',
|
||||
'blocksuite/affine/model',
|
||||
'blocksuite/affine/shared',
|
||||
'blocksuite/framework/block-std',
|
||||
@@ -399,6 +403,7 @@ export const PackageList = [
|
||||
workspaceDependencies: [
|
||||
'blocksuite/affine/components',
|
||||
'blocksuite/affine/model',
|
||||
'blocksuite/affine/shared',
|
||||
'blocksuite/framework/block-std',
|
||||
'blocksuite/blocks',
|
||||
'blocksuite/affine/data-view',
|
||||
@@ -500,6 +505,7 @@ export const PackageList = [
|
||||
'packages/frontend/core',
|
||||
'packages/frontend/i18n',
|
||||
'blocksuite/affine/all',
|
||||
'packages/common/infra',
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -521,6 +527,7 @@ export const PackageList = [
|
||||
'packages/frontend/core',
|
||||
'packages/frontend/electron-api',
|
||||
'packages/frontend/i18n',
|
||||
'packages/common/infra',
|
||||
'tools/utils',
|
||||
],
|
||||
},
|
||||
@@ -531,7 +538,9 @@ export const PackageList = [
|
||||
'packages/frontend/component',
|
||||
'packages/frontend/core',
|
||||
'packages/frontend/i18n',
|
||||
'packages/common/nbstore',
|
||||
'blocksuite/affine/all',
|
||||
'blocksuite/affine/components',
|
||||
'packages/common/infra',
|
||||
'packages/frontend/native',
|
||||
],
|
||||
@@ -544,6 +553,7 @@ export const PackageList = [
|
||||
'packages/frontend/core',
|
||||
'packages/frontend/i18n',
|
||||
'blocksuite/affine/all',
|
||||
'packages/common/infra',
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -553,6 +563,7 @@ export const PackageList = [
|
||||
'packages/frontend/component',
|
||||
'packages/frontend/core',
|
||||
'packages/frontend/i18n',
|
||||
'packages/common/infra',
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -579,6 +590,12 @@ export const PackageList = [
|
||||
'packages/frontend/templates',
|
||||
'packages/frontend/track',
|
||||
'blocksuite/affine/all',
|
||||
'blocksuite/affine/components',
|
||||
'blocksuite/affine/shared',
|
||||
'blocksuite/framework/block-std',
|
||||
'blocksuite/framework/global',
|
||||
'blocksuite/framework/store',
|
||||
'packages/common/infra',
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -227,6 +227,7 @@ __metadata:
|
||||
"@capacitor/cli": "npm:^6.2.0"
|
||||
"@capacitor/core": "npm:^6.2.0"
|
||||
"@sentry/react": "npm:^8.44.0"
|
||||
"@toeverything/infra": "workspace:*"
|
||||
"@types/react": "npm:^19.0.1"
|
||||
"@types/react-dom": "npm:^19.0.2"
|
||||
cross-env: "npm:^7.0.3"
|
||||
@@ -327,7 +328,6 @@ __metadata:
|
||||
zod: "npm:^3.24.1"
|
||||
peerDependencies:
|
||||
"@blocksuite/affine": "*"
|
||||
"@blocksuite/icons": 2.1.72
|
||||
"@swc/core": ^1.0.0
|
||||
react: ^19.0.0
|
||||
react-dom: ^19.0.0
|
||||
@@ -358,7 +358,12 @@ __metadata:
|
||||
"@affine/templates": "workspace:*"
|
||||
"@affine/track": "workspace:*"
|
||||
"@blocksuite/affine": "workspace:*"
|
||||
"@blocksuite/affine-components": "workspace:*"
|
||||
"@blocksuite/affine-shared": "workspace:*"
|
||||
"@blocksuite/block-std": "workspace:*"
|
||||
"@blocksuite/global": "workspace:*"
|
||||
"@blocksuite/icons": "npm:2.2.1"
|
||||
"@blocksuite/store": "workspace:*"
|
||||
"@capacitor/app": "npm:^6.0.2"
|
||||
"@capacitor/browser": "npm:^6.0.4"
|
||||
"@dotlottie/player-component": "npm:^2.7.12"
|
||||
@@ -377,6 +382,7 @@ __metadata:
|
||||
"@swc/core": "npm:^1.10.1"
|
||||
"@testing-library/dom": "npm:^10.4.0"
|
||||
"@testing-library/react": "npm:^16.1.0"
|
||||
"@toeverything/infra": "workspace:*"
|
||||
"@toeverything/pdf-viewer": "npm:^0.1.1"
|
||||
"@toeverything/theme": "npm:^1.1.3"
|
||||
"@types/animejs": "npm:^3.1.12"
|
||||
@@ -470,6 +476,8 @@ __metadata:
|
||||
"@affine/i18n": "workspace:*"
|
||||
"@emotion/react": "npm:^11.14.0"
|
||||
"@sentry/react": "npm:^8.44.0"
|
||||
"@toeverything/infra": "workspace:*"
|
||||
"@toeverything/theme": "npm:^1.1.3"
|
||||
"@types/react": "npm:^19.0.1"
|
||||
"@types/react-dom": "npm:^19.0.2"
|
||||
"@vanilla-extract/css": "npm:^1.16.1"
|
||||
@@ -594,7 +602,9 @@ __metadata:
|
||||
"@affine/core": "workspace:*"
|
||||
"@affine/i18n": "workspace:*"
|
||||
"@affine/native": "workspace:*"
|
||||
"@affine/nbstore": "workspace:*"
|
||||
"@blocksuite/affine": "workspace:*"
|
||||
"@blocksuite/affine-components": "workspace:*"
|
||||
"@blocksuite/icons": "npm:2.2.1"
|
||||
"@capacitor/app": "npm:^6.0.2"
|
||||
"@capacitor/browser": "npm:^6.0.4"
|
||||
@@ -627,6 +637,7 @@ __metadata:
|
||||
"@blocksuite/affine": "workspace:*"
|
||||
"@blocksuite/icons": "npm:2.2.1"
|
||||
"@sentry/react": "npm:^8.44.0"
|
||||
"@toeverything/infra": "workspace:*"
|
||||
"@types/react": "npm:^19.0.1"
|
||||
"@types/react-dom": "npm:^19.0.2"
|
||||
cross-env: "npm:^7.0.3"
|
||||
@@ -663,6 +674,7 @@ __metadata:
|
||||
electron: "npm:^33.3.0"
|
||||
eslint: "npm:^9.16.0"
|
||||
eslint-config-prettier: "npm:^9.1.0"
|
||||
eslint-import-resolver-typescript: "npm:^3.7.0"
|
||||
eslint-plugin-import-x: "npm:^4.5.0"
|
||||
eslint-plugin-react: "npm:^7.37.2"
|
||||
eslint-plugin-react-hooks: "npm:^5.1.0"
|
||||
@@ -878,6 +890,7 @@ __metadata:
|
||||
"@affine/i18n": "workspace:*"
|
||||
"@emotion/react": "npm:^11.14.0"
|
||||
"@sentry/react": "npm:^8.44.0"
|
||||
"@toeverything/infra": "workspace:*"
|
||||
"@types/react": "npm:^19.0.1"
|
||||
"@types/react-dom": "npm:^19.0.2"
|
||||
cross-env: "npm:^7.0.3"
|
||||
@@ -3286,6 +3299,7 @@ __metadata:
|
||||
resolution: "@blocksuite/affine-block-bookmark@workspace:blocksuite/affine/block-bookmark"
|
||||
dependencies:
|
||||
"@blocksuite/affine-block-embed": "workspace:*"
|
||||
"@blocksuite/affine-block-surface": "workspace:*"
|
||||
"@blocksuite/affine-components": "workspace:*"
|
||||
"@blocksuite/affine-model": "workspace:*"
|
||||
"@blocksuite/affine-shared": "workspace:*"
|
||||
@@ -3362,6 +3376,7 @@ __metadata:
|
||||
"@blocksuite/block-std": "workspace:*"
|
||||
"@blocksuite/data-view": "workspace:*"
|
||||
"@blocksuite/global": "workspace:*"
|
||||
"@blocksuite/icons": "npm:^2.2.1"
|
||||
"@blocksuite/inline": "workspace:*"
|
||||
"@blocksuite/store": "workspace:*"
|
||||
"@floating-ui/dom": "npm:^1.6.10"
|
||||
@@ -3441,6 +3456,7 @@ __metadata:
|
||||
"@toeverything/theme": "npm:^1.1.3"
|
||||
lit: "npm:^3.2.0"
|
||||
minimatch: "npm:^10.0.1"
|
||||
vitest: "npm:2.1.8"
|
||||
yjs: "npm:^13.6.21"
|
||||
zod: "npm:^3.23.8"
|
||||
languageName: unknown
|
||||
@@ -3535,6 +3551,7 @@ __metadata:
|
||||
"@types/mdast": "npm:^4.0.4"
|
||||
lit: "npm:^3.2.0"
|
||||
minimatch: "npm:^10.0.1"
|
||||
vitest: "npm:2.1.8"
|
||||
zod: "npm:^3.23.8"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -3628,6 +3645,7 @@ __metadata:
|
||||
lit: "npm:^3.2.0"
|
||||
lodash.chunk: "npm:^4.2.0"
|
||||
nanoid: "npm:^5.0.7"
|
||||
vitest: "npm:2.1.8"
|
||||
yjs: "npm:^13.6.21"
|
||||
zod: "npm:^3.23.8"
|
||||
languageName: unknown
|
||||
@@ -3674,6 +3692,7 @@ __metadata:
|
||||
"@blocksuite/global": "workspace:*"
|
||||
"@blocksuite/inline": "workspace:*"
|
||||
"@blocksuite/store": "workspace:*"
|
||||
"@toeverything/theme": "npm:^1.1.3"
|
||||
fractional-indexing: "npm:^3.2.0"
|
||||
yjs: "npm:^13.6.21"
|
||||
zod: "npm:^3.23.8"
|
||||
@@ -3717,6 +3736,7 @@ __metadata:
|
||||
remark-parse: "npm:^11.0.0"
|
||||
remark-stringify: "npm:^11.0.0"
|
||||
unified: "npm:^11.0.5"
|
||||
vitest: "npm:2.1.8"
|
||||
yjs: "npm:^13.6.21"
|
||||
zod: "npm:^3.23.8"
|
||||
languageName: unknown
|
||||
@@ -3752,6 +3772,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@blocksuite/affine-widget-frame-title@workspace:blocksuite/affine/widget-frame-title"
|
||||
dependencies:
|
||||
"@blocksuite/affine-components": "workspace:*"
|
||||
"@blocksuite/affine-model": "workspace:*"
|
||||
"@blocksuite/affine-shared": "workspace:*"
|
||||
"@blocksuite/block-std": "workspace:*"
|
||||
@@ -3767,6 +3788,8 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@blocksuite/affine-widget-remote-selection@workspace:blocksuite/affine/widget-remote-selection"
|
||||
dependencies:
|
||||
"@blocksuite/affine-block-surface": "workspace:*"
|
||||
"@blocksuite/affine-components": "workspace:*"
|
||||
"@blocksuite/affine-model": "workspace:*"
|
||||
"@blocksuite/affine-shared": "workspace:*"
|
||||
"@blocksuite/block-std": "workspace:*"
|
||||
@@ -3822,6 +3845,7 @@ __metadata:
|
||||
lz-string: "npm:^1.5.0"
|
||||
rehype-parse: "npm:^9.0.0"
|
||||
unified: "npm:^11.0.5"
|
||||
vitest: "npm:2.1.8"
|
||||
w3c-keyname: "npm:^2.2.8"
|
||||
yjs: "npm:^13.6.21"
|
||||
zod: "npm:^3.23.8"
|
||||
@@ -3882,6 +3906,7 @@ __metadata:
|
||||
pdf-lib: "npm:^1.17.1"
|
||||
shiki: "npm:^1.14.1"
|
||||
simple-xml-to-json: "npm:^1.2.2"
|
||||
vitest: "npm:2.1.8"
|
||||
yjs: "npm:^13.6.21"
|
||||
zod: "npm:^3.23.8"
|
||||
languageName: unknown
|
||||
@@ -3916,6 +3941,7 @@ __metadata:
|
||||
"@preact/signals-core": "npm:^1.8.0"
|
||||
lib0: "npm:^0.2.97"
|
||||
lit: "npm:^3.2.0"
|
||||
vitest: "npm:2.1.8"
|
||||
zod: "npm:^3.23.8"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -3943,6 +3969,7 @@ __metadata:
|
||||
"@blocksuite/global": "workspace:*"
|
||||
"@preact/signals-core": "npm:^1.8.0"
|
||||
lit: "npm:^3.2.0"
|
||||
vitest: "npm:2.1.8"
|
||||
yjs: "npm:^13.6.21"
|
||||
zod: "npm:^3.23.8"
|
||||
languageName: unknown
|
||||
@@ -3969,10 +3996,12 @@ __metadata:
|
||||
dependencies:
|
||||
"@blocksuite/affine-components": "workspace:*"
|
||||
"@blocksuite/affine-model": "workspace:*"
|
||||
"@blocksuite/affine-shared": "workspace:*"
|
||||
"@blocksuite/block-std": "workspace:*"
|
||||
"@blocksuite/blocks": "workspace:*"
|
||||
"@blocksuite/data-view": "workspace:*"
|
||||
"@blocksuite/global": "workspace:*"
|
||||
"@blocksuite/icons": "npm:^2.2.1"
|
||||
"@blocksuite/inline": "workspace:*"
|
||||
"@blocksuite/presets": "workspace:*"
|
||||
"@blocksuite/store": "workspace:*"
|
||||
@@ -3980,6 +4009,7 @@ __metadata:
|
||||
"@preact/signals-core": "npm:^1.8.0"
|
||||
"@shoelace-style/shoelace": "npm:2.19.1"
|
||||
"@toeverything/pdf-viewer": "npm:^0.1.1"
|
||||
"@toeverything/pdfium": "npm:^0.1.1"
|
||||
"@toeverything/y-indexeddb": "npm:0.10.0-canary.9"
|
||||
"@tweakpane/core": "npm:^2.0.4"
|
||||
"@types/katex": "npm:^0.16.7"
|
||||
@@ -4043,6 +4073,7 @@ __metadata:
|
||||
lodash.merge: "npm:^4.6.2"
|
||||
minimatch: "npm:^10.0.1"
|
||||
nanoid: "npm:^5.0.7"
|
||||
vitest: "npm:2.1.8"
|
||||
y-protocols: "npm:^1.0.6"
|
||||
yjs: "npm:^13.6.21"
|
||||
zod: "npm:^3.23.8"
|
||||
@@ -4056,6 +4087,7 @@ __metadata:
|
||||
"@blocksuite/global": "workspace:*"
|
||||
idb: "npm:^8.0.0"
|
||||
idb-keyval: "npm:^6.2.1"
|
||||
vitest: "npm:2.1.8"
|
||||
y-protocols: "npm:^1.0.6"
|
||||
peerDependencies:
|
||||
yjs: "*"
|
||||
@@ -9338,6 +9370,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nolyfill/is-core-module@npm:1.0.39":
|
||||
version: 1.0.39
|
||||
resolution: "@nolyfill/is-core-module@npm:1.0.39"
|
||||
checksum: 10/0d6e098b871eca71d875651288e1f0fa770a63478b0b50479c99dc760c64175a56b5b04f58d5581bbcc6b552b8191ab415eada093d8df9597ab3423c8cac1815
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nolyfill/shared@npm:1.0.21":
|
||||
version: 1.0.21
|
||||
resolution: "@nolyfill/shared@npm:1.0.21"
|
||||
@@ -13995,7 +14034,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@toeverything/pdfium@npm:0.1.1":
|
||||
"@toeverything/pdfium@npm:0.1.1, @toeverything/pdfium@npm:^0.1.1":
|
||||
version: 0.1.1
|
||||
resolution: "@toeverything/pdfium@npm:0.1.1"
|
||||
checksum: 10/3d832eaef3ea4aba142561ed8529e216ed739026e7680e5d4fcd05d56fdd458a06273d6b18f1dbc0af9edcc538fa6fd0246757ebb4957a048a8d69bbf579549a
|
||||
@@ -20201,7 +20240,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"enhanced-resolve@npm:^5.17.1":
|
||||
"enhanced-resolve@npm:^5.15.0, enhanced-resolve@npm:^5.17.1":
|
||||
version: 5.18.0
|
||||
resolution: "enhanced-resolve@npm:5.18.0"
|
||||
dependencies:
|
||||
@@ -20728,6 +20767,31 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-import-resolver-typescript@npm:^3.7.0":
|
||||
version: 3.7.0
|
||||
resolution: "eslint-import-resolver-typescript@npm:3.7.0"
|
||||
dependencies:
|
||||
"@nolyfill/is-core-module": "npm:1.0.39"
|
||||
debug: "npm:^4.3.7"
|
||||
enhanced-resolve: "npm:^5.15.0"
|
||||
fast-glob: "npm:^3.3.2"
|
||||
get-tsconfig: "npm:^4.7.5"
|
||||
is-bun-module: "npm:^1.0.2"
|
||||
is-glob: "npm:^4.0.3"
|
||||
stable-hash: "npm:^0.0.4"
|
||||
peerDependencies:
|
||||
eslint: "*"
|
||||
eslint-plugin-import: "*"
|
||||
eslint-plugin-import-x: "*"
|
||||
peerDependenciesMeta:
|
||||
eslint-plugin-import:
|
||||
optional: true
|
||||
eslint-plugin-import-x:
|
||||
optional: true
|
||||
checksum: 10/8158730c11e562c56ed9bf7236dc75bce35b6992dc32c39ac2f4177ab77fca97b95999850204a6458054243607b54aee88c028a61fed4184f24f425fa1afff01
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-plugin-import-x@npm:^4.5.0":
|
||||
version: 4.6.1
|
||||
resolution: "eslint-plugin-import-x@npm:4.6.1"
|
||||
@@ -22343,7 +22407,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"get-tsconfig@npm:^4.7.3":
|
||||
"get-tsconfig@npm:^4.7.3, get-tsconfig@npm:^4.7.5":
|
||||
version: 4.8.1
|
||||
resolution: "get-tsconfig@npm:4.8.1"
|
||||
dependencies:
|
||||
@@ -23834,6 +23898,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-bun-module@npm:^1.0.2":
|
||||
version: 1.3.0
|
||||
resolution: "is-bun-module@npm:1.3.0"
|
||||
dependencies:
|
||||
semver: "npm:^7.6.3"
|
||||
checksum: 10/b23d9ec7b4d4bfd89e4e72b5cd52e1bc153facad59fdd7394c656f8859a78740ef35996a2066240a32f39cc9a9da4b4eb69e68df3c71755a61ebbaf56d3daef0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-callable@npm:^1.2.7":
|
||||
version: 1.2.7
|
||||
resolution: "is-callable@npm:1.2.7"
|
||||
|
||||
Reference in New Issue
Block a user