mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore: bump version (#3333)
This commit is contained in:
@@ -19,20 +19,20 @@
|
|||||||
"@affine/jotai": "workspace:*",
|
"@affine/jotai": "workspace:*",
|
||||||
"@affine/templates": "workspace:*",
|
"@affine/templates": "workspace:*",
|
||||||
"@affine/workspace": "workspace:*",
|
"@affine/workspace": "workspace:*",
|
||||||
"@blocksuite/block-std": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/block-std": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/blocks": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/blocks": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/editor": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/editor": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/global": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/global": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/icons": "^2.1.25",
|
"@blocksuite/icons": "^2.1.26",
|
||||||
"@blocksuite/lit": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/lit": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/store": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/store": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@dnd-kit/core": "^6.0.8",
|
"@dnd-kit/core": "^6.0.8",
|
||||||
"@dnd-kit/sortable": "^7.0.2",
|
"@dnd-kit/sortable": "^7.0.2",
|
||||||
"@emotion/cache": "^11.11.0",
|
"@emotion/cache": "^11.11.0",
|
||||||
"@emotion/react": "^11.11.1",
|
"@emotion/react": "^11.11.1",
|
||||||
"@emotion/server": "^11.11.0",
|
"@emotion/server": "^11.11.0",
|
||||||
"@emotion/styled": "^11.11.0",
|
"@emotion/styled": "^11.11.0",
|
||||||
"@mui/material": "^5.14.0",
|
"@mui/material": "^5.14.1",
|
||||||
"@react-hookz/web": "^23.1.0",
|
"@react-hookz/web": "^23.1.0",
|
||||||
"async-call-rpc": "^6.3.1",
|
"async-call-rpc": "^6.3.1",
|
||||||
"cmdk": "^0.2.0",
|
"cmdk": "^0.2.0",
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
"graphql": "^16.7.1",
|
"graphql": "^16.7.1",
|
||||||
"jotai": "^2.2.2",
|
"jotai": "^2.2.2",
|
||||||
"jotai-devtools": "^0.6.0",
|
"jotai-devtools": "^0.6.0",
|
||||||
"lit": "^2.7.5",
|
"lit": "^2.7.6",
|
||||||
"lottie-web": "^5.12.2",
|
"lottie-web": "^5.12.2",
|
||||||
"mini-css-extract-plugin": "^2.7.6",
|
"mini-css-extract-plugin": "^2.7.6",
|
||||||
"next-themes": "^0.2.1",
|
"next-themes": "^0.2.1",
|
||||||
@@ -50,12 +50,12 @@
|
|||||||
"react-dom": "18.2.0",
|
"react-dom": "18.2.0",
|
||||||
"react-is": "18.2.0",
|
"react-is": "18.2.0",
|
||||||
"react-resizable-panels": "^0.0.53",
|
"react-resizable-panels": "^0.0.53",
|
||||||
"react-router-dom": "^6.14.1",
|
"react-router-dom": "^6.14.2",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"ses": "^0.18.5",
|
"ses": "^0.18.5",
|
||||||
"swr": "^2.1.5",
|
"swr": "2.1.5",
|
||||||
"y-protocols": "^1.0.5",
|
"y-protocols": "^1.0.5",
|
||||||
"yjs": "^13.6.6",
|
"yjs": "^13.6.7",
|
||||||
"zod": "^3.21.4"
|
"zod": "^3.21.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
"swc-plugin-coverage-instrument": "^0.0.19",
|
"swc-plugin-coverage-instrument": "^0.0.19",
|
||||||
"thread-loader": "^4.0.2",
|
"thread-loader": "^4.0.2",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"webpack": "^5.88.1",
|
"webpack": "^5.88.2",
|
||||||
"webpack-cli": "^5.1.4",
|
"webpack-cli": "^5.1.4",
|
||||||
"webpack-dev-server": "^4.15.1",
|
"webpack-dev-server": "^4.15.1",
|
||||||
"webpack-merge": "^5.9.0"
|
"webpack-merge": "^5.9.0"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { Menu, MenuItem } from '@affine/component';
|
import { Menu, MenuItem } from '@affine/component';
|
||||||
import { AffineLogoSBlue2_1Icon, SignOutIcon } from '@blocksuite/icons';
|
import { Logo1Icon, SignOutIcon } from '@blocksuite/icons';
|
||||||
import type { CSSProperties } from 'react';
|
import type { CSSProperties } from 'react';
|
||||||
import { forwardRef } from 'react';
|
import { forwardRef } from 'react';
|
||||||
|
|
||||||
@@ -90,7 +90,7 @@ export const WorkspaceAvatar = forwardRef<HTMLDivElement, WorkspaceAvatarProps>(
|
|||||||
{props.name ? (
|
{props.name ? (
|
||||||
props.name.substring(0, 1)
|
props.name.substring(0, 1)
|
||||||
) : (
|
) : (
|
||||||
<AffineLogoSBlue2_1Icon fontSize={24} color={'#5438FF'} />
|
<Logo1Icon fontSize={24} color={'#5438FF'} />
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -10,12 +10,12 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@affine/component": "workspace:*",
|
"@affine/component": "workspace:*",
|
||||||
"@blocksuite/block-std": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/block-std": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/blocks": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/blocks": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/editor": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/editor": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/global": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/global": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/lit": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/lit": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/store": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/store": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
"jotai": "^2.2.2",
|
"jotai": "^2.2.2",
|
||||||
"react": "18.3.0-canary-1fdacbefd-20230630",
|
"react": "18.3.0-canary-1fdacbefd-20230630",
|
||||||
|
|||||||
@@ -26,10 +26,10 @@
|
|||||||
"@affine-test/kit": "workspace:*",
|
"@affine-test/kit": "workspace:*",
|
||||||
"@affine/env": "workspace:*",
|
"@affine/env": "workspace:*",
|
||||||
"@affine/native": "workspace:*",
|
"@affine/native": "workspace:*",
|
||||||
"@blocksuite/blocks": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/blocks": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/editor": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/editor": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/lit": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/lit": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/store": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/store": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@electron-forge/cli": "^6.2.1",
|
"@electron-forge/cli": "^6.2.1",
|
||||||
"@electron-forge/core": "^6.2.1",
|
"@electron-forge/core": "^6.2.1",
|
||||||
"@electron-forge/core-utils": "^6.2.1",
|
"@electron-forge/core-utils": "^6.2.1",
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
"undici": "^5.22.1",
|
"undici": "^5.22.1",
|
||||||
"uuid": "^9.0.0",
|
"uuid": "^9.0.0",
|
||||||
"which": "^3.0.1",
|
"which": "^3.0.1",
|
||||||
"zx": "^7.2.2"
|
"zx": "^7.2.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@toeverything/plugin-infra": "workspace:*",
|
"@toeverything/plugin-infra": "workspace:*",
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"nanoid": "^4.0.2",
|
"nanoid": "^4.0.2",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"yjs": "^13.6.6"
|
"yjs": "^13.6.7"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import { logger } from '../logger';
|
|||||||
import type { YOrigin } from '../type';
|
import type { YOrigin } from '../type';
|
||||||
import { getWorkspaceMeta } from '../workspace';
|
import { getWorkspaceMeta } from '../workspace';
|
||||||
import { BaseSQLiteAdapter } from './base-db-adapter';
|
import { BaseSQLiteAdapter } from './base-db-adapter';
|
||||||
import type { WorkspaceSQLiteDB } from './workspace-db-adapter';
|
import { WorkspaceSQLiteDB } from './workspace-db-adapter';
|
||||||
|
|
||||||
const FLUSH_WAIT_TIME = 5000;
|
const FLUSH_WAIT_TIME = 5000;
|
||||||
const FLUSH_MAX_WAIT_TIME = 10000;
|
const FLUSH_MAX_WAIT_TIME = 10000;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
"@storybook/react-vite": "^7.0.24",
|
"@storybook/react-vite": "^7.0.24",
|
||||||
"@storybook/test-runner": "^0.11.0",
|
"@storybook/test-runner": "^0.11.0",
|
||||||
"@storybook/testing-library": "^0.2.0",
|
"@storybook/testing-library": "^0.2.0",
|
||||||
"@vitejs/plugin-react": "^4.0.1",
|
"@vitejs/plugin-react": "^4.0.3",
|
||||||
"concurrently": "^8.2.0",
|
"concurrently": "^8.2.0",
|
||||||
"jest-mock": "^29.5.0",
|
"jest-mock": "^29.5.0",
|
||||||
"serve": "^14.2.0",
|
"serve": "^14.2.0",
|
||||||
@@ -30,13 +30,13 @@
|
|||||||
"wait-on": "^7.0.1"
|
"wait-on": "^7.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@blocksuite/block-std": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/block-std": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/blocks": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/blocks": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/editor": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/editor": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/global": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/global": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/icons": "^2.1.25",
|
"@blocksuite/icons": "^2.1.26",
|
||||||
"@blocksuite/lit": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/lit": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/store": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/store": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-dom": "18.2.0"
|
"react-dom": "18.2.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -8,5 +8,5 @@ export default {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const Basic: StoryFn = () => {
|
export const Basic: StoryFn = () => {
|
||||||
return <Switch />;
|
return <Switch>Switch</Switch>;
|
||||||
};
|
};
|
||||||
|
|||||||
24
package.json
24
package.json
@@ -59,12 +59,12 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@affine-test/kit": "workspace:*",
|
"@affine-test/kit": "workspace:*",
|
||||||
"@affine/cli": "workspace:*",
|
"@affine/cli": "workspace:*",
|
||||||
"@commitlint/cli": "^17.6.6",
|
"@commitlint/cli": "^17.6.7",
|
||||||
"@commitlint/config-conventional": "^17.6.6",
|
"@commitlint/config-conventional": "^17.6.7",
|
||||||
"@faker-js/faker": "^8.0.2",
|
"@faker-js/faker": "^8.0.2",
|
||||||
"@istanbuljs/schema": "^0.1.3",
|
"@istanbuljs/schema": "^0.1.3",
|
||||||
"@magic-works/i18n-codegen": "^0.5.0",
|
"@magic-works/i18n-codegen": "^0.5.0",
|
||||||
"@nx/vite": "16.4.3",
|
"@nx/vite": "16.5.3",
|
||||||
"@perfsee/sdk": "^1.8.3",
|
"@perfsee/sdk": "^1.8.3",
|
||||||
"@playwright/test": "^1.35.1",
|
"@playwright/test": "^1.35.1",
|
||||||
"@taplo/cli": "^0.5.2",
|
"@taplo/cli": "^0.5.2",
|
||||||
@@ -73,13 +73,13 @@
|
|||||||
"@toeverything/plugin-infra": "workspace:*",
|
"@toeverything/plugin-infra": "workspace:*",
|
||||||
"@types/eslint": "^8.40.2",
|
"@types/eslint": "^8.40.2",
|
||||||
"@types/node": "^18.16.19",
|
"@types/node": "^18.16.19",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.60.1",
|
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
||||||
"@typescript-eslint/parser": "^5.60.1",
|
"@typescript-eslint/parser": "^6.1.0",
|
||||||
"@vanilla-extract/vite-plugin": "^3.8.2",
|
"@vanilla-extract/vite-plugin": "^3.8.2",
|
||||||
"@vanilla-extract/webpack-plugin": "^2.2.0",
|
"@vanilla-extract/webpack-plugin": "^2.2.0",
|
||||||
"@vitejs/plugin-react-swc": "^3.3.2",
|
"@vitejs/plugin-react-swc": "^3.3.2",
|
||||||
"@vitest/coverage-istanbul": "^0.32.2",
|
"@vitest/coverage-istanbul": "^0.33.0",
|
||||||
"@vitest/ui": "^0.32.2",
|
"@vitest/ui": "^0.33.0",
|
||||||
"eslint": "^8.44.0",
|
"eslint": "^8.44.0",
|
||||||
"eslint-config-prettier": "^8.8.0",
|
"eslint-config-prettier": "^8.8.0",
|
||||||
"eslint-plugin-i": "^2.27.5-3",
|
"eslint-plugin-i": "^2.27.5-3",
|
||||||
@@ -91,13 +91,13 @@
|
|||||||
"eslint-plugin-unicorn": "^47.0.0",
|
"eslint-plugin-unicorn": "^47.0.0",
|
||||||
"eslint-plugin-unused-imports": "^2.0.0",
|
"eslint-plugin-unused-imports": "^2.0.0",
|
||||||
"fake-indexeddb": "4.0.1",
|
"fake-indexeddb": "4.0.1",
|
||||||
"happy-dom": "^9.20.3",
|
"happy-dom": "^10.5.2",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
"lint-staged": "^13.2.3",
|
"lint-staged": "^13.2.3",
|
||||||
"madge": "^6.1.0",
|
"madge": "^6.1.0",
|
||||||
"msw": "^1.2.2",
|
"msw": "^1.2.2",
|
||||||
"nanoid": "^4.0.2",
|
"nanoid": "^4.0.2",
|
||||||
"nx": "16.4.3",
|
"nx": "16.5.3",
|
||||||
"nx-cloud": "latest",
|
"nx-cloud": "latest",
|
||||||
"nyc": "^15.1.0",
|
"nyc": "^15.1.0",
|
||||||
"prettier": "^3.0.0",
|
"prettier": "^3.0.0",
|
||||||
@@ -105,13 +105,13 @@
|
|||||||
"serve": "^14.2.0",
|
"serve": "^14.2.0",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"typescript": "^5.1.6",
|
"typescript": "^5.1.6",
|
||||||
"vite": "^4.3.9",
|
"vite": "^4.4.4",
|
||||||
"vite-plugin-istanbul": "^4.1.0",
|
"vite-plugin-istanbul": "^4.1.0",
|
||||||
"vite-plugin-static-copy": "^0.17.0",
|
"vite-plugin-static-copy": "^0.17.0",
|
||||||
"vite-tsconfig-paths": "^4.2.0",
|
"vite-tsconfig-paths": "^4.2.0",
|
||||||
"vitest": "^0.32.2",
|
"vitest": "^0.33.0",
|
||||||
"vitest-fetch-mock": "^0.2.2",
|
"vitest-fetch-mock": "^0.2.2",
|
||||||
"vitest-mock-extended": "^1.1.3"
|
"vitest-mock-extended": "^1.1.4"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@3.6.0"
|
"packageManager": "yarn@3.6.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,9 +26,9 @@
|
|||||||
"@emotion/react": "^11.11.1",
|
"@emotion/react": "^11.11.1",
|
||||||
"@emotion/server": "^11.11.0",
|
"@emotion/server": "^11.11.0",
|
||||||
"@emotion/styled": "^11.11.0",
|
"@emotion/styled": "^11.11.0",
|
||||||
"@mui/base": "5.0.0-beta.7",
|
"@mui/base": "5.0.0-beta.8",
|
||||||
"@mui/icons-material": "^5.14.0",
|
"@mui/icons-material": "^5.14.1",
|
||||||
"@mui/material": "^5.14.0",
|
"@mui/material": "^5.14.1",
|
||||||
"@popperjs/core": "^2.11.8",
|
"@popperjs/core": "^2.11.8",
|
||||||
"@radix-ui/react-avatar": "^1.0.3",
|
"@radix-ui/react-avatar": "^1.0.3",
|
||||||
"@radix-ui/react-collapsible": "^1.0.3",
|
"@radix-ui/react-collapsible": "^1.0.3",
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
"clsx": "^1.2.1",
|
"clsx": "^1.2.1",
|
||||||
"dayjs": "^1.11.9",
|
"dayjs": "^1.11.9",
|
||||||
"jotai": "^2.2.2",
|
"jotai": "^2.2.2",
|
||||||
"lit": "^2.7.5",
|
"lit": "^2.7.6",
|
||||||
"lottie-web": "^5.12.2",
|
"lottie-web": "^5.12.2",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-datepicker": "^4.15.0",
|
"react-datepicker": "^4.15.0",
|
||||||
@@ -52,20 +52,20 @@
|
|||||||
"rxjs": "^7.8.1"
|
"rxjs": "^7.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@blocksuite/blocks": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/blocks": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/editor": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/editor": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/global": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/global": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/icons": "^2.1.25",
|
"@blocksuite/icons": "^2.1.26",
|
||||||
"@blocksuite/lit": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/lit": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/store": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/store": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@types/react": "^18.2.14",
|
"@types/react": "^18.2.14",
|
||||||
"@types/react-datepicker": "^4.11.2",
|
"@types/react-datepicker": "^4.11.2",
|
||||||
"@types/react-dnd": "^3.0.2",
|
"@types/react-dnd": "^3.0.2",
|
||||||
"@types/react-dom": "^18.2.6",
|
"@types/react-dom": "^18.2.6",
|
||||||
"@vanilla-extract/css": "^1.12.0",
|
"@vanilla-extract/css": "^1.12.0",
|
||||||
"typescript": "^5.1.6",
|
"typescript": "^5.1.6",
|
||||||
"vite": "^4.3.9",
|
"vite": "^4.4.4",
|
||||||
"yjs": "^13.6.6"
|
"yjs": "^13.6.7"
|
||||||
},
|
},
|
||||||
"version": "0.7.0-canary.47"
|
"version": "0.7.0-canary.47"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { Trans } from '@affine/i18n';
|
import { Trans } from '@affine/i18n';
|
||||||
import { AffineLogoSBlue2_1Icon, CloseIcon } from '@blocksuite/icons';
|
import { CloseIcon, Logo1Icon } from '@blocksuite/icons';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
downloadCloseButtonStyle,
|
downloadCloseButtonStyle,
|
||||||
@@ -17,7 +17,7 @@ export const DownloadTips = ({ onClose }: { onClose: () => void }) => {
|
|||||||
data-testid="download-client-tip"
|
data-testid="download-client-tip"
|
||||||
>
|
>
|
||||||
<div className={downloadTipStyle}>
|
<div className={downloadTipStyle}>
|
||||||
<AffineLogoSBlue2_1Icon className={downloadTipIconStyle} />
|
<Logo1Icon className={downloadTipIconStyle} />
|
||||||
<div className={downloadMessageStyle}>
|
<div className={downloadMessageStyle}>
|
||||||
<Trans i18nKey="com.affine.banner.content">
|
<Trans i18nKey="com.affine.banner.content">
|
||||||
This demo is limited.
|
This demo is limited.
|
||||||
|
|||||||
4
packages/env/package.json
vendored
4
packages/env/package.json
vendored
@@ -6,7 +6,7 @@
|
|||||||
"module": "./src/index.ts",
|
"module": "./src/index.ts",
|
||||||
"types": "./src/global.ts",
|
"types": "./src/global.ts",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@blocksuite/global": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/global": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-dom": "18.2.0",
|
"react-dom": "18.2.0",
|
||||||
"zod": "^3.21.4"
|
"zod": "^3.21.4"
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"@toeverything/infra": "workspace:*"
|
"@toeverything/infra": "workspace:*"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lit": "^2.7.5"
|
"lit": "^2.7.6"
|
||||||
},
|
},
|
||||||
"version": "0.7.0-canary.47"
|
"version": "0.7.0-canary.47"
|
||||||
}
|
}
|
||||||
|
|||||||
2
packages/env/src/constant.ts
vendored
2
packages/env/src/constant.ts
vendored
@@ -1,5 +1,5 @@
|
|||||||
// This file should has not side effect
|
// This file should has not side effect
|
||||||
import type { Workspace } from '@blocksuite/store';
|
import { Workspace } from '@blocksuite/store';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface Window {
|
interface Window {
|
||||||
|
|||||||
@@ -10,12 +10,12 @@
|
|||||||
"@toeverything/y-indexeddb": "workspace:*"
|
"@toeverything/y-indexeddb": "workspace:*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@blocksuite/block-std": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/block-std": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/blocks": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/blocks": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/editor": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/editor": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/global": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/global": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/lit": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/lit": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/store": "0.0.0-20230718155514-65ea63b4-nightly"
|
"@blocksuite/store": "0.0.0-20230719163314-76d863fc-nightly"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@blocksuite/block-std": "*",
|
"@blocksuite/block-std": "*",
|
||||||
|
|||||||
@@ -31,8 +31,8 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"async-call-rpc": "^6.3.1",
|
"async-call-rpc": "^6.3.1",
|
||||||
"electron": "link:../../apps/electron/node_modules/electron",
|
"electron": "link:../../apps/electron/node_modules/electron",
|
||||||
"vite": "^4.3.9",
|
"vite": "^4.4.4",
|
||||||
"vite-plugin-dts": "3.0.2"
|
"vite-plugin-dts": "3.3.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"async-call-rpc": "*",
|
"async-call-rpc": "*",
|
||||||
|
|||||||
@@ -6,12 +6,12 @@
|
|||||||
"jotai": "^2.2.2"
|
"jotai": "^2.2.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@blocksuite/block-std": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/block-std": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/blocks": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/blocks": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/editor": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/editor": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/global": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/global": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/lit": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/lit": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/store": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/store": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"lottie-web": "^5.12.2"
|
"lottie-web": "^5.12.2"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|||||||
@@ -36,16 +36,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@blocksuite/global": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/global": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/store": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/store": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"jotai": "^2.2.2"
|
"jotai": "^2.2.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@blocksuite/blocks": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/blocks": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/editor": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/editor": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/lit": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/lit": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"vite": "^4.3.9",
|
"vite": "^4.4.4",
|
||||||
"vite-plugin-dts": "3.0.2"
|
"vite-plugin-dts": "3.3.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@blocksuite/blocks": "*",
|
"@blocksuite/blocks": "*",
|
||||||
|
|||||||
@@ -38,6 +38,6 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@napi-rs/cli": "^3.0.0-alpha.4",
|
"@napi-rs/cli": "^3.0.0-alpha.4",
|
||||||
"lib0": "^0.2.78",
|
"lib0": "^0.2.78",
|
||||||
"yjs": "^13.6.6"
|
"yjs": "^13.6.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-dom": "18.2.0",
|
"react-dom": "18.2.0",
|
||||||
"y-protocols": "^1.0.5",
|
"y-protocols": "^1.0.5",
|
||||||
"yjs": "^13.6.6",
|
"yjs": "^13.6.7",
|
||||||
"zod": "^3.21.4"
|
"zod": "^3.21.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -36,10 +36,10 @@
|
|||||||
"idb": "^7.1.1"
|
"idb": "^7.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@blocksuite/blocks": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/blocks": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/store": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/store": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"vite": "^4.3.9",
|
"vite": "^4.4.4",
|
||||||
"vite-plugin-dts": "3.0.2",
|
"vite-plugin-dts": "3.3.1",
|
||||||
"y-indexeddb": "^9.0.11"
|
"y-indexeddb": "^9.0.11"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@affine/component": "workspace:*",
|
"@affine/component": "workspace:*",
|
||||||
"@blocksuite/icons": "^2.1.25",
|
"@blocksuite/icons": "^2.1.26",
|
||||||
"@toeverything/plugin-infra": "workspace:*",
|
"@toeverything/plugin-infra": "workspace:*",
|
||||||
"foxact": "^0.2.11"
|
"foxact": "^0.2.17"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// fixme: vector store has not finished
|
// fixme: vector store has not finished
|
||||||
import type { DBSchema } from 'idb';
|
import type { DBSchema } from 'idb';
|
||||||
import { Document } from 'langchain/document';
|
import { Document } from 'langchain/document';
|
||||||
import type { Embeddings } from 'langchain/embeddings';
|
import { Embeddings } from 'langchain/embeddings';
|
||||||
import { VectorStore } from 'langchain/vectorstores';
|
import { VectorStore } from 'langchain/vectorstores';
|
||||||
import { similarity as ml_distance_similarity } from 'ml-distance';
|
import { similarity as ml_distance_similarity } from 'ml-distance';
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@affine/component": "workspace:*",
|
"@affine/component": "workspace:*",
|
||||||
"@blocksuite/icons": "^2.1.25",
|
"@blocksuite/icons": "^2.1.26",
|
||||||
"@toeverything/plugin-infra": "workspace:*"
|
"@toeverything/plugin-infra": "workspace:*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,15 +11,15 @@
|
|||||||
"@affine-test/fixtures": "workspace:*",
|
"@affine-test/fixtures": "workspace:*",
|
||||||
"@affine-test/kit": "workspace:*",
|
"@affine-test/kit": "workspace:*",
|
||||||
"@affine/env": "workspace:*",
|
"@affine/env": "workspace:*",
|
||||||
"@blocksuite/block-std": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/block-std": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/blocks": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/blocks": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/global": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/global": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@blocksuite/store": "0.0.0-20230718155514-65ea63b4-nightly",
|
"@blocksuite/store": "0.0.0-20230719163314-76d863fc-nightly",
|
||||||
"@playwright/test": "^1.35.1",
|
"@playwright/test": "^1.35.1",
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
"http-proxy-middleware": "^3.0.0-beta.1",
|
"http-proxy-middleware": "^3.0.0-beta.1",
|
||||||
"serve": "^14.2.0",
|
"serve": "^14.2.0",
|
||||||
"vitest": "^0.32.2"
|
"vitest": "^0.33.0"
|
||||||
},
|
},
|
||||||
"version": "0.7.0-canary.47"
|
"version": "0.7.0-canary.47"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user