chore: unify version (#1123)

This commit is contained in:
Himself65
2023-02-19 08:40:39 +00:00
committed by GitHub
parent aa1de57d96
commit ae4105e961
26 changed files with 1286 additions and 1694 deletions
+12 -10
View File
@@ -12,14 +12,14 @@
"@blocksuite/blocks": "0.4.1",
"@blocksuite/editor": "0.4.1",
"@blocksuite/global": "0.4.1",
"@blocksuite/icons": "^2.0.2",
"@blocksuite/icons": "2.0.12",
"@blocksuite/react": "0.4.1",
"@blocksuite/store": "0.4.1",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mui/base": "=5.0.0-alpha.117",
"@mui/icons-material": "=5.11.0",
"@mui/material": "=5.11.8",
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@mui/base": "5.0.0-alpha.118",
"@mui/icons-material": "^5.11.9",
"@mui/material": "^5.11.9",
"lit": "^2.6.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
@@ -31,14 +31,16 @@
"@storybook/builder-vite": "^7.0.0-beta.46",
"@storybook/react": "^7.0.0-beta.46",
"@storybook/react-vite": "7.0.0-beta.46",
"@types/react": "^18.0.27",
"@types/react-dom": "18.0.10",
"@swc/core": "^1.3.35",
"@types/react": "^18.0.28",
"@types/react-dom": "18.0.11",
"@vitejs/plugin-react": "^3.1.0",
"storybook": "^7.0.0-beta.46",
"swc": "^1.0.11",
"swc-loader": "^0.2.3",
"typescript": "^4.9.5",
"vite": "^4.0.2",
"webpack": "^5.75.0"
"vite": "^4.1.2",
"webpack": "^5.75.0",
"yjs": "^13.5.46"
}
}
+7 -12
View File
@@ -4,10 +4,6 @@
"private": true,
"description": "",
"main": "./src/index.ts",
"scripts": {
"dev": "tsc --project ./tsconfig.json -w",
"build": "tsc --project ./tsconfig.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/toeverything/AFFiNE.git"
@@ -15,9 +11,7 @@
"devDependencies": {
"@types/debug": "^4.1.7",
"fake-indexeddb": "4.0.1",
"lit": "^2.6.1",
"typescript": "^4.9.5",
"yjs": "^13.5.45"
"typescript": "^4.9.5"
},
"dependencies": {
"@blocksuite/blocks": "0.4.1",
@@ -25,13 +19,14 @@
"@tauri-apps/api": "^1.2.0",
"debug": "^4.3.4",
"encoding": "^0.1.13",
"firebase": "^9.15.0",
"firebase": "^9.17.1",
"idb-keyval": "^6.2.0",
"js-base64": "^3.7.5",
"ky": "^0.33.0",
"ky": "^0.33.2",
"ky-universal": "^0.11.0",
"lib0": "^0.2.58",
"swr": "^2.0.0",
"y-protocols": "^1.0.5"
"lib0": "^0.2.62",
"lit": "^2.6.1",
"y-protocols": "^1.0.5",
"yjs": "^13.5.46"
}
}
+5 -3
View File
@@ -26,12 +26,14 @@
"url": "git+https://github.com/toeverything/AFFiNE.git"
},
"dependencies": {
"i18next": "^21.9.1",
"prettier": "^2.7.1",
"react-i18next": "^11.18.4"
"react": "^18.2.0",
"i18next": "^22.4.10",
"react-i18next": "^12.1.5"
},
"devDependencies": {
"@types/node": "^18.14.0",
"@types/prettier": "^2.7.2",
"prettier": "^2.8.4",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
}
+7
View File
@@ -4,6 +4,13 @@ import { initReactI18next, Trans, useTranslation } from 'react-i18next';
import { LOCALES } from './resources';
import type en_US from './resources/en.json';
declare module 'i18next' {
// Refs: https://www.i18next.com/overview/typescript#argument-of-type-defaulttfuncreturn-is-not-assignable-to-parameter-of-type-xyz
interface CustomTypeOptions {
returnNull: false;
}
}
// const localStorage = {
// getItem() {
// return undefined;
+2 -2
View File
@@ -13,12 +13,12 @@
"url": "git+https://github.com/toeverything/AFFiNE.git"
},
"dependencies": {
"next": "^12.3.1",
"next": "^13.1.6",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.0.21",
"@types/react": "^18.0.28",
"typescript": "^4.9.5"
}
}
+5 -1
View File
@@ -9,11 +9,15 @@
"@blocksuite/global": "0.4.1",
"@blocksuite/react": "0.4.1",
"@blocksuite/store": "0.4.1",
"lit": "^2.6.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"swr": "^2.0.3",
"yjs": "^13.5.46",
"zustand": "^4.3.3"
},
"devDependencies": {
"@types/react": "^18.0.28"
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11"
}
}