chore: bump all dependencies (#5891)

This commit is contained in:
LongYinan
2024-02-23 09:37:13 +00:00
parent db1d0dcf52
commit ae41c6c544
42 changed files with 3232 additions and 3311 deletions

View File

@@ -7,9 +7,9 @@
"dev": "nodemon --exec 'typedoc --options ../../typedoc.json' & serve dist/" "dev": "nodemon --exec 'typedoc --options ../../typedoc.json' & serve dist/"
}, },
"devDependencies": { "devDependencies": {
"nodemon": "^3.0.1", "nodemon": "^3.1.0",
"serve": "^14.2.1", "serve": "^14.2.1",
"typedoc": "^0.25.4" "typedoc": "^0.25.8"
}, },
"nodemonConfig": { "nodemonConfig": {
"watch": [ "watch": [

View File

@@ -56,56 +56,56 @@
"devDependencies": { "devDependencies": {
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@affine/cli": "workspace:*", "@affine/cli": "workspace:*",
"@commitlint/cli": "^18.4.3", "@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.4.3", "@commitlint/config-conventional": "^18.6.2",
"@faker-js/faker": "^8.3.1", "@faker-js/faker": "^8.4.1",
"@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": "18.0.4", "@nx/vite": "18.0.4",
"@playwright/test": "^1.41.0", "@playwright/test": "^1.41.2",
"@taplo/cli": "^0.7.0", "@taplo/cli": "^0.7.0",
"@testing-library/react": "^14.1.2", "@testing-library/react": "^14.2.1",
"@toeverything/infra": "workspace:*", "@toeverything/infra": "workspace:*",
"@types/affine__env": "workspace:*", "@types/affine__env": "workspace:*",
"@types/eslint": "^8.44.7", "@types/eslint": "^8.56.3",
"@types/node": "^20.9.3", "@types/node": "^20.11.20",
"@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.0", "@typescript-eslint/parser": "^7.0.2",
"@vanilla-extract/vite-plugin": "^4.0.0", "@vanilla-extract/vite-plugin": "^4.0.4",
"@vanilla-extract/webpack-plugin": "^2.3.1", "@vanilla-extract/webpack-plugin": "^2.3.6",
"@vitejs/plugin-react-swc": "^3.5.0", "@vitejs/plugin-react-swc": "^3.6.0",
"@vitest/coverage-istanbul": "1.3.1", "@vitest/coverage-istanbul": "1.3.1",
"@vitest/ui": "1.3.1", "@vitest/ui": "1.3.1",
"electron": "^29.0.0", "electron": "^29.0.1",
"eslint": "^8.54.0", "eslint": "^8.56.0",
"eslint-config-prettier": "^9.0.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-i": "^2.29.0", "eslint-plugin-i": "^2.29.1",
"eslint-plugin-react": "^7.33.2", "eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^12.0.0", "eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-sonarjs": "^0.24.0", "eslint-plugin-sonarjs": "^0.24.0",
"eslint-plugin-unicorn": "^51.0.0", "eslint-plugin-unicorn": "^51.0.1",
"eslint-plugin-unused-imports": "^3.0.0", "eslint-plugin-unused-imports": "^3.1.0",
"eslint-plugin-vue": "^9.18.1", "eslint-plugin-vue": "^9.22.0",
"fake-indexeddb": "5.0.2", "fake-indexeddb": "5.0.2",
"happy-dom": "^13.0.0", "happy-dom": "^13.4.1",
"husky": "^9.0.6", "husky": "^9.0.11",
"lint-staged": "^15.1.0", "lint-staged": "^15.2.2",
"msw": "^2.0.8", "msw": "^2.2.1",
"nanoid": "^5.0.3", "nanoid": "^5.0.6",
"nx": "^18.0.0", "nx": "^18.0.4",
"nyc": "^15.1.0", "nyc": "^15.1.0",
"oxlint": "0.0.22", "oxlint": "0.0.22",
"prettier": "^3.1.0", "prettier": "^3.2.5",
"semver": "^7.5.4", "semver": "^7.6.0",
"serve": "^14.2.1", "serve": "^14.2.1",
"string-width": "^7.0.0", "string-width": "^7.1.0",
"ts-node": "^10.9.1", "ts-node": "^10.9.2",
"typescript": "^5.3.2", "typescript": "^5.3.3",
"vite": "^5.0.6", "vite": "^5.1.4",
"vite-plugin-istanbul": "^5.0.0", "vite-plugin-istanbul": "^5.0.0",
"vite-plugin-static-copy": "^1.0.0", "vite-plugin-static-copy": "^1.0.1",
"vite-tsconfig-paths": "^4.2.1", "vite-tsconfig-paths": "^4.3.1",
"vitest": "1.3.1", "vitest": "1.3.1",
"vitest-fetch-mock": "^0.2.2", "vitest-fetch-mock": "^0.2.2",
"vitest-mock-extended": "^1.3.1" "vitest-mock-extended": "^1.3.1"

View File

@@ -18,31 +18,31 @@
"predeploy": "yarn prisma migrate deploy && node --es-module-specifier-resolution=node ./dist/data/index.js run" "predeploy": "yarn prisma migrate deploy && node --es-module-specifier-resolution=node ./dist/data/index.js run"
}, },
"dependencies": { "dependencies": {
"@apollo/server": "^4.9.5", "@apollo/server": "^4.10.0",
"@auth/prisma-adapter": "^1.0.7", "@auth/prisma-adapter": "^1.4.0",
"@aws-sdk/client-s3": "^3.499.0", "@aws-sdk/client-s3": "^3.515.0",
"@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",
"@google-cloud/opentelemetry-resource-util": "^2.1.0", "@google-cloud/opentelemetry-resource-util": "^2.1.0",
"@keyv/redis": "^2.8.0", "@keyv/redis": "^2.8.4",
"@nestjs/apollo": "^12.0.11", "@nestjs/apollo": "^12.1.0",
"@nestjs/common": "^10.2.10", "@nestjs/common": "^10.3.3",
"@nestjs/core": "^10.2.10", "@nestjs/core": "^10.3.3",
"@nestjs/event-emitter": "^2.0.3", "@nestjs/event-emitter": "^2.0.4",
"@nestjs/graphql": "^12.0.11", "@nestjs/graphql": "^12.1.1",
"@nestjs/platform-express": "^10.2.10", "@nestjs/platform-express": "^10.3.3",
"@nestjs/platform-socket.io": "^10.2.10", "@nestjs/platform-socket.io": "^10.3.3",
"@nestjs/schedule": "^4.0.0", "@nestjs/schedule": "^4.0.1",
"@nestjs/serve-static": "^4.0.0", "@nestjs/serve-static": "^4.0.1",
"@nestjs/throttler": "^5.0.1", "@nestjs/throttler": "^5.0.1",
"@nestjs/websockets": "^10.2.10", "@nestjs/websockets": "^10.3.3",
"@node-rs/argon2": "^1.5.2", "@node-rs/argon2": "^1.7.2",
"@node-rs/crc32": "^1.7.2", "@node-rs/crc32": "^1.9.2",
"@node-rs/jsonwebtoken": "^0.4.0", "@node-rs/jsonwebtoken": "^0.4.0",
"@opentelemetry/api": "^1.7.0", "@opentelemetry/api": "^1.7.0",
"@opentelemetry/core": "^1.20.0", "@opentelemetry/core": "^1.21.0",
"@opentelemetry/exporter-prometheus": "^0.48.0", "@opentelemetry/exporter-prometheus": "^0.48.0",
"@opentelemetry/exporter-zipkin": "^1.20.0", "@opentelemetry/exporter-zipkin": "^1.21.0",
"@opentelemetry/host-metrics": "^0.35.0", "@opentelemetry/host-metrics": "^0.35.0",
"@opentelemetry/instrumentation": "^0.48.0", "@opentelemetry/instrumentation": "^0.48.0",
"@opentelemetry/instrumentation-graphql": "^0.37.0", "@opentelemetry/instrumentation-graphql": "^0.37.0",
@@ -50,16 +50,16 @@
"@opentelemetry/instrumentation-ioredis": "^0.37.0", "@opentelemetry/instrumentation-ioredis": "^0.37.0",
"@opentelemetry/instrumentation-nestjs-core": "^0.34.0", "@opentelemetry/instrumentation-nestjs-core": "^0.34.0",
"@opentelemetry/instrumentation-socket.io": "^0.36.0", "@opentelemetry/instrumentation-socket.io": "^0.36.0",
"@opentelemetry/resources": "^1.20.0", "@opentelemetry/resources": "^1.21.0",
"@opentelemetry/sdk-metrics": "^1.20.0", "@opentelemetry/sdk-metrics": "^1.21.0",
"@opentelemetry/sdk-node": "^0.48.0", "@opentelemetry/sdk-node": "^0.48.0",
"@opentelemetry/sdk-trace-node": "^1.20.0", "@opentelemetry/sdk-trace-node": "^1.21.0",
"@opentelemetry/semantic-conventions": "^1.20.0", "@opentelemetry/semantic-conventions": "^1.21.0",
"@prisma/client": "^5.7.1", "@prisma/client": "^5.10.2",
"@prisma/instrumentation": "^5.7.1", "@prisma/instrumentation": "^5.10.2",
"@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.4.5",
"dotenv-cli": "^7.3.0", "dotenv-cli": "^7.3.0",
"express": "^4.18.2", "express": "^4.18.2",
"file-type": "^19.0.0", "file-type": "^19.0.0",
@@ -71,50 +71,50 @@
"ioredis": "^5.3.2", "ioredis": "^5.3.2",
"keyv": "^4.5.4", "keyv": "^4.5.4",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"nanoid": "^5.0.3", "nanoid": "^5.0.6",
"nest-commander": "^3.12.2", "nest-commander": "^3.12.5",
"nestjs-throttler-storage-redis": "^0.4.1", "nestjs-throttler-storage-redis": "^0.4.1",
"next-auth": "^4.24.5", "next-auth": "^4.24.5",
"nodemailer": "^6.9.7", "nodemailer": "^6.9.10",
"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.7.1", "prisma": "^5.10.2",
"prom-client": "^15.0.0", "prom-client": "^15.1.0",
"reflect-metadata": "^0.2.0", "reflect-metadata": "^0.2.1",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"semver": "^7.5.4", "semver": "^7.6.0",
"socket.io": "^4.7.2", "socket.io": "^4.7.4",
"stripe": "^14.5.0", "stripe": "^14.18.0",
"ws": "^8.14.2", "ws": "^8.16.0",
"yjs": "^13.6.10", "yjs": "^13.6.12",
"zod": "^3.22.4" "zod": "^3.22.4"
}, },
"devDependencies": { "devDependencies": {
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@affine/storage": "workspace:*", "@affine/storage": "workspace:*",
"@napi-rs/image": "^1.7.0", "@napi-rs/image": "^1.9.1",
"@nestjs/testing": "^10.2.10", "@nestjs/testing": "^10.3.3",
"@types/cookie-parser": "^1.4.6", "@types/cookie-parser": "^1.4.6",
"@types/engine.io": "^3.1.10", "@types/engine.io": "^3.1.10",
"@types/express": "^4.17.21", "@types/express": "^4.17.21",
"@types/graphql-upload": "^16.0.5", "@types/graphql-upload": "^16.0.7",
"@types/keyv": "^4.2.0", "@types/keyv": "^4.2.0",
"@types/lodash-es": "^4.17.11", "@types/lodash-es": "^4.17.12",
"@types/node": "^20.9.3", "@types/node": "^20.11.20",
"@types/nodemailer": "^6.4.14", "@types/nodemailer": "^6.4.14",
"@types/on-headers": "^1.0.3", "@types/on-headers": "^1.0.3",
"@types/pretty-time": "^1.1.5", "@types/pretty-time": "^1.1.5",
"@types/sinon": "^17.0.2", "@types/sinon": "^17.0.3",
"@types/supertest": "^6.0.0", "@types/supertest": "^6.0.2",
"@types/ws": "^8.5.10", "@types/ws": "^8.5.10",
"ava": "^6.0.0", "ava": "^6.1.1",
"c8": "^9.0.0", "c8": "^9.1.0",
"nodemon": "^3.0.1", "nodemon": "^3.1.0",
"sinon": "^17.0.1", "sinon": "^17.0.1",
"supertest": "^6.3.3", "supertest": "^6.3.4",
"ts-node": "^10.9.1", "ts-node": "^10.9.2",
"typescript": "^5.3.2" "typescript": "^5.3.3"
}, },
"ava": { "ava": {
"timeout": "1m", "timeout": "1m",

View File

@@ -60,6 +60,7 @@ export const NextAuthOptionsProvider: FactoryProvider<NextAuthOptions> = {
if (data.image) { if (data.image) {
userData.avatarUrl = data.image; userData.avatarUrl = data.image;
} }
// @ts-expect-error third part library type mismatch
return createUser(userData); return createUser(userData);
}; };
// linkAccount exists in the adapter // linkAccount exists in the adapter
@@ -112,6 +113,7 @@ export const NextAuthOptionsProvider: FactoryProvider<NextAuthOptions> = {
const nextAuthOptions: NextAuthOptions = { const nextAuthOptions: NextAuthOptions = {
providers: [], providers: [],
// @ts-expect-error Third part library type mismatch
adapter: prismaAdapter, adapter: prismaAdapter,
debug: !config.node.prod, debug: !config.node.prod,
session: { session: {

View File

@@ -17,17 +17,19 @@ export type PathType<T, Path extends string> = string extends Path
: unknown : unknown
: unknown; : unknown;
export type Leaves<T, P extends string = ''> = T extends Payload<any> export type Leaves<T, P extends string = ''> =
? P T extends Payload<any>
: T extends Record<string, any> ? P
? { : T extends Record<string, any>
[K in keyof T]: K extends string ? Leaves<T[K], Join<P, K>> : never; ? {
}[keyof T] [K in keyof T]: K extends string ? Leaves<T[K], Join<P, K>> : never;
: never; }[keyof T]
: never;
export type Flatten<T> = Leaves<T> extends infer R export type Flatten<T> =
? { Leaves<T> extends infer R
// @ts-expect-error yo, ts can't make it ? {
[K in R]: PathType<T, K> extends Payload<infer U> ? U : never; // @ts-expect-error yo, ts can't make it
} [K in R]: PathType<T, K> extends Payload<infer U> ? U : never;
: never; }
: never;

View File

@@ -16,15 +16,16 @@ declare type ConstructorOf<T> = {
new (): T; new (): T;
}; };
declare type DeepPartial<T> = T extends Array<infer U> declare type DeepPartial<T> =
? DeepPartial<U>[] T extends Array<infer U>
: T extends ReadonlyArray<infer U> ? DeepPartial<U>[]
? ReadonlyArray<DeepPartial<U>> : T extends ReadonlyArray<infer U>
: T extends object ? ReadonlyArray<DeepPartial<U>>
? { : T extends object
[K in keyof T]?: DeepPartial<T[K]>; ? {
} [K in keyof T]?: DeepPartial<T[K]>;
: T; }
: T;
declare type AFFiNEModule = declare type AFFiNEModule =
| import('@nestjs/common').Type | import('@nestjs/common').Type

View File

@@ -36,9 +36,9 @@
}, },
"devDependencies": { "devDependencies": {
"@napi-rs/cli": "3.0.0-alpha.41", "@napi-rs/cli": "3.0.0-alpha.41",
"lib0": "^0.2.87", "lib0": "^0.2.89",
"nx": "^18.0.0", "nx": "^18.0.4",
"nx-cloud": "^18.0.0", "nx-cloud": "^18.0.0",
"yjs": "^13.6.10" "yjs": "^13.6.12"
} }
} }

View File

@@ -6,7 +6,7 @@
"debug": "^4.3.4" "debug": "^4.3.4"
}, },
"devDependencies": { "devDependencies": {
"@types/debug": "^4.1.9", "@types/debug": "^4.1.12",
"vitest": "1.3.1" "vitest": "1.3.1"
}, },
"version": "0.12.0" "version": "0.12.0"

View File

@@ -23,7 +23,7 @@
"@blocksuite/global": "0.11.0-nightly-202401020419-752a5b8" "@blocksuite/global": "0.11.0-nightly-202401020419-752a5b8"
}, },
"dependencies": { "dependencies": {
"lit": "^3.0.2", "lit": "^3.1.2",
"zod": "^3.22.4" "zod": "^3.22.4"
}, },
"version": "0.12.0" "version": "0.12.0"

