mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore: bump version (#1597)
This commit is contained in:
@@ -14,33 +14,33 @@
|
|||||||
"build:app": "tauri build"
|
"build:app": "tauri build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@blocksuite/blocks": "0.5.0-20230313100532-099b92b",
|
"@blocksuite/blocks": "0.5.0-20230317014705-a881b9c",
|
||||||
"@blocksuite/editor": "0.5.0-20230313100532-099b92b",
|
"@blocksuite/editor": "0.5.0-20230317014705-a881b9c",
|
||||||
"@blocksuite/icons": "2.0.17",
|
"@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/react": "^11.10.6",
|
||||||
"@emotion/styled": "^11.10.6",
|
"@emotion/styled": "^11.10.6",
|
||||||
"@tauri-apps/api": "^1.2.0",
|
"@tauri-apps/api": "^1.2.0",
|
||||||
"json-schema-to-typescript": "^11.0.5",
|
"json-schema-to-typescript": "^11.0.5",
|
||||||
"lib0": "^0.2.63",
|
"lib0": "^0.2.68",
|
||||||
"next": "13.1.0",
|
"next": "13.1.0",
|
||||||
"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.5.48"
|
"yjs": "^13.5.50"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tauri-apps/cli": "^1.2.3",
|
"@tauri-apps/cli": "^1.2.3",
|
||||||
"@types/node": "^18.14.4",
|
"@types/node": "^18.15.3",
|
||||||
"@types/react": "^18.0.28",
|
"@types/react": "^18.0.28",
|
||||||
"@types/react-dom": "^18.0.11",
|
"@types/react-dom": "^18.0.11",
|
||||||
"esbuild": "^0.17.8",
|
"esbuild": "^0.17.8",
|
||||||
"lit": "^2.6.1",
|
"lit": "^2.6.1",
|
||||||
"prettier": "2.8.4",
|
"prettier": "2.8.4",
|
||||||
"rimraf": "^4.1.3",
|
"rimraf": "^4.1.3",
|
||||||
"typescript": "^4.9.5",
|
"typescript": "^5.0.2",
|
||||||
"typesync": "^0.10.0",
|
"typesync": "^0.10.0",
|
||||||
"vite": "^4.1.4",
|
"vite": "^4.2.0",
|
||||||
"zx": "^7.2.0"
|
"zx": "^7.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,16 +14,16 @@
|
|||||||
"@affine/debug": "workspace:*",
|
"@affine/debug": "workspace:*",
|
||||||
"@affine/env": "workspace:*",
|
"@affine/env": "workspace:*",
|
||||||
"@affine/i18n": "workspace:*",
|
"@affine/i18n": "workspace:*",
|
||||||
"@blocksuite/blocks": "0.5.0-20230313100532-099b92b",
|
"@blocksuite/blocks": "0.5.0-20230317014705-a881b9c",
|
||||||
"@blocksuite/editor": "0.5.0-20230313100532-099b92b",
|
"@blocksuite/editor": "0.5.0-20230317014705-a881b9c",
|
||||||
"@blocksuite/icons": "2.0.23",
|
"@blocksuite/icons": "2.0.23",
|
||||||
"@blocksuite/react": "0.5.0-20230313100532-099b92b",
|
"@blocksuite/react": "0.5.0-20230317014705-a881b9c",
|
||||||
"@blocksuite/store": "0.5.0-20230313100532-099b92b",
|
"@blocksuite/store": "0.5.0-20230317014705-a881b9c",
|
||||||
"@emotion/cache": "^11.10.5",
|
"@emotion/cache": "^11.10.5",
|
||||||
"@emotion/react": "^11.10.6",
|
"@emotion/react": "^11.10.6",
|
||||||
"@emotion/server": "^11.10.0",
|
"@emotion/server": "^11.10.0",
|
||||||
"@emotion/styled": "^11.10.6",
|
"@emotion/styled": "^11.10.6",
|
||||||
"@mui/material": "^5.11.11",
|
"@mui/material": "^5.11.13",
|
||||||
"cmdk": "^0.1.22",
|
"cmdk": "^0.1.22",
|
||||||
"css-spring": "^4.1.0",
|
"css-spring": "^4.1.0",
|
||||||
"dayjs": "^1.11.7",
|
"dayjs": "^1.11.7",
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
"swr": "^2.0.4",
|
"swr": "^2.0.4",
|
||||||
"y-indexeddb": "^9.0.9",
|
"y-indexeddb": "^9.0.9",
|
||||||
"y-protocols": "^1.0.5",
|
"y-protocols": "^1.0.5",
|
||||||
"yjs": "^13.5.48",
|
"yjs": "^13.5.50",
|
||||||
"zod": "^3.21.3"
|
"zod": "^3.21.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -50,15 +50,15 @@
|
|||||||
"@types/react-dom": "^18.0.11",
|
"@types/react-dom": "^18.0.11",
|
||||||
"@types/webpack-env": "^1.18.0",
|
"@types/webpack-env": "^1.18.0",
|
||||||
"dotenv": "^16.0.3",
|
"dotenv": "^16.0.3",
|
||||||
"eslint": "^8.35.0",
|
"eslint": "^8.36.0",
|
||||||
"eslint-config-next": "^13.2.3",
|
"eslint-config-next": "^13.2.3",
|
||||||
"next": "^13.2.2",
|
"next": "=13.2.2",
|
||||||
"next-debug-local": "^0.1.5",
|
"next-debug-local": "^0.1.5",
|
||||||
"next-router-mock": "^0.9.2",
|
"next-router-mock": "^0.9.2",
|
||||||
"raw-loader": "^4.0.2",
|
"raw-loader": "^4.0.2",
|
||||||
"redux": "^4.2.1",
|
"redux": "^4.2.1",
|
||||||
"swc-plugin-coverage-instrument": "^0.0.14",
|
"swc-plugin-coverage-instrument": "^0.0.14",
|
||||||
"typescript": "^4.9.5",
|
"typescript": "^5.0.2",
|
||||||
"webpack": "^5.75.0"
|
"webpack": "^5.76.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -71,9 +71,12 @@ const PreviewPage: NextPage<PreviewPageProps> = ({
|
|||||||
pageBlockId
|
pageBlockId
|
||||||
);
|
);
|
||||||
page.addBlockByFlavour('affine:paragraph', {}, frameId);
|
page.addBlockByFlavour('affine:paragraph', {}, frameId);
|
||||||
editor.clipboard.importMarkdown(text, frameId).then(() => {
|
setTimeout(() => {
|
||||||
page.resetHistory();
|
// hotfix: contentParser.importMarkdown is not working in the first render
|
||||||
});
|
editor.contentParser.importMarkdown(text, frameId).then(() => {
|
||||||
|
page.resetHistory();
|
||||||
|
});
|
||||||
|
}, 0);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<StyledToolWrapper>
|
<StyledToolWrapper>
|
||||||
|
|||||||
@@ -49,6 +49,9 @@ export function _initPageWithDemoMarkdown(
|
|||||||
page.addBlockByFlavour('affine:surface', {}, null);
|
page.addBlockByFlavour('affine:surface', {}, null);
|
||||||
const frameId = page.addBlockByFlavour('affine:frame', {}, pageBlockId);
|
const frameId = page.addBlockByFlavour('affine:frame', {}, pageBlockId);
|
||||||
page.addBlockByFlavour('affine:paragraph', {}, frameId);
|
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 });
|
page.workspace.setPageMeta(page.id, { demoTitle });
|
||||||
}
|
}
|
||||||
|
|||||||
26
package.json
26
package.json
@@ -30,34 +30,34 @@
|
|||||||
"*.{ts,tsx,js,jsx}": "eslint --cache --fix"
|
"*.{ts,tsx,js,jsx}": "eslint --cache --fix"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@perfsee/sdk": "^1.3.0",
|
"@perfsee/sdk": "^1.5.1",
|
||||||
"@playwright/test": "^1.31.1",
|
"@playwright/test": "^1.31.2",
|
||||||
"@testing-library/react": "^14.0.0",
|
"@testing-library/react": "^14.0.0",
|
||||||
"@types/eslint": "^8.21.1",
|
"@types/eslint": "^8.21.2",
|
||||||
"@types/node": "^18.14.4",
|
"@types/node": "^18.15.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.54.0",
|
"@typescript-eslint/eslint-plugin": "^5.55.0",
|
||||||
"@typescript-eslint/parser": "^5.54.0",
|
"@typescript-eslint/parser": "^5.55.0",
|
||||||
"@vitejs/plugin-react": "^3.1.0",
|
"@vitejs/plugin-react": "^3.1.0",
|
||||||
"@vitest/coverage-istanbul": "^0.28.5",
|
"@vitest/coverage-istanbul": "^0.28.5",
|
||||||
"@vitest/ui": "^0.29.2",
|
"@vitest/ui": "^0.29.3",
|
||||||
"eslint": "^8.35.0",
|
"eslint": "^8.36.0",
|
||||||
"eslint-config-prettier": "^8.6.0",
|
"eslint-config-prettier": "^8.7.0",
|
||||||
"eslint-plugin-import": "^2.27.5",
|
"eslint-plugin-import": "^2.27.5",
|
||||||
"eslint-plugin-prettier": "^4.2.1",
|
"eslint-plugin-prettier": "^4.2.1",
|
||||||
"eslint-plugin-react": "^7.32.2",
|
"eslint-plugin-react": "^7.32.2",
|
||||||
"eslint-plugin-simple-import-sort": "^10.0.0",
|
"eslint-plugin-simple-import-sort": "^10.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",
|
||||||
"got": "^12.5.3",
|
"got": "^12.6.0",
|
||||||
"happy-dom": "^8.9.0",
|
"happy-dom": "^8.9.0",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
"lint-staged": "^13.1.2",
|
"lint-staged": "^13.2.0",
|
||||||
"nyc": "^15.1.0",
|
"nyc": "^15.1.0",
|
||||||
"prettier": "^2.8.4",
|
"prettier": "^2.8.4",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"typescript": "^4.9.5",
|
"typescript": "^5.0.2",
|
||||||
"vite": "^4.1.2",
|
"vite": "^4.2.0",
|
||||||
"vitest": "^0.28.5",
|
"vitest": "^0.28.5",
|
||||||
"vitest-fetch-mock": "^0.2.2"
|
"vitest-fetch-mock": "^0.2.2"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -15,19 +15,19 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@affine/debug": "workspace:*",
|
"@affine/debug": "workspace:*",
|
||||||
"@affine/i18n": "workspace:*",
|
"@affine/i18n": "workspace:*",
|
||||||
"@blocksuite/blocks": "0.5.0-20230313100532-099b92b",
|
"@blocksuite/blocks": "0.5.0-20230317014705-a881b9c",
|
||||||
"@blocksuite/editor": "0.5.0-20230313100532-099b92b",
|
"@blocksuite/editor": "0.5.0-20230317014705-a881b9c",
|
||||||
"@blocksuite/global": "0.5.0-20230313100532-099b92b",
|
"@blocksuite/global": "0.5.0-20230317014705-a881b9c",
|
||||||
"@blocksuite/icons": "2.0.17",
|
"@blocksuite/icons": "2.0.23",
|
||||||
"@blocksuite/react": "0.5.0-20230313100532-099b92b",
|
"@blocksuite/react": "0.5.0-20230317014705-a881b9c",
|
||||||
"@blocksuite/store": "0.5.0-20230313100532-099b92b",
|
"@blocksuite/store": "0.5.0-20230317014705-a881b9c",
|
||||||
"@emotion/cache": "^11.10.5",
|
"@emotion/cache": "^11.10.5",
|
||||||
"@emotion/react": "^11.10.6",
|
"@emotion/react": "^11.10.6",
|
||||||
"@emotion/server": "^11.10.0",
|
"@emotion/server": "^11.10.0",
|
||||||
"@emotion/styled": "^11.10.6",
|
"@emotion/styled": "^11.10.6",
|
||||||
"@mui/base": "5.0.0-alpha.119",
|
"@mui/base": "5.0.0-alpha.121",
|
||||||
"@mui/icons-material": "^5.11.11",
|
"@mui/icons-material": "^5.11.11",
|
||||||
"@mui/material": "^5.11.11",
|
"@mui/material": "^5.11.13",
|
||||||
"lit": "^2.6.1",
|
"lit": "^2.6.1",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
"@storybook/jest": "0.0.11-next.0",
|
"@storybook/jest": "0.0.11-next.0",
|
||||||
"@storybook/react": "7.0.0-rc.1",
|
"@storybook/react": "7.0.0-rc.1",
|
||||||
"@storybook/react-vite": "7.0.0-rc.1",
|
"@storybook/react-vite": "7.0.0-rc.1",
|
||||||
"@storybook/test-runner": "^0.10.0-next.10",
|
"@storybook/test-runner": "0.10.0-next.11",
|
||||||
"@storybook/testing-library": "0.0.14-next.1",
|
"@storybook/testing-library": "0.0.14-next.1",
|
||||||
"@types/react": "^18.0.28",
|
"@types/react": "^18.0.28",
|
||||||
"@types/react-dom": "18.0.11",
|
"@types/react-dom": "18.0.11",
|
||||||
@@ -50,8 +50,8 @@
|
|||||||
"jest-mock": "^28.1.3",
|
"jest-mock": "^28.1.3",
|
||||||
"storybook": "7.0.0-rc.1",
|
"storybook": "7.0.0-rc.1",
|
||||||
"storybook-dark-mode-v7": "3.0.0-alpha.0",
|
"storybook-dark-mode-v7": "3.0.0-alpha.0",
|
||||||
"typescript": "^4.9.5",
|
"typescript": "^5.0.2",
|
||||||
"vite": "^4.1.2",
|
"vite": "^4.2.0",
|
||||||
"yjs": "^13.5.48"
|
"yjs": "^13.5.50"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,22 +10,22 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"fake-indexeddb": "4.0.1",
|
"fake-indexeddb": "4.0.1",
|
||||||
"typescript": "^4.9.5"
|
"typescript": "^5.0.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@affine/debug": "workspace:*",
|
"@affine/debug": "workspace:*",
|
||||||
"@blocksuite/blocks": "0.5.0-20230313100532-099b92b",
|
"@blocksuite/blocks": "0.5.0-20230317014705-a881b9c",
|
||||||
"@blocksuite/store": "0.5.0-20230313100532-099b92b",
|
"@blocksuite/store": "0.5.0-20230317014705-a881b9c",
|
||||||
"@tauri-apps/api": "^1.2.0",
|
"@tauri-apps/api": "^1.2.0",
|
||||||
"encoding": "^0.1.13",
|
"encoding": "^0.1.13",
|
||||||
"firebase": "^9.17.1",
|
"firebase": "^9.18.0",
|
||||||
"idb-keyval": "^6.2.0",
|
"idb-keyval": "^6.2.0",
|
||||||
"js-base64": "^3.7.5",
|
"js-base64": "^3.7.5",
|
||||||
"ky": "^0.33.2",
|
"ky": "^0.33.3",
|
||||||
"ky-universal": "^0.11.0",
|
"ky-universal": "^0.11.0",
|
||||||
"lib0": "^0.2.63",
|
"lib0": "^0.2.68",
|
||||||
"lit": "^2.6.1",
|
"lit": "^2.6.1",
|
||||||
"y-protocols": "^1.0.5",
|
"y-protocols": "^1.0.5",
|
||||||
"yjs": "^13.5.48"
|
"yjs": "^13.5.50"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
4
packages/env/package.json
vendored
4
packages/env/package.json
vendored
@@ -3,13 +3,13 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"main": "./src/index.ts",
|
"main": "./src/index.ts",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"next": "^13.2.3",
|
"next": "=13.2.2",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"zod": "^3.21.3"
|
"zod": "^3.21.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@blocksuite/global": "0.5.0-20230313100532-099b92b",
|
"@blocksuite/global": "0.5.0-20230317014705-a881b9c",
|
||||||
"lit": "^2.6.1"
|
"lit": "^2.6.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,17 +27,17 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@affine/debug": "workspace:*",
|
"@affine/debug": "workspace:*",
|
||||||
"i18next": "^22.4.10",
|
"i18next": "^22.4.11",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-i18next": "^12.2.0"
|
"react-i18next": "^12.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^18.14.4",
|
"@types/node": "^18.15.3",
|
||||||
"@types/prettier": "^2.7.2",
|
"@types/prettier": "^2.7.2",
|
||||||
"next": "^13.2.3",
|
"next": "=13.2.2",
|
||||||
"prettier": "^2.8.4",
|
"prettier": "^2.8.4",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"typescript": "^4.9.5"
|
"typescript": "^5.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
1639
pnpm-lock.yaml
generated
1639
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user