mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-30 00:29:46 +08:00
chore: bump version (#1597)
This commit is contained in:
@@ -14,33 +14,33 @@
|
||||
"build:app": "tauri build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blocksuite/blocks": "0.5.0-20230313100532-099b92b",
|
||||
"@blocksuite/editor": "0.5.0-20230313100532-099b92b",
|
||||
"@blocksuite/blocks": "0.5.0-20230317014705-a881b9c",
|
||||
"@blocksuite/editor": "0.5.0-20230317014705-a881b9c",
|
||||
"@blocksuite/icons": "2.0.17",
|
||||
"@blocksuite/store": "0.5.0-20230313100532-099b92b",
|
||||
"@blocksuite/store": "0.5.0-20230317014705-a881b9c",
|
||||
"@emotion/react": "^11.10.6",
|
||||
"@emotion/styled": "^11.10.6",
|
||||
"@tauri-apps/api": "^1.2.0",
|
||||
"json-schema-to-typescript": "^11.0.5",
|
||||
"lib0": "^0.2.63",
|
||||
"lib0": "^0.2.68",
|
||||
"next": "13.1.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"y-protocols": "^1.0.5",
|
||||
"yjs": "^13.5.48"
|
||||
"yjs": "^13.5.50"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tauri-apps/cli": "^1.2.3",
|
||||
"@types/node": "^18.14.4",
|
||||
"@types/node": "^18.15.3",
|
||||
"@types/react": "^18.0.28",
|
||||
"@types/react-dom": "^18.0.11",
|
||||
"esbuild": "^0.17.8",
|
||||
"lit": "^2.6.1",
|
||||
"prettier": "2.8.4",
|
||||
"rimraf": "^4.1.3",
|
||||
"typescript": "^4.9.5",
|
||||
"typescript": "^5.0.2",
|
||||
"typesync": "^0.10.0",
|
||||
"vite": "^4.1.4",
|
||||
"vite": "^4.2.0",
|
||||
"zx": "^7.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
+10
-10
@@ -14,16 +14,16 @@
|
||||
"@affine/debug": "workspace:*",
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@blocksuite/blocks": "0.5.0-20230313100532-099b92b",
|
||||
"@blocksuite/editor": "0.5.0-20230313100532-099b92b",
|
||||
"@blocksuite/blocks": "0.5.0-20230317014705-a881b9c",
|
||||
"@blocksuite/editor": "0.5.0-20230317014705-a881b9c",
|
||||
"@blocksuite/icons": "2.0.23",
|
||||
"@blocksuite/react": "0.5.0-20230313100532-099b92b",
|
||||
"@blocksuite/store": "0.5.0-20230313100532-099b92b",
|
||||
"@blocksuite/react": "0.5.0-20230317014705-a881b9c",
|
||||
"@blocksuite/store": "0.5.0-20230317014705-a881b9c",
|
||||
"@emotion/cache": "^11.10.5",
|
||||
"@emotion/react": "^11.10.6",
|
||||
"@emotion/server": "^11.10.0",
|
||||
"@emotion/styled": "^11.10.6",
|
||||
"@mui/material": "^5.11.11",
|
||||
"@mui/material": "^5.11.13",
|
||||
"cmdk": "^0.1.22",
|
||||
"css-spring": "^4.1.0",
|
||||
"dayjs": "^1.11.7",
|
||||
@@ -38,7 +38,7 @@
|
||||
"swr": "^2.0.4",
|
||||
"y-indexeddb": "^9.0.9",
|
||||
"y-protocols": "^1.0.5",
|
||||
"yjs": "^13.5.48",
|
||||
"yjs": "^13.5.50",
|
||||
"zod": "^3.21.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -50,15 +50,15 @@
|
||||
"@types/react-dom": "^18.0.11",
|
||||
"@types/webpack-env": "^1.18.0",
|
||||
"dotenv": "^16.0.3",
|
||||
"eslint": "^8.35.0",
|
||||
"eslint": "^8.36.0",
|
||||
"eslint-config-next": "^13.2.3",
|
||||
"next": "^13.2.2",
|
||||
"next": "=13.2.2",
|
||||
"next-debug-local": "^0.1.5",
|
||||
"next-router-mock": "^0.9.2",
|
||||
"raw-loader": "^4.0.2",
|
||||
"redux": "^4.2.1",
|
||||
"swc-plugin-coverage-instrument": "^0.0.14",
|
||||
"typescript": "^4.9.5",
|
||||
"webpack": "^5.75.0"
|
||||
"typescript": "^5.0.2",
|
||||
"webpack": "^5.76.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,9 +71,12 @@ const PreviewPage: NextPage<PreviewPageProps> = ({
|
||||
pageBlockId
|
||||
);
|
||||
page.addBlockByFlavour('affine:paragraph', {}, frameId);
|
||||
editor.clipboard.importMarkdown(text, frameId).then(() => {
|
||||
page.resetHistory();
|
||||
});
|
||||
setTimeout(() => {
|
||||
// hotfix: contentParser.importMarkdown is not working in the first render
|
||||
editor.contentParser.importMarkdown(text, frameId).then(() => {
|
||||
page.resetHistory();
|
||||
});
|
||||
}, 0);
|
||||
}}
|
||||
/>
|
||||
<StyledToolWrapper>
|
||||
|
||||
@@ -49,6 +49,9 @@ export function _initPageWithDemoMarkdown(
|
||||
page.addBlockByFlavour('affine:surface', {}, null);
|
||||
const frameId = page.addBlockByFlavour('affine:frame', {}, pageBlockId);
|
||||
page.addBlockByFlavour('affine:paragraph', {}, frameId);
|
||||
editor.clipboard.importMarkdown(demoText, frameId);
|
||||
setTimeout(() => {
|
||||
// hotfix: contentParser.importMarkdown is not working in the first render
|
||||
editor.contentParser.importMarkdown(demoText, frameId);
|
||||
}, 0);
|
||||
page.workspace.setPageMeta(page.id, { demoTitle });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user