View File

@@ -20,14 +20,14 @@
"@blocksuite/blocks": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/blocks": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/global": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/global": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/store": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/store": "0.12.0-canary-202402220729-0868ac6",
"foxact": "^0.2.20", "foxact": "^0.2.31",
"jotai": "^2.5.1", "jotai": "^2.6.5",
"jotai-effect": "^0.5.0", "jotai-effect": "^0.5.0",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"nanoid": "^5.0.3", "nanoid": "^5.0.6",
"react": "18.2.0", "react": "18.2.0",
"tinykeys": "patch:tinykeys@npm%3A2.1.0#~/.yarn/patches/tinykeys-npm-2.1.0-819feeaed0.patch", "tinykeys": "patch:tinykeys@npm%3A2.1.0#~/.yarn/patches/tinykeys-npm-2.1.0-819feeaed0.patch",
"yjs": "^13.6.10", "yjs": "^13.6.12",
"zod": "^3.22.4" "zod": "^3.22.4"
}, },
"devDependencies": { "devDependencies": {
@@ -35,11 +35,11 @@
"@affine/templates": "workspace:*", "@affine/templates": "workspace:*",
"@blocksuite/lit": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/lit": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/presets": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/presets": "0.12.0-canary-202402220729-0868ac6",
"@testing-library/react": "^14.0.0", "@testing-library/react": "^14.2.1",
"async-call-rpc": "^6.3.1", "async-call-rpc": "^6.4.0",
"react": "^18.2.0", "react": "^18.2.0",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"vite": "^5.0.6", "vite": "^5.1.4",
"vite-plugin-dts": "3.7.3", "vite-plugin-dts": "3.7.3",
"vitest": "1.3.1" "vitest": "1.3.1"
}, },

