chore: bump version (#2229)

This commit is contained in:
Himself65 2023-05-04 18:49:08 -05:00 committed by GitHub
parent 097cce34b5
commit 9631c99f7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 819 additions and 808 deletions

View File

@ -38,7 +38,7 @@
"@types/better-sqlite3": "^7.6.4",
"@types/fs-extra": "^11.0.1",
"cross-env": "7.0.3",
"electron": "24.1.3",
"electron": "24.2.0",
"electron-log": "^5.0.0-beta.23",
"electron-squirrel-startup": "1.0.0",
"electron-window-state": "^5.0.3",
@ -51,7 +51,7 @@
},
"dependencies": {
"better-sqlite3": "^8.3.0",
"yjs": "^13.6.0"
"yjs": "^13.6.1"
},
"build": {
"protocols": [

View File

@ -45,7 +45,7 @@
"supertest": "^6.3.3",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"vitest": "^0.30.1"
"vitest": "^0.31.0"
},
"nodemonConfig": {
"exec": "node",

View File

@ -19,11 +19,11 @@
"@affine/jotai": "workspace:*",
"@affine/templates": "workspace:*",
"@affine/workspace": "workspace:*",
"@blocksuite/blocks": "0.0.0-20230502232311-bfe52748-nightly",
"@blocksuite/editor": "0.0.0-20230502232311-bfe52748-nightly",
"@blocksuite/global": "0.0.0-20230502232311-bfe52748-nightly",
"@blocksuite/blocks": "0.0.0-20230503040956-5c49643f-nightly",
"@blocksuite/editor": "0.0.0-20230503040956-5c49643f-nightly",
"@blocksuite/global": "0.0.0-20230503040956-5c49643f-nightly",
"@blocksuite/icons": "^2.1.15",
"@blocksuite/store": "0.0.0-20230502232311-bfe52748-nightly",
"@blocksuite/store": "0.0.0-20230503040956-5c49643f-nightly",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^7.0.2",
"@emotion/cache": "^11.10.8",
@ -32,7 +32,7 @@
"@emotion/styled": "^11.10.8",
"@mui/material": "^5.12.3",
"@react-hookz/web": "^23.0.0",
"@sentry/nextjs": "^7.50.0",
"@sentry/nextjs": "^7.51.0",
"@toeverything/hooks": "workspace:*",
"cmdk": "^0.2.0",
"css-spring": "^4.1.0",
@ -40,7 +40,7 @@
"graphql": "^16.6.0",
"jotai": "^2.0.4",
"jotai-devtools": "^0.5.2",
"lit": "^2.7.3",
"lit": "^2.7.4",
"lottie-web": "^5.11.0",
"next-themes": "^0.2.1",
"react": "^18.2.0",
@ -48,7 +48,7 @@
"react-is": "^18.2.0",
"swr": "^2.1.5",
"y-protocols": "^1.0.5",
"yjs": "^13.6.0",
"yjs": "^13.6.1",
"zod": "^3.21.4"
},
"devDependencies": {
@ -58,15 +58,15 @@
"@sentry/webpack-plugin": "^1.20.1",
"@swc-jotai/debug-label": "^0.0.10",
"@swc-jotai/react-refresh": "^0.0.8",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.1",
"@types/react": "^18.2.5",
"@types/react-dom": "^18.2.3",
"@types/webpack-env": "^1.18.0",
"@vanilla-extract/css": "^1.11.0",
"@vanilla-extract/next-plugin": "^2.1.2",
"dotenv": "^16.0.3",
"eslint": "^8.39.0",
"eslint-config-next": "^13.3.5-canary.3",
"next": "^13.3.5-canary.7",
"eslint-config-next": "^13.4.0",
"next": "^13.4.0",
"next-debug-local": "^0.1.5",
"next-router-mock": "^0.9.3",
"raw-loader": "^4.0.2",

View File

@ -10,7 +10,7 @@ dayjs.extend(localizedFormat);
export const DateCell = ({
pageMeta,
dateKey,
backupKey = '',
backupKey = 'updatedDate',
...props
}: {
pageMeta: PageMeta;

View File

@ -50,6 +50,8 @@ function flattenToTree(
[]
);
};
// Unreachable code, we have removed the root pinboard
// @ts-expect-error
return helper(rootMeta ? [{ ...rootMeta, renderTopLine: false }] : []);
}

View File

@ -40,8 +40,8 @@
"devDependencies": {
"@affine-test/kit": "workspace:*",
"@affine/cli": "workspace:*",
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@faker-js/faker": "^7.6.0",
"@istanbuljs/schema": "^0.1.3",
"@magic-works/i18n-codegen": "^0.5.0",
@ -54,8 +54,8 @@
"@typescript-eslint/parser": "^5.59.2",
"@vanilla-extract/vite-plugin": "^3.8.0",
"@vitejs/plugin-react": "^4.0.0",
"@vitest/coverage-istanbul": "^0.30.1",
"@vitest/ui": "^0.30.1",
"@vitest/coverage-istanbul": "^0.31.0",
"@vitest/ui": "^0.31.0",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
@ -66,7 +66,7 @@
"eslint-plugin-unused-imports": "^2.0.0",
"fake-indexeddb": "4.0.1",
"got": "^12.6.0",
"happy-dom": "^9.10.5",
"happy-dom": "^9.10.9",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"msw": "^1.2.1",
@ -80,7 +80,7 @@
"vite": "^4.3.4",
"vite-plugin-istanbul": "^4.0.1",
"vite-tsconfig-paths": "^4.2.0",
"vitest": "^0.30.1",
"vitest": "^0.31.0",
"vitest-fetch-mock": "^0.2.2",
"vitest-mock-extended": "^1.1.3"
},

View File

@ -40,7 +40,7 @@
"@vanilla-extract/dynamic": "^2.0.3",
"clsx": "^1.2.1",
"jotai": "^2.0.4",
"lit": "^2.7.3",
"lit": "^2.7.4",
"lottie-web": "^5.11.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
@ -48,38 +48,38 @@
"react-is": "^18.2.0"
},
"devDependencies": {
"@blocksuite/blocks": "0.0.0-20230502232311-bfe52748-nightly",
"@blocksuite/editor": "0.0.0-20230502232311-bfe52748-nightly",
"@blocksuite/global": "0.0.0-20230502232311-bfe52748-nightly",
"@blocksuite/blocks": "0.0.0-20230503040956-5c49643f-nightly",
"@blocksuite/editor": "0.0.0-20230503040956-5c49643f-nightly",
"@blocksuite/global": "0.0.0-20230503040956-5c49643f-nightly",
"@blocksuite/icons": "^2.1.15",
"@blocksuite/store": "0.0.0-20230502232311-bfe52748-nightly",
"@storybook/addon-actions": "^7.0.7",
"@blocksuite/store": "0.0.0-20230503040956-5c49643f-nightly",
"@storybook/addon-actions": "^7.0.8",
"@storybook/addon-coverage": "^0.0.8",
"@storybook/addon-essentials": "^7.0.7",
"@storybook/addon-interactions": "^7.0.7",
"@storybook/addon-links": "^7.0.7",
"@storybook/addon-storysource": "^7.0.7",
"@storybook/blocks": "^7.0.7",
"@storybook/builder-vite": "^7.0.7",
"@storybook/addon-essentials": "^7.0.8",
"@storybook/addon-interactions": "^7.0.8",
"@storybook/addon-links": "^7.0.8",
"@storybook/addon-storysource": "^7.0.8",
"@storybook/blocks": "^7.0.8",
"@storybook/builder-vite": "^7.0.8",
"@storybook/jest": "^0.1.0",
"@storybook/react": "^7.0.7",
"@storybook/react-vite": "^7.0.7",
"@storybook/react": "^7.0.8",
"@storybook/react-vite": "^7.0.8",
"@storybook/test-runner": "^0.10.0",
"@storybook/testing-library": "^0.1.0",
"@types/react": "^18.2.0",
"@types/react": "^18.2.5",
"@types/react-dnd": "^3.0.2",
"@types/react-dom": "18.2.1",
"@types/react-dom": "18.2.3",
"@vanilla-extract/css": "^1.11.0",
"@vitejs/plugin-react": "^4.0.0",
"concurrently": "^8.0.1",
"jest-mock": "^29.5.0",
"serve": "^14.2.0",
"storybook": "^7.0.7",
"storybook": "^7.0.8",
"storybook-dark-mode": "^3.0.0",
"typescript": "^5.0.4",
"vite": "^4.3.4",
"wait-on": "^7.0.1",
"yjs": "^13.6.0"
"yjs": "^13.6.1"
},
"version": "0.5.4-canary.21"
}

