mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore: bump version (#4025)
This commit is contained in:
@@ -37,16 +37,16 @@
|
|||||||
"@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.6",
|
"@mui/material": "^5.14.7",
|
||||||
"@radix-ui/react-select": "^1.2.2",
|
"@radix-ui/react-select": "^1.2.2",
|
||||||
"@react-hookz/web": "^23.1.0",
|
"@react-hookz/web": "^23.1.0",
|
||||||
"@toeverything/components": "^0.0.19",
|
"@toeverything/components": "^0.0.24",
|
||||||
"async-call-rpc": "^6.3.1",
|
"async-call-rpc": "^6.3.1",
|
||||||
"cmdk": "^0.2.0",
|
"cmdk": "^0.2.0",
|
||||||
"css-spring": "^4.1.0",
|
"css-spring": "^4.1.0",
|
||||||
"cssnano": "^6.0.1",
|
"cssnano": "^6.0.1",
|
||||||
"graphql": "^16.8.0",
|
"graphql": "^16.8.0",
|
||||||
"intl-segmenter-polyfill-rs": "^0.1.5",
|
"intl-segmenter-polyfill-rs": "^0.1.6",
|
||||||
"jotai": "^2.4.0",
|
"jotai": "^2.4.0",
|
||||||
"jotai-devtools": "^0.6.2",
|
"jotai-devtools": "^0.6.2",
|
||||||
"lit": "^2.8.0",
|
"lit": "^2.8.0",
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
"undici": "^5.23.0",
|
"undici": "^5.23.0",
|
||||||
"uuid": "^9.0.0",
|
"uuid": "^9.0.0",
|
||||||
"vitest": "0.33.0",
|
"vitest": "0.33.0",
|
||||||
"which": "^3.0.1",
|
"which": "^4.0.0",
|
||||||
"zx": "^7.2.3"
|
"zx": "^7.2.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -31,10 +31,12 @@ globalThis.console.debug = mainThread.log;
|
|||||||
globalThis.console.warn = mainThread.log;
|
globalThis.console.warn = mainThread.log;
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||||
const bookmarkPluginModule = require(join(
|
const bookmarkPluginModule = require(
|
||||||
process.env.PLUGIN_DIR ?? resolve(__dirname, './plugins'),
|
join(
|
||||||
'./bookmark/index.cjs'
|
process.env.PLUGIN_DIR ?? resolve(__dirname, './plugins'),
|
||||||
));
|
'./bookmark/index.cjs'
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
const serverContext: ServerContext = {
|
const serverContext: ServerContext = {
|
||||||
registerCommand: (command, fn) => {
|
registerCommand: (command, fn) => {
|
||||||
|
|||||||
@@ -23,27 +23,27 @@
|
|||||||
"@google-cloud/opentelemetry-cloud-monitoring-exporter": "^0.17.0",
|
"@google-cloud/opentelemetry-cloud-monitoring-exporter": "^0.17.0",
|
||||||
"@google-cloud/opentelemetry-cloud-trace-exporter": "^2.1.0",
|
"@google-cloud/opentelemetry-cloud-trace-exporter": "^2.1.0",
|
||||||
"@nestjs/apollo": "^12.0.7",
|
"@nestjs/apollo": "^12.0.7",
|
||||||
"@nestjs/common": "^10.2.1",
|
"@nestjs/common": "^10.2.2",
|
||||||
"@nestjs/core": "^10.2.1",
|
"@nestjs/core": "^10.2.2",
|
||||||
"@nestjs/graphql": "^12.0.8",
|
"@nestjs/graphql": "^12.0.8",
|
||||||
"@nestjs/platform-express": "^10.1.3",
|
"@nestjs/platform-express": "^10.2.2",
|
||||||
"@nestjs/platform-socket.io": "^10.0.5",
|
"@nestjs/platform-socket.io": "^10.2.2",
|
||||||
"@nestjs/websockets": "^10.0.5",
|
"@nestjs/websockets": "^10.2.2",
|
||||||
"@node-rs/argon2": "^1.5.2",
|
"@node-rs/argon2": "^1.5.2",
|
||||||
"@node-rs/crc32": "^1.7.2",
|
"@node-rs/crc32": "^1.7.2",
|
||||||
"@node-rs/jsonwebtoken": "^0.2.3",
|
"@node-rs/jsonwebtoken": "^0.2.3",
|
||||||
"@opentelemetry/api": "^1.4.1",
|
"@opentelemetry/api": "^1.4.1",
|
||||||
"@opentelemetry/instrumentation": "^0.41.1",
|
"@opentelemetry/instrumentation": "^0.41.2",
|
||||||
"@opentelemetry/instrumentation-graphql": "^0.35.0",
|
"@opentelemetry/instrumentation-graphql": "^0.35.1",
|
||||||
"@opentelemetry/instrumentation-http": "^0.41.1",
|
"@opentelemetry/instrumentation-http": "^0.41.2",
|
||||||
"@opentelemetry/instrumentation-ioredis": "^0.35.0",
|
"@opentelemetry/instrumentation-ioredis": "^0.35.1",
|
||||||
"@opentelemetry/instrumentation-nestjs-core": "^0.33.0",
|
"@opentelemetry/instrumentation-nestjs-core": "^0.33.1",
|
||||||
"@opentelemetry/instrumentation-socket.io": "^0.34.0",
|
"@opentelemetry/instrumentation-socket.io": "^0.34.1",
|
||||||
"@opentelemetry/sdk-metrics": "^1.15.1",
|
"@opentelemetry/sdk-metrics": "^1.15.2",
|
||||||
"@opentelemetry/sdk-node": "^0.41.1",
|
"@opentelemetry/sdk-node": "^0.41.2",
|
||||||
"@opentelemetry/sdk-trace-node": "^1.15.1",
|
"@opentelemetry/sdk-trace-node": "^1.15.2",
|
||||||
"@prisma/client": "^5.2.0",
|
"@prisma/client": "^5.2.0",
|
||||||
"@prisma/instrumentation": "^5.0.0",
|
"@prisma/instrumentation": "^5.2.0",
|
||||||
"@socket.io/redis-adapter": "^8.2.1",
|
"@socket.io/redis-adapter": "^8.2.1",
|
||||||
"cookie-parser": "^1.4.6",
|
"cookie-parser": "^1.4.6",
|
||||||
"dotenv": "^16.3.1",
|
"dotenv": "^16.3.1",
|
||||||
@@ -60,28 +60,28 @@
|
|||||||
"on-headers": "^1.0.2",
|
"on-headers": "^1.0.2",
|
||||||
"parse-duration": "^1.1.0",
|
"parse-duration": "^1.1.0",
|
||||||
"pretty-time": "^1.1.0",
|
"pretty-time": "^1.1.0",
|
||||||
"prisma": "^5.1.1",
|
"prisma": "^5.2.0",
|
||||||
"prom-client": "^14.2.0",
|
"prom-client": "^14.2.0",
|
||||||
"reflect-metadata": "^0.1.13",
|
"reflect-metadata": "^0.1.13",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"semver": "^7.5.4",
|
"semver": "^7.5.4",
|
||||||
"socket.io": "^4.7.1",
|
"socket.io": "^4.7.2",
|
||||||
"ws": "^8.13.0",
|
"ws": "^8.13.0",
|
||||||
"yjs": "^13.6.7"
|
"yjs": "^13.6.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@affine/storage": "workspace:*",
|
"@affine/storage": "workspace:*",
|
||||||
"@napi-rs/image": "^1.6.1",
|
"@napi-rs/image": "^1.6.1",
|
||||||
"@nestjs/testing": "^10.2.1",
|
"@nestjs/testing": "^10.2.2",
|
||||||
"@types/cookie-parser": "^1.4.3",
|
"@types/cookie-parser": "^1.4.3",
|
||||||
"@types/engine.io": "^3.1.7",
|
"@types/engine.io": "^3.1.7",
|
||||||
"@types/express": "^4.17.17",
|
"@types/express": "^4.17.17",
|
||||||
"@types/lodash-es": "^4.17.8",
|
"@types/lodash-es": "^4.17.8",
|
||||||
"@types/node": "^18.17.11",
|
"@types/node": "^18.17.12",
|
||||||
"@types/nodemailer": "^6.4.9",
|
"@types/nodemailer": "^6.4.9",
|
||||||
"@types/on-headers": "^1.0.0",
|
"@types/on-headers": "^1.0.0",
|
||||||
"@types/pretty-time": "^1.1.2",
|
"@types/pretty-time": "^1.1.2",
|
||||||
"@types/sinon": "^10.0.15",
|
"@types/sinon": "^10.0.16",
|
||||||
"@types/supertest": "^2.0.12",
|
"@types/supertest": "^2.0.12",
|
||||||
"@types/ws": "^8.5.5",
|
"@types/ws": "^8.5.5",
|
||||||
"c8": "^8.0.1",
|
"c8": "^8.0.1",
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"@storybook/addon-storysource": "^7.4.0",
|
"@storybook/addon-storysource": "^7.4.0",
|
||||||
"@storybook/blocks": "^7.4.0",
|
"@storybook/blocks": "^7.4.0",
|
||||||
"@storybook/builder-vite": "^7.4.0",
|
"@storybook/builder-vite": "^7.4.0",
|
||||||
"@storybook/jest": "^0.2.1",
|
"@storybook/jest": "^0.2.2",
|
||||||
"@storybook/react": "^7.4.0",
|
"@storybook/react": "^7.4.0",
|
||||||
"@storybook/react-vite": "^7.4.0",
|
"@storybook/react-vite": "^7.4.0",
|
||||||
"@storybook/test-runner": "^0.13.0",
|
"@storybook/test-runner": "^0.13.0",
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
"chromatic": "^6.24.1",
|
"chromatic": "^6.24.1",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-dom": "18.2.0",
|
"react-dom": "18.2.0",
|
||||||
"storybook-addon-react-router-v6": "^2.0.5"
|
"storybook-addon-react-router-v6": "^2.0.7"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@blocksuite/blocks": "*",
|
"@blocksuite/blocks": "*",
|
||||||
|
|||||||
12
package.json
12
package.json
@@ -75,9 +75,9 @@
|
|||||||
"@toeverything/infra": "workspace:*",
|
"@toeverything/infra": "workspace:*",
|
||||||
"@types/affine__env": "workspace:*",
|
"@types/affine__env": "workspace:*",
|
||||||
"@types/eslint": "^8.44.2",
|
"@types/eslint": "^8.44.2",
|
||||||
"@types/node": "^18.17.11",
|
"@types/node": "^18.17.12",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
"@typescript-eslint/eslint-plugin": "^6.5.0",
|
||||||
"@typescript-eslint/parser": "^6.4.1",
|
"@typescript-eslint/parser": "^6.5.0",
|
||||||
"@vanilla-extract/vite-plugin": "^3.9.0",
|
"@vanilla-extract/vite-plugin": "^3.9.0",
|
||||||
"@vanilla-extract/webpack-plugin": "^2.3.0",
|
"@vanilla-extract/webpack-plugin": "^2.3.0",
|
||||||
"@vitejs/plugin-react-swc": "^3.3.2",
|
"@vitejs/plugin-react-swc": "^3.3.2",
|
||||||
@@ -95,16 +95,16 @@
|
|||||||
"eslint-plugin-unused-imports": "^3.0.0",
|
"eslint-plugin-unused-imports": "^3.0.0",
|
||||||
"eslint-plugin-vue": "^9.17.0",
|
"eslint-plugin-vue": "^9.17.0",
|
||||||
"fake-indexeddb": "4.0.2",
|
"fake-indexeddb": "4.0.2",
|
||||||
"happy-dom": "^10.11.0",
|
"happy-dom": "^10.11.2",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
"lint-staged": "^14.0.1",
|
"lint-staged": "^14.0.1",
|
||||||
"madge": "^6.1.0",
|
"madge": "^6.1.0",
|
||||||
"msw": "^1.2.4",
|
"msw": "^1.2.5",
|
||||||
"nanoid": "^4.0.2",
|
"nanoid": "^4.0.2",
|
||||||
"nx": "16.7.4",
|
"nx": "16.7.4",
|
||||||
"nx-cloud": "latest",
|
"nx-cloud": "latest",
|
||||||
"nyc": "^15.1.0",
|
"nyc": "^15.1.0",
|
||||||
"prettier": "^3.0.2",
|
"prettier": "^3.0.3",
|
||||||
"semver": "^7.5.4",
|
"semver": "^7.5.4",
|
||||||
"serve": "^14.2.1",
|
"serve": "^14.2.1",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
|
|||||||
@@ -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.12",
|
"@mui/base": "5.0.0-beta.13",
|
||||||
"@mui/icons-material": "^5.14.6",
|
"@mui/icons-material": "^5.14.7",
|
||||||
"@mui/material": "^5.14.6",
|
"@mui/material": "^5.14.7",
|
||||||
"@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",
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
"@radix-ui/react-scroll-area": "^1.0.4",
|
"@radix-ui/react-scroll-area": "^1.0.4",
|
||||||
"@radix-ui/react-toast": "^1.1.4",
|
"@radix-ui/react-toast": "^1.1.4",
|
||||||
"@toeverything/hooks": "workspace:*",
|
"@toeverything/hooks": "workspace:*",
|
||||||
"@toeverything/theme": "^0.7.12",
|
"@toeverything/theme": "^0.7.13",
|
||||||
"@vanilla-extract/dynamic": "^2.0.3",
|
"@vanilla-extract/dynamic": "^2.0.3",
|
||||||
"check-password-strength": "^2.0.7",
|
"check-password-strength": "^2.0.7",
|
||||||
"clsx": "^2.0.0",
|
"clsx": "^2.0.0",
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"@graphql-codegen/typescript-operations": "^4.0.1",
|
"@graphql-codegen/typescript-operations": "^4.0.1",
|
||||||
"@types/lodash-es": "^4.17.8",
|
"@types/lodash-es": "^4.17.8",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"prettier": "^3.0.2"
|
"prettier": "^3.0.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "gql-gen"
|
"postinstall": "gql-gen"
|
||||||
|
|||||||
@@ -31,9 +31,9 @@
|
|||||||
"react-i18next": "^13.1.2"
|
"react-i18next": "^13.1.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^18.17.11",
|
"@types/node": "^18.17.12",
|
||||||
"@types/prettier": "^3.0.0",
|
"@types/prettier": "^3.0.0",
|
||||||
"prettier": "^3.0.2",
|
"prettier": "^3.0.3",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"typescript": "^5.2.2"
|
"typescript": "^5.2.2"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@napi-rs/cli": "^2.16.2",
|
"@napi-rs/cli": "^2.16.2",
|
||||||
"@types/node": "^18.17.11",
|
"@types/node": "^18.17.12",
|
||||||
"@types/uuid": "^9.0.2",
|
"@types/uuid": "^9.0.2",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"@swc/core": "^1.3.80",
|
"@swc/core": "^1.3.80",
|
||||||
"@toeverything/infra": "workspace:^",
|
"@toeverything/infra": "workspace:^",
|
||||||
"@vanilla-extract/rollup-plugin": "^1.3.0",
|
"@vanilla-extract/rollup-plugin": "^1.3.0",
|
||||||
"@vitejs/plugin-vue": "^4.3.3",
|
"@vitejs/plugin-vue": "^4.3.4",
|
||||||
"rollup": "^3.28.1",
|
"rollup": "^3.28.1",
|
||||||
"rollup-plugin-swc3": "^0.10.1",
|
"rollup-plugin-swc3": "^0.10.1",
|
||||||
"ts-node": "^10.9.1"
|
"ts-node": "^10.9.1"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
"lib0": "^0.2.83",
|
"lib0": "^0.2.83",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-dom": "18.2.0",
|
"react-dom": "18.2.0",
|
||||||
"socket.io-client": "^4.7.1",
|
"socket.io-client": "^4.7.2",
|
||||||
"swr": "2.2.0",
|
"swr": "2.2.0",
|
||||||
"y-protocols": "^1.0.5",
|
"y-protocols": "^1.0.5",
|
||||||
"yjs": "^13.6.7",
|
"yjs": "^13.6.7",
|
||||||
|
|||||||
@@ -16,10 +16,10 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@affine/component": "workspace:*",
|
"@affine/component": "workspace:*",
|
||||||
"@affine/sdk": "workspace:*",
|
"@affine/sdk": "workspace:*",
|
||||||
"@toeverything/components": "^0.0.19",
|
"@toeverything/components": "^0.0.24",
|
||||||
"idb": "^7.1.1",
|
"idb": "^7.1.1",
|
||||||
"langchain": "^0.0.134",
|
"langchain": "^0.0.136",
|
||||||
"marked": "^7.0.4",
|
"marked": "^7.0.5",
|
||||||
"marked-gfm-heading-id": "^3.0.6",
|
"marked-gfm-heading-id": "^3.0.6",
|
||||||
"marked-mangle": "^1.1.2",
|
"marked-mangle": "^1.1.2",
|
||||||
"zod": "^3.22.2"
|
"zod": "^3.22.2"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
"@affine/component": "workspace:*",
|
"@affine/component": "workspace:*",
|
||||||
"@affine/sdk": "workspace:*",
|
"@affine/sdk": "workspace:*",
|
||||||
"@blocksuite/icons": "^2.1.31",
|
"@blocksuite/icons": "^2.1.31",
|
||||||
"@toeverything/components": "^0.0.19"
|
"@toeverything/components": "^0.0.24"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@affine/plugin-cli": "workspace:*"
|
"@affine/plugin-cli": "workspace:*"
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
"@affine/component": "workspace:*",
|
"@affine/component": "workspace:*",
|
||||||
"@affine/sdk": "workspace:*",
|
"@affine/sdk": "workspace:*",
|
||||||
"@blocksuite/icons": "^2.1.31",
|
"@blocksuite/icons": "^2.1.31",
|
||||||
"@toeverything/components": "^0.0.19",
|
"@toeverything/components": "^0.0.24",
|
||||||
"@toeverything/theme": "^0.7.12",
|
"@toeverything/theme": "^0.7.13",
|
||||||
"clsx": "^2.0.0",
|
"clsx": "^2.0.0",
|
||||||
"foxact": "^0.2.20",
|
"foxact": "^0.2.20",
|
||||||
"react-error-boundary": "^4.0.11",
|
"react-error-boundary": "^4.0.11",
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
"@affine/component": "workspace:*",
|
"@affine/component": "workspace:*",
|
||||||
"@affine/sdk": "workspace:*",
|
"@affine/sdk": "workspace:*",
|
||||||
"@blocksuite/icons": "^2.1.31",
|
"@blocksuite/icons": "^2.1.31",
|
||||||
"@toeverything/components": "^0.0.19"
|
"@toeverything/components": "^0.0.24"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@affine/plugin-cli": "workspace:*",
|
"@affine/plugin-cli": "workspace:*",
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@affine-test/fixtures": "workspace:*",
|
"@affine-test/fixtures": "workspace:*",
|
||||||
"@affine-test/kit": "workspace:*",
|
"@affine-test/kit": "workspace:*",
|
||||||
"@playwright/test": "^1.37.0"
|
"@playwright/test": "^1.37.1"
|
||||||
},
|
},
|
||||||
"version": "0.9.0-canary.2"
|
"version": "0.9.0-canary.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,6 +74,8 @@ test('create multi workspace in the workspace list', async ({
|
|||||||
const workspaceName = page.getByTestId('workspace-name');
|
const workspaceName = page.getByTestId('workspace-name');
|
||||||
await workspaceName.click();
|
await workspaceName.click();
|
||||||
|
|
||||||
|
await page.waitForTimeout(1000);
|
||||||
|
|
||||||
{
|
{
|
||||||
//check workspace list length
|
//check workspace list length
|
||||||
const workspaceCards = await page.$$('data-testid=workspace-card');
|
const workspaceCards = await page.$$('data-testid=workspace-card');
|
||||||
|
|||||||
Reference in New Issue
Block a user