View File

@@ -24,11 +24,12 @@ export type ServiceIdentifier<T> = {
__TYPE__: T; __TYPE__: T;
}; };
export type ServiceIdentifierType<T> = T extends ServiceIdentifier<infer R> export type ServiceIdentifierType<T> =
? R T extends ServiceIdentifier<infer R>
: T extends Type<infer R>
? R ? R
: never; : T extends Type<infer R>
? R
: never;
export type TypesToDeps<T extends any[]> = { export type TypesToDeps<T extends any[]> = {
[index in keyof T]: [index in keyof T]:

View File

@@ -81,8 +81,8 @@ export class PriorityAsyncQueue<
override next(abort?: AbortSignal | undefined): Promise<T> { override next(abort?: AbortSignal | undefined): Promise<T> {
return super.next(abort, arr => { return super.next(abort, arr => {
if (this.priorityTarget.priorityRule !== null) { if (this.priorityTarget.priorityRule !== null) {
const index = arr.findIndex( const index = arr.findIndex(update =>
update => this.priorityTarget.priorityRule?.(update.id) this.priorityTarget.priorityRule?.(update.id)
); );
if (index !== -1) { if (index !== -1) {
return arr.splice(index, 1)[0]; return arr.splice(index, 1)[0];

View File

@@ -34,18 +34,18 @@
"dependencies": { "dependencies": {
"@blocksuite/global": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/global": "0.12.0-canary-202402220729-0868ac6",
"idb": "^8.0.0", "idb": "^8.0.0",
"nanoid": "^5.0.3", "nanoid": "^5.0.6",
"y-provider": "workspace:*" "y-provider": "workspace:*"
}, },
"devDependencies": { "devDependencies": {
"@blocksuite/blocks": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/blocks": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/store": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/store": "0.12.0-canary-202402220729-0868ac6",
"fake-indexeddb": "^5.0.0", "fake-indexeddb": "^5.0.2",
"vite": "^5.0.6", "vite": "^5.1.4",
"vite-plugin-dts": "3.7.3", "vite-plugin-dts": "3.7.3",
"vitest": "1.3.1", "vitest": "1.3.1",
"y-indexeddb": "^9.0.11", "y-indexeddb": "^9.0.12",
"yjs": "^13.6.10" "yjs": "^13.6.12"
}, },
"peerDependencies": { "peerDependencies": {
"yjs": "^13" "yjs": "^13"

View File

@@ -25,10 +25,10 @@
}, },
"devDependencies": { "devDependencies": {
"@blocksuite/store": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/store": "0.12.0-canary-202402220729-0868ac6",
"vite": "^5.0.6", "vite": "^5.1.4",
"vite-plugin-dts": "3.7.3", "vite-plugin-dts": "3.7.3",
"vitest": "1.3.1", "vitest": "1.3.1",
"yjs": "^13.6.10" "yjs": "^13.6.12"
}, },
"peerDependencies": { "peerDependencies": {
"@blocksuite/global": "*", "@blocksuite/global": "*",

View File

@@ -24,14 +24,14 @@
"@affine/electron-api": "workspace:*", "@affine/electron-api": "workspace:*",
"@affine/graphql": "workspace:*", "@affine/graphql": "workspace:*",
"@affine/i18n": "workspace:*", "@affine/i18n": "workspace:*",
"@dnd-kit/core": "^6.0.8", "@dnd-kit/core": "^6.1.0",
"@dnd-kit/modifiers": "^7.0.0", "@dnd-kit/modifiers": "^7.0.0",
"@dnd-kit/sortable": "^8.0.0", "@dnd-kit/sortable": "^8.0.0",
"@emotion/cache": "^11.11.0", "@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.1", "@emotion/react": "^11.11.3",
"@emotion/server": "^11.11.0", "@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.0", "@emotion/styled": "^11.11.0",
"@lit/react": "^1.0.2", "@lit/react": "^1.0.3",
"@popperjs/core": "^2.11.8", "@popperjs/core": "^2.11.8",
"@radix-ui/react-avatar": "^1.0.4", "@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-collapsible": "^1.0.3", "@radix-ui/react-collapsible": "^1.0.3",
@@ -44,30 +44,30 @@
"@radix-ui/react-toolbar": "^1.0.4", "@radix-ui/react-toolbar": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.7", "@radix-ui/react-tooltip": "^1.0.7",
"@toeverything/theme": "^0.7.29", "@toeverything/theme": "^0.7.29",
"@vanilla-extract/dynamic": "^2.0.3", "@vanilla-extract/dynamic": "^2.1.0",
"bytes": "^3.1.2", "bytes": "^3.1.2",
"check-password-strength": "^2.0.7", "check-password-strength": "^2.0.7",
"clsx": "^2.0.0", "clsx": "^2.1.0",
"dayjs": "^1.11.10", "dayjs": "^1.11.10",
"foxact": "^0.2.20", "foxact": "^0.2.31",
"jotai": "^2.5.1", "jotai": "^2.6.5",
"jotai-effect": "^0.5.0", "jotai-effect": "^0.5.0",
"jotai-scope": "^0.5.0", "jotai-scope": "^0.5.1",
"lit": "^3.0.2", "lit": "^3.1.2",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"lottie-react": "^2.4.0", "lottie-react": "^2.4.0",
"lottie-web": "^5.12.2", "lottie-web": "^5.12.2",
"nanoid": "^5.0.3", "nanoid": "^5.0.6",
"next-themes": "^0.2.1", "next-themes": "^0.2.1",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"react-error-boundary": "^4.0.11", "react-error-boundary": "^4.0.12",
"react-is": "^18.2.0", "react-is": "^18.2.0",
"react-paginate": "^8.2.0", "react-paginate": "^8.2.0",
"react-router-dom": "^6.16.0", "react-router-dom": "^6.22.1",
"react-virtuoso": "^4.6.2", "react-virtuoso": "^4.7.0",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"swr": "^2.2.4", "swr": "^2.2.5",
"uuid": "^9.0.1" "uuid": "^9.0.1"
}, },
"devDependencies": { "devDependencies": {
@@ -77,32 +77,32 @@
"@blocksuite/lit": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/lit": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/presets": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/presets": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/store": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/store": "0.12.0-canary-202402220729-0868ac6",
"@storybook/addon-actions": "^7.5.3", "@storybook/addon-actions": "^7.6.17",
"@storybook/addon-essentials": "^7.5.3", "@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-interactions": "^7.5.3", "@storybook/addon-interactions": "^7.6.17",
"@storybook/addon-links": "^7.5.3", "@storybook/addon-links": "^7.6.17",
"@storybook/addon-mdx-gfm": "^7.5.3", "@storybook/addon-mdx-gfm": "^7.6.17",
"@storybook/addon-storysource": "^7.5.3", "@storybook/addon-storysource": "^7.6.17",
"@storybook/blocks": "^7.5.3", "@storybook/blocks": "^7.6.17",
"@storybook/builder-vite": "^7.5.3", "@storybook/builder-vite": "^7.6.17",
"@storybook/jest": "^0.2.3", "@storybook/jest": "^0.2.3",
"@storybook/react": "^7.5.3", "@storybook/react": "^7.6.17",
"@storybook/react-vite": "^7.5.3", "@storybook/react-vite": "^7.6.17",
"@storybook/test-runner": "^0.16.0", "@storybook/test-runner": "^0.16.0",
"@storybook/testing-library": "^0.2.2", "@storybook/testing-library": "^0.2.2",
"@testing-library/react": "^14.0.0", "@testing-library/react": "^14.2.1",
"@types/bytes": "^3.1.3", "@types/bytes": "^3.1.4",
"@types/react": "^18.2.28", "@types/react": "^18.2.58",
"@types/react-dnd": "^3.0.2", "@types/react-dnd": "^3.0.2",
"@types/react-dom": "^18.2.13", "@types/react-dom": "^18.2.19",
"@vanilla-extract/css": "^1.13.0", "@vanilla-extract/css": "^1.14.1",
"fake-indexeddb": "^5.0.0", "fake-indexeddb": "^5.0.2",
"storybook": "^7.5.3", "storybook": "^7.6.17",
"storybook-dark-mode": "^3.0.1", "storybook-dark-mode": "^3.0.3",
"typescript": "^5.3.2", "typescript": "^5.3.3",
"vite": "^5.0.6", "vite": "^5.1.4",
"vitest": "1.3.1", "vitest": "1.3.1",
"yjs": "^13.6.10" "yjs": "^13.6.12"
}, },
"version": "0.12.0" "version": "0.12.0"
} }

View File

@@ -33,97 +33,97 @@
"@blocksuite/lit": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/lit": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/presets": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/presets": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/store": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/store": "0.12.0-canary-202402220729-0868ac6",
"@dnd-kit/core": "^6.0.8", "@dnd-kit/core": "^6.1.0",
"@dnd-kit/modifiers": "^7.0.0", "@dnd-kit/modifiers": "^7.0.0",
"@dnd-kit/sortable": "^8.0.0", "@dnd-kit/sortable": "^8.0.0",
"@emotion/cache": "^11.11.0", "@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.1", "@emotion/react": "^11.11.3",
"@emotion/server": "^11.11.0", "@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.0", "@emotion/styled": "^11.11.0",
"@marsidev/react-turnstile": "^0.5.0", "@marsidev/react-turnstile": "^0.5.3",
"@radix-ui/react-collapsible": "^1.0.3", "@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-dialog": "^1.0.4", "@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-popover": "^1.0.7", "@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-scroll-area": "^1.0.5", "@radix-ui/react-scroll-area": "^1.0.5",
"@radix-ui/react-select": "^2.0.0", "@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-toolbar": "^1.0.4", "@radix-ui/react-toolbar": "^1.0.4",
"@react-hookz/web": "^24.0.0", "@react-hookz/web": "^24.0.4",
"@sentry/integrations": "^7.83.0", "@sentry/integrations": "^7.102.1",
"@sentry/react": "^7.83.0", "@sentry/react": "^7.102.1",
"@toeverything/theme": "^0.7.29", "@toeverything/theme": "^0.7.29",
"@vanilla-extract/dynamic": "^2.0.3", "@vanilla-extract/dynamic": "^2.1.0",
"animejs": "^3.2.2", "animejs": "^3.2.2",
"async-call-rpc": "^6.3.1", "async-call-rpc": "^6.4.0",
"bytes": "^3.1.2", "bytes": "^3.1.2",
"clsx": "^2.0.0", "clsx": "^2.1.0",
"cmdk": "patch:cmdk@npm%3A0.2.0#~/.yarn/patches/cmdk-npm-0.2.0-302237a911.patch", "cmdk": "patch:cmdk@npm%3A0.2.0#~/.yarn/patches/cmdk-npm-0.2.0-302237a911.patch",
"css-spring": "^4.1.0", "css-spring": "^4.1.0",
"cssnano": "^6.0.1", "cssnano": "^6.0.4",
"dayjs": "^1.11.10", "dayjs": "^1.11.10",
"foxact": "^0.2.20", "foxact": "^0.2.31",
"fractional-indexing": "^3.2.0", "fractional-indexing": "^3.2.0",
"graphql": "^16.8.1", "graphql": "^16.8.1",
"idb": "^8.0.0", "idb": "^8.0.0",
"image-blob-reduce": "^4.1.0", "image-blob-reduce": "^4.1.0",
"intl-segmenter-polyfill-rs": "^0.1.6", "intl-segmenter-polyfill-rs": "^0.1.7",
"jotai": "^2.5.1", "jotai": "^2.6.5",
"jotai-devtools": "^0.8.0", "jotai-devtools": "^0.8.0",
"jotai-effect": "^0.5.0", "jotai-effect": "^0.5.0",
"jotai-scope": "^0.5.0", "jotai-scope": "^0.5.1",
"lit": "^3.0.2", "lit": "^3.1.2",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"lottie-react": "^2.4.0", "lottie-react": "^2.4.0",
"lottie-web": "^5.12.2", "lottie-web": "^5.12.2",
"mini-css-extract-plugin": "^2.7.6", "mini-css-extract-plugin": "^2.8.0",
"nanoid": "^5.0.3", "nanoid": "^5.0.6",
"next-auth": "^4.24.5", "next-auth": "^4.24.5",
"next-themes": "^0.2.1", "next-themes": "^0.2.1",
"postcss-loader": "^8.0.0", "postcss-loader": "^8.1.0",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"react-error-boundary": "^4.0.11", "react-error-boundary": "^4.0.12",
"react-is": "18.2.0", "react-is": "18.2.0",
"react-router-dom": "^6.16.0", "react-router-dom": "^6.22.1",
"react-virtuoso": "^4.6.2", "react-virtuoso": "^4.7.0",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"ses": "^1.0.0", "ses": "^1.3.0",
"swr": "2.2.5", "swr": "2.2.5",
"uuid": "^9.0.1", "uuid": "^9.0.1",
"valtio": "^1.11.2", "valtio": "^1.13.1",
"y-protocols": "^1.0.6", "y-protocols": "^1.0.6",
"yjs": "^13.6.10", "yjs": "^13.6.12",
"zod": "^3.22.4" "zod": "^3.22.4"
}, },
"devDependencies": { "devDependencies": {
"@aws-sdk/client-s3": "3.515.0", "@aws-sdk/client-s3": "3.515.0",
"@perfsee/webpack": "^1.10.0", "@perfsee/webpack": "^1.12.2",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@sentry/webpack-plugin": "^2.8.0", "@sentry/webpack-plugin": "^2.14.2",
"@swc/core": "^1.3.93", "@swc/core": "^1.4.2",
"@testing-library/react": "^14.0.0", "@testing-library/react": "^14.2.1",
"@types/animejs": "^3", "@types/animejs": "^3.1.12",
"@types/bytes": "^3.1.3", "@types/bytes": "^3.1.4",
"@types/image-blob-reduce": "^4.1.3", "@types/image-blob-reduce": "^4.1.4",
"@types/lodash-es": "^4.17.9", "@types/lodash-es": "^4.17.12",
"@types/uuid": "^9.0.5", "@types/uuid": "^9.0.8",
"@types/webpack-env": "^1.18.2", "@types/webpack-env": "^1.18.4",
"@vanilla-extract/css": "^1.13.0", "@vanilla-extract/css": "^1.14.1",
"copy-webpack-plugin": "^12.0.0", "copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.8.1", "css-loader": "^6.10.0",
"express": "^4.18.2", "express": "^4.18.2",
"fake-indexeddb": "^5.0.0", "fake-indexeddb": "^5.0.2",
"html-webpack-plugin": "^5.5.3", "html-webpack-plugin": "^5.6.0",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"mime-types": "^2.1.35", "mime-types": "^2.1.35",
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",
"source-map-loader": "^5.0.0", "source-map-loader": "^5.0.0",
"style-loader": "^3.3.3", "style-loader": "^3.3.4",
"swc-loader": "^0.2.3", "swc-loader": "^0.2.6",
"thread-loader": "^4.0.2", "thread-loader": "^4.0.2",
"vitest": "1.3.1", "vitest": "1.3.1",
"webpack": "^5.89.0", "webpack": "^5.90.3",
"webpack-cli": "^5.1.4", "webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.0", "webpack-dev-server": "^5.0.2",
"webpack-merge": "^5.9.0" "webpack-merge": "^5.10.0"
} }
} }

View File

@@ -99,9 +99,9 @@ export const ErrorDetail: FC<ErrorDetailProps> = props => {
<div <div
className={styles.errorImage} className={styles.errorImage}
style={{ style={{
backgroundImage: `url(${imageMap.get(status)?.[ backgroundImage: `url(${
resolvedTheme as 'light' | 'dark' imageMap.get(status)?.[resolvedTheme as 'light' | 'dark']
]})`, })`,
}} }}
/> />
)} )}

View File

@@ -86,9 +86,8 @@ export type TDataType<Data extends DataTypeShape = Record<string, unknown>> = {
name: string; name: string;
data?: Data; data?: Data;
}; };
export type ValueOfData<T extends DataDefine> = T extends DataDefine<infer R> export type ValueOfData<T extends DataDefine> =
? R T extends DataDefine<infer R> ? R : never;
: never;
export class DataDefine<Data extends DataTypeShape = Record<string, unknown>> { export class DataDefine<Data extends DataTypeShape = Record<string, unknown>> {
constructor( constructor(

View File

@@ -211,8 +211,9 @@ export const usePageCommands = () => {
const category = const category =
pageMode === 'edgeless' ? 'affine:edgeless' : 'affine:pages'; pageMode === 'edgeless' ? 'affine:edgeless' : 'affine:pages';
const subTitle = resultValues.find(result => result.space === page.id) const subTitle = resultValues.find(
?.content; result => result.space === page.id
)?.content;
const blockId = reverseMapping.get(page.id); const blockId = reverseMapping.get(page.id);

View File

@@ -9,6 +9,6 @@
}, },
"devDependencies": { "devDependencies": {
"@toeverything/infra": "workspace:*", "@toeverything/infra": "workspace:*",
"electron": "^29.0.0" "electron": "^29.0.1"
} }
} }

View File

@@ -29,46 +29,46 @@
"@blocksuite/lit": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/lit": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/presets": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/presets": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/store": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/store": "0.12.0-canary-202402220729-0868ac6",
"@electron-forge/cli": "^7.2.0", "@electron-forge/cli": "^7.3.0",
"@electron-forge/core": "^7.2.0", "@electron-forge/core": "^7.3.0",
"@electron-forge/core-utils": "^7.2.0", "@electron-forge/core-utils": "^7.3.0",
"@electron-forge/maker-deb": "^7.2.0", "@electron-forge/maker-deb": "^7.3.0",
"@electron-forge/maker-dmg": "^7.2.0", "@electron-forge/maker-dmg": "^7.3.0",
"@electron-forge/maker-squirrel": "^7.2.0", "@electron-forge/maker-squirrel": "^7.3.0",
"@electron-forge/maker-zip": "^7.2.0", "@electron-forge/maker-zip": "^7.3.0",
"@electron-forge/plugin-auto-unpack-natives": "^7.2.0", "@electron-forge/plugin-auto-unpack-natives": "^7.3.0",
"@electron-forge/shared-types": "^7.2.0", "@electron-forge/shared-types": "^7.3.0",
"@pengx17/electron-forge-maker-appimage": "^1.0.2", "@pengx17/electron-forge-maker-appimage": "^1.0.2",
"@toeverything/infra": "workspace:*", "@toeverything/infra": "workspace:*",
"@types/uuid": "^9.0.7", "@types/uuid": "^9.0.8",
"builder-util-runtime": "^9.2.3", "builder-util-runtime": "^9.2.4",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"electron": "^29.0.0", "electron": "^29.0.1",
"electron-log": "^5.0.1", "electron-log": "^5.1.1",
"electron-squirrel-startup": "1.0.0", "electron-squirrel-startup": "1.0.0",
"electron-window-state": "^5.0.3", "electron-window-state": "^5.0.3",
"esbuild": "^0.20.0", "esbuild": "^0.20.1",
"fs-extra": "^11.1.1", "fs-extra": "^11.2.0",
"glob": "^10.3.10", "glob": "^10.3.10",
"jotai": "^2.5.1", "jotai": "^2.6.5",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"semver": "^7.5.4", "semver": "^7.6.0",
"tinykeys": "patch:tinykeys@npm%3A2.1.0#~/.yarn/patches/tinykeys-npm-2.1.0-819feeaed0.patch", "tinykeys": "patch:tinykeys@npm%3A2.1.0#~/.yarn/patches/tinykeys-npm-2.1.0-819feeaed0.patch",
"tree-kill": "^1.2.2", "tree-kill": "^1.2.2",
"ts-node": "^10.9.1", "ts-node": "^10.9.2",
"undici": "^6.0.0", "undici": "^6.6.2",
"uuid": "^9.0.1", "uuid": "^9.0.1",
"vitest": "1.3.1", "vitest": "1.3.1",
"which": "^4.0.0", "which": "^4.0.0",
"zod": "^3.22.4" "zod": "^3.22.4"
}, },
"dependencies": { "dependencies": {
"async-call-rpc": "^6.3.1", "async-call-rpc": "^6.4.0",
"electron-updater": "^6.1.5", "electron-updater": "^6.1.9",
"link-preview-js": "^3.0.5", "link-preview-js": "^3.0.5",
"nanoid": "^5.0.3", "nanoid": "^5.0.6",
"yjs": "^13.6.10" "yjs": "^13.6.12"
}, },
"build": { "build": {
"protocols": [ "protocols": [

View File

@@ -10,12 +10,12 @@
".": "./src/index.ts" ".": "./src/index.ts"
}, },
"devDependencies": { "devDependencies": {
"@graphql-codegen/add": "^5.0.0", "@graphql-codegen/add": "^5.0.2",
"@graphql-codegen/cli": "5.0.2", "@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/typescript": "^4.0.1", "@graphql-codegen/typescript": "^4.0.6",
"@graphql-codegen/typescript-operations": "^4.0.1", "@graphql-codegen/typescript-operations": "^4.2.0",
"@types/lodash-es": "^4.17.9", "@types/lodash-es": "^4.17.12",
"prettier": "^3.0.3", "prettier": "^3.2.5",
"vitest": "1.3.1" "vitest": "1.3.1"
}, },
"scripts": { "scripts": {
@@ -26,7 +26,7 @@
"graphql": "^16.8.1", "graphql": "^16.8.1",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"nanoid": "^5.0.1" "nanoid": "^5.0.6"
}, },
"installConfig": { "installConfig": {
"hoistingLimits": "workspaces" "hoistingLimits": "workspaces"

View File

@@ -23,11 +23,10 @@ export type _QueryVariables<Q extends GraphQLQuery> =
? Extract<Mutations, { name: Q['id'] }>['variables'] ? Extract<Mutations, { name: Q['id'] }>['variables']
: undefined; : undefined;
export type QueryVariables<Q extends GraphQLQuery> = _QueryVariables<Q> extends export type QueryVariables<Q extends GraphQLQuery> =
| never _QueryVariables<Q> extends never | Record<string, never>
| Record<string, never> ? never
? never : _QueryVariables<Q>;
: _QueryVariables<Q>;
export type QueryResponse<Q extends GraphQLQuery> = Extract< export type QueryResponse<Q extends GraphQLQuery> = Extract<
Queries | Mutations, Queries | Mutations,

View File

@@ -27,15 +27,15 @@
"url": "git+https://github.com/toeverything/AFFiNE.git" "url": "git+https://github.com/toeverything/AFFiNE.git"
}, },
"dependencies": { "dependencies": {
"i18next": "^23.5.1", "i18next": "^23.10.0",
"react-i18next": "^14.0.0", "react-i18next": "^14.0.5",
"undici": "^6.6.2" "undici": "^6.6.2"
}, },
"devDependencies": { "devDependencies": {
"@types/prettier": "^3.0.0", "@types/prettier": "^3.0.0",
"prettier": "^3.0.3", "prettier": "^3.2.5",
"ts-node": "^10.9.1", "ts-node": "^10.9.2",
"typescript": "^5.2.2" "typescript": "^5.3.3"
}, },
"version": "0.12.0" "version": "0.12.0"
} }