View File

@ -1 +1,3 @@
import '../../apps/electron/layers/preload/preload.d.ts';
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
import '../hooks/src/use-block-suite-page-meta.ts';

View File

@ -4,8 +4,8 @@
"main": "./src/index.ts",
"module": "./src/index.ts",
"devDependencies": {
"@blocksuite/global": "0.0.0-20230502232311-bfe52748-nightly",
"next": "^13.3.5-canary.7",
"@blocksuite/global": "0.0.0-20230503040956-5c49643f-nightly",
"next": "^13.4.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"zod": "^3.21.4"
@ -19,7 +19,7 @@
"@blocksuite/global": "0.0.0-20230409084303-221991d4-nightly"
},
"dependencies": {
"lit": "^2.7.3"
"lit": "^2.7.4"
},
"version": "0.5.4-canary.21"
}

View File

@ -55,7 +55,7 @@ export function _initPageWithDemoMarkdown(page: Page): void {
page.addBlock('affine:paragraph', {}, frameId);
const contentParser = new ContentParser(page);
contentParser.importMarkdown(demoText, frameId);
page.workspace.setPageMeta(page.id, { demoTitle });
page.workspace.setPageMeta(page.id, { title: demoTitle });
}
export function ensureRootPinboard(blockSuiteWorkspace: Workspace) {

View File

@ -13,6 +13,9 @@ declare module '@blocksuite/store' {
trashRelate?: string;
trash?: boolean;
trashDate?: number;
updatedDate?: number;
mode?: 'page' | 'edgeless';
jumpOnce?: boolean;
// whether to create the page with the default template
init?: boolean;
// todo: support `number` in the future

View File

@ -34,7 +34,7 @@
"devDependencies": {
"@types/node": "^18.16.3",
"@types/prettier": "^2.7.2",
"next": "^13.3.5-canary.7",
"next": "^13.4.0",
"prettier": "^2.8.8",
"react-dom": "^18.2.0",
"ts-node": "^10.9.1",

View File

@ -7,10 +7,10 @@
"jotai": "^2.0.4"
},
"devDependencies": {
"@blocksuite/blocks": "0.0.0-20230502232311-bfe52748-nightly",
"@blocksuite/editor": "0.0.0-20230502232311-bfe52748-nightly",
"@blocksuite/global": "0.0.0-20230502232311-bfe52748-nightly",
"@blocksuite/store": "0.0.0-20230502232311-bfe52748-nightly",
"@blocksuite/blocks": "0.0.0-20230503040956-5c49643f-nightly",
"@blocksuite/editor": "0.0.0-20230503040956-5c49643f-nightly",
"@blocksuite/global": "0.0.0-20230503040956-5c49643f-nightly",
"@blocksuite/store": "0.0.0-20230503040956-5c49643f-nightly",
"lottie-web": "^5.11.0"
},
"peerDependencies": {

View File

@ -31,7 +31,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"y-protocols": "^1.0.5",
"yjs": "^13.6.0",
"yjs": "^13.6.1",
"zod": "^3.21.4"
},
"devDependencies": {

View File

@ -28,11 +28,11 @@
"idb": "^7.1.1"
},
"devDependencies": {
"@blocksuite/blocks": "0.0.0-20230502232311-bfe52748-nightly",
"@blocksuite/store": "0.0.0-20230502232311-bfe52748-nightly",
"@blocksuite/blocks": "0.0.0-20230503040956-5c49643f-nightly",
"@blocksuite/store": "0.0.0-20230503040956-5c49643f-nightly",
"vite": "^4.3.4",
"vite-plugin-dts": "^2.3.0",
"y-indexeddb": "^9.0.10"
"y-indexeddb": "^9.0.11"
},
"peerDependencies": {
"yjs": "^13.5.51"

1516
yarn.lock

File diff suppressed because it is too large Load Diff