mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 10:42:00 +03:00
refactor: remove unused deps (#8259)
auto removed by https://knip.dev/features/auto-fix
This commit is contained in:
parent
58025729b0
commit
ed63602f01
19
package.json
19
package.json
@ -53,17 +53,12 @@
|
||||
]
|
||||
},
|
||||
"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.47.0",
|
||||
"@taplo/cli": "^0.7.0",
|
||||
"@testing-library/react": "^16.0.0",
|
||||
"@toeverything/infra": "workspace:*",
|
||||
"@types/affine__env": "workspace:*",
|
||||
"@types/eslint": "^9.0.0",
|
||||
@ -71,8 +66,6 @@
|
||||
"@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.1.0",
|
||||
"@vitest/ui": "2.1.0",
|
||||
"cross-env": "^7.0.3",
|
||||
@ -87,29 +80,19 @@
|
||||
"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.1.0",
|
||||
"vitest-fetch-mock": "^0.3.0",
|
||||
"vitest-mock-extended": "^2.0.0"
|
||||
"vitest": "2.1.0"
|
||||
},
|
||||
"packageManager": "yarn@4.4.1",
|
||||
"resolutions": {
|
||||
|
@ -25,7 +25,6 @@
|
||||
"@google-cloud/opentelemetry-cloud-monitoring-exporter": "^0.19.0",
|
||||
"@google-cloud/opentelemetry-cloud-trace-exporter": "^2.2.0",
|
||||
"@google-cloud/opentelemetry-resource-util": "^2.2.0",
|
||||
"@keyv/redis": "^3.0.0",
|
||||
"@nestjs/apollo": "^12.1.0",
|
||||
"@nestjs/common": "^10.3.7",
|
||||
"@nestjs/core": "^10.3.7",
|
||||
@ -38,7 +37,6 @@
|
||||
"@nestjs/websockets": "^10.3.7",
|
||||
"@node-rs/argon2": "^1.8.0",
|
||||
"@node-rs/crc32": "^1.10.0",
|
||||
"@node-rs/jsonwebtoken": "^0.5.2",
|
||||
"@opentelemetry/api": "^1.9.0",
|
||||
"@opentelemetry/core": "^1.25.0",
|
||||
"@opentelemetry/exporter-prometheus": "^0.53.0",
|
||||
@ -60,13 +58,11 @@
|
||||
"@socket.io/redis-adapter": "^8.3.0",
|
||||
"cookie-parser": "^1.4.6",
|
||||
"dotenv": "^16.4.5",
|
||||
"dotenv-cli": "^7.4.1",
|
||||
"express": "^4.19.2",
|
||||
"fast-xml-parser": "^4.4.0",
|
||||
"get-stream": "^9.0.1",
|
||||
"graphql": "^16.8.1",
|
||||
"graphql-scalars": "^1.23.0",
|
||||
"graphql-type-json": "^0.3.2",
|
||||
"graphql-upload": "^16.0.2",
|
||||
"html-validate": "^8.20.1",
|
||||
"ioredis": "^5.3.2",
|
||||
@ -81,30 +77,23 @@
|
||||
"nodemailer": "^6.9.13",
|
||||
"on-headers": "^1.0.2",
|
||||
"openai": "^4.33.0",
|
||||
"parse-duration": "^1.1.0",
|
||||
"piscina": "^4.5.1",
|
||||
"pretty-time": "^1.1.0",
|
||||
"prisma": "^5.12.1",
|
||||
"prom-client": "^15.1.1",
|
||||
"reflect-metadata": "^0.2.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"semver": "^7.6.0",
|
||||
"ses": "^1.4.1",
|
||||
"socket.io": "^4.7.5",
|
||||
"stripe": "^16.0.0",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.4.5",
|
||||
"ws": "^8.16.0",
|
||||
"yjs": "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@affine/server-native": "workspace:*",
|
||||
"@napi-rs/image": "^1.9.1",
|
||||
"@nestjs/testing": "^10.3.7",
|
||||
"@types/cookie-parser": "^1.4.7",
|
||||
"@types/engine.io": "^3.1.10",
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/graphql-upload": "^16.0.7",
|
||||
"@types/keyv": "^4.2.0",
|
||||
@ -114,10 +103,8 @@
|
||||
"@types/node": "^20.12.7",
|
||||
"@types/nodemailer": "^6.4.14",
|
||||
"@types/on-headers": "^1.0.3",
|
||||
"@types/pretty-time": "^1.1.5",
|
||||
"@types/sinon": "^17.0.3",
|
||||
"@types/supertest": "^6.0.2",
|
||||
"@types/ws": "^8.5.10",
|
||||
"ava": "^6.1.2",
|
||||
"c8": "^10.0.0",
|
||||
"nodemon": "^3.1.0",
|
||||
|
3
packages/common/env/package.json
vendored
3
packages/common/env/package.json
vendored
@ -5,8 +5,6 @@
|
||||
"devDependencies": {
|
||||
"@blocksuite/global": "0.17.10",
|
||||
"@blocksuite/store": "0.17.10",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"vitest": "2.1.0"
|
||||
},
|
||||
"exports": {
|
||||
@ -23,7 +21,6 @@
|
||||
"@blocksuite/global": "0.11.0-nightly-202401020419-752a5b8"
|
||||
},
|
||||
"dependencies": {
|
||||
"lit": "^3.1.2",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"version": "0.16.0"
|
||||
|
@ -34,15 +34,11 @@
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine/templates": "workspace:*",
|
||||
"@blocksuite/block-std": "0.17.10",
|
||||
"@blocksuite/presets": "0.17.10",
|
||||
"@testing-library/react": "^16.0.0",
|
||||
"async-call-rpc": "^6.4.0",
|
||||
"fake-indexeddb": "^6.0.0",
|
||||
"react": "^18.2.0",
|
||||
"rxjs": "^7.8.1",
|
||||
"vite": "^5.2.8",
|
||||
"vite-plugin-dts": "4.2.1",
|
||||
"vitest": "2.1.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -5,7 +5,6 @@
|
||||
"dependencies": {
|
||||
"@affine/core": "workspace:*",
|
||||
"@affine/graphql": "workspace:*",
|
||||
"@hookform/resolvers": "^3.6.0",
|
||||
"@radix-ui/react-accordion": "^1.2.0",
|
||||
"@radix-ui/react-alert-dialog": "^1.1.1",
|
||||
"@radix-ui/react-aspect-ratio": "^1.1.0",
|
||||
@ -36,7 +35,6 @@
|
||||
"@sentry/react": "^8.9.0",
|
||||
"@tanstack/react-table": "^8.19.3",
|
||||
"cmdk": "^1.0.0",
|
||||
"date-fns": "^3.6.0",
|
||||
"embla-carousel-react": "^8.1.5",
|
||||
"input-otp": "^1.2.4",
|
||||
"lucide-react": "^0.441.0",
|
||||
|
@ -26,13 +26,9 @@
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@affine/component": "workspace:*",
|
||||
"@affine/core": "workspace:*",
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@affine/native": "workspace:*",
|
||||
"@blocksuite/block-std": "0.17.10",
|
||||
"@blocksuite/blocks": "0.17.10",
|
||||
"@blocksuite/presets": "0.17.10",
|
||||
"@blocksuite/store": "0.17.10",
|
||||
"@blocksuite/global": "0.17.10",
|
||||
"@electron-forge/cli": "^7.3.0",
|
||||
"@electron-forge/core": "^7.3.0",
|
||||
"@electron-forge/core-utils": "^7.3.0",
|
||||
@ -59,7 +55,6 @@
|
||||
"esbuild": "^0.23.0",
|
||||
"fs-extra": "^11.2.0",
|
||||
"glob": "^11.0.0",
|
||||
"jotai": "^2.8.0",
|
||||
"lodash-es": "^4.17.21",
|
||||
"nanoid": "^5.0.7",
|
||||
"react": "^18.2.0",
|
||||
@ -69,10 +64,8 @@
|
||||
"semver": "^7.6.0",
|
||||
"tree-kill": "^1.2.2",
|
||||
"ts-node": "^10.9.2",
|
||||
"undici": "^6.12.0",
|
||||
"uuid": "^10.0.0",
|
||||
"vitest": "2.1.0",
|
||||
"which": "^4.0.0",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -35,7 +35,7 @@ export const showTabContextMenu = async (tabId: string, viewIndex: number) => {
|
||||
{
|
||||
label: 'Refresh tab',
|
||||
click: () => {
|
||||
reloadView().catch(logger.error);
|
||||
reloadView().catch(err => logger.error(err));
|
||||
},
|
||||
},
|
||||
{
|
||||
@ -45,7 +45,7 @@ export const showTabContextMenu = async (tabId: string, viewIndex: number) => {
|
||||
basename: tabMeta.basename,
|
||||
view: tabMeta.views,
|
||||
show: false,
|
||||
}).catch(logger.error);
|
||||
}).catch(err => logger.error(err));
|
||||
},
|
||||
},
|
||||
|
||||
@ -71,7 +71,7 @@ export const showTabContextMenu = async (tabId: string, viewIndex: number) => {
|
||||
{
|
||||
label: 'Close tab',
|
||||
click: () => {
|
||||
closeTab(tabId).catch(logger.error);
|
||||
closeTab(tabId).catch(err => logger.error(err));
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -359,7 +359,7 @@ export class WebContentViewsManager {
|
||||
return;
|
||||
}
|
||||
|
||||
this.showTab(activeWorkbenchKey).catch(logger.error);
|
||||
this.showTab(activeWorkbenchKey).catch(error => logger.error(error));
|
||||
|
||||
this.patchTabViewsMeta({
|
||||
workbenches,
|
||||
@ -470,7 +470,7 @@ export class WebContentViewsManager {
|
||||
url.hash = viewMeta.path?.hash ?? '';
|
||||
url.search = viewMeta.path?.search ?? '';
|
||||
logger.info(`loading tab ${id} at ${url.href}`);
|
||||
view.webContents.loadURL(url.href).catch(logger.error);
|
||||
view.webContents.loadURL(url.href).catch(err => logger.error(err));
|
||||
}
|
||||
return view;
|
||||
};
|
||||
@ -593,7 +593,7 @@ export class WebContentViewsManager {
|
||||
this.updateWorkbenchMeta(tabId, {
|
||||
views: tabMeta.views.toSpliced(viewIndex, 1),
|
||||
});
|
||||
addTab(newTabMeta).catch(logger.error);
|
||||
addTab(newTabMeta).catch(err => logger.error(err));
|
||||
};
|
||||
|
||||
openInSplitView = (payload: OpenInSplitViewAction['payload']) => {
|
||||
@ -668,7 +668,9 @@ export class WebContentViewsManager {
|
||||
this.mainWindow?.contentView.addChildView(view, idx);
|
||||
});
|
||||
|
||||
handleWebContentsResize(activeView?.webContents).catch(logger.error);
|
||||
handleWebContentsResize(activeView?.webContents).catch(err =>
|
||||
logger.error(err)
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
@ -680,7 +682,7 @@ export class WebContentViewsManager {
|
||||
const disposables: Unsubscribable[] = [];
|
||||
disposables.push(
|
||||
windowReadyToShow$.subscribe(w => {
|
||||
handleWebContentsResize().catch(logger.error);
|
||||
handleWebContentsResize().catch(err => logger.error(err));
|
||||
const screenSizeChangeEvents = ['resize', 'maximize', 'unmaximize'];
|
||||
const onResize = () => {
|
||||
if (this.activeWorkbenchView) {
|
||||
@ -695,7 +697,7 @@ export class WebContentViewsManager {
|
||||
});
|
||||
|
||||
// add shell view
|
||||
this.createAndAddView('shell').catch(logger.error);
|
||||
this.createAndAddView('shell').catch(err => logger.error(err));
|
||||
(async () => {
|
||||
const updateCookies = () => {
|
||||
session.defaultSession.cookies
|
||||
@ -721,7 +723,7 @@ export class WebContentViewsManager {
|
||||
const defaultTabId = this.activeWorkbenchId;
|
||||
if (defaultTabId) await this.showTab(defaultTabId);
|
||||
}
|
||||
})().catch(logger.error);
|
||||
})().catch(err => logger.error(err));
|
||||
})
|
||||
);
|
||||
|
||||
@ -813,7 +815,7 @@ export class WebContentViewsManager {
|
||||
});
|
||||
});
|
||||
|
||||
view.webContents.loadURL(shellViewUrl).catch(logger.error);
|
||||
view.webContents.loadURL(shellViewUrl).catch(err => logger.error(err));
|
||||
if (isDev) {
|
||||
view.webContents.openDevTools({
|
||||
mode: 'detach',
|
||||
@ -1032,7 +1034,9 @@ export const switchTab = (n: number) => {
|
||||
n === 9 ? -1 : n - 1
|
||||
);
|
||||
if (item) {
|
||||
WebContentViewsManager.instance.showTab(item.id).catch(logger.error);
|
||||
WebContentViewsManager.instance
|
||||
.showTab(item.id)
|
||||
.catch(err => logger.error(err));
|
||||
}
|
||||
};
|
||||
|
||||
@ -1044,7 +1048,9 @@ export const switchToNextTab = () => {
|
||||
activeIndex === length - 1 ? 0 : activeIndex + 1
|
||||
);
|
||||
if (item) {
|
||||
WebContentViewsManager.instance.showTab(item.id).catch(logger.error);
|
||||
WebContentViewsManager.instance
|
||||
.showTab(item.id)
|
||||
.catch(err => logger.error(err));
|
||||
}
|
||||
};
|
||||
|
||||
@ -1056,6 +1062,8 @@ export const switchToPreviousTab = () => {
|
||||
activeIndex === 0 ? length - 1 : activeIndex - 1
|
||||
);
|
||||
if (item) {
|
||||
WebContentViewsManager.instance.showTab(item.id).catch(logger.error);
|
||||
WebContentViewsManager.instance
|
||||
.showTab(item.id)
|
||||
.catch(err => logger.error(err));
|
||||
}
|
||||
};
|
||||
|
@ -12,32 +12,17 @@
|
||||
"dependencies": {
|
||||
"@affine/component": "workspace:*",
|
||||
"@affine/core": "workspace:*",
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/graphql": "workspace:*",
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@affine/track": "workspace:*",
|
||||
"@blocksuite/blocks": "0.17.10",
|
||||
"@blocksuite/icons": "^2.1.66",
|
||||
"@radix-ui/react-collapsible": "^1.0.3",
|
||||
"@blocksuite/icons": "^2.1.67",
|
||||
"@sentry/react": "^8.0.0",
|
||||
"@toeverything/theme": "^1.0.9",
|
||||
"clsx": "^2.1.1",
|
||||
"jotai": "^2.9.3",
|
||||
"jotai-effect": "^1.0.2",
|
||||
"jotai-scope": "^0.7.2",
|
||||
"lodash-es": "^4.17.21",
|
||||
"next-themes": "^0.3.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-router-dom": "^6.26.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine/cli": "workspace:*",
|
||||
"@types/lodash-es": "^4.17.12",
|
||||
"@types/react": "^18.2.75",
|
||||
"@types/react-dom": "^18.2.24",
|
||||
"@vanilla-extract/css": "^1.15.5",
|
||||
"@vanilla-extract/dynamic": "^2.1.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"typescript": "^5.4.5"
|
||||
}
|
||||
|
@ -12,18 +12,14 @@
|
||||
"dependencies": {
|
||||
"@affine/component": "workspace:*",
|
||||
"@affine/core": "workspace:*",
|
||||
"@affine/electron-api": "workspace:*",
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@emotion/react": "^11.11.4",
|
||||
"@sentry/react": "^8.0.0",
|
||||
"jotai": "^2.8.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-router-dom": "^6.22.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine/cli": "workspace:*",
|
||||
"@types/react": "^18.2.75",
|
||||
"@types/react-dom": "^18.2.24",
|
||||
"cross-env": "^7.0.3",
|
||||
|
@ -15,7 +15,7 @@
|
||||
"peerDependencies": {
|
||||
"@blocksuite/blocks": "*",
|
||||
"@blocksuite/global": "*",
|
||||
"@blocksuite/icons": "2.1.66",
|
||||
"@blocksuite/icons": "2.1.67",
|
||||
"@blocksuite/presets": "*",
|
||||
"@blocksuite/store": "*"
|
||||
},
|
||||
@ -27,17 +27,9 @@
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@atlaskit/pragmatic-drag-and-drop": "^1.2.1",
|
||||
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.3",
|
||||
"@dnd-kit/core": "^6.1.0",
|
||||
"@dnd-kit/modifiers": "^7.0.0",
|
||||
"@dnd-kit/sortable": "^8.0.0",
|
||||
"@emotion/cache": "^11.11.0",
|
||||
"@emotion/react": "^11.11.4",
|
||||
"@emotion/server": "^11.11.0",
|
||||
"@emotion/styled": "^11.11.5",
|
||||
"@lit/react": "^1.0.4",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
"@radix-ui/react-avatar": "^1.0.4",
|
||||
"@radix-ui/react-collapsible": "^1.0.3",
|
||||
"@radix-ui/react-dialog": "^1.1.1",
|
||||
"@radix-ui/react-dropdown-menu": "^2.1.1",
|
||||
"@radix-ui/react-popover": "^1.0.7",
|
||||
@ -47,19 +39,14 @@
|
||||
"@radix-ui/react-slot": "^1.1.0",
|
||||
"@radix-ui/react-tabs": "^1.1.0",
|
||||
"@radix-ui/react-toast": "^1.1.5",
|
||||
"@radix-ui/react-toolbar": "^1.0.4",
|
||||
"@radix-ui/react-tooltip": "^1.0.7",
|
||||
"@radix-ui/react-visually-hidden": "^1.1.0",
|
||||
"@toeverything/theme": "^1.0.9",
|
||||
"@vanilla-extract/dynamic": "^2.1.0",
|
||||
"bytes": "^3.1.2",
|
||||
"check-password-strength": "^2.0.10",
|
||||
"clsx": "^2.1.0",
|
||||
"dayjs": "^1.11.10",
|
||||
"foxact": "^0.2.33",
|
||||
"jotai": "^2.8.0",
|
||||
"jotai-effect": "^1.0.0",
|
||||
"jotai-scope": "^0.7.0",
|
||||
"lit": "^3.1.2",
|
||||
"lodash-es": "^4.17.21",
|
||||
"lottie-react": "^2.4.0",
|
||||
@ -68,42 +55,27 @@
|
||||
"next-themes": "^0.3.0",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"react-error-boundary": "^4.0.13",
|
||||
"react-is": "^18.2.0",
|
||||
"react-paginate": "^8.2.0",
|
||||
"react-router-dom": "^6.22.3",
|
||||
"react-transition-state": "^2.1.1",
|
||||
"react-virtuoso": "^4.7.8",
|
||||
"rxjs": "^7.8.1",
|
||||
"sonner": "^1.4.41",
|
||||
"swr": "^2.2.5",
|
||||
"uuid": "^10.0.0",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/block-std": "0.17.10",
|
||||
"@blocksuite/blocks": "0.17.10",
|
||||
"@blocksuite/global": "0.17.10",
|
||||
"@blocksuite/icons": "2.1.67",
|
||||
"@blocksuite/presets": "0.17.10",
|
||||
"@blocksuite/store": "0.17.10",
|
||||
"@chromatic-com/storybook": "^2.0.0",
|
||||
"@storybook/addon-actions": "^8.2.9",
|
||||
"@storybook/addon-essentials": "^8.2.9",
|
||||
"@storybook/addon-interactions": "^8.2.9",
|
||||
"@storybook/addon-links": "^8.2.9",
|
||||
"@storybook/addon-mdx-gfm": "^8.2.9",
|
||||
"@storybook/addon-storysource": "^8.2.9",
|
||||
"@storybook/blocks": "^8.2.9",
|
||||
"@storybook/react": "^8.2.9",
|
||||
"@storybook/react-vite": "^8.2.9",
|
||||
"@testing-library/react": "^16.0.0",
|
||||
"@types/bytes": "^3.1.4",
|
||||
"@types/react": "^18.2.75",
|
||||
"@types/react-dnd": "^3.0.2",
|
||||
"@types/react-dom": "^18.2.24",
|
||||
"@vanilla-extract/css": "^1.14.2",
|
||||
"fake-indexeddb": "^6.0.0",
|
||||
"storybook": "^8.2.9",
|
||||
"typescript": "^5.4.5",
|
||||
"unplugin-swc": "^1.5.1",
|
||||
|
@ -8,7 +8,6 @@
|
||||
"./bootstrap": "./src/bootstrap/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine/component": "workspace:*",
|
||||
"@affine/debug": "workspace:*",
|
||||
"@affine/electron-api": "workspace:*",
|
||||
@ -27,12 +26,9 @@
|
||||
"@dnd-kit/core": "^6.1.0",
|
||||
"@dnd-kit/modifiers": "^7.0.0",
|
||||
"@dnd-kit/sortable": "^8.0.0",
|
||||
"@dnd-kit/utilities": "^3.2.2",
|
||||
"@dotlottie/player-component": "^2.7.12",
|
||||
"@emotion/cache": "^11.11.0",
|
||||
"@emotion/react": "^11.11.4",
|
||||
"@emotion/server": "^11.11.0",
|
||||
"@emotion/styled": "^11.11.5",
|
||||
"@floating-ui/dom": "^1.6.5",
|
||||
"@juggle/resize-observer": "^3.4.0",
|
||||
"@marsidev/react-turnstile": "^1.0.0",
|
||||
@ -40,26 +36,19 @@
|
||||
"@radix-ui/react-dialog": "^1.0.5",
|
||||
"@radix-ui/react-popover": "^1.0.7",
|
||||
"@radix-ui/react-scroll-area": "^1.0.5",
|
||||
"@radix-ui/react-select": "^2.0.0",
|
||||
"@radix-ui/react-toolbar": "^1.0.4",
|
||||
"@react-hookz/web": "^24.0.4",
|
||||
"@sentry/integrations": "^7.109.0",
|
||||
"@sentry/react": "^8.0.0",
|
||||
"@sgtpooki/file-type": "^1.0.1",
|
||||
"@toeverything/theme": "^1.0.9",
|
||||
"@vanilla-extract/dynamic": "^2.1.0",
|
||||
"animejs": "^3.2.2",
|
||||
"async-call-rpc": "^6.4.2",
|
||||
"bytes": "^3.1.2",
|
||||
"clsx": "^2.1.0",
|
||||
"cmdk": "^1.0.0",
|
||||
"core-js": "^3.36.1",
|
||||
"css-spring": "^4.1.0",
|
||||
"dayjs": "^1.11.10",
|
||||
"file-type": "^19.1.0",
|
||||
"foxact": "^0.2.33",
|
||||
"fractional-indexing": "^3.2.0",
|
||||
"fractional-indexing-jittered": "^0.9.1",
|
||||
"fuse.js": "^7.0.0",
|
||||
"graphemer": "^1.4.0",
|
||||
"graphql": "^16.8.1",
|
||||
@ -70,22 +59,17 @@
|
||||
"intl-segmenter-polyfill-rs": "^0.1.7",
|
||||
"is-svg": "^5.0.0",
|
||||
"jotai": "^2.8.0",
|
||||
"jotai-devtools": "^0.10.0",
|
||||
"jotai-effect": "^1.0.0",
|
||||
"jotai-scope": "^0.7.0",
|
||||
"lib0": "^0.2.95",
|
||||
"lit": "^3.1.3",
|
||||
"lodash-es": "^4.17.21",
|
||||
"lottie-react": "^2.4.0",
|
||||
"lottie-web": "^5.12.2",
|
||||
"mixpanel-browser": "^2.49.0",
|
||||
"nanoid": "^5.0.7",
|
||||
"next-themes": "^0.3.0",
|
||||
"query-string": "^9.1.0",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"react-error-boundary": "^4.0.13",
|
||||
"react-is": "18.3.1",
|
||||
"react-router-dom": "^6.22.3",
|
||||
"react-transition-state": "^2.1.1",
|
||||
"react-virtuoso": "^4.7.8",
|
||||
@ -94,30 +78,19 @@
|
||||
"socket.io-client": "^4.7.5",
|
||||
"swr": "2.2.5",
|
||||
"tinykeys": "patch:tinykeys@npm%3A2.1.0#~/.yarn/patches/tinykeys-npm-2.1.0-819feeaed0.patch",
|
||||
"uuid": "^10.0.0",
|
||||
"valtio": "^2.0.0",
|
||||
"y-protocols": "^1.0.6",
|
||||
"yjs": "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@perfsee/webpack": "^1.12.2",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
||||
"@sentry/webpack-plugin": "^2.16.1",
|
||||
"@swc/core": "^1.4.13",
|
||||
"@testing-library/react": "^16.0.0",
|
||||
"@types/animejs": "^3.1.12",
|
||||
"@types/bytes": "^3.1.4",
|
||||
"@types/image-blob-reduce": "^4.1.4",
|
||||
"@types/lodash-es": "^4.17.12",
|
||||
"@types/mixpanel-browser": "^2.49.0",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@vanilla-extract/css": "^1.14.2",
|
||||
"express": "^4.19.2",
|
||||
"fake-indexeddb": "^6.0.0",
|
||||
"lodash-es": "^4.17.21",
|
||||
"mime-types": "^2.1.35",
|
||||
"react-refresh": "^0.14.0",
|
||||
"vitest": "2.1.0"
|
||||
}
|
||||
}
|
||||
|
@ -6,9 +6,5 @@
|
||||
"main": "./src/index.ts",
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@toeverything/infra": "workspace:*",
|
||||
"electron": "^32.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -26,8 +26,7 @@
|
||||
"@affine/env": "workspace:*",
|
||||
"graphql": "^16.8.1",
|
||||
"lodash": "^4.17.21",
|
||||
"lodash-es": "^4.17.21",
|
||||
"nanoid": "^5.0.7"
|
||||
"lodash-es": "^4.17.21"
|
||||
},
|
||||
"installConfig": {
|
||||
"hoistingLimits": "workspaces"
|
||||
|
@ -37,15 +37,10 @@
|
||||
"devDependencies": {
|
||||
"@napi-rs/cli": "3.0.0-alpha.62",
|
||||
"@types/node": "^20.12.7",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"ava": "^6.1.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"nx": "^19.0.0",
|
||||
"nx-cloud": "^19.0.0",
|
||||
"rxjs": "^7.8.1",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.4.5",
|
||||
"uuid": "^10.0.0"
|
||||
"typescript": "^5.4.5"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
|
@ -14,7 +14,6 @@
|
||||
"./build-edgeless": "./build-edgeless.mjs"
|
||||
},
|
||||
"devDependencies": {
|
||||
"glob": "^11.0.0",
|
||||
"jszip": "^3.10.1"
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,7 @@
|
||||
"mixpanel-browser": "^2.49.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mixpanel-browser": "^2.49.0",
|
||||
"vitest": "^2.0.5"
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,6 @@
|
||||
"e2e": "yarn playwright test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@playwright/test": "=1.47.0"
|
||||
},
|
||||
|
@ -5,11 +5,8 @@
|
||||
"e2e": "yarn playwright test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@playwright/test": "=1.47.0",
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"fs-extra": "^11.2.0"
|
||||
"@playwright/test": "=1.47.0"
|
||||
},
|
||||
"version": "0.16.0"
|
||||
}
|
||||
|
@ -5,7 +5,6 @@
|
||||
"e2e": "yarn playwright test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@affine/electron-api": "workspace:*",
|
||||
"@playwright/test": "=1.47.0",
|
||||
|
@ -7,7 +7,6 @@
|
||||
"e2e": "yarn playwright test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@playwright/test": "=1.47.0",
|
||||
"express": "^4.19.2",
|
||||
|
@ -7,7 +7,6 @@
|
||||
"e2e": "yarn playwright test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@playwright/test": "=1.47.0",
|
||||
"express": "^4.19.2",
|
||||
|
@ -7,7 +7,6 @@
|
||||
"e2e": "yarn playwright test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@playwright/test": "=1.47.0",
|
||||
"express": "^4.19.2",
|
||||
|
@ -7,7 +7,6 @@
|
||||
"e2e": "yarn playwright test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@playwright/test": "=1.47.0",
|
||||
"express": "^4.19.2",
|
||||
|
@ -5,7 +5,6 @@
|
||||
"e2e": "yarn playwright test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@playwright/test": "=1.47.0"
|
||||
},
|
||||
|
@ -5,7 +5,6 @@
|
||||
"e2e": "yarn playwright test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@playwright/test": "=1.47.0"
|
||||
},
|
||||
|
@ -5,7 +5,6 @@
|
||||
"e2e": "yarn playwright test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@playwright/test": "=1.47.0"
|
||||
},
|
||||
|
@ -10,7 +10,6 @@
|
||||
"./e2e-enhance/*": "./e2e-enhance/*.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine/electron-api": "workspace:*",
|
||||
"@node-rs/argon2": "^1.8.0",
|
||||
"@playwright/test": "=1.47.0",
|
||||
"express": "^4.19.2",
|
||||
|
@ -8,7 +8,6 @@
|
||||
"dependencies": {
|
||||
"@napi-rs/simple-git": "^0.1.18",
|
||||
"@slack/web-api": "^7.3.4",
|
||||
"chalk": "^5.3.0",
|
||||
"changelogithub": "^0.13.9",
|
||||
"jsx-slack": "^6.1.1",
|
||||
"marked": "^14.0.0"
|
||||
|
@ -28,17 +28,15 @@
|
||||
"mini-css-extract-plugin": "^2.8.1",
|
||||
"postcss": "^8.4.38",
|
||||
"postcss-loader": "^8.1.1",
|
||||
"raw-loader": "^4.0.2",
|
||||
"react-refresh": "^0.14.2",
|
||||
"source-map-loader": "^5.0.0",
|
||||
"style-loader": "^4.0.0",
|
||||
"swc-loader": "^0.2.6",
|
||||
"tailwindcss": "^3.4.4",
|
||||
"terser-webpack-plugin": "^5.3.10",
|
||||
"thread-loader": "^4.0.2",
|
||||
"ts-node": "^10.9.2",
|
||||
"vite": "^5.2.8",
|
||||
"webpack": "^5.91.0",
|
||||
"webpack-cli": "^5.1.4",
|
||||
"webpack-dev-server": "^5.0.4",
|
||||
"webpack-merge": "^6.0.0"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user