style: use typescript resolver for eslint import plugin (#9662)

This commit is contained in:
Brooooooklyn
2025-01-13 05:56:29 +00:00
parent 77fbcb1b9a
commit e72371d15c
38 changed files with 207 additions and 15 deletions
@@ -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"
+2 -1
View File
@@ -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",
+1
View File
@@ -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"
+2 -1
View File
@@ -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" },
+2 -1
View File
@@ -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",
+3
View File
@@ -48,5 +48,8 @@
"lit": "^3.2.0",
"zod": "^3.23.8"
},
"devDependencies": {
"vitest": "2.1.8"
},
"version": "0.19.0"
}
+3
View File
@@ -31,5 +31,8 @@
"yjs": "^13.6.21",
"zod": "^3.23.8"
},
"devDependencies": {
"vitest": "2.1.8"
},
"version": "0.19.0"
}
+2 -1
View File
@@ -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",
+3
View File
@@ -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';
+3
View File
@@ -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",
+1
View File
@@ -10,6 +10,7 @@
"references": [
{ "path": "../affine/components" },
{ "path": "../affine/model" },
{ "path": "../affine/shared" },
{ "path": "../framework/block-std" },
{ "path": "../blocks" },
{ "path": "../affine/data-view" },