View File

@@ -35,15 +35,15 @@
}, },
"devDependencies": { "devDependencies": {
"@napi-rs/cli": "3.0.0-alpha.41", "@napi-rs/cli": "3.0.0-alpha.41",
"@types/node": "^20.9.3", "@types/node": "^20.11.20",
"@types/uuid": "^9.0.7", "@types/uuid": "^9.0.8",
"ava": "^6.0.0", "ava": "^6.1.1",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"nx": "^18.0.0", "nx": "^18.0.4",
"nx-cloud": "^18.0.0", "nx-cloud": "^18.0.0",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"ts-node": "^10.9.1", "ts-node": "^10.9.2",
"typescript": "^5.3.2", "typescript": "^5.3.3",
"uuid": "^9.0.1" "uuid": "^9.0.1"
}, },
"engines": { "engines": {

View File

@@ -20,16 +20,16 @@
"idb-keyval": "^6.2.1", "idb-keyval": "^6.2.1",
"is-svg": "^5.0.0", "is-svg": "^5.0.0",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"nanoid": "^5.0.3", "nanoid": "^5.0.6",
"next-auth": "^4.24.5", "next-auth": "^4.24.5",
"socket.io-client": "^4.7.2", "socket.io-client": "^4.7.4",
"y-protocols": "^1.0.6", "y-protocols": "^1.0.6",
"yjs": "^13.6.10" "yjs": "^13.6.12"
}, },
"devDependencies": { "devDependencies": {
"fake-indexeddb": "^5.0.0", "fake-indexeddb": "^5.0.2",
"vitest": "1.3.1", "vitest": "1.3.1",
"ws": "^8.14.2" "ws": "^8.16.0"
}, },
"version": "0.12.0" "version": "0.12.0"
} }

View File

@@ -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.41.0" "@playwright/test": "^1.41.2"
}, },
"version": "0.12.0" "version": "0.12.0"
} }

View File

@@ -7,9 +7,9 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@playwright/test": "^1.41.0", "@playwright/test": "^1.41.2",
"@types/fs-extra": "^11.0.2", "@types/fs-extra": "^11.0.4",
"fs-extra": "^11.1.1" "fs-extra": "^11.2.0"
}, },
"version": "0.12.0" "version": "0.12.0"
} }

View File

@@ -8,10 +8,10 @@
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@affine/electron-api": "workspace:*", "@affine/electron-api": "workspace:*",
"@playwright/test": "^1.41.0", "@playwright/test": "^1.41.2",
"@types/fs-extra": "^11.0.2", "@types/fs-extra": "^11.0.4",
"fs-extra": "^11.1.1", "fs-extra": "^11.2.0",
"playwright": "^1.41.0" "playwright": "^1.41.2"
}, },
"version": "0.12.0" "version": "0.12.0"
} }

View File

@@ -9,7 +9,7 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@playwright/test": "^1.41.0", "@playwright/test": "^1.41.2",
"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.1" "serve": "^14.2.1"

View File

@@ -9,7 +9,7 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@playwright/test": "^1.41.0", "@playwright/test": "^1.41.2",
"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.1" "serve": "^14.2.1"

View File

@@ -9,7 +9,7 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@playwright/test": "^1.41.0", "@playwright/test": "^1.41.2",
"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.1" "serve": "^14.2.1"

View File

@@ -9,7 +9,7 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@playwright/test": "^1.41.0", "@playwright/test": "^1.41.2",
"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.1" "serve": "^14.2.1"

View File

@@ -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.41.0" "@playwright/test": "^1.41.2"
}, },
"version": "0.12.0" "version": "0.12.0"
} }

View File

@@ -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.41.0" "@playwright/test": "^1.41.2"
}, },
"version": "0.12.0" "version": "0.12.0"
} }

View File

@@ -11,8 +11,8 @@
}, },
"devDependencies": { "devDependencies": {
"@affine/electron-api": "workspace:*", "@affine/electron-api": "workspace:*",
"@node-rs/argon2": "^1.5.2", "@node-rs/argon2": "^1.7.2",
"@playwright/test": "^1.41.0", "@playwright/test": "^1.41.2",
"express": "^4.18.2", "express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1" "http-proxy-middleware": "^3.0.0-beta.1"
}, },

View File

@@ -13,12 +13,12 @@
"@dnd-kit/sortable": "^8.0.0", "@dnd-kit/sortable": "^8.0.0",
"@storybook/jest": "^0.2.3", "@storybook/jest": "^0.2.3",
"@storybook/testing-library": "^0.2.2", "@storybook/testing-library": "^0.2.2",
"foxact": "^0.2.26", "foxact": "^0.2.31",
"jotai": "^2.5.1", "jotai": "^2.6.5",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"nanoid": "^5.0.3", "nanoid": "^5.0.6",
"react-router-dom": "^6.19.0", "react-router-dom": "^6.22.1",
"ses": "^1.0.0", "ses": "^1.3.0",
"storybook-addon-react-router-v6": "^2.0.10" "storybook-addon-react-router-v6": "^2.0.10"
}, },
"devDependencies": { "devDependencies": {
@@ -30,27 +30,27 @@
"@blocksuite/lit": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/lit": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/presets": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/presets": "0.12.0-canary-202402220729-0868ac6",
"@blocksuite/store": "0.12.0-canary-202402220729-0868ac6", "@blocksuite/store": "0.12.0-canary-202402220729-0868ac6",
"@storybook/addon-actions": "^7.5.3", "@storybook/addon-actions": "^7.6.17",
"@storybook/addon-essentials": "^7.5.3", "@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-interactions": "^7.5.3", "@storybook/addon-interactions": "^7.6.17",
"@storybook/addon-links": "^7.5.3", "@storybook/addon-links": "^7.6.17",
"@storybook/addon-storysource": "^7.5.3", "@storybook/addon-storysource": "^7.6.17",
"@storybook/blocks": "^7.5.3", "@storybook/blocks": "^7.6.17",
"@storybook/builder-vite": "^7.5.3", "@storybook/builder-vite": "^7.6.17",
"@storybook/react": "^7.5.3", "@storybook/react": "^7.6.17",
"@storybook/react-vite": "^7.5.3", "@storybook/react-vite": "^7.6.17",
"@storybook/test-runner": "^0.16.0", "@storybook/test-runner": "^0.16.0",
"@tomfreudenberg/next-auth-mock": "^0.5.6", "@tomfreudenberg/next-auth-mock": "^0.5.6",
"@vanilla-extract/esbuild-plugin": "^2.3.1", "@vanilla-extract/esbuild-plugin": "^2.3.5",
"@vitejs/plugin-react": "^4.2.0", "@vitejs/plugin-react": "^4.2.1",
"chromatic": "^11.0.0", "chromatic": "^11.0.0",
"concurrently": "^8.2.2", "concurrently": "^8.2.2",
"jest-mock": "^29.7.0", "jest-mock": "^29.7.0",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"serve": "^14.2.1", "serve": "^14.2.1",
"storybook": "^7.5.3", "storybook": "^7.6.17",
"storybook-dark-mode": "^3.0.1", "storybook-dark-mode": "^3.0.3",
"wait-on": "^7.2.0" "wait-on": "^7.2.0"
}, },
"peerDependencies": { "peerDependencies": {

View File

@@ -6,7 +6,7 @@
"private": true, "private": true,
"description": "Generate changelog from blocksuite version change", "description": "Generate changelog from blocksuite version change",
"dependencies": { "dependencies": {
"@napi-rs/clipboard": "^1.1.1", "@napi-rs/clipboard": "^1.1.2",
"@napi-rs/simple-git": "^0.1.16", "@napi-rs/simple-git": "^0.1.16",
"chalk": "^5.3.0" "chalk": "^5.3.0"
} }

View File

@@ -10,14 +10,14 @@
"./config": "./src/config/index.ts" "./config": "./src/config/index.ts"
}, },
"devDependencies": { "devDependencies": {
"@clack/core": "^0.3.3", "@clack/core": "^0.3.4",
"@clack/prompts": "^0.7.0", "@clack/prompts": "^0.7.0",
"@magic-works/i18n-codegen": "^0.5.0", "@magic-works/i18n-codegen": "^0.5.0",
"ts-node": "^10.9.1" "ts-node": "^10.9.2"
}, },
"dependencies": { "dependencies": {
"dotenv": "^16.3.1", "dotenv": "^16.4.5",
"vite": "^5.0.6" "vite": "^5.1.4"
}, },
"peerDependencies": { "peerDependencies": {
"ts-node": "*" "ts-node": "*"

View File

@@ -3,8 +3,8 @@
"version": "0.12.0", "version": "0.12.0",
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^18.4.3", "@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.4.3", "@commitlint/config-conventional": "^18.6.2",
"commitlint": "^18.4.3" "commitlint": "^18.6.1"
} }
} }

View File

@@ -6,6 +6,6 @@
"dev": "wrangler dev" "dev": "wrangler dev"
}, },
"devDependencies": { "devDependencies": {
"wrangler": "^3.22.1" "wrangler": "^3.29.0"
} }
} }

5912
yarn.lock

File diff suppressed because it is too large Load